Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106542 - Digest verification fails for sun-jdk.
Summary: Digest verification fails for sun-jdk.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-19 10:18 UTC by Jeremiah Johnson
Modified: 2005-09-19 10:54 UTC (History)
0 users

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 Jeremiah Johnson 2005-09-19 10:18:02 UTC
After multiple attempts to upgrade to the latest sun-jdk ebuild I've decided to
add the bug.  I've downloaded the file as specified in the ebuild URL, put it in
the right place, and the md5 never matches.

Reproducible: Always
Steps to Reproduce:
>>> emerge (1 of 16) dev-java/sun-jdk-1.4.2.09 to /
!!! j2sdk-1_4_2_09-linux-i586.bin not found in /usr/portage/distfiles

!!! dev-java/sun-jdk-1.4.2.09 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.

 * Please download j2sdk-1_4_2_09-linux-i586.bin from:
 *
http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=j2sdk-1.4.2_09-oth-JPR&SiteId=JSC&TransactionId=noreg
 * (SDK 32-bit/64-bit for Windows/Linux/Solaris SPARC 32-bit for Solaris x86,
then select download Linux Self-extracting.
 * and move it to /usr/portage/distfiles

I then downloaded the file from the URL specified.

md5sum /usr/portage/distfiles/j2sdk-1_4_2_09-linux-i586.bin 
3fe2f671cd49cdd5d6636080b5f45f75
/usr/portage/distfiles/j2sdk-1_4_2_09-linux-i586.bin

I then tried to emerge again.
chia-pet ~ # emerge --update -a world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild    FU ] dev-java/sun-jdk-1.4.2.09 [1.4.2.08-r1] 
*lots of other packages cut for clarity*
Do you want me to merge these packages? [Yes/No] 
>>> emerge (1 of 16) dev-java/sun-jdk-1.4.2.09 to /

!!! Digest verification Failed:
!!!    /usr/portage/distfiles/j2sdk-1_4_2_09-linux-i586.bin
!!! Reason: Filesize does not match recorded size

chia-pet files # pwd
/usr/portage/dev-java/sun-jdk/files
chia-pet files # cat digest-sun-jdk-1.4.2.09 
MD5 96173e3090a9820fd2338af88fbb2d09 j2sdk-1_4_2_09-linux-i586.bin 36429599
MD5 ff961c5f5326191c5ac2e4624d756f7e jce_policy-1_4_2.zip 12195

Actual Results:  
It didnt install because digest verification failed.  

Expected Results:  
It should have installed so I can be happy.

chia-pet files # emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1,
2.6.11-gentoo-r11 i686)
=================================================================
System uname: 2.6.11-gentoo-r11 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts browserplugin bzip2
crypt cups eds emboss encode esd fam foomaticdb fortran gd gdbm gif gpm
gstreamer gtk gtk2 imlib ipv6 java jpeg libg++ libwww mad matrox mikmod mmx
motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pdflib perl png
python qt quicktime readline ruby samba sdl snmp spell sse ssl tcpd tiff
truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Thomas Matthijs (RETIRED) gentoo-dev 2005-09-19 10:26:05 UTC
The digest seems correct
Just redownloaded it to check
it says the file size differs,
your parition with distfiles on doesn't happen to be full?
Comment 2 Jeremiah Johnson 2005-09-19 10:30:40 UTC
My partitions are not full.

miah@chia-pet ~ $ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda2              92G   19G   69G  22% /
udev                  442M  2.6M  440M   1% /dev
none                  442M     0  442M   0% /dev/shm
none                   64M   33M   32M  51% /tmp
/dev/cdroms/cdrom0    626M  626M     0 100% /mnt/cdrom

For the record, I've tried downloading with both wget and firefox.  Same results
on both.  I will try from a different computer.

Comment 3 Jeremiah Johnson 2005-09-19 10:45:36 UTC
Ok, I've tried yet again.  Now its working fine with firefox and wget, and from
a remote system its also working.  Yet when I tried friday, then again this
morning it wasn't working, the file would constantly spew out a different
md5sum.  Strange, but I don't think this is a gentoo issue at this point. Sorry
to have wasted any time.
Comment 4 Thomas Matthijs (RETIRED) gentoo-dev 2005-09-19 10:54:47 UTC
no problem