Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 53657
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Russell Treleaven <rtreleaven@chantrynetworks.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 53657 depends on: Show dependency tree
Bug 53657 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-06-11 09:36 0000
17:11:31 (39.74 KB/s) -
`/usr/portage/distfiles/j2re-1.4.1-01-linux-i586-gcc2.95.bin' saved
[20470579/20470579]

!!! Fetched file: j2re-1.4.1-01-linux-i586-gcc2.95.bin MD5 FAILED! Removing
corrupt distfile...
!!! Couldn't download j2re-1.4.1-01-linux-i586-gcc2.95.bin. Aborting.

!!! Fetch for /usr/portage/dev-java/blackdown-jre/blackdown-jre-1.4.1.ebuild
failed, continuing...

***I tried three times from different sources

Reproducible: Always
Steps to Reproduce:
1.emerge --fectchonly openoffice

Actual Results:  
lnx37 root # emerge --fetchonly openoffice 
Calculating dependencies ...done! 
>>> emerge (1 of 7) dev-java/java-config-1.2.6 to / 
>>> Previously fetched file: java-config-1.2.6.tar.bz2 MD5 ;-) 
>>> md5 src_uri ;-) java-config-1.2.6.tar.bz2 
>>> emerge (2 of 7) dev-java/blackdown-jdk-1.4.1 to / 
>>> Previously fetched file: j2sdk-1.4.1-01-linux-i586-gcc3.2.bin MD5 ;-) 
>>> md5 src_uri ;-) j2sdk-1.4.1-01-linux-i586-gcc3.2.bin 
>>> emerge (3 of 7) x11-libs/startup-notification-0.5 to / 
>>> Previously fetched file: startup-notification-0.5.tar.gz MD5 ;-) 
>>> md5 src_uri ;-) startup-notification-0.5.tar.gz 
>>> emerge (4 of 7) app-shells/tcsh-6.12-r3 to / 
>>> Previously fetched file: tcsh-6.12.00.tar.gz MD5 ;-) 
>>> md5 src_uri ;-) tcsh-6.12.00.tar.gz 
>>> emerge (5 of 7) dev-java/blackdown-jre-1.4.1 to / 
>>> Previously fetched file: j2re-1.4.1-01-linux-i586-gcc3.2.bin MD5 ;-) 
>>> Downloading 
ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/distfiles/j2re-1.4.1-01-linux-i586-gcc2.95.bin 
ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/distfiles/j2re-1.4.1-01-linux-i586-gcc2.95.bin: 
Empty host. 
>>> Downloading 
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/distfiles/j2re-1.4.1-01-linux-i586-gcc2.95.bin 
--16:39:58--  
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/distfiles/j2re-1.4.1-01-linux-i586-gcc2.95.bin 
           => `/usr/portage/distfiles/j2re-1.4.1-01-linux-i586-gcc2.95.bin' 
Resolving mirrors.sec.informatik.tu-darmstadt.de... 130.83.164.194 
Connecting to mirrors.sec.informatik.tu-darmstadt.de[130.83.164.194]:21... 
failed: Connection refused. 
>>> Downloading 
http://gentoo.chem.wisc.edu/gentoo/distfiles/j2re-1.4.1-01-linux-i586-gcc2.95.bin 
--16:39:59--  
http://gentoo.chem.wisc.edu/gentoo/distfiles/j2re-1.4.1-01-linux-i586-gcc2.95.bin 
           => `/usr/portage/distfiles/j2re-1.4.1-01-linux-i586-gcc2.95.bin' 
Resolving gentoo.chem.wisc.edu... 128.104.70.13 
Connecting to gentoo.chem.wisc.edu[128.104.70.13]:80... connected. 
HTTP request sent, awaiting response... 200 OK 
Length: 20,470,579 [application/octet-stream] 

100%[====================================>] 20,470,579   221.07K/s    ETA 
00:00 

16:41:20 (244.46 KB/s) - 
`/usr/portage/distfiles/j2re-1.4.1-01-linux-i586-gcc2.95.bin' saved 
[20470579/20470579] 

