| Summary: | binutils-2.14.90.0.8-r2 merging fails on source unpacking | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jukka Palko <jpalko> |
| Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | CC: | bakirov, cyberspacecomputers, dragonheart, neko, ps.m, ronsayers |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Jukka Palko
2004-06-15 22:38:29 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)
*** 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. |