| View previous topic :: View next topic |
| Author |
Message |
slove n00b

Joined: 12 Mar 2006 Posts: 2
|
Posted: Sun Mar 12, 2006 6:38 pm Post subject: [solved] Difficulty installing ibm-jdk-bin |
|
|
Hey folks,
I'm trying to install a jdk on my powermac G5 install. I think I'm using 64-bit kernel and 64-bit userland libraries. I've downloaded the appropriate .tgz files from IBM's site. I've put them in /usr/portage/distfiles.
| Code: |
stinger ~ # ACCEPT_KEYWORDS="~ppc64" emerge ibm-jdk-bin
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-java/ibm-jdk-bin-1.4.2.04 to /
>>> md5 files ;-) ibm-jdk-bin-1.4.2.04.ebuild
>>> md5 files ;-) ibm-jdk-bin-1.4.2.03.ebuild
>>> md5 files ;-) ibm-jdk-bin-1.5.0.ebuild
>>> md5 files ;-) files/ibm-jdk-bin-1.4.2.04
>>> md5 files ;-) files/digest-ibm-jdk-bin-1.4.2.03
>>> md5 files ;-) files/ibm-jdk-bin-1.4.2.03
>>> md5 files ;-) files/digest-ibm-jdk-bin-1.4.2.04
>>> md5 files ;-) files/cpuinfo
>>> md5 files ;-) files/digest-ibm-jdk-bin-1.5.0
>>> md5 files ;-) files/ibm-jdk-bin-1.5.0
>>> md5 files ;-) files/ibm-jdk-bin-1.4.2
!!! Digest verification Failed:
!!! /usr/portage/distfiles/IBMJava2-SDK-142.ppc64-SR4.tgz
!!! Reason: Filesize does not match recorded size
|
I checked the digest file, and sure enough, the file sizes are slightly off.
Does anyone have any suggestions about what I may be doing wrong?
Has IBM changed the files slightly since the ebuild was created?
I tried manually going in and adjusting the size and md5 information in the digest file to match the actual file I recieved from IBM, but then the failure came when comparing the md5 info from the Manifest to the (newly modified) digest file. The Manifest has 3 different digest values for each digest file, and I don't know how to generate at least one of them (SHA256). That's the point I decided I'd better ask for help!
I also tried adding 'FEATURES=-strict' to the command-line. That just removed the 'md5' lines from the output and the failure message was identical.
Any suggestions?
Is it possible for me to alter the Manifest and digest files to match the data I revieved from IBM?
I did extract the archive file, and it all seemed to be fine, so I don't think that it is corruption in the .tgz file.
I also reran 'emerge --sync' several times, and the error remains the same.
Thanks,
Shon
Last edited by slove on Tue Mar 14, 2006 4:12 am; edited 1 time in total |
|
| Back to top |
|
 |
kfiaciarka Veteran


Joined: 20 May 2005 Posts: 1496 Location: Dobre Miasto, Poland
|
Posted: Sun Mar 12, 2006 6:56 pm Post subject: |
|
|
How about | Code: | | emerge ibm-jdk-bin --digest |
Have you tried sun-jdk instead? _________________ Read GMN
Osnews.pl
ITbiznes.pl
Laptop: Asus F3Tc-ap049 Turion TL-56, 2gb ddr2, 120gb, GF 7300  |
|
| Back to top |
|
 |
KeyserZero n00b


Joined: 21 Mar 2005 Posts: 68
|
Posted: Mon Mar 13, 2006 3:15 am Post subject: |
|
|
Hey!
| Quote: | kfiaciarka:
Have you tried sun-jdk instead? |
He has a PowerPC, so he can't use Sun-Jdk! But it doesn't matter because IBM-Jdk works greate!
slove:
Rename and copy your file to /usr/portage/distfiles and then run "ebuild /usr/portage/dev-java/ibm-jdk-bin/ibm-jdk-bin-1.4.2.04.ebuild digest"
Then emerge it again!
Greetz _________________ www.ruby-lang.org |
|
| Back to top |
|
 |
slove n00b

Joined: 12 Mar 2006 Posts: 2
|
Posted: Tue Mar 14, 2006 4:12 am Post subject: |
|
|
Hey,
Great suggestions, guys! Adding 'digest' to the end of the command worked the magic!
I had to disable the JIT compiler (export JAVA_COMPILER=NONE), but once I did that, I have a working VM now.
thanks,
shon |
|
| Back to top |
|
 |
brazentone n00b


Joined: 30 Sep 2004 Posts: 8 Location: Worcester, MA, USA
|
Posted: Thu Jul 27, 2006 12:07 am Post subject: Undocumented --digest switch? |
|
|
| kfiaciarka wrote: | How about | Code: | | emerge ibm-jdk-bin --digest |
Have you tried sun-jdk instead? |
What exactly does --digest do? It's not in the man page.
This suggestion solved a problem I've been having with an unrelated package very well. Kinda curious what I just did. _________________ ------------------------------------------------------
Mark Sherman.
Engineer. Writer. Philosopher. Gentoo user. |
|
| Back to top |
|
 |
JoseJX Developer

Joined: 28 Apr 2002 Posts: 2620
|
Posted: Thu Jul 27, 2006 12:15 am Post subject: |
|
|
From "man ebuild":
| Quote: |
digest Creates a digest file for the package in /usr/portage/[category]/[package]/files/.
This digest file lists the md5sum's of all the files found in the SRC_URI. If the fetched source
of the package is corrupt/bogus in some way, the md5sum will catch this.
|
You're overriding a check to ensure the file is downloaded correctly. _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml |
|
| Back to top |
|
 |
|