I have a --load-average=3.0 in my MAKEOPTS in /etc/make.conf. GNU make is also accepting floating point arguments here, while scons will only take ints. This should actually affect many scons ebuilds. Reproducible: Always Steps to Reproduce: 1. Add --load-average=3.0 to MAKEOPTS in /etc/make.conf 2. $ emerge -va =media-gfx/blender-2.45 Actual Results: >>> Source unpacked. >>> Compiling source in /var/tmp/portage/media-gfx/blender-2.45/work/blender-2.45 ... usage: scons [OPTION] [TARGET] ... SCons error: option --load-average: invalid integer value: '3.0' usage: scons [OPTION] [TARGET] ... Expected Results: >>> media-gfx/blender-2.45 merged.
I looked at it again, and scons doesn't seem to support any usage of --load-average. While it would start to run with an int flag, the ebuild would not build successfully and produce nothing of use to me (log at EOT). It is behaving so strange, that I would rather not use that flag with any scons ebuilds anymore in the future -- maybe somebody else knows more. $ scons --version SCons by Steven Knight et al.: script: v0.97.D001, 2007/05/17 11:35:19, by knight on roxbury engine: v0.97.D001, 2007/05/17 11:35:19, by knight on roxbury Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007 The SCons Foundation $ emerge --info Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.2.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 i686) ================================================================= System uname: 2.6.23-gentoo-r3 i686 Genuine Intel(R) CPU T2400 @ 1.83GHz Timestamp of tree: Sun, 16 Dec 2007 23:46:01 +0000 app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r7, 2.5.1-r4 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=prescott -mtune=prescott -pipe -mfpmath=sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O3 -march=prescott -mtune=prescott -pipe -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.mirrors.tera-byte.com/ http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ http://gentoo.netnitco.net http://mirror.espri.arizona.edu/gentoo/ " LANG="en_US.UTF-8" MAKEOPTS="--jobs=3 --load-average=3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/wolf31o2 /usr/portage/local/layman/xeffects /usr/portage/local/layman/gentopia /usr/portage/local/layman/science /usr/portage/local/layman/suka" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi alsa apache2 apm bash-completion beagle berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups dbus dga dmi dri dvd dvdread encode expat ffmpeg firefox flac fortran gdbm gif gnome gpm gs gstreamer gtk hal icc iconv ipod ipv6 irda isdnlog jack java javascript jpeg ladspa latex lcms libnotify libwww lm_sensors mad midi mmx mng mono mp3 mp4 mpeg mplayer mudflap ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pcmcia pcre pdf perl pmu png pppd python quicktime readline reflection sdl session smp socks5 spell spl sse sse2 ssl svg tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb vi vim-syntax vorbis wifi win32codecs wmf x86 xcomposite xine xml xorg xosd xpm xv zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fglrx" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS $ emerge -va blender These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-gfx/blender-2.45 USE="blender-game ffmpeg jpeg nls png sdl -openal -openexr -verse" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) media-gfx/blender-2.45 to / * blender-2.45.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking blender-2.45.tar.gz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking blender-2.45.tar.gz to /var/tmp/portage/media-gfx/blender-2.45/work * Applying blender-2.37-dirs.patch ... [ ok ] * Applying blender-2.44-scriptsdir.patch ... [ ok ] * Applying blender-2.44-swscale.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/media-gfx/blender-2.45/work/blender-2.45 ... Warning: the --load-average option is not yet implemented Warning: the --load-average option is not yet implemented make -C texture make[1]: Entering directory `/var/tmp/portage/media-gfx/blender-2.45/work/blender-2.45/release/plugins/texture' gcc -fPIC -funsigned-char -O2 -c clouds2.c -I../include ld -Bshareable clouds2.o -o clouds2.so gcc -fPIC -funsigned-char -O2 -c tiles.c -I../include ld -Bshareable tiles.o -o tiles.so make[1]: Leaving directory `/var/tmp/portage/media-gfx/blender-2.45/work/blender-2.45/release/plugins/texture' make -C sequence make[1]: Entering directory `/var/tmp/portage/media-gfx/blender-2.45/work/blender-2.45/release/plugins/sequence' gcc -fPIC -funsigned-char -O2 -c blur.c -I../include ld -Bshareable blur.o -o blur.so -lc gcc -fPIC -funsigned-char -O2 -c color-correction-hsv.c -I../include ld -Bshareable color-correction-hsv.o -o color-correction-hsv.so -lc gcc -fPIC -funsigned-char -O2 -c color-correction-yuv.c -I../include ld -Bshareable color-correction-yuv.o -o color-correction-yuv.so -lc gcc -fPIC -funsigned-char -O2 -c dnr.c -I../include ld -Bshareable dnr.o -o dnr.so -lc gcc -fPIC -funsigned-char -O2 -c gamma.c -I../include ld -Bshareable gamma.o -o gamma.so -lc gcc -fPIC -funsigned-char -O2 -c scatter.c -I../include ld -Bshareable scatter.o -o scatter.so make[1]: Leaving directory `/var/tmp/portage/media-gfx/blender-2.45/work/blender-2.45/release/plugins/sequence' >>> Source compiled. >>> Test phase [not enabled]: media-gfx/blender-2.45 >>> Install blender-2.45 into /var/tmp/portage/media-gfx/blender-2.45/image/ category media-gfx install: cannot stat `/var/tmp/portage/media-gfx/blender-2.45/work/install/linux2/blender': No such file or directory mv: cannot stat `/var/tmp/portage/media-gfx/blender-2.45/work/install/linux2/.blender/.Blanguages': No such file or directory mv: cannot stat `/var/tmp/portage/media-gfx/blender-2.45/work/install/linux2/.blender/.bfont.ttf': No such file or directory mv: cannot stat `/var/tmp/portage/media-gfx/blender-2.45/work/install/linux2/.blender/locale': No such file or directory mv: cannot stat `/var/tmp/portage/media-gfx/blender-2.45/work/install/linux2/.blender/scripts': No such file or directory >>> Completed installing blender-2.45 into /var/tmp/portage/media-gfx/blender-2.45/image/ strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment usr/lib/blender/textures/clouds2.so usr/lib/blender/textures/tiles.so usr/lib/blender/sequences/blur.so usr/lib/blender/sequences/color-correction-hsv.so usr/lib/blender/sequences/color-correction-yuv.so usr/lib/blender/sequences/dnr.so usr/lib/blender/sequences/gamma.so usr/lib/blender/sequences/scatter.so * checking 19 files for package collisions >>> Merging media-gfx/blender-2.45 to / --- /usr/ --- /usr/bin/ --- /usr/share/ --- /usr/share/blender/ --- /usr/share/pixmaps/ >>> /usr/share/pixmaps/blender.png --- /usr/share/applications/ >>> /usr/share/applications/blender.desktop --- /usr/share/doc/ --- /usr/share/doc/blender-2.45/ >>> /usr/share/doc/blender-2.45/COPYING.bz2 >>> /usr/share/doc/blender-2.45/INSTALL.bz2 >>> /usr/share/doc/blender-2.45/README.bz2 --- /usr/lib/ --- /usr/lib/blender/ --- /usr/lib/blender/textures/ >>> /usr/lib/blender/textures/clouds2.so >>> /usr/lib/blender/textures/tiles.so --- /usr/lib/blender/sequences/ >>> /usr/lib/blender/sequences/blur.so >>> /usr/lib/blender/sequences/color-correction-hsv.so >>> /usr/lib/blender/sequences/color-correction-yuv.so >>> /usr/lib/blender/sequences/dnr.so >>> /usr/lib/blender/sequences/gamma.so >>> /usr/lib/blender/sequences/scatter.so --- /usr/include/ --- /usr/include/blender/ >>> /usr/include/blender/documentation.h >>> /usr/include/blender/externdef.h >>> /usr/include/blender/floatpatch.h >>> /usr/include/blender/iff.h >>> /usr/include/blender/plugin.h >>> /usr/include/blender/util.h >>> Safely unmerging already-installed instance... No package files given... Grabbing a set. --- replaced obj /usr/share/pixmaps/blender.png --- replaced dir /usr/share/pixmaps --- replaced obj /usr/share/doc/blender-2.45/README.bz2 --- replaced obj /usr/share/doc/blender-2.45/INSTALL.bz2 --- replaced obj /usr/share/doc/blender-2.45/COPYING.bz2 --- replaced dir /usr/share/doc/blender-2.45 --- replaced dir /usr/share/doc --- replaced dir /usr/share/blender --- replaced obj /usr/share/applications/blender.desktop --- replaced dir /usr/share/applications --- replaced dir /usr/share --- replaced obj /usr/lib/blender/textures/tiles.so --- replaced obj /usr/lib/blender/textures/clouds2.so --- replaced dir /usr/lib/blender/textures --- replaced obj /usr/lib/blender/sequences/scatter.so --- replaced obj /usr/lib/blender/sequences/gamma.so --- replaced obj /usr/lib/blender/sequences/dnr.so --- replaced obj /usr/lib/blender/sequences/color-correction-yuv.so --- replaced obj /usr/lib/blender/sequences/color-correction-hsv.so --- replaced obj /usr/lib/blender/sequences/blur.so --- replaced dir /usr/lib/blender/sequences --- replaced dir /usr/lib/blender --- replaced dir /usr/lib --- replaced obj /usr/include/blender/util.h --- replaced obj /usr/include/blender/plugin.h --- replaced obj /usr/include/blender/iff.h --- replaced obj /usr/include/blender/floatpatch.h --- replaced obj /usr/include/blender/externdef.h --- replaced obj /usr/include/blender/documentation.h --- replaced dir /usr/include/blender --- replaced dir /usr/include --- replaced dir /usr/bin --- replaced dir /usr >>> Original instance of package unmerged safely. >>> media-gfx/blender-2.45 merged. >>> No packages selected for removal by clean >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date.
(In reply to comment #1) > I looked at it again, and scons doesn't seem to support any usage of > --load-average. While it would start to run with an int flag, the ebuild would > not build successfully and produce nothing of use to me (log at EOT). > > It is behaving so strange, that I would rather not use that flag with any > scons ebuilds anymore in the future -- maybe somebody else knows more. Yeah scons it just t3h suck, try something like something like echo 'MAKEOPTS="${MAKEOPTS/--load-average*}"' >> /etc/portage/env/media-gfx/blender and see if it helps. As noted, not just blender issue, if you have a generic solution, try gentoo-dev mailing list. *** This bug has been marked as a duplicate of bug 190049 ***
*** Bug 206913 has been marked as a duplicate of this bug. ***