Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115427 - dev-java/blackdown-jre-1.4.2.02 ebuild fails to unpack source
Summary: dev-java/blackdown-jre-1.4.2.02 ebuild fails to unpack source
Status: RESOLVED DUPLICATE of bug 107866
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-13 09:04 UTC by Justin Findlay
Modified: 2005-12-15 09:39 UTC (History)
0 users

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


Attachments
emerge -v info (emerge-v.info,5.92 KB, text/plain)
2005-12-13 09:20 UTC, Justin Findlay
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Findlay 2005-12-13 09:04:13 UTC
Whether the blackdown-jre i586 source is necessary for a java 32 bit compatibility layer I don't know, but portage seems to want to install both the i586 and amd64 jre's and this breaks the ebuild.

archimedes ~ # cat /usr/portage/dev-java/blackdown-jre/blackdown-jre-1.4.2.02.ebuild | grep offending_lines
SRC_URI="amd64? ( ${J_URI}/amd64/${JREV}/j2re-${JV}-${JREV}-linux-amd64.bin )
    x86? ( ${J_URI}/i386/${JREV}/j2re-${JV}-${JREV}-linux-i586.bin )"
...
    echo ">>> Unpacking ${A}..."
    tail -n +${offset} ${DISTDIR}/${A} | tar --no-same-owner -jxpf -

archimedes ~ # emerge --oneshot blackdown-jre
...
>>> Unpacking source...
>>> Unpacking j2re-1.4.2-02-linux-amd64.bin j2re-1.4.2-02-linux-i586.bin...
bzip2: (stdin) is not a bzip2 file.
tar: Child died with signal 13
tar: Error exit delayed from previous errors
>>> Source unpacked.
>>> Test phase [not enabled]: dev-java/blackdown-jre-1.4.2.02

>>> Install blackdown-jre-1.4.2.02 into /var/tmp/portage/blackdown-jre-1.4.2.02/image/ category dev-java
cp: cannot stat `/var/tmp/portage/blackdown-jre-1.4.2.02/work/j2re1.4.2/bin': No such file or directory
cp: cannot stat `/var/tmp/portage/blackdown-jre-1.4.2.02/work/j2re1.4.2/lib': No such file or directory
cp: cannot stat `/var/tmp/portage/blackdown-jre-1.4.2.02/work/j2re1.4.2/man': No such file or directory
cp: cannot stat `/var/tmp/portage/blackdown-jre-1.4.2.02/work/j2re1.4.2/plugin': No such file or directory

!!! ERROR: dev-java/blackdown-jre-1.4.2.02 failed.
!!! Function src_install, Line 95, Exitcode 1
!!! failed to copy
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Justin Findlay 2005-12-13 09:20:36 UTC
Created attachment 74649 [details]
emerge -v info
Comment 2 Justin Findlay 2005-12-15 09:39:21 UTC
OK, I'm pretty dumb. I guess you can't just copy /etc/make.conf from x86 and 
expect it to work without carefully reading through it. 

*** This bug has been marked as a duplicate of 107866 ***