Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#20008 closed defect (fixed)

zlib checksum mismatch

Reported by: possi@… Owned by: landonf (Landon Fuller)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: zlib

Description

the package zlib-1.2.3.tar.bz2 download got a different md5.

Tryed several download from your rsync...

... downloading directly from zlib.net resolve the problem, the md5 in the profile is correct..

Change History (7)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Cc: ryandesign@… added
Owner: changed from macports-tickets@… to landonf@…
Port: zlib added

comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: zlib package corruptedzlib checksum mismatch

MacPorts does not download distfiles from rsync. Do you recall exactly what server or URL MacPorts was downloading from?

comment:3 Changed 15 years ago by tobypeterson

Resolution: worksforme
Status: newclosed

Run the following command and try again, there's nothing wrong with the file on distfiles.

sudo port clean --all zlib

comment:4 Changed 15 years ago by blb@…

MacPorts' server, zlib.net, and gzip.org all appear to be okay; probably one of the sourceforge mirrors returned an HTML page, even though the one I got worked fine. Unless we know the exact server which gave a bad result, not much else we can do...

comment:5 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: closedreopened

Alessandro responded by email:

this is the last line with final md5 error...

--->  Attempting to fetch zlib-1.2.3.tar.bz2 from http://garr.dl.sourceforge.net/libpng
--->  Verifying checksum(s) for zlib
Error: Checksum (md5) mismatch for zlib-1.2.3.tar.bz2
Error: Checksum (sha1) mismatch for zlib-1.2.3.tar.bz2
Error: Checksum (rmd160) mismatch for zlib-1.2.3.tar.bz2

The garr server does appear to be returning a corrupted distfile, which has the correct length and the correct contents, except that the 128K bytes from 0x1d000 to 0x3d000 are zeros.

comment:6 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: reopenedclosed

I removed SourceForge from the mirror list in r52608. Thanks for reporting this problem, Alessandro.

comment:7 Changed 15 years ago by blb@…

We could just remove garr.dl from trunk/dports/_resources/port1.0/fetch/mirror_sites.tcl instead.

Note: See TracTickets for help on using tickets.