Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#16940 closed defect (invalid)

checksum mismatch for gperf 3.0.3

Reported by: castelox@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: gperf

Description


Attachments (1)

a.txt (936 bytes) - added by castelox@… 16 years ago.
log file

Download all attachments as: .zip

Change History (11)

Changed 16 years ago by castelox@…

Attachment: a.txt added

log file

comment:1 Changed 16 years ago by castelox@…

---> Fetching gperf ---> gperf-3.0.3.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/gperf ---> Attempting to fetch gperf-3.0.3.tar.gz from http://ftp.gnu.org/gnu/gperf ---> Verifying checksum(s) for gperf ---> Checksumming gperf-3.0.3.tar.gz Portfile checksum: gperf-3.0.3.tar.gz md5 cc20e58975a38075440423c8fb85fd00 Distfile checksum: gperf-3.0.3.tar.gz md5 1012ada96d9322a51b546884e10fbf22 Portfile checksum: gperf-3.0.3.tar.gz sha1 3c535d2727eb0dca10ca87cefa03720a8280c7a2 Distfile checksum: gperf-3.0.3.tar.gz sha1 57c5e1d515a8894f878024c6290e628664b74688 Portfile checksum: gperf-3.0.3.tar.gz rmd160 8e48ce2cdeed599f7905090fb0d5c5113c168126 Distfile checksum: gperf-3.0.3.tar.gz rmd160 1fbee992280df68795b78748e47ed35b4e4e110c Warning: the following items did not execute (for gperf): org.macports.test org.macports.extract org.macports.checksum org.macports.patch org.macports.configure org.macports.build

comment:2 Changed 16 years ago by jmroot (Joshua Root)

Port: gperf added

Have you tried the steps listed in the FAQ?

comment:3 Changed 16 years ago by castelox@…

yes. I did: sudo port selfupdate sudo port sync sudo port clean -all gperf sudo port install gperf

and the error appear: checksum mismatch

I also ran: sudo port checksum gperf and the error was: checksum (md5) mismatch for gperf checksum (sha1) mismatch for gperf checksum (md160) mismatch for gperf target org.macports.checksum returned: unable to verify file chechsums

I changed the ports (eg: rb-rubygems, php5, etc) and the error was the same.

comment:4 Changed 16 years ago by blb@…

