Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46952 - ibm-jre & ibm-jdk 1.4.1: recorded digest does not match files on IBM's website
Summary: ibm-jre & ibm-jdk 1.4.1: recorded digest does not match files on IBM's website
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-06 06:28 UTC by Jeff Pipkins
Modified: 2004-05-28 04:29 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 Jeff Pipkins 2004-04-06 06:28:38 UTC
I don't think this is a genuine download error, because I downloaded the same files two days in a row, on 4/5 and on 4/6.  The digest numbers of the downloaded files match each other.  Also, the download uses http rather than ftp, so it's not a problem of having forgotten to use the IMAGE or BIN commands.
Nevertheless, when I try to emerge the downloaded files, I am told that the digests of the files do not match the expected values recorded in the scripts.


Reproducible: Always
Steps to Reproduce:
1.Go to IBM's website, register/login
2.Download the files IBMJava2-JRE-141.tgz and IBMJava2-SDK-141.tgz
3.cp the downloaded files to /usr/portage/distfiles/
4.emerge ibm-jre; emerge ibm-jdk

Actual Results:  
# emerge ibm-jre
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-java/ibm-jre-1.4.1-r2 to /
 
!!! File is corrupt or incomplete. (Digests do not match)
>>> our recorded digest: 8fb025f150070b74b3461c30fe72bf02
>>>  your file's digest: b6680a76871727813f36cd87aa33d9ea
!!! File does not exist: /usr/portage/distfiles//IBMJava2-JRE-141.tgz
 
# emerge ibm-jdk
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-java/ibm-jdk-1.4.1-r1 to /
 
!!! File is corrupt or incomplete. (Digests do not match)
>>> our recorded digest: d74572ede16def9f9f9a8bea146b95e4
>>>  your file's digest: 3cadd3d32817dd33888b5645e0d1987a
!!! File does not exist: /usr/portage/distfiles//IBMJava2-SDK-141.tgz

The "File does not exist" line is curious, prompting me to do the following:

# ls /usr/portage/distfiles/IBM*
/usr/portage/distfiles/IBMJava2-JAVACOMM-141.tgz
/usr/portage/distfiles/IBMJava2-JRE-141.tgz
/usr/portage/distfiles/IBMJava2-SDK-141.tgz
# ls /usr/portage/distfiles//IBM*
/usr/portage/distfiles//IBMJava2-JAVACOMM-141.tgz
/usr/portage/distfiles//IBMJava2-JRE-141.tgz
/usr/portage/distfiles//IBMJava2-SDK-141.tgz
#


Expected Results:  
expected successful emerge, followed closely by javaular bliss ;^)

# emerge info
Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.4-rc1)
=================================================================
System uname: 2.6.4-rc1 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb crypt cups encode esd foomaticdb gdbm gif gnome gpm
gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif mozilla mpeg ncurses nls
oggvorbis opengl oss pam pcmcia pdflib perl png python quicktime readline sdl
slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Comment 1 Chris Aniszczyk (RETIRED) gentoo-dev 2004-04-06 20:41:51 UTC
Fixed in portage. ;P
Comment 2 Jeff Pipkins 2004-04-07 04:47:08 UTC
With the new changes, "emerge ibm-jre" completed with no errors.  Thanks!

Unfortunately, the jdk is not quite so happy.  The latest file available from IBM's website is IBMJava2-SDK-141.tgz, but emerge is looking for *142.tgz instead:

# emerge ibm-jdk
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-java/ibm-jdk-1.4.1-r1 to /
!!! IBMJava2-SDK-142.tgz not found in /usr/portage/distfiles.
 
!!! dev-java/ibm-jdk-1.4.1-r1 has fetch restriction turned on.
!!! This probably means that this ebuild's files must be downloaded
!!! manually.  See the comments in the ebuild for more information.
 
 * Download 32-bit pSeries and iSeries for PPC.
 * Download 32-bit xSeries for x86.
 
!!! ERROR: dev-java/ibm-jdk-1.4.1-r1 failed.
!!! Function pkg_nofetch, Line 34, Exitcode 0
!!! Please download x86? ( IBMJava2-SDK-142.tgz )
                ppc? ( IBMJava2-SDK-141.ppc.tgz ) from https://www6.software.ibm.com/dl/lxdk/lxdk-p to /usr/portage/distfiles
 
# ls /usr/portage/distfiles/IBM*
/usr/portage/distfiles/IBMJava2-JAVACOMM-141.tgz
/usr/portage/distfiles/IBMJava2-JRE-141.tgz
/usr/portage/distfiles/IBMJava2-SDK-141.tgz
#
Comment 3 Chris Aniszczyk (RETIRED) gentoo-dev 2004-04-07 06:08:01 UTC
Download again. I'm sure 142 is the latest copy for x86 ;) Please resolve the bug if this is true on your side.
Comment 4 Jeff Pipkins 2004-04-07 19:41:45 UTC
Chris, I am a developer myself.  Most of the hours of my day job are spent hunting and fixing other people's bugs.  I promise you I would not dare to reopen a ticket if I were not convinced that there really is a problem.  I know how annoying it is to be bothered with tickets that don't have bugs in them.  That's why I checked the website just before reopening the ticket this morning, and that's why I just now checked it again before posting this message.  The website appears to have been last updated on 03/01/04, and as of this writing, there simply is no file named IBMJava2-SDK-142.tgz available for download.
Comment 5 Chris Aniszczyk (RETIRED) gentoo-dev 2004-05-13 21:00:41 UTC
Try ibm-jdk-bin and ibm-jre-bin, things changed a bit. If it doesn't work still, give me a shoutout. If I hear no response, I'll close this bug tomorrow.
Comment 6 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-05-28 04:29:29 UTC
Can't reproduce this. 

dev-java/ibm-jdk has been removed in favour of dev-java/ibm-jdk-bin

The latter is available for testing on x86 and ppc.

The newer -bin ebuild will automatically download its own tgz file; we have mirrored it.