Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264050 - sci-calculators/abakus-0.91 fails to compile with dev-util/scons-1.0.0
Summary: sci-calculators/abakus-0.91 fails to compile with dev-util/scons-1.0.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-28 10:50 UTC by Steffen Schaumburg
Modified: 2009-10-31 11:38 UTC (History)
1 user (show)

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


Attachments
Build log (sci-calculators:abakus-0.91:20090328-215545.log,4.12 KB, text/plain)
2009-03-28 21:58 UTC, Steffen Schaumburg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Schaumburg 2009-03-28 10:50:16 UTC
Hi all, this is a very strange bug I think. I just finished remerging world to ensure it wasn't some kind of error due to recent toolchain updates but the problem persists.
When I try to remerge abakus this happens:

scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead.
File "/var/tmp/portage/sci-calculators/abakus-0.91/work/abakus-0.91/src/SConscript", line 17, in <module>
scons: done reading SConscript files.
scons: Building targets ...
meinproc --check --cache doc/en/index.cache.bz2 doc/en/index.docbook
g++ -o src/abakus.o -c -march=k8 -O2 -pipe -DNDEBUG -DNO_DEBUG -I/usr/kde/3.5/include -I/usr/qt/3/include/ - W n o - n o n - v i r t u a l - d t o r -march=k8 -O2 -pipe -DQT_NO_TRANSLATION -I. -Isrc -Isrc src/abakus.cpp
/usr/qt/3/bin/moc -o src/abakuslistview.moc src/abakuslistview.h
g++ -o src/abakuslistview.o -c -march=k8 -O2 -pipe -DNDEBUG -DNO_DEBUG -I/usr/kde/3.5/include -I/usr/qt/3/include/ - W n o - n o n - v i r t u a l - d t o r -march=k8 -O2 -pipe -DQT_NO_TRANSLATION -I. -Isrc -Isrc src/abakuslistview.cpp
g++: W: No such file or directory
g++: n: No such file or directory
g++: o: No such file or directory
g++: n: No such file or directory
g++: o: No such file or directory
g++: n: No such file or directory
g++: v: No such file or directory
g++: i: No such file or directory
g++: r: No such file or directory
g++: t: No such file or directory
g++: u: No such file or directory
g++: a: No such file or directory
g++: l: No such file or directory
g++: d: No such file or directory
g++: t: No such file or directory
g++: o: No such file or directory
g++: r: No such file or directory
g++: cannot specify -o with -c or -S with multiple files
scons: *** [src/abakuslistview.o] Error 1
g++: W: No such file or directory
g++: n: No such file or directory
g++: o: No such file or directory
g++: n: No such file or directory
g++: o: No such file or directory
g++: n: No such file or directory
g++: v: No such file or directory
g++: i: No such file or directory
g++: r: No such file or directory
g++: t: No such file or directory
g++: u: No such file or directory
g++: a: No such file or directory
g++: l: No such file or directory
g++: d: No such file or directory
g++: t: No such file or directory
g++: o: No such file or directory
g++: r: No such file or directory
g++: cannot specify -o with -c or -S with multiple files
scons: *** [src/abakus.o] Error 1
scons: building terminated because of errors.

As you can see the final g++ command has "- W n o - n o n - v i r t u a l - d t o r" as a parameter, with all the spaces. However, the previous merge of abakus works just fine.
I don't know what else I can provide to make finding the root of this easier, please let me know what is needed :)

Reproducible: Always

Steps to Reproduce:
1. emerge abakus -av

Actual Results:  
Compile fails

Expected Results:  
Abakus merged

Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4600+-with-gentoo-1.12.11.1
Timestamp of tree: Thu, 26 Mar 2009 09:15:02 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.6.1-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /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/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ http://gentoo.virginmedia.com/sites/gentoo "
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB en en_US de"
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/portage/local/layman/ruby /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X aac acl acpi alsa amd64 apache apache2 ares arts artswrappersuid avahi bash-completion bluetooth branding bzip2 cairo cdda cddb cdr cjk cli cracklib crypt cups dbus device-mapper divx dri dvd dvdr dvdread examples fam fortran ftp fuse gdbm gif gnome gnome-keyring gpm gtk hal iconv imap isdnlog java java6 jpeg loop-aes midi mmx mmxext mng mono mp3 mpeg mudflap multilib mysql mysqli ncurses nls nowin nptl nptlonly ntfs offensive ogg opengl openmp pam pcre pda perl png pppd python quicktime quotas rar readline realmedia reflection reiserfs ruby rubytests samba sasl session smp spell spl sqlite sqlite3 sse sse2 ssl startup-notification svg swig symlink sysfs test threads tiff truetype unicode utempter vhosts vorbis wma wmp xinerama xorg xscreensaver xulrunner xv xvid zeroconf 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 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 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" KERNEL="linux" LINGUAS="en_GB en en_US de" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


I tried this a few times, this time I had running: Gnome, Firefox, a few gnome-terminals, pidgin, gedit and kaffeine.
I last synced within the last couple of days and as said I just did a emerge world -e.

It's not a free memory/disk problem:
steffen ~ # free -m && df -h
             total       used       free     shared    buffers     cached
Mem:          2011       1931         80          0        215       1166
-/+ buffers/cache:        549       1462
Swap:         2008         34       1974
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             231G  226G  5.1G  98% /
udev                   10M   44K   10M   1% /dev
shm                  1006M     0 1006M   0% /dev/shm

I was unable to find any reference to this problem in bugzilla or the forums.

And finally, thanks in advance :)
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-28 21:34:23 UTC
Please attach the build.log file of the failed emerge to this bug.
Comment 2 Steffen Schaumburg 2009-03-28 21:58:21 UTC
Created attachment 186585 [details]
Build log

Hope it helps :)
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-29 19:29:51 UTC
Which version of dev-util/scons do you have installed?
Comment 4 Steffen Schaumburg 2009-03-29 23:06:30 UTC
I have dev-util/scons-1.0.0
Comment 5 Steffen Schaumburg 2009-03-30 00:41:17 UTC
Just tried remerging scons and then abakus, but didn't work.
I would like to avoid unmerging abakus&scons because it's the only GUI calculator I have on the PC :)
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-30 05:02:35 UTC
Can you please try with dev-util/scons-1.2.0 and report your results here? 

Please reopen this bug when you did the test so that we can wrangle this bug
further.
Comment 7 Steffen Schaumburg 2009-03-30 11:56:18 UTC
That fixed it, thanks :)
For good measure I also tried recompiling scons as well as abakus again and it worked again.
I reopened the bug since I'm not sure what status it should go on since the fix is still in ~
But feel free to close it's fixed for me :)

Cheers, Steffen
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2009-10-31 11:38:44 UTC
+  31 Oct 2009; Samuli Suominen <ssuominen@gentoo.org> abakus-0.91.ebuild:
+  Change scons depend to >= 1.2.0 wrt #264050.