Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Difficulty installing ibm-jdk-bin
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
slove
n00b
n00b


Joined: 12 Mar 2006
Posts: 2

PostPosted: Sun Mar 12, 2006 11:38 pm    Post subject: [solved] Difficulty installing ibm-jdk-bin Reply with quote

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 9:12 am; edited 1 time in total
Back to top
View user's profile Send private message
kfiaciarka
Veteran
Veteran


Joined: 20 May 2005
Posts: 1498
Location: Dobre Miasto, Poland

PostPosted: Sun Mar 12, 2006 11:56 pm    Post subject: Reply with quote

How about
Code:
emerge ibm-jdk-bin --digest

Have you tried sun-jdk instead?
Back to top
View user's profile Send private message
KeyserZero
n00b
n00b


Joined: 21 Mar 2005
Posts: 68

PostPosted: Mon Mar 13, 2006 8:15 am    Post subject: Reply with quote

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
View user's profile Send private message
slove
n00b
n00b


Joined: 12 Mar 2006
Posts: 2

PostPosted: Tue Mar 14, 2006 9:12 am    Post subject: Reply with quote

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
View user's profile Send private message
brazentone
n00b
n00b


Joined: 01 Oct 2004
Posts: 8
Location: Worcester, MA, USA

PostPosted: Thu Jul 27, 2006 5:07 am    Post subject: Undocumented --digest switch? Reply with quote

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
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Jul 27, 2006 5:15 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum