Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 372151 - media-gfx/blender 2.57-r1 fails to build with < dev-util/scons 2
Summary: media-gfx/blender 2.57-r1 fails to build with < dev-util/scons 2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-18 10:07 UTC by Neil
Modified: 2011-10-29 21:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Neil 2011-06-18 10:07:16 UTC
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.
Comment 1 Sebastian Pipping gentoo-dev 2011-10-29 21:49:53 UTC
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)
+