vdrift-20090215 emerge fails with scons-1.0.0 (python-2.6.1-r1, amd64). (similar symptoms for vdrift-20080805 in bug 250988) Works fine with scons-1.2.0-r1. x86_64-pc-linux-gnu-g++ -o build/aabb_space_partitioning.o -c - m a r c h = c o r e 2 " " - O 3 " " - p i p e -Wall -Wextra -Wno-unused-parameter -O1 -pipe -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -Ibullet-2.73/src -I/usr/include/SDL src/aabb_space_partitioning.cpp x86_64-pc-linux-gnu-g++: m: No such file or directory x86_64-pc-linux-gnu-g++: a: No such file or directory x86_64-pc-linux-gnu-g++: r: No such file or directory x86_64-pc-linux-gnu-g++: c: No such file or directory x86_64-pc-linux-gnu-g++: h: No such file or directory x86_64-pc-linux-gnu-g++: =: No such file or directory x86_64-pc-linux-gnu-g++: c: No such file or directory x86_64-pc-linux-gnu-g++: o: No such file or directory x86_64-pc-linux-gnu-g++: r: No such file or directory x86_64-pc-linux-gnu-g++: e: No such file or directory x86_64-pc-linux-gnu-g++: 2: No such file or directory x86_64-pc-linux-gnu-g++: : No such file or directory x86_64-pc-linux-gnu-g++: O: No such file or directory x86_64-pc-linux-gnu-g++: 3: No such file or directory x86_64-pc-linux-gnu-g++: : No such file or directory x86_64-pc-linux-gnu-g++: p: No such file or directory x86_64-pc-linux-gnu-g++: i: No such file or directory x86_64-pc-linux-gnu-g++: p: No such file or directory x86_64-pc-linux-gnu-g++: e: No such file or directory x86_64-pc-linux-gnu-g++: cannot specify -o with -c or -S with multiple files x86_64-pc-linux-gnu-g++: m: No such file or directory x86_64-pc-linux-gnu-g++: a: No such file or directory x86_64-pc-linux-gnu-g++: r: No such file or directory x86_64-pc-linux-gnu-g++: c: No such file or directory x86_64-pc-linux-gnu-g++: h: No such file or directory x86_64-pc-linux-gnu-g++: =: No such file or directory x86_64-pc-linux-gnu-g++: c: No such file or directory x86_64-pc-linux-gnu-g++: o: No such file or directory x86_64-pc-linux-gnu-g++: r: No such file or directory x86_64-pc-linux-gnu-g++: e: No such file or directory x86_64-pc-linux-gnu-g++: 2: No such file or directory x86_64-pc-linux-gnu-g++: : No such file or directory x86_64-pc-linux-gnu-g++: O: No such file or directory x86_64-pc-linux-gnu-g++: 3: No such file or directory x86_64-pc-linux-gnu-g++: : No such file or directory x86_64-pc-linux-gnu-g++: p: No such file or directory x86_64-pc-linux-gnu-g++: i: No such file or directory x86_64-pc-linux-gnu-g++: p: No such file or directory x86_64-pc-linux-gnu-g++: e: No such file or directory x86_64-pc-linux-gnu-g++: cannot specify -o with -c or -S with multiple files scons: *** [build/aabb.o] Error 1
Maybe this fix in SCons 1.2.0: - Fix env.Append() and env.Prepend()'s ability to add a string to list-like variables like $CCFLAGS under Python 2.6. http://www.scons.org/CHANGES.txt
This bug appears to be similar to bug #264050 Can you please try with dev-util/scons-1.2.0 and report your results here? Please reopen this bug when you did the test so that we can wrangle this bug further.
As mentioned emerges with dev-util/scons-1.2.0-r1 (dev-util/scons-1.2.0 no longer in tree)
Ah, you did not explicitly mention that scons-1.2.0 fixes your problem. That's why I asked you to test it with that version. Thaks for your reply anyway :)
Builds fine for me on stable x86.
Attach the full output from the attempted build please. emerge -v vdrift &> /tmp/output and then attach the file. Also, attach the config.log file from the build directory. reopen with that information.
Created attachment 187007 [details] example SConstruct My analysis: 1) Save the attached SConstruct to a directory 2) Create a hello.c (touch is OK for this purpose) 3) CCFLAGS="-O3 -pipe" scons -Q With python-2.6.1-r1 and scons-1.0.0: /usr/lib/scons-1.0.0/SCons/Platform/posix.py:38: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module. import popen2 /usr/lib/scons-1.0.0/SCons/Tool/msvs.py:37: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 gcc -o hello.o -c - O 3 " " - p i p e hello.c gcc: O: No such file or directory gcc: : No such file or directory gcc: p: No such file or directory gcc: i: No such file or directory gcc: p: No such file or directory gcc: e: No such file or directory gcc: cannot specify -o with -c or -S with multiple files and scons-1.2.0-r1: gcc -o hello.o -c -O3 -pipe hello.c gcc -o hello hello.o
dev-utils/scons-1.0.0 problems with python-2.6.1 and environment flags
*** Bug 250988 has been marked as a duplicate of this bug. ***
use scons-1.2