Trying to emerge binutils-2.14.90.0.8-r2 it fails to unpack the source. Reproducible: Always Steps to Reproduce: 1. emerge -Duv binutils Actual Results: # emerge -Duv binutils Calculating dependencies ...done! >>> emerge (1 of 1) sys-devel/binutils-2.14.90.0.8-r2 to / >>> md5 src_uri ;-) binutils-2.14.90.0.8.tar.bz2 >>> md5 src_uri ;-) binutils-2.14.90.0.8-patches-1.3.tar.bz2 >>> Unpacking source... >>> Unpacking binutils-2.14.90.0.8.tar.bz2 to /portage/tmp/portage/binutils-2.14.90.0.8-r2/work >>> Unpacking binutils-2.14.90.0.8-patches-1.3.tar.bz2 to /portage/tmp/portage/binutils-2.14.90.0.8-r2/work !!! ERROR: sys-devel/binutils-2.14.90.0.8-r2 failed. !!! Function src_unpack, Line 39, Exitcode 1 !!! (no error message) Expected Results: proceeded to compile Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.5) ================================================================= System uname: 2.6.5 i686 AMD Athlon(tm) XP 2400+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -march=athlon-xp -msse -mmmx -m3dnow -Os -fomit-frame-pointer -frerun-loop-opt -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.binarycompass.org ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.uninett.no/pub/linux/Gentoo ftp://mirror.pudas.net/gentoo" MAKEOPTS="-j2" PKGDIR="/portage/packages" PORTAGE_TMPDIR="/portage/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow X Xaw3d aalib alsa apm avi berkdb bonobo cdr crypt cups dga doc dv dvd dvdr encode foomaticdb freetype gdbm gif gnome gnutls gpm gstreamer gtk gtk2 guile imap imlib ipv6 jabber java joystick jpeg kde kerberos libg++ libwww mad maildir mbox mikmod mmx motif mozcalendar mozilla mpeg mpeg4 ncurses nls nptl oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline sasl sdl slang slp spell sse ssl stroke svga tcltk tcpd tetex tiff truetype type1 unicode usb vim-with-x wmf x86 xchattext xine xml2 xmms xv xvid yv12 zlib"
Getting the same src_unpack error: >>> emerge (1 of 7) sys-devel/binutils-2.14.90.0.8-r2 to / >>> md5 src_uri ;-) binutils-2.14.90.0.8.tar.bz2 >>> md5 src_uri ;-) binutils-2.14.90.0.8-patches-1.3.tar.bz2 >>> Unpacking source... >>> Unpacking binutils-2.14.90.0.8.tar.bz2 to /var/tmp/portage/binutils-2.14.90.0.8-r2/work >>> Unpacking binutils-2.14.90.0.8-patches-1.3.tar.bz2 to /var/tmp/portage/binutils-2.14.90.0.8-r2/work !!! ERROR: sys-devel/binutils-2.14.90.0.8-r2 failed. !!! Function src_unpack, Line 39, Exitcode 1 !!! (no error message)
(currently appears bug 54060 and bug 54061 are dupes of this bug)
*** Bug 54060 has been marked as a duplicate of this bug. ***
*** Bug 54061 has been marked as a duplicate of this bug. ***
adding dragonheart to CC. dragonheart - mind UN-breaking binutils-2.14.90.0.8-r2 and binutils-2.15.91.0.1-r2 please? even after removing the "use uclibc ... || die" from the 2.14 ebuild it doesnt even patch cleanly. neither does your 2.15 ebuild. the rms from your 2.14 ebuild dont do anything here either, it still tries to apply a patch with relro in the name. did you test either of these before committing at all?
if you change the line in binutils-2.14.90.8-r2.ebuild use uclibc && rm -f ${WORKDIR}/patch/*relro* && rm -rf ${WORKDIR}/patch/*sparc1* || die by rm -f ${WORKDIR}/patch/*relro* && rm -rf ${WORKDIR}/patch/*sparc1* || die ebuild unpack compil and install works, but i'm staying here because i don't know what i am doing ;)
Sorry peoples, will look at this after work. Peter - this is based on your changes. Got a solution?
use uclibc && rm XY && rm AB || die Thats the line that makes the script fail. I think use uclibc returns failure when not using uclibc, which isn't quite a default ---> || die means the script dies if not using uclibc, which finally does not makes sense ! I think what is meant is: if use uclibc; then rm -f AB && rm -f CD || die ### AB,CD=the file masks from the script fi This should run from my point of view... just checking .. BYE
What really seems to be meant is if [ !`use uclibc`] ; then rm # .... # || die fi Finally this syntax works for me. Whats about uclibc users ? BYE
the "if [ ! `use blah` ]; then" syntax is incorrect, and should be "if ! use blah; then". The behavior of the "use blah" command has changed so the second example is becoming the preferred one.
Fixed hopefully. Haven't unmasked it until further testing undertaken.
builds fine for me on x86.