While doing an emerge -e world on my machine I noticed that 2 ebuilds, namely x11-proto/xcb-proto-1.1 and x11-libs/libdrm-2.3.1 failed with the following error message: make[2]: Leaving directory `/var/tmp/portage/x11-proto/xcb-proto-1.1/work/xcb-proto-1.1/src' make[1]: Leaving directory `/var/tmp/portage/x11-proto/xcb-proto-1.1/work/xcb-proto-1.1/src' make[1]: Entering directory `/var/tmp/portage/x11-proto/xcb-proto-1.1/work/xcb-proto-1.1' make[2]: Entering directory `/var/tmp/portage/x11-proto/xcb-proto-1.1/work/xcb-proto-1.1' make[2]: Nothing to be done for `install-exec-am'. test -z "/usr/lib/pkgconfig" || mkdir -p -- "/var/tmp/portage/x11-proto/xcb-proto-1.1/image//usr/lib/pkgconfig" /usr/bin/install -c -m 644 'xcb-proto.pc' '/var/tmp/portage/x11-proto/xcb-proto-1.1/image//usr/lib/pkgconfig/xcb-proto.pc' make[2]: Leaving directory `/var/tmp/portage/x11-proto/xcb-proto-1.1/work/xcb-proto-1.1' make[1]: Leaving directory `/var/tmp/portage/x11-proto/xcb-proto-1.1/work/xcb-proto-1.1' * Messages for package x11-proto/xcb-proto-1.1: * The ebuild phase 'install' has exited unexpectedly. This type of * behavior is known to be triggered by things such as failed variable * assignments (bug #190128) or bad substitution errors (bug #200313). * Normally, before exiting, bash should have displayed an error message * above. If bash did not produce an error message above, it's possible * that the ebuild has called `exit` when it should have called `die` * instead. This behavior may also be triggered by a corrupt bash binary or * a hardware problem such as memory or cpu malfunction. If the problem is * not reproducible or it appears to occur randomly, then it is likely to * be triggered by a hardware problem. If you suspect a hardware problem * then you should try some basic hardware diagnostics such as memtest. * Please do not report this as a bug unless it is consistently * reproducible and you are sure that your bash binary and hardware are * functioning properly. I could reproduce this on 2 other machines (x86, amd64), but only after synching the portage tree (was less than a day old on both machines). I suspect there is a bug in one of the x11 eclasses. Installing the same ebuild works with trees older than ~1 day. Reproducible: Always Steps to Reproduce: 1. emerge --sync 2. emerge xcb-proto -1 3. install fails
emerge --info: Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-tuxonice-r1 i686) ================================================================= System uname: Linux-2.6.28-tuxonice-r1-i686-Intel-R-_Core-TM-2_Duo_CPU_T8100_@_2.10GHz-with-glibc2.0 Timestamp of tree: Wed, 18 Feb 2009 15:30:01 +0000 app-shells/bash: 3.2_p39 dev-lang/python: 2.5.2-r7 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.63 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -mssse3 -O2 -pipe -fno-ident -fomit-frame-pointer -fivopts -ftree-loop-linear -ftree-vectorize -fno-tree-vect-loop-version -fvect-cost-model" 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/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=prescott -mssse3 -O2 -pipe -fno-ident -fomit-frame-pointer -fivopts -ftree-loop-linear -ftree-vectorize -fno-tree-vect-loop-version -fvect-cost-model -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1,--hash-style=gnu,--sort-common,--as-needed,--enable-new-dtags" LINGUAS="en" MAKEOPTS="-j3" PKGDIR="/var/cache/binpkgs" 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="/root/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X bash-completion bindist cli cracklib custom-cxxflags dirac dri ffmpeg glibc-omitfp hardcoded-tables isdnlog midi mmap mmx mpeg mudflap ncurses nptl nptlonly ogg opengl pam pch phonon pppd profile readline reflection rtc session smp spl sse sse2 ssh ssse3 sysfs theora threads truetype unicode usb x264 x86 xcb xorg xv xvid xvmc zlib" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="vesa none" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
dev-libs/libpthread-stubs-0.1 also fails on all 3 machines (x86, 2x amd64) after a recent emerge --sync! All these ebuilds inherit from x-modular.
Verified the my dev system. emerge --info: Portage 2.1.6.4 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.27-gentoo-r7 i686) ================================================================= System uname: Linux-2.6.27-gentoo-r7-i686-Intel-R-_Pentium-R-_4_CPU_2.40GHz-with-glibc2.0 Timestamp of tree: Wed, 18 Feb 2009 15:45:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.5.2-r7 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.63 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -march=i686" 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/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=i686" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ " LDFLAGS="-Wl,-O1,--hash-style=gnu,--sort-common,--as-needed,--enable-new-dtags" MAKEOPTS="-j2" 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/overlays/cross-x86_64" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi alsa arts bash-completion berkdb branding bzip2 cairo cdr cli cracklib crypt css curl dbus dri dvd dvdr dvdread emboss fam firefox fortran gd gdbm gif git glib glibc-omitfp hal iconv id3tag ipod isdnlog java jpeg kde kdehiddenvisibility logrotate lzo mad matroska md5sum midi mikmod mmap mmxext mng mp3 mpeg mudflap ncurses nptl nptlonly ogg opengl openmp pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime rar readline reflection rtc sdl session smp spl sse3 ssl startup-notification subversion svg symlink sysfs tcpd theora threads tiff truetype unicode usb vcd vim vim-syntax vorbis win32codecs wmf x264 x86 xcb xcomposite xml xorg xulrunner xv xvid xvmc 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 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="vesa intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Markus, You last touched the eclass, what did you break? Please confirm or revert your changes.
I just verified that this bug is not caused by changes in the x-modular.eclass. This bug is caused by changes in eutils.eclass between versions 1.309 and 1.311. Here is the diff: --- eclass/eutils.eclass 2009-02-18 18:49:50.000000000 +0100 +++ /usr/portage/eclass/eutils.eclass 2009-02-18 09:07:01.000000000 +0100 @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.309 2009/02/07 10:57:38 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.311 2009/02/18 08:05:52 mr_bones_ Exp $ # @ECLASS: eutils.eclass # @MAINTAINER: @@ -389,10 +389,26 @@ # usata@gentoo.org (OS X) # Aaron Walker <ka0ttic@gentoo.org> (FreeBSD) # @DESCRIPTION: -# Small wrapper for getent (Linux), nidump (Mac OS X), +# Small wrapper for getent (Linux), +# nidump (< Mac OS X 10.5), dscl (Mac OS X 10.5), # and pw (FreeBSD) used in enewuser()/enewgroup() egetent() { case ${CHOST} in + *-darwin9) + local mytype=$1 + [[ "passwd" == $mytype ]] && mytype="Users" + [[ "group" == $mytype ]] && mytype="Groups" + case "$2" in + *[!0-9]*) # Non numeric + dscl . -read /$mytype/$2 2>/dev/null |grep RecordName + ;; + *) # Numeric + local mykey="UniqueID" + [[ $mytype == "Groups" ]] && mykey="PrimaryGroupID" + dscl . -search /$mytype $mykey $2 2>/dev/null + ;; + esac + ;; *-darwin*) case "$2" in *[!0-9]*) # Non numeric @@ -1807,3 +1823,21 @@ newbin "${tmpwrapper}" "${wrapper}" || die fi } + +# @FUNCTION: prepalldocs +# @USAGE: +# @DESCRIPTION: +# Compress files in /usr/share/doc which are not already +# compressed, excluding /usr/share/doc/${PF}/html. +# Uses the ecompressdir to do the compression. +prepalldocs() { + if [[ -n $1 ]] ; then + ewarn "prepalldocs: invalid usage; takes no arguments" + fi + + cd "${D}" + [[ -d usr/share/doc ]] || exit 0 + + ecompressdir --ignore /usr/share/doc/${PF}/html + ecompressdir --queue /usr/share/doc +} After using this old version of this eclass all packages work again. No changes were done to any other eclass/ebuild.
x-modular.eclass calls prepalldocs. I just removed that.