media-gfx/blender-2.57-r1 fails to build, although it did previously Reproducible: Always Steps to Reproduce: 1. emerge =media-gfx/blender-2.57-r1 2. 3. Actual Results: >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-gfx/blender-2.57-r1/work/blender-2.57 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/media-gfx/blender-2.57-r1/work/blender-2.57 ... scons: Reading SConscript files ... Command-line arguments No command-line arguments given Command-line targets No targets given, using default build_files/scons/config/linux3-config.py doesn't exist Using user-config file: user-config.py Build with parallel jobs: 1 Build with debug symbols: False IndexError: string index out of range: File "/var/tmp/portage/media-gfx/blender-2.57-r1/work/blender-2.57/SConstruct", line 316: if not B.root_build_dir[-1]==os.sep: Expected Results: should build normally emerge --info Portage 2.2.0_alpha50 (default/linux/amd64/10.0, gcc-4.6.1, glibc-2.14-r0, 3.0.0-gentoo x86_64) ================================================================= System uname: Linux-3.0.0-gentoo-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-gentoo-2.0.3 Timestamp of tree: Tue, 02 Aug 2011 19:45:01 +0000 app-shells/bash: 4.2_p10 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r2, 3.2-r2 dev-util/cmake: 2.8.5-r2 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.8.3-r1 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1-r1 sys-devel/binutils: 2.21.52.0.2 sys-devel/gcc: 4.5.2, 4.6.1 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 2.6.38 (virtual/os-headers) sys-libs/glibc: 2.14 Repositories: gentoo tcg Installed sets: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe -floop-interchange -floop-strip-mine -floop-block" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=native -fomit-frame-pointer -pipe -floop-interchange -floop-strip-mine -floop-block" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en_US en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi addressbook alsa amd64 amr apache2 audiofile avahi avi bash-completion berkdb bzip2 cairo caps cdaudio cddb cdparanoia cdr cdrdao chm cli consolekit cracklib crypt cups curl cxx dbus designer-plugin devicekit djvu dri dts dv dvb dvd dvdr dvdread ebook encode exif fam ffmpeg flac fortran gdbm gif glitz gmp gnome gphoto2 gpm gps graphite gstreamer gtk gtk2 htmlhandbook iconv icu ieee1394 imagemagick imap imlib ipv6 jack java jpeg jpeg2k kpathsea lame lcd lcms ldap libffi libnotify mad marble midi mmap mmx modules mozcalendar mozilla mp3 mudflap multilib musicbrainz ncurses nepomuk nls nodrm nptl nptlonly nsplugin nvidia ofx ogg oggvorbis opencore-amr openexr opengl openmp pam pcre pdf perl png policykit pppd pulseaudio python quicktime readline samba sasl scanner sdl semantic-desktop session slp smp sndfile spell sse sse2 ssl subversion svg sysfs tcltk theora threads tiff tk transparency truetype udev unicode usb utf8 vcd vim-syntax vorbis wav wavpack wmf x264 xattr xcomposite xine xml xorg xscreensaver xv xvid xvmc zlib" ALSA_CARDS="hda-intel hdsp" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
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