Summary: | media-gfx/blender-2.57-r1 - IndexError: string index out of range: File ".../work/blender-2.57/SConstruct", line 316: if not B.root_build_dir[-1]==os.sep: | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Chris Smith <chris> |
Component: | Current packages | Assignee: | Luca Barbato <lu_zero> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | major | CC: | cornicx, graphics+disabled, julien.enche, pchrist, steffen, todd |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
requested blender-2.57-r1 build log
build log blender-2.59 from alice upstream patch |
Description
Chris Smith
2011-08-02 21:57:22 UTC
Please upload the full build.log. Thank you for your report. Created attachment 281909 [details]
requested blender-2.57-r1 build log
Actually, the error is already in the report: build_files/scons/config/linux3-config.py doesn't exist So the problem is either with the build system (scons) or with the blender config ? is there a way to workaround it without installing a 2.6 kernel ? after trying a dirty : ln -s build_files/scons/config/linux2-config.py build_files/scons/config/linux3-config.py I got another error : dir ${WORKDIR}/install/plugins/ do not exist (I put the variable again instead of the complete path as it is more relevant than the complete path) and it's true it doesn't exist there is no ${WORKDIR}/install at all... and I don't understand why... I even tried with a patched scons (using the patch from) http://scons.tigris.org/issues/show_bug.cgi?id=2772 but nothing changed... After installing a 2.6.39 kernel, re-emerge python, python-updater, re-emerge scons (without patch) the compilation of blender has succeded. Why is the status of this bug still unconfirmed? And there's https://bugs.gentoo.org/show_bug.cgi?id=369599 but now 2.59 is the latest. C'mon Gentoo !! Chri (In reply to comment #7) > Why is the status of this bug still unconfirmed? > > And there's https://bugs.gentoo.org/show_bug.cgi?id=369599 but now 2.59 is the > latest. > > C'mon Gentoo !! Bug isn't just confirmed, it's fixed. Upstream Fix #28154 http://projects.blender.org/tracker/index.php?func=detail&aid=28154&group_id=9&atid=498 Honestly, the fix applied - revision 39584 at http://projects.blender.org/scm/browser.php?group_id=9 - is a bit on the hackish side. It also won't work here, as ebuild uses system copy of scons. What should work, would probably something quite alike first block of SConstruct patch: if re.match('linux[0-9]+', platform): platform = 'linux2' CVS is at 2.59 and includes the upstream fix mentioned. Does this mean we'd have to patch it out? Created attachment 285269 [details] build log blender-2.59 from alice I tried to install blender from alice overlay vertion 2.59 and failed. build log is assigned, just the same error. btw do i need eselect python to version 3 ? >>eix python [I] dev-lang/python Available versions: (2.4) 2.4.6 (2.5) 2.5.4-r4 (2.6) 2.6.5-r3 (~)2.6.6-r1 (2.7) (~)2.7.1 2.7.1-r1 {M}2.7.1-r2 {M}2.7.1-r3 (3.1) {M}3.1.3-r1 (3.2) {M}(~)3.2 {-berkdb bootstrap build +cxx doc elibc_uclibc examples gdbm ipv6 +ncurses +readline (+)sqlite +ssl +threads tk +wide-unicode wininst +xml} Installed versions: 2.7.1-r3(2.7)(18:07:08 24.08.2011)(gdbm ncurses readline sqlite ssl threads wide-unicode xml -berkdb -build -doc -elibc_uclibc -examples -ipv6 -tk -wininst) 3.2(3.2)(21:04:18 01.09.2011)(gdbm ncurses readline sqlite ssl threads wide-unicode xml -build -doc -elibc_uclibc -examples -ipv6 -tk -wininst) Homepage: http://www.python.org/ Description: Python is an interpreted, interactive, object-oriented programming language. >>eix scons [I] dev-util/scons Available versions: 2.0.1 [m](~)2.0.1-r1 {doc} Installed versions: 2.0.1(21:19:06 01.09.2011)(-doc) Homepage: http://www.scons.org/ Description: Extensible Python-based build utility Created attachment 286383 [details, diff]
upstream patch
(In reply to comment #13) > Created attachment 286383 [details, diff] > upstream patch Once again, note that major part of this patch works only with the bundled copy of scons, which the ebuild isn't using. *** Bug 384239 has been marked as a duplicate of this bug. *** Please try again with blender-2.63a and reopen if it's still an issue. Thanks, Diego |