Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2463 - blackdown java-jre does not emerge on ppc
Summary: blackdown java-jre does not emerge on ppc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Peter W. Michaleas (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-05 08:16 UTC by Joerg Luehmann
Modified: 2006-02-04 06:03 UTC (History)
0 users

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 Joerg Luehmann 2002-05-05 08:16:27 UTC
The ebuild r7 of the blackdown java ebuild is broken for ppc. First it always
downloads the i386 version because it finds it first. Even when this is changed
it cannot unpack the downloaded file.
Here is my fix. (worked for me)

First i changed the URL otherwise it will always get the i386 file
SRC_URI="ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/JDK-1.3.1/${PLATFORM}/${FCS}/${A}"

Secondly, the downloaded file is not ending with bz2. Changed this also:

src_unpack () {
        if [ $PLATFORM = "ppc" ]; then
                tail +422 ${DISTDIR}/${A} > j2re-1.3.1-ppc.tar
                tar -xjf j2re-1.3.1-ppc.tar
        else
        unpack ${A}
        fi
}

Hope this works for all

regards 

Joerg