I have MAKEOPTS="-j3". Changing it to "-j1" solves the issue. The ebuild should be updated, especially since it is a very small application you won't get faster compilation times with "-j3" :) Reproducible: Always
Well, that's no fix; post the actual errors if you still have same problem w/ 8.1.1.
Emerging 8.1.1 on the same system works fine. Thanks!
Lets stabilize a working one then... ;)
ppc stable
x86 stable
(In reply to comment #3) > Lets stabilize a working one then... ;) Stop fucking with my bugs, jakub. *sysstat-8.1.1 (10 Feb 2008) 10 Feb 2008; Jeroen Roovers <jer@gentoo.org> +sysstat-8.1.1.ebuild: Version bump (development version - not intended to go stable).
@Lori: Please attach the build log and post your emerge --info.
I reverted stabilisation for ppc and x86 and package.masked 8.1.1. I was able to reproduce the problem just once: ar rv libsyscom.a common.o ar rv libsyscom.a ioconf.o ar rv libsyssa.a sa_common.o ar: creating libsyscom.a ar: libsyscom.a: No such file or directory ar: creating libsyscom.a a - ioconf.o make: *** [libsyscom.a(common.o)] Error 1 make: *** Waiting for unfinished jobs.... ar: creating libsyssa.a a - sa_common.o * * ERROR: app-admin/sysstat-8.0.4-r1 failed. Very similar to bug #193208 indeed.
Well, I reemerged three times today sysstat, but couldn't reproduce the bug anymore. Output was very similar to yours, and seeing "make: *** Waiting for unfinished jobs...." made me try MAKEOPTS="-j1", which worked at the time. Today's tests were with -j3, I checked. emerge --info still needed?
(In reply to comment #9) > Today's tests were with -j3, I checked. emerge --info still needed? Sure.
Here you go: # emerge --info Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r9 i686) ================================================================= System uname: 2.6.23-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Timestamp of tree: Mon, 10 Mar 2008 08:30:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.4.4-r9 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 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.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="-O2 -march=pentium4 -pipe -fomit-frame-pointer" 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/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ " LANG="en_US.UTF-8" LINGUAS="en en_US es hu ro" MAKEOPTS="-j3" 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" PORTDIR_OVERLAY="/usr/local/layman/font-overlay /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi adns alsa bash-completion berkdb blas bzip2 cairo cdinstall cdr cjk cli cracklib crypt cups curl dbus dri dts dv dvd dvdr dvdread emboss encode evo exif fam ffmpeg firefox flac foomaticdb fortran ftp gd gdbm geoip ggi gif gnutls gphoto2 gpm gps graphviz gstreamer hal htmlhandbook iconv idn imagemagick imap ipv6 isdnlog jabber java jpeg jpeg2k kde kerberos lame lapack lcms ldap lm_sensors mad matroska mbox midi mikmod mmap mmx mp3 mpeg mplayer msn mudflap musicbrainz ncurses nls nptl nptlonly nsplugin offensive ogg openexr opengl openmp oss pam pcre pdf perl plotutils png ppds pppd prelude python qt3 qt3support qt4 quicktime rdesktop readline reflection samba sasl sdl session slp spell spl sqlite sse sse2 ssl svg symlink tcpd tetex threads tidy tiff truetype unicode usb v4l v4l2 vcd vim-syntax vnc vorbis win32codecs x264 x86 xcb xcomposite xine xml xorg xosd xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US es hu ro" USERLAND="GNU" VIDEO_CARDS="i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #6) > Stop fucking with my bugs, jakub. Chill, seriously! Noone's fucking with you bugs, it's assigned to you in case you haven't noticed yet. Also if you don't want something to ever go stable, then stick it to p.mask as you are supposed to next time and no such thing will happen.
The same happened to me for app-admin/sysstat-8.0.4-r1. It happened once, then I changed to -j1 and emerged fine. Then set -j5 again and re-emerged but did not complain. So this error is not easy to reproduce. # emerge --info Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r8 i686) ================================================================= System uname: 2.6.23-gentoo-r8 i686 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz Timestamp of tree: Sun, 06 Apr 2008 16:03: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-r6 dev-python/pycrypto: 2.0.1-r6 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.5, 1.7.9-r1, 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="-O2 -mtune=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/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/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -mtune=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer nostrip sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/" LINGUAS="es_ES es" 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" PORTDIR_OVERLAY="/usr/portage/local/layman/voip /usr/local/portage" SYNC="rsync://INF-BL07/gentoo-portage" USE="X X509 acl acpi aim apache2 asterisk authdaemond bash-completion berkdb bzip2 calendar cdb cli cluster cracklib crypt ctype cups curl curlwrappers dba dbase dbm doc dri dts exif expat fam fbcon flash flatfile follow-xff fortran ftp gd gdbm geoip gif ginac gmp gpm hal howl iconv imap ipv6 isdnlog ithreads jabber java javascript jbig jikes jpeg kerberos ldap libclamav logrotate maildir mailwrapper mbox mcal midi milter mime ming mmx mng mpi msnt mssql mudflap mysql mysqli ncurses network nls nptl nptlonly ntlm odbc openmp oracle pam pcntl pcre pda pdflib perl php png posix postgres ppds pppd pri python qmail quotas radius readline reflection rtc ruby samba sasl session sharedext simplexml slang smb snmp soap sockets source spamassassin speex spell spl ssl symlink szip tcpd theora threads tiff tokenizer tools truetype unicode userlocales vhosts vmdbmysql vorbis winbind x86 xml xml2 xmlrpc xorg xpm xvid zaptel zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es_ES es" MISDN_CARDS="hfcmulti" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
same thing: ============================================================================= KServ blkwork # emerge --ask app-admin/sysstat ... make: *** [sadc] Error 1 * * ERROR: app-admin/sysstat-8.0.4-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2089: Called die * The specific snippet of code: * emake LFLAGS="${LDFLAGS}" || die "emake failed" * The die message: * emake 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-admin/sysstat-8.0.4-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-admin/sysstat-8.0.4-r1/temp/environment'. * * Messages for package app-admin/sysstat-8.0.4-r1: * * ERROR: app-admin/sysstat-8.0.4-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2089: Called die * The specific snippet of code: * emake LFLAGS="${LDFLAGS}" || die "emake failed" * The die message: * emake 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-admin/sysstat-8.0.4-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-admin/sysstat-8.0.4-r1/temp/environment'. * ============================================================================= KServ blkwork # MAKE_OPTS="-j1" emerge --ask sysstat ... * Messages for package app-admin/sysstat-8.0.4-r1: * The sysstat configuration files have moved from /etc/sysconfig to /etc * GNU info directory index is up-to-date. ============================================================================ KServ blkwork # emerge --info Portage 2.1.4.5 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r4 x86_64) ================================================================= System uname: 2.6.27-gentoo-r4 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz Timestamp of tree: Thu, 04 Dec 2008 13:01:01 +0000 app-shells/bash: 3.2_p33 dev-lang/python: 2.4.4-r13, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 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.4_p6, 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="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O3 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=nocona -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" 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="acl amd64 bash-completion berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog midi mmx mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl sysfs tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
(In reply to comment #14) > same thing: > ============================================================================= > KServ blkwork # emerge --ask app-admin/sysstat > ... > > make: *** [sadc] Error 1 Either post the *real* error(s) or simply attach the build log, please. :)
Oddly, with app-admin/sysstat-9.0.3 I am suddenly able to reproduce it on a stable system with a slow CPU that happens to distribute its compiling (distcc) entirely. With the current Makefile patch, make apparently still uses the implicit rule instead of, so I am now able to test a patch that gets rid of that entirely.
Created attachment 193229 [details] a simple script that pitches two ebuilds against each other over N rounds jeroen@henke /keeps/gentoo/cvs/gentoo-x86/app-admin/sysstat $ sudo /keeps/gentoo/tools/parallelmakechecker sysstat-9.0.3* 10 Password: EBUILD BUILD-NR EXIT_STATUS sysstat-9.0.3.ebuild 1/10 1 sysstat-9.0.3-r1.ebuild 1/10 0 sysstat-9.0.3.ebuild 2/10 0 sysstat-9.0.3-r1.ebuild 2/10 0 sysstat-9.0.3.ebuild 3/10 1 sysstat-9.0.3-r1.ebuild 3/10 0 sysstat-9.0.3.ebuild 4/10 0 sysstat-9.0.3-r1.ebuild 4/10 0 sysstat-9.0.3.ebuild 5/10 0 sysstat-9.0.3-r1.ebuild 5/10 0 sysstat-9.0.3.ebuild 6/10 0 sysstat-9.0.3-r1.ebuild 6/10 0 sysstat-9.0.3.ebuild 7/10 0 sysstat-9.0.3-r1.ebuild 7/10 0 sysstat-9.0.3.ebuild 8/10 1 sysstat-9.0.3-r1.ebuild 8/10 0 sysstat-9.0.3.ebuild 9/10 0 sysstat-9.0.3-r1.ebuild 9/10 0 sysstat-9.0.3.ebuild 10/10 0 sysstat-9.0.3-r1.ebuild 10/10 0 At the end of 10 rounds, the score is sysstat-9.0.3.ebuild : 3 failures sysstat-9.0.3-r1.ebuild : 0 failures To get this result, I had to do these things: * an NFS share as PORTAGE_TMPDIR * a continuous bzcat /some/largefile.bz2 > /dev/null * MAKEOPTS=-j4 (on a slow host: AMD K6-2 @400MHz) * using distcc with 3 remote threads and 1 local thread. Please try out the attached script on the original 9.0.3 and the patched 9.0.3-r1 and post the output here.
Tested after robbat2's updates to the patched version, with a pair of dual-core amd64 boxes and -j5: At the end of 10 rounds, the score is sysstat-9.0.3.ebuild : 4 failures sysstat-9.0.3-r1.ebuild : 0 failures
Thanks for testing.
At the end of 10 rounds, the score is sysstat-9.0.3.ebuild : 8 failures sysstat-9.0.3-r1.ebuild : 0 failures robbat2's final patch is in -r1 now and has been accepted upstream.