Opened 16 years ago

Closed 15 years ago

#19056 closed defect (worksforme)

i386-mingw32-gcc: Checksum (md5) mismatch

Reported by: asimmons@… Owned by: landonf (Landon Fuller)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: asimmons@…
Port: i386-mingw32-gcc

Description

i386-mingw32-gcc is broken again:

asimmons-mac:~ asimmons$ date
Mon Mar 30 15:36:58 MDT 2009
asimmons-mac:~ asimmons$ sudo port selfupdate

MacPorts base version 1.710 installed
Downloaded MacPorts base version 1.710

The MacPorts installation is not outdated so it was not updated
asimmons-mac:~ asimmons$ sudo port sync

asimmons-mac:~ asimmons$ sudo port clean --all i386-mingw32-gcc
--->  Cleaning i386-mingw32-gcc

asimmons-mac:~ asimmons$ sudo port install i386-mingw32-gcc
--->  Fetching i386-mingw32-gcc
--->  Attempting to fetch gcc-core-3.4.5-20060117-2-src.tar.gz from http://downloads.sourceforge.net/mingw
--->  Attempting to fetch gcc-g%2B%2B-3.4.5-20060117-2-src.tar.gz from http://downloads.sourceforge.net/mingw
--->  Attempting to fetch gcc-g77-3.4.5-20060117-2-src.tar.gz from http://downloads.sourceforge.net/mingw
--->  Attempting to fetch gcc-java-3.4.5-20060117-2-src.tar.gz from http://downloads.sourceforge.net/mingw
--->  Attempting to fetch gcc-objc-3.4.5-20060117-2-src.tar.gz from http://downloads.sourceforge.net/mingw
--->  Verifying checksum(s) for i386-mingw32-gcc
Error: Checksum (md5) mismatch for gcc-g%2B%2B-3.4.5-20060117-2-src.tar.gz
Error: Checksum (sha1) mismatch for gcc-g%2B%2B-3.4.5-20060117-2-src.tar.gz
Error: Checksum (rmd160) mismatch for gcc-g%2B%2B-3.4.5-20060117-2-src.tar.gz
Error: Target org.macports.checksum returned: Unable to verify file checksums
Error: Status 1 encountered during processing.

I tried to reopen #18628, but I didn't have perms.

Looking at the Portfile for i386-mingw32-gcc shows this for the checksums of gcc-g%2B%2B-3.4.5-20060117-2-src.tar.gz:

gcc-g%2B%2B-${version}-src.tar.gz \
	md5     ca81c8420ab9d1d05ff9c73a9d4f7d63 \
	sha1    edafa412d86085cf39f0db1c19a6ea2890d05946 \
	rmd160  7e3341c6ef1494462dfd3f682ad4cc6871b73e98 \

But doing checksums on the downloaded file directly gives completely different values:

asimmons-mac:i386-mingw32-gcc asimmons$ cd /opt//local/var/macports/distfiles/i386-mingw32-gcc
asimmons-mac:i386-mingw32-gcc asimmons$ openssl md5 gcc-g%2B%2B-3.4.5-20060117-2-src.tar.gz 
MD5(gcc-g%2B%2B-3.4.5-20060117-2-src.tar.gz)= fbacfe12bed24ab1a67459824707809d
asimmons-mac:i386-mingw32-gcc asimmons$ openssl sha1 gcc-g%2B%2B-3.4.5-20060117-2-src.tar.gz 
SHA1(gcc-g%2B%2B-3.4.5-20060117-2-src.tar.gz)= 904e1732364fce16449714e3b929c541f28f7d3a
asimmons-mac:i386-mingw32-gcc asimmons$ openssl rmd160 gcc-g%2B%2B-3.4.5-20060117-2-src.tar.gz 
RIPEMD160(gcc-g%2B%2B-3.4.5-20060117-2-src.tar.gz)= 3743a051cecf6b5c52ccb5e23d29f9c7d8951b73

Did the mingw guys change these files on you?

Attachments (1)

gcc-g%2B%2B-3.4.5-20060117-2-src.tar.gz (57.0 KB) - added by asimmons@… 16 years ago.
gcc-g%2B%2B-3.4.5-20060117-2-src.tar.gz that was downloaded by macports

Download all attachments as: .zip

Change History (6)

Changed 16 years ago by asimmons@…

gcc-g%2B%2B-3.4.5-20060117-2-src.tar.gz that was downloaded by macports

comment:1 Changed 16 years ago by asimmons@…

I attached the file gcc-g%2B%2B-3.4.5-20060117-2-src.tar.gz that was downloaded by macports. Its clearly not a tar.gz file-- its actually an html file!

The url being used to download this file is wrong, apparently, and macports can't tell that the url is bad (or sourceforge isn't reporting that it isn't found).

comment:2 Changed 16 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to landonf@…
Port: i386-mingw32-gcc added

comment:3 Changed 16 years ago by asimmons@…

Cc: asimmons@… added

Cc Me!

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:5 Changed 15 years ago by tobypeterson

Resolution: worksforme
Status: newclosed

Works for me. Run 'sudo port clean --all i386-mingw32-gcc' and try again. I'd guess that you just got a corrupted download.

Note: See TracTickets for help on using tickets.