Opened 14 years ago

Closed 14 years ago

#24288 closed defect (invalid)

install of zlib fails with Unable to verify file checksums error

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

Description (last modified by mf2k (Frank Schima))

Running Mac Mini with SnowLeopard and very latest updates.

sudo port -d install zlib

DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant darwin is not provided by port zlib.
DEBUG: Requested variant i386 is not provided by port zlib.
DEBUG: Requested variant macosx is not provided by port zlib.
--->  Computing dependencies for zlib
DEBUG: Executing org.macports.main (zlib)
DEBUG: Skipping completed org.macports.fetch (zlib)
--->  Verifying checksum(s) for zlib
DEBUG: Executing org.macports.checksum (zlib)
--->  Checksumming zlib-1.2.4.tar.bz2
Error: Checksum (md5) mismatch for zlib-1.2.4.tar.bz2
Portfile checksum: zlib-1.2.4.tar.bz2 md5 763c6a0b4ad1cdf5549e3ab3f140f4cb
Distfile checksum: zlib-1.2.4.tar.bz2 md5 ba032b76610768c3335d6ebc8c92b291
Error: Checksum (sha1) mismatch for zlib-1.2.4.tar.bz2
Portfile checksum: zlib-1.2.4.tar.bz2 sha1 8cf10521c1927daa5e12efc5e1725a0d70e579f3
Distfile checksum: zlib-1.2.4.tar.bz2 sha1 c7ef62e427fc948850d1f5895fb1ee673d592b73
Error: Checksum (rmd160) mismatch for zlib-1.2.4.tar.bz2
Portfile checksum: zlib-1.2.4.tar.bz2 rmd160 8f0f17e33e36fa1427f8186b6d12cf5b2240294a
Distfile checksum: zlib-1.2.4.tar.bz2 rmd160 481f681e5b1d5d798855ec2eaf01dd780485cb76
The correct checksum line may be:
checksums           md5     ba032b76610768c3335d6ebc8c92b291 \
                    sha1    c7ef62e427fc948850d1f5895fb1ee673d592b73 \
                    rmd160  481f681e5b1d5d798855ec2eaf01dd780485cb76
Error: Target org.macports.checksum returned: Unable to verify file checksums
DEBUG: Backtrace: Unable to verify file checksums
    while executing
"$procedure $targetname"
Warning: the following items did not execute (for zlib): org.macports.activate org.macports.extract org.macports.checksum org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Change History (5)

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

Cc: landonf@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Port: zlib added

Please read the FAQ on checksums errors. You did not specify the download mirror.

comment:2 in reply to:  1 Changed 14 years ago by derek.morris@…

Replying to macsforever2000@…:

Please read the FAQ on checksums errors. You did not specify the download mirror.

I did read the FAQ and it didn't help.

I did not specify a mirror - I let it find its own. If you can tell me how to find the mirror it is using, I will happily report it - I looked through the docs and found nothing that was helpful

comment:3 Changed 14 years ago by jmroot (Joshua Root)

sudo port clean --all zlib && sudo port -v checksum zlib

comment:4 Changed 14 years ago by derek.morris@…

This now seems to be correct.:

sudo port clean --all zlib && sudo port -v checksum zlib
Password:
--->  Cleaning zlib
--->  Computing dependencies for zlib.
--->  Fetching zlib
--->  zlib-1.2.4.tar.bz2 doesn't seem to exist in /opt/local/var/macports/distfiles/zlib
--->  Attempting to fetch zlib-1.2.4.tar.bz2 from http://lil.fr.distfiles.macports.org/zlib
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  472k  100  472k    0     0   658k      0 --:--:-- --:--:-- --:--:--  737k
--->  Verifying checksum(s) for zlib
--->  Checksumming zlib-1.2.4.tar.bz2

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

Resolution: invalid
Status: newclosed

Ok, glad you got it working.

Note: See TracTickets for help on using tickets.