Building website from git master, why does it checkout DMD v2.066.1 and die?

Gary Willoughby via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Apr 18 11:52:41 PDT 2015


I'm trying to build the website from git master and i'm getting 
some errors. Here is the last part of the output:


...
touch ../dub-0.9.22/.cloned
mkdir -p /tmp/.stable_dmd-2.066.1
TMPFILE=$(mktemp deleteme.XXXXXXXX) && curl -fsSL 
http://downloads.dlang.org/releases/2014/dmd.2.066.1.linux.zip > 
${TMPFILE}.zip && \
		unzip -qd /tmp/.stable_dmd-2.066.1 ${TMPFILE}.zip && rm 
${TMPFILE}.zip
cd ../dub-0.9.22 && 
DC=/tmp/.stable_dmd-2.066.1/dmd2/linux/bin64/dmd ./build.sh
Generating version file...
Running /tmp/.stable_dmd-2.066.1/dmd2/linux/bin64/dmd...
/media/Data/Projects/D/dmd/phobos/std/functional.d(1496): Error: 
basic type expected, not return
/media/Data/Projects/D/dmd/phobos/std/functional.d(1496): Error: 
found 'return' when expecting ')'
/media/Data/Projects/D/dmd/phobos/std/functional.d(1496): Error: 
semicolon expected following function declaration
/media/Data/Projects/D/dmd/phobos/std/functional.d(1496): Error: 
semicolon expected, not ')'
/media/Data/Projects/D/dmd/phobos/std/functional.d(1496): Error: 
found ')' instead of statement
/media/Data/Projects/D/dmd/phobos/std/functional.d(1504): Error: 
unrecognized declaration
/media/Data/Projects/D/dmd/phobos/std/range/primitives.d(581): 
Error: semicolon expected following function declaration
/media/Data/Projects/D/dmd/phobos/std/range/primitives.d(581): 
Error: Declaration expected, not 'return'
/media/Data/Projects/D/dmd/phobos/std/range/primitives.d(587): 
Error: unexpected ( in declarator
/media/Data/Projects/D/dmd/phobos/std/range/primitives.d(587): 
Error: basic type expected, not cast
/media/Data/Projects/D/dmd/phobos/std/range/primitives.d(587): 
Error: found 'cast' when expecting ')'
/media/Data/Projects/D/dmd/phobos/std/range/primitives.d(587): 
Error: no identifier for declarator put(c, int)
/media/Data/Projects/D/dmd/phobos/std/range/primitives.d(587): 
Error: semicolon expected following function declaration
/media/Data/Projects/D/dmd/phobos/std/range/primitives.d(587): 
Error: Declaration expected, not '('
/media/Data/Projects/D/dmd/phobos/std/range/primitives.d(588): 
Error: unexpected ( in declarator
/media/Data/Projects/D/dmd/phobos/std/range/primitives.d(588): 
Error: basic type expected, not "hello"d
/media/Data/Projects/D/dmd/phobos/std/range/primitives.d(588): 
Error: found '"hello"d' when expecting ')'
/media/Data/Projects/D/dmd/phobos/std/range/primitives.d(588): 
Error: no identifier for declarator put(c, int)
/media/Data/Projects/D/dmd/phobos/std/range/primitives.d(588): 
Error: semicolon expected following function declaration
/media/Data/Projects/D/dmd/phobos/std/range/primitives.d(588): 
Error: Declaration expected, not ')'
/media/Data/Projects/D/dmd/phobos/std/range/primitives.d(589): 
Error: unrecognized declaration
make: *** [../dub-0.9.22/bin/dub] Error 1
ln: failed to create symbolic link ‘./web’: File exists
make: Nothing to be done for `html'.


Any ideas what the issue is here?


More information about the Digitalmars-d-learn mailing list