I attempted to emerge the PlanetCCRMA 2.4.21 kernel using the new (to me) ebuild. It failed with the following messages: ./usr/src/linux-2.4.21-1.ll.acpi/COPYING ./usr/src/linux-2.4.21-1.ll.acpi/REPORTING-BUGS ./usr/src/linux-2.4.21-1.ll.acpi/CREDITS tar: Error exit delayed from previous errors !!! ERROR: sys-kernel/planet-ccrma-sources-2.4.21 failed. !!! Function src_unpack, Line 51, Exitcode 2 !!! (no error message) Gentoo2 root # I attempted to scroll back but cannot see any errors. It must have happened quite a bit earlier. I retried the emerge but couln't spot what was going wrong. Reproducible: Always Steps to Reproduce: 1. emerge planet-ccrma-sources Actual Results: ./usr/src/linux-2.4.21-1.ll.acpi/REPORTING-BUGS ./usr/src/linux-2.4.21-1.ll.acpi/CREDITS tar: Error exit delayed from previous errors !!! ERROR: sys-kernel/planet-ccrma-sources-2.4.21 failed. !!! Function src_unpack, Line 51, Exitcode 2 !!! (no error message) Gentoo2 root # Nothign new is in /usr/src at this point. Expected Results: Should just install the kernel. Gentoo2 src # emerge --info Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r7) ================================================================= System uname: 2.4.20-gentoo-r7 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.4.3.10p1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif gpm jpeg kde libg++ mad mikmod motif mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga tcltk java guile sdl tcpd pam perl python esd imlib oggvorbis qt opengl mozilla X gtk alsa mysql imap libwww maildir sasl ssl -gnome radeon" Gentoo2 src #
FYI - Tried this on a second machine with the same results.
Ok, I'll see if I can make it happen on my box (and maybe another one).
I tested the r1 ebuild on my kid's box, and it works fine there too. So it looks like you have two machines it fails on, and I have two that it works on. Things that make you go hmmm... Looking at your info, all I can think of is maybe try cranking your CFLAGS down from -O3 to -O2 or -Os. But you'd have to rebuild quite a bit of stuff to test that theory... Other than that, I really don't see much of anything. I'm open to suggestions.
Humm....strange. Are either of your machines AMD based? I jsut tried -r1 again and it's still failing here. This is failing in emerge somewhere. To go down to -O2 would be quite a drastic step I think since it would mean rebuilding what? The whole machine? I don't know. Well, this is disappointing. Maybe I'd be better off adding the capabilites patch to gentoo-sources.... Thanks, Mark
Both machines I have are athlons (actually three, if you count my previous board/cpu combo) - 2 tbirds and one xp chip (but all are using -Os). Go figure...
I see the same problem and same error message. tar: Error exit delayed from previous errors It appears that it might be dying in the kernel_universal_unpack. bash-2.05b# emerge --info Portage 2.0.48-r7 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20 i686 AMD Athlon(TM) MP 1900+ GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss apm avi cups encode foomaticdb gif jpeg libg++ libwww mad mikmod mpeg pdflib png quicktime spell xv gdbm berkdb slang svga tcltk java guile mysql gpm tcpd pam ssl perl python esd imlib motif opengl mozilla cdr X gtk gtk2 gnome alsa qt -kde -arts aalib ncurses readline sdl nas xmms oggvorbis crypt truetype xml xml2 zlib tiff static -nls" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=athlon-mp -O3 -pipe" CXXFLAGS="-O2 -mcpu=i686 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
I'm not sure what to say, since I haven't been able to reproduce this on the three Gentoo boxes I have at my disposal right now. This one is an Athlon-xp, and I tried on an Athlon-tbird and a K6-2 350. Any other ideas?
This fix worked for my qtopia-desktop-bin ebuild, so give it a try. I switched from rpm2tgz to the rpm eclass.