I just grabbed it from the same site as you (http://ftp.gnu.org/gnu/gperf) and the file matches the checksum just fine. Seems like it could be the first point of the FAQ entry jmr mentioned.

If a 'clean all' and refetch still fails to match the checksum what does ls -l /opt/local/var/macports/distfiles/gperf/ show?

comment:5 Changed 16 years ago by castelox@…

bora:~ castelo$ sudo port clean --all gperf ---> Cleaning gperf bora:~ castelo$ sudo port sync bora:~ castelo$ sudo port checksum -d gperf ---> Fetching gperf ---> Attempting to fetch gperf-3.0.3.tar.gz from http://ftp.gnu.org/gnu/gperf ---> Verifying checksum(s) for gperf Error: Checksum (md5) mismatch for gperf-3.0.3.tar.gz Error: Checksum (sha1) mismatch for gperf-3.0.3.tar.gz Error: Checksum (rmd160) mismatch for gperf-3.0.3.tar.gz Error: Target org.macports.checksum returned: Unable to verify file checksums Error: Status 1 encountered during processing. bora:~ castelo$ ls -l /opt/local/var/macports/distfiles/gperf/ total 8 -rw-r--r-- 1 root admin 2213 Oct 22 11:02 gperf-3.0.3.tar.gz bora:~ castelo$

comment:6 Changed 16 years ago by castelox@…

bora:~ castelo$ sudo port clean --all gperf

---> Cleaning gperf

bora:~ castelo$ sudo port sync

bora:~ castelo$ sudo port checksum -d gperf

---> Fetching gperf

---> Attempting to fetch gperf-3.0.3.tar.gz from http://ftp.gnu.org/gnu/gperf[[BR]]

---> Verifying checksum(s) for gperf

Error: Checksum (md5) mismatch for gperf-3.0.3.tar.gz

Error: Checksum (sha1) mismatch for gperf-3.0.3.tar.gz

Error: Checksum (rmd160) mismatch for gperf-3.0.3.tar.gz

Error: Target org.macports.checksum returned: Unable to verify file checksums

Error: Status 1 encountered during processing.

bora:~ castelo$ ls -l /opt/local/var/macports/distfiles/gperf/

total 8

-rw-r--r-- 1 root admin 2213 Oct 22 11:02 gperf-3.0.3.tar.gz

bora:~ castelo$

comment:7 Changed 16 years ago by castelox@…

I did:

bora:~ castelo$ sudo port selfupdate

MacPorts base version 1.600 installed

Downloaded MacPorts base version 1.600

The MacPorts installation is not outdated and so was not updated selfupdate done!

bora:~ castelo$ sudo port clean --all gperf

---> Cleaning gperf

bora:~ castelo$ sudo port sync

bora:~ castelo$ sudo port -d install gperf

DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gperf

DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gperf

DEBUG: Requested variant darwin is not provided by port gperf.

DEBUG: Requested variant i386 is not provided by port gperf.

DEBUG: Requested variant macosx is not provided by port gperf.

DEBUG: Executing org.macports.main (gperf)

---> Fetching gperf

DEBUG: Executing org.macports.fetch (gperf)

---> gperf-3.0.3.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/gperf

---> Attempting to fetch gperf-3.0.3.tar.gz from http://ftp.gnu.org/gnu/gperf

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

100 2213 0 2213 0 0 14374 0 --:--:-- --:--:-- --:--:-- 2161k

---> Verifying checksum(s) for gperf

DEBUG: Executing org.macports.checksum (gperf)

---> Checksumming gperf-3.0.3.tar.gz

Error: Checksum (md5) mismatch for gperf-3.0.3.tar.gz

Portfile checksum: gperf-3.0.3.tar.gz md5 cc20e58975a38075440423c8fb85fd00

Distfile checksum: gperf-3.0.3.tar.gz md5 1012ada96d9322a51b546884e10fbf22

Error: Checksum (sha1) mismatch for gperf-3.0.3.tar.gz

Portfile checksum: gperf-3.0.3.tar.gz sha1 3c535d2727eb0dca10ca87cefa03720a8280c7a2

Distfile checksum: gperf-3.0.3.tar.gz sha1 57c5e1d515a8894f878024c6290e628664b74688

Error: Checksum (rmd160) mismatch for gperf-3.0.3.tar.gz

Portfile checksum: gperf-3.0.3.tar.gz rmd160 8e48ce2cdeed599f7905090fb0d5c5113c168126

Distfile checksum: gperf-3.0.3.tar.gz rmd160 1fbee992280df68795b78748e47ed35b4e4e110c

Error: Target org.macports.checksum returned: Unable to verify file checksums

Warning: the following items did not execute (for gperf): 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.

bora:~ castelo$ sudo ls -l /opt/local/var/macports/distfiles/gperf/

total 8

-rw-r--r-- 1 root admin 2213 Oct 22 11:34 gperf-3.0.3.tar.gz

bora:~ castelo$ tar -xvzf /opt/local/var/macports/distfiles/gperf/gperf-3.0.3.tar.gz

gzip: stdin: not in gzip format

tar: Child returned status 1

tar: Error exit delayed from previous errors

bora:~ castelo$

comment:8 Changed 16 years ago by castelox@…

I have found the solution:

there is a proxy server on my lan and i have read the Ticket #13158. This line is the solution:

sudo env http_proxy=http://proxy.url.here port install someport

Thanks for your pacient.

comment:9 Changed 16 years ago by blb@…

Resolution: invalid
Status: newclosed

Ah, proxies...anyway, good to hear the problem has been found and you can get around it until #13158 is handled.

comment:10 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.