www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14180] New: dlang.org: make apidocs-release requires user to

https://issues.dlang.org/show_bug.cgi?id=14180

          Issue ID: 14180
           Summary: dlang.org: make apidocs-release requires user to
                    hamstring own machine
           Product: D
           Version: D2
          Hardware: x86
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: andrei erdani.com

Also see discussion at
https://github.com/D-Programming-Language/dlang.org/pull/758.

In brief: "make apidocs-release" does not work unless the user hamstrings their
own machine that might have a working dmd installation on it.

On my machine, if I run it I get:

======================================
From https://github.com/D-Programming-Language/dmd
* branch HEAD -> FETCH_HEAD Current release: 2.066.1 ../dub-0.9.22/bin/dub build --root=dpl-docs --compiler=/tmp/.stable_dmd-2.066.1/dmd2/osx/bin/dmd Error executing command build: Failed to invoke the compiler /tmp/.stable_dmd-2.066.1/dmd2/osx/bin/dmd to determine the build platform: /Users/aalexandre/code/d/druntime/import/core/bitop.d(376): Error: found 'pure' when expecting '{' /Users/aalexandre/code/d/druntime/import/core/bitop.d(376): Error: mismatched number of curly brackets /Users/aalexandre/code/d/druntime/import/core/bitop.d(381): Error: mismatched number of curly brackets /Users/aalexandre/code/d/druntime/import/core/bitop.d(383): Error: mismatched number of curly brackets /Users/aalexandre/code/d/druntime/import/core/bitop.d(389): Error: mismatched number of curly brackets /Users/aalexandre/code/d/druntime/import/core/bitop.d(390): Error: mismatched number of curly brackets /Users/aalexandre/code/d/druntime/import/core/bitop.d(391): Error: mismatched number of curly brackets /Users/aalexandre/code/d/druntime/import/core/bitop.d(392): Error: mismatched number of curly brackets /Users/aalexandre/code/d/druntime/import/core/bitop.d(393): Error: mismatched number of curly brackets /Users/aalexandre/code/d/druntime/import/core/bitop.d(394): Error: mismatched number of curly brackets /Users/aalexandre/code/d/druntime/import/core/bitop.d(395): Error: mismatched number of curly brackets /Users/aalexandre/code/d/druntime/import/core/bitop.d(396): Error: mismatched number of curly brackets /Users/aalexandre/code/d/druntime/import/core/bitop.d(397): Error: mismatched number of curly brackets /Users/aalexandre/code/d/druntime/import/core/bitop.d(398): Error: mismatched number of curly brackets /Users/aalexandre/code/d/druntime/import/core/bitop.d(399): Error: mismatched number of curly brackets /Users/aalexandre/code/d/druntime/import/core/bitop.d(400): Error: mismatched number of curly brackets /Users/aalexandre/code/d/druntime/import/core/bitop.d(401): Error: mismatched number of curly brackets /Users/aalexandre/code/d/druntime/import/core/bitop.d(402): Error: mismatched number of curly brackets /Users/aalexandre/code/d/druntime/import/core/bitop.d(403): Error: mismatched number of curly brackets /Users/aalexandre/code/d/druntime/import/core/bitop.d(404): Error: mismatched number of curly brackets /Users/aalexandre/code/d/druntime/import/core/bitop.d(405): Error: mismatched number of curly brackets make: *** [dpl-docs] Error 2 ====================================== I should note that my ~/dmd.conf makes for a perfectly valid dmd platform. --
Feb 14 2015