the error starts right here. gmake[2]: *** [libPHONES.la] Error 1 gmake[2]: Leaving directory `/var/tmp/portage/app-mobilephone/gnokii-0.6.22-r2/work/gnokii-0.6.22/common/phones' gmake[1]: *** [phones] Error 2 gmake[1]: *** Waiting for unfinished jobs.... ar cru .libs/libPHONES.a .libs/generic.o .libs/nokia.o .libs/nk7110.o .libs/nk6510.o .libs/nk6160.o .libs/nk6100.o .libs/nk3110.o .libs/atgen.o .libs/atbosch.o .libs/ateric.o .libs/atmot.o .libs/atnok.o .libs/atsie.o .libs/atsoer.o .libs/atsam.o .libs/gnapplet.o .libs/fake.o .libs/pcsc.o i686-pc-linux-gnu-ranlib .libs/libPHONES.a creating libPHONES.la (cd .libs && rm -f libPHONES.la && ln -s ../libPHONES.la libPHONES.la) gmake[2]: Leaving directory `/var/tmp/portage/app-mobilephone/gnokii-0.6.22-r2/work/gnokii-0.6.22/common/phones' gmake[1]: Leaving directory `/var/tmp/portage/app-mobilephone/gnokii-0.6.22-r2/work/gnokii-0.6.22/common' make: *** [common] Error 2 * * ERROR: app-mobilephone/gnokii-0.6.22-r2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3276: Called die * The specific snippet of code: * emake || die "make failed"; * The die message: * make failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-mobilephone/gnokii-0.6.22-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-mobilephone/gnokii-0.6.22-r2/temp/environment'. * # emerge --info Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.20-15-generic i686) ================================================================= System uname: 2.6.20-15-generic i686 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz Timestamp of tree: Tue, 11 Nov 2008 19:30:13 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r13, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.61-r2 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 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.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" 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/config" 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=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.linux.org.tr/pub/mirrors/gentoo http://ftp.uoi.gr/mirror/OS/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ " LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en_US en_GB tr" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X Xaw3d aac accessibility acl acpi akode alisp alsa amarok ao aoss arts audiofile automount bash-completion berkdb bindist branding bzip2 caps cjk cli cracklib crypt cups custom-cflags dbus directfb djvu dmx dri dvd dvdr dvdread emacs emovix encode examples exif ffmpeg fftw flac fortran ftp gdbm gif glep glitz gnokii gnutls gphoto2 gpm gstreamer gzip hal hardened iconv id3tag idn imlib immqt-bc injection ipv6 isdnlog java java6 javascript jbig jingle jpeg jpeg2k kde kdehiddenvisibility kig-scripting krb4 lcms libnotify live livecd lm_sensors lyrics lzo madwifi md5sum midi mp3 mp3rtp mpd mplayer mudflap musepack musicbrainz mysql nano-syntax ncurses network-cron networking nls nptl nptlonly nsplugin ogg openexr opengl openmp oss overlays pam paste64 pcre pcsc-lite pda pdf perl php png ppds pppd python qt qt3 qt4 quicktime readline reflection samba sametime sasl session slp smartcard smbkrb5passwd sndfile snmp solver sound speex spell spl spoof-source sqlite sqlite3 srt ssl startup-notification svg sysfs syslog taglib tcl tcpd theora tiff timidity tk toolbar truetype unicode utempter v4l v4l2 vcd vorbis wavpack wifi win32codecs wma x86 xattr xcb xcomposite xine xml xorg xprint xv xvid 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" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en_GB tr" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 171683 [details] "/var/tmp/portage/app-mobilephone/gnokii-0.6.22-r2/work/gnokii-0.6.22/config.log" in case it's necessary...
Please post the build log.
which file exactly are you asking, may i ask? can you give me a possible directory, or/and a name, please?
(In reply to comment #3) > which file exactly are you asking, may i ask? can you give me a possible > directory, or/and a name, please? You posted it yourself in the Description: * A complete build log is located at '/var/tmp/portage/app-mobilephone/gnokii-0.6.22-r2/temp/build.log'.
Please reopen this bug when you have attached the build log.
Created attachment 172273 [details] /var/tmp/portage/app-mobilephone/gnokii-0.6.22-r2/temp/build.log here it is..
Created attachment 172274 [details] /var/tmp/portage/app-mobilephone/gnokii-0.6.22-r2/temp/environment and this as a bonus :)
Reopening as requested..
Looks like a parallel make problem. May (or may not) be related to these lines in Makefile.global.in: MAKE = @MAKE@ %.lo: %.c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $< %.a %.la: $(MAKE) -C $(@D) $(@F) (flameeyes's blog suggests it may).
is there anything i can do to verify it?
You may try adding -j1 to the ebuild in src_compile (or you could temporarily set your MAKEOPTS to -j5).
(In reply to comment #11) > You may try adding -j1 to the ebuild in src_compile > > (or you could temporarily set your MAKEOPTS to -j5). > it is already -j5, since i am using a Q6600 - quadcore.
The point is - reducing.
OK, comment 11 had a typo, but a rather obvious one. The second was meant to j1 too.
interestingly enough, i can not reproduce the error now.. i just did "emerge gnokii" and it is installed without error... i did not change MAKEOPTS variable, did not change anything,.. may be a few USE flags (such as bindist, custom-cflags, ..) but none of them are regarding gnokii package. didn't understand. though.. i think i must resolve this bug as invalid?? what do you say?
Not quite.The problem with parallel make bugs is that sometimes they are not reproducible, as they happen cause of a race condition. As such timing may be important and ccache may throw it off (something got left there after first attempts).
According to Diego, there are no make parallelism problems in gnokii (see bug 235999), therefore I will close this as WORKSFORME. Reopen the bug if you manage to reproduce it with a frequency bigger than one out of 20 tries. Of course, you need to test that on a multi-core box.
I can reproduce this quite reliably (10 out of 10 tries) on a 6-core machine with MAKEOPTS="-j". I guess Diego got lucky once, but didn't look too closely at the build system. With -j1 every build succeeds. If you have trouble reproducing it you could try with MAKEOPTS="-j" too. Diego, could you have another look?
It hasn't failed on the tinderbox either, but I'll check this out tonight and provide a patch.
Hm, I cannot reproduce on my 8-core with make -j. Can you attach your build log? Because fromt he one for 0.6.22 I can't see anything similar, and I need to see the actual failure to be able to find the problem :/
Created attachment 182553 [details] build.log
Created attachment 182554 [details] emerge --info
AAAh okay I see where this comes from, my mistake for not providing version numbers there. I always talk about ~arch when I file an unversioned bug. 0.6.26+ has parallel make fixed, 0.6.22 doesn't. I've restored -j1 on the stable ebuild.