Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 2463

Summary: blackdown java-jre does not emerge on ppc
Product: Gentoo Linux Reporter: Joerg Luehmann <lofwyr>
Component: Current packagesAssignee: Peter W. Michaleas (RETIRED) <tutor>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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