Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54059 - binutils-2.14.90.0.8-r2 merging fails on source unpacking
Summary: binutils-2.14.90.0.8-r2 merging fails on source unpacking
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 54060 54061 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-15 22:38 UTC by Jukka Palko
Modified: 2004-06-26 13:38 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jukka Palko 2004-06-15 22:38:29 UTC
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"
Comment 1 cerement 2004-06-15 22:47:50 UTC
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)

Comment 2 cerement 2004-06-15 22:49:57 UTC
(currently appears bug 54060 and bug 54061 are dupes of this bug)
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-06-15 23:12:17 UTC
*** Bug 54060 has been marked as a duplicate of this bug. ***
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2004-06-15 23:12:30 UTC
*** Bug 54061 has been marked as a duplicate of this bug. ***
Comment 5 Travis Tilley (RETIRED) gentoo-dev 2004-06-16 00:10:54 UTC
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?
Comment 6 Patrick Fourniols 2004-06-16 00:38:40 UTC
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 ;)
Comment 7 Daniel Black (RETIRED) gentoo-dev 2004-06-16 01:48:11 UTC
Sorry peoples, will look at this after work. Peter - this is based on your changes. Got a solution?
Comment 8 Ingo Krabbe 2004-06-16 04:48:12 UTC
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
Comment 9 Ingo Krabbe 2004-06-16 05:02:39 UTC
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
Comment 10 Joshua Kinard gentoo-dev 2004-06-17 14:49:11 UTC
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.
Comment 11 Daniel Black (RETIRED) gentoo-dev 2004-06-20 06:34:16 UTC
Fixed hopefully. Haven't unmasked it until further testing undertaken.
Comment 12 solar (RETIRED) gentoo-dev 2004-06-26 13:38:27 UTC
builds fine for me on x86.