Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45134 - ibm-jdk has broken ebuilds for ppc
Summary: ibm-jdk has broken ebuilds for ppc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High major (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-19 09:36 UTC by Kenneth Cummins
Modified: 2004-06-14 21:24 UTC (History)
1 user (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 Kenneth Cummins 2004-03-19 09:36:48 UTC
There appears to be logic in the ebuilds for the ppc, but when actually emerged, it wants to install the x86 version.  No ppc files are listed in the Manifest, nor in the files/ directory.
Comment 1 Luca Barbato gentoo-dev 2004-03-19 19:01:47 UTC
Are you sure?

from the 1.4.1 ebuild:

if [ `use ppc` ]; then
    S=${WORKDIR}/IBMJava2-ppc-141
else
    S=${WORKDIR}/IBMJava2-141
fi;
                                                                                
if [ `use ppc` ]; then
    SRC_JAVA="IBMJava2-SDK-141.ppc.tgz"
else
    SRC_JAVA="IBMJava2-SDK-141.tgz"
fi;

and if you try to emerge -f ibm-jdk
it outputs:

!!! Please download IBMJava2-SDK-141.ppc.tgz from https://www6.software.ibm.com/dl/lxdk/lxdk-p to /usr/portage/distfiles
Comment 2 Kenneth Cummins 2004-03-19 19:33:33 UTC
Yes.  But it would not emerge the JDK unless I had the x86 tgz file in distfiles, and that was the file it installed.  The logic appears to be there, and it asks for the ppc tgz file, but when it actually tries to compile/install, it's targeting the x86 media.
Comment 3 Kenneth Cummins 2004-03-19 19:54:54 UTC
Forgot to mention, the Manifest and files/ directory do not list the .ppc.tgz files.
Comment 4 Chris Aniszczyk (RETIRED) gentoo-dev 2004-03-19 20:18:04 UTC
My bad, the ebuild was changed recently to fix an issue with empty digests, it turns out I forgot to create a PPC digest plus the logic of the SRC_URI was off. It should be fixed in portage now.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2004-06-14 21:24:17 UTC
*** Bug 53937 has been marked as a duplicate of this bug. ***