!!! Fetched file: j2re-1.4.1-01-linux-i586-gcc2.95.bin MD5 FAILED! Removing 
corrupt distfile... 
>>> Downloading 
http://adelie.polymtl.ca/distfiles/j2re-1.4.1-01-linux-i586-gcc2.95.bin 
--16:41:21--  
http://adelie.polymtl.ca/distfiles/j2re-1.4.1-01-linux-i586-gcc2.95.bin 
           => `/usr/portage/distfiles/j2re-1.4.1-01-linux-i586-gcc2.95.bin' 
Resolving adelie.polymtl.ca... 132.207.4.160 
Connecting to adelie.polymtl.ca[132.207.4.160]:80... connected. 
HTTP request sent, awaiting response... 200 OK 
Length: 20,470,579 [application/octet-stream] 

100%[====================================>] 20,470,579    36.81K/s    ETA 
00:00 

17:03:08 (16.16 KB/s) - 
`/usr/portage/distfiles/j2re-1.4.1-01-linux-i586-gcc2.95.bin' saved 
[20470579/20470579] 

!!! Fetched file: j2re-1.4.1-01-linux-i586-gcc2.95.bin MD5 FAILED! Removing 
corrupt distfile... 
>>> Downloading 
http://www.mirror.ac.uk/sites/ftp.blackdown.org/java-linux/JDK-1.4.1/i386/01/j2re-1.4.1-01-linux-i586-gcc2.95.bin 
--17:03:08--  
http://www.mirror.ac.uk/sites/ftp.blackdown.org/java-linux/JDK-1.4.1/i386/01/j2re-1.4.1-01-linux-i586-gcc2.95.bin 
           => `/usr/portage/distfiles/j2re-1.4.1-01-linux-i586-gcc2.95.bin' 
Resolving www.mirror.ac.uk... 194.83.57.2, 194.83.57.3, 194.83.57.7, ... 
Connecting to www.mirror.ac.uk[194.83.57.2]:80... connected. 
HTTP request sent, awaiting response... 200 OK 
Length: 20,470,579 [application/octet-stream] 

100%[====================================>] 20,470,579    56.30K/s    ETA 
00:00 

17:11:31 (39.74 KB/s) - 
`/usr/portage/distfiles/j2re-1.4.1-01-linux-i586-gcc2.95.bin' saved 
[20470579/20470579] 

!!! Fetched file: j2re-1.4.1-01-linux-i586-gcc2.95.bin MD5 FAILED! Removing 
corrupt distfile... 
!!! Couldn't download j2re-1.4.1-01-linux-i586-gcc2.95.bin. Aborting. 

!!! Fetch for /usr/portage/dev-java/blackdown-jre/blackdown-jre-1.4.1.ebuild 
failed, continuing... 

>>> emerge (6 of 7) app-arch/zip-2.3-r2 to / 
>>> Previously fetched file: zcrypt29.zip MD5 ;-) 
>>> Previously fetched file: zip23.tar.gz MD5 ;-) 
>>> md5 src_uri ;-) zip23.tar.gz 
>>> md5 src_uri ;-) zcrypt29.zip 
>>> emerge (7 of 7) app-office/openoffice-1.1.1-r1 to / 
>>> Previously fetched file: OOo_1.1.1p1_source.tar.bz2 MD5 ;-) 
>>> Previously fetched file: gpc231.tar.Z MD5 ;-) 
>>> md5 src_uri ;-) OOo_1.1.1p1_source.tar.bz2 
>>> md5 src_uri ;-) gpc231.tar.Z 


!!! Some fetch errors were encountered.  Please see above for details. 


lnx37 root # 

Expected Results:  
emerge --fetcholy should have downoaded all necessary files 

lnx37 root # emerge info 
Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 
2.6.6) 
================================================================= 
System uname: 2.6.6 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz 
Gentoo Base System version 1.4.16 
Autoconf: sys-devel/autoconf-2.59-r3 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -march=pentium4 -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.2/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d" 
CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
http://gentoo.chem.wisc.edu/gentoo/ http://adelie.polymtl.ca/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X alsa apm arts avi berkdb crypt cups dvd encode foomaticdb gdbm gif gpm 
gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis 
opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell 
ssl svga tcpd truetype x86 xml2 xmms xv zlib"

------- Comment #1 From Michael Kohl (RETIRED) 2004-06-11 11:56:32 0000 -------
One question:

In the title of this bug you mention -gcc3.2.bin, but the error message is for gcc2.95.bin. 

Which gcc are you really running (I suppose 3.2), and have you tried to find out why the ebuild wants to download the -gcc2.95.bin version?

------- Comment #2 From Brian Harring 2004-06-11 17:12:36 0000 -------
*** Bug 53684 has been marked as a duplicate of this bug. ***

------- Comment #3 From Dan Check 2004-06-11 21:34:34 0000 -------
I had trouble with an emerge system based on the jre problem.  Here's the lines
from the ebuild file (blackdown-jre-1.4.1.ebuild) that seem to be revelant:

SRC_URI="
        x86? (
            
http://www.mirror.ac.uk/sites/ftp.blackdown.org/java-linux/JDK-1.4.1/i386/01/j2re-1.4.1-01-linux-i586-gcc3.2.bin
               
http://www.mirror.ac.uk/sites/ftp.blackdown.org/java-linux/JDK-1.4.1/i386/01/j2re-1.4.1-01-linux-i586-gcc2.95.bin
        )
...        )"

In the src_unpack section it checks the gcc version:

        if [[ $(gcc-major-version) -eq 3 && $(gcc-minor-version) -ge 2 ]]; then
                want_gcc_ver=3.2
        else
                want_gcc_ver=2.95
        fi

So that's why the 2.95 version is downloaded.  I'm having the same md5sum
problem, needless to say:

>>> emerge (3 of 64) dev-java/blackdown-jre-1.4.1 to /
>>> md5 src_uri ;-) j2re-1.4.1-01-linux-i586-gcc3.2.bin

!!! File is corrupt or incomplete. (Digests do not match)
>>> our recorded digest: 79b565410dd30548271b9a2802b9f564
>>>  your file's digest: 3857975cd3b7ebcbe544ba0a46308e0c
!!! File does not exist:
/usr/portage/distfiles//j2re-1.4.1-01-linux-i586-gcc2.95.bin

------- Comment #4 From Brian Harring 2004-06-13 22:46:54 0000 -------
*** Bug 53235 has been marked as a duplicate of this bug. ***

------- Comment #5 From Sterling Christensen 2004-06-14 23:41:57 0000 -------
I commented out 5 lines in the ebuild, and it worked.

SRC_URI="
        x86? (
             http://www.mirror.ac.uk/sites/ftp.blackdown.org/java-linux/JDK-1.4.1/i386/01/j2re-1.4.1-01-linux-i586-gcc3.2.bin

# http://www.mirror.ac.uk/sites/ftp.blackdown.org/java-linux/JDK-1.4.1/i386/01/j2re-1.4.1-01-linux-i586-gcc2.95.bin

        )
...        )"

...

# <><><><> Maybe there's something wrong with this if?
#if [[ $(gcc-major-version) -eq 3 && $(gcc-minor-version) -ge 2 ]]; then
                want_gcc_ver=3.2
#        else
#                want_gcc_ver=2.95
#        fi

------- Comment #6 From Karl Trygve Kalleberg (RETIRED) 2004-06-18 01:08:53 0000 -------
Fixed. This screw up was because of some "QA fixes", evidently. 

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug