When trying to compile blender 2.57-r1 it would fail with the following error: Traceback (most recent call last): File "/usr/bin/scons", line 66, in <module> if os.environ.has_key("SCONS_LIB_DIR"): AttributeError: '_Environ' object has no attribute 'has_key' * ERROR: media-gfx/blender-2.57-r1 failed (compile phase): * !!! Please add "${S}/scons.config" when filing bugs reports \ * to bugs.gentoo.org * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 5131: Called die * The specific snippet of code: * scons || die '!!! Please add "${S}/scons.config" when filing bugs reports \ * to bugs.gentoo.org'; Upon investigation, I discovered that I had dev-util/scons-1.2.0 installed, and the latest (unmasked?) version in portage was dev-util/scons-2.0.1. Compiling the new version of scons fixed the problem and the ebuild "worked" (read: started compiling and failed elsewhere, though I think that this is addressed in existing bugs). I'm not sure what the required version of scons is, but perhaps it should be a dependency? Reproducible: Always Steps to Reproduce: 1. Compile dev-util/scons-1.2.0 2. Attempt to compile media-gfx/blender-2.57-r1 Actual Results: >>> Compiling source in /var/tmp/portage/media-gfx/blender-2.57-r1/work/blender-2.57 ... Traceback (most recent call last): File "/usr/bin/scons", line 66, in <module> if os.environ.has_key("SCONS_LIB_DIR"): AttributeError: '_Environ' object has no attribute 'has_key' * ERROR: media-gfx/blender-2.57-r1 failed (compile phase): Expected Results: Started to compile.
Thanks for reporting! + 29 Oct 2011; Sebastian Pipping <sping@gentoo.org> blender-2.49b-r2.ebuild, + blender-2.57-r1.ebuild: + Bump scons dependency to 2.x (bug #372151) +