Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 421089

Summary: media-gfx/blender-2.49b-r2 fails to build when python3 is used as system python
Product: Gentoo Linux Reporter: Mira Ressel <aranea>
Component: Current packagesAssignee: Luca Barbato <lu_zero>
Status: RESOLVED FIXED    
Severity: normal CC: graphics+disabled
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for media-gfx/blender-2.49b-r2.ebuild

Description Mira Ressel 2012-06-14 11:30:20 UTC
Created attachment 315279 [details, diff]
Patch for media-gfx/blender-2.49b-r2.ebuild

If /usr/bin/python points to a python3 instance, this ebuild fails to build. A fix is attached. (The patch also does a small cosmetic change, see #409673 for details.)
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2012-06-14 15:21:24 UTC
(2.5 is about to get removed from tree so I've forced 2.6)
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2012-06-14 15:22:12 UTC
For reporter: 
It's recommended to always call 'python_pkg_setup' after setting the active version.
Comment 4 Mira Ressel 2012-06-14 16:35:54 UTC
Thanks for your quick reaction and also for this information!