Opened 14 years ago

Closed 14 years ago

#28979 closed defect (fixed)

curl checksum mismatch

Reported by: sheez999@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: calsaiwing@…, spam@…
Port: curl, curl-ca-bundle

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Error: Checksum (sha1) mismatch for curl-7.21.2.tar.bz2
Error: Checksum (rmd160) mismatch for curl-7.21.2.tar.bz2
Error: Target org.macports.checksum returned: Unable to verify file checksums
Error: Failed to install curl-ca-bundle

                    md5     d0a62e1ba06b5841829da0d49e694ee7 \
                    sha1    e0a196653087eb5079aab8d3e3359de928cc1ab1 \
                    rmd160  573076c84fe78eef5052fc08c99044428b83d9f8
:error:checksum Target org.macports.checksum returned: Unable to verify file checksums
:debug:checksum Backtrace: Unable to verify file checksums
    while executing
"$procedure $targetname"
:info:checksum Warning: the following items did not execute (for curl-ca-bundle): org.macports.activate org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
:error:checksum Failed to install curl-ca-bundle

Change History (11)

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

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Port: curl curl-ca-bundle added
Status: newassigned
Summary: Error: Target org.macports.checksum returned: Unable to verify file checksumscurl checksum mismatch

From what server did the bad distfile come? If you don't know, clean ("sudo port clean --all curl-ca-bundle") and try again and if it fails again, let us know what server.

comment:2 in reply to:  1 Changed 14 years ago by sheez999@…

Replying to ryandesign@…:

From what server did the bad distfile come? If you don't know, clean ("sudo port clean --all curl-ca-bundle") and try again and if it fails again, let us know what server.

ran clean; then:

Error: Target org.macports.checksum returned: Unable to verify file checksums
--->  Fetching curl-ca-bundle
--->  Attempting to fetch curl-7.21.2.tar.bz2 from http://curl.sourceforge.net/download/
--->  Attempting to fetch certdata-1.70.txt from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/curl
--->  Verifying checksum(s) for curl-ca-bundle
Error: Checksum (sha1) mismatch for curl-7.21.2.tar.bz2
Error: Checksum (rmd160) mismatch for curl-7.21.2.tar.bz2

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

Curious. The file should have been available on curl.sourceforge.net, and the file on ykf.ca.distfiles.macports.org matches the checksums in the portfile.

I'm about to update the port to 7.21.4; give that a try and see if you see the same problem.

comment:4 Changed 14 years ago by calsaiwing@…

Cc: calsaiwing@… added

Cc Me!

comment:5 Changed 14 years ago by calsaiwing@…

for me it tried a bunch of places...

--->  Computing dependencies for curl-ca-bundle
--->  Fetching curl-ca-bundle
--->  Attempting to fetch curl-7.21.4.tar.bz2 from http://distfiles.macports.org/curl
--->  Attempting to fetch curl-7.21.4.tar.bz2 from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/curl
--->  Attempting to fetch curl-7.21.4.tar.bz2 from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/curl
--->  Attempting to fetch curl-7.21.4.tar.bz2 from http://lil.fr.distfiles.macports.org/curl
--->  Attempting to fetch curl-7.21.4.tar.bz2 from http://www.execve.net/curl/
--->  Attempting to fetch certdata-1.71.txt from http://distfiles.macports.org/curl
--->  Attempting to fetch certdata-1.71.txt from http://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1&dummy=
--->  Verifying checksum(s) for curl-ca-bundle
Error: Checksum (sha1) mismatch for certdata-1.71.txt
Error: Checksum (rmd160) mismatch for certdata-1.71.txt
Error: Target org.macports.checksum returned: Unable to verify file checksums
Log for curl-ca-bundle is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_curl-ca-bundle/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

comment:6 in reply to:  5 ; Changed 14 years ago by spam@…

Replying to calsaiwing@…:

for me it tried a bunch of places...

--->  Computing dependencies for curl-ca-bundle
--->  Fetching curl-ca-bundle
--->  Attempting to fetch curl-7.21.4.tar.bz2 from http://distfiles.macports.org/curl
--->  Attempting to fetch curl-7.21.4.tar.bz2 from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/curl
--->  Attempting to fetch curl-7.21.4.tar.bz2 from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/curl
--->  Attempting to fetch curl-7.21.4.tar.bz2 from http://lil.fr.distfiles.macports.org/curl
--->  Attempting to fetch curl-7.21.4.tar.bz2 from http://www.execve.net/curl/
--->  Attempting to fetch certdata-1.71.txt from http://distfiles.macports.org/curl
--->  Attempting to fetch certdata-1.71.txt from http://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1&dummy=
--->  Verifying checksum(s) for curl-ca-bundle
Error: Checksum (sha1) mismatch for certdata-1.71.txt
Error: Checksum (rmd160) mismatch for certdata-1.71.txt
Error: Target org.macports.checksum returned: Unable to verify file checksums
Log for curl-ca-bundle is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_curl-ca-bundle/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Use

mv certdata-1.70.txt cetrdata-1.71.txt

comment:7 in reply to:  6 Changed 14 years ago by spam@…

Sry i mean

mv /opt/local/var/macports/distfiles/curl/certdata-1.70.txt /opt/local/var/macports/distfiles/curl/certdata-1.71.txt

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

No, please don't do that; instead, "sudo port clean --all curl-ca-bundle" and then "sudo port selfupdate" and try again, because I've fixed that particular problem; see #28982.

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

Cc: spam@… added

spam@…: please see my comment above.

comment:10 Changed 14 years ago by sheez999@…

Excellent. TY. Working fine now.

$ sudo port install scapy
Password:
--->  Computing dependencies for scapy
--->  Dependencies to be installed: py25-pyx texlive texlive-basic texlive-bin poppler curl curl-ca-bundle lcms openjpeg poppler-data t1lib texlive-common texlive-documentation-base texlive-bin-extra detex latexdiff latexmk texlive-latex pdfjam texlive-latex-recommended pgf texlive-context texlive-metapost texlive-xetex texlive-generic-recommended texlive-latex3 texlive-documentation-english texlive-fonts-recommended texlive-fontutils texlive-lang-czechslovak texlive-lang-dutch texlive-lang-english texlive-lang-french texlive-lang-german texlive-lang-italian texlive-lang-polish texlive-lang-portuguese texlive-lang-spanish texlive-luatex texlive-math-extra py25-readline
--->  Fetching curl-ca-bundle
--->  Attempting to fetch curl-7.21.4.tar.bz2 from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/curl
--->  Attempting to fetch certdata-1.74.txt from http://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1&dummy=
--->  Verifying checksum(s) for curl-ca-bundle
--->  Extracting curl-ca-bundle
--->  Applying patches to curl-ca-bundle
--->  Configuring curl-ca-bundle
--->  Building curl-ca-bundle
--->  Staging curl-ca-bundle into destroot
--->  Installing curl-ca-bundle @7.21.4_2
--->  Activating curl-ca-bundle @7.21.4_2
--->  Cleaning curl-ca-bundle
Portfile changed since last build; discarding previous state.
--->  Fetching curl
--->  Verifying checksum(s) for curl
--->  Extracting curl
--->  Applying patches to curl
--->  Configuring curl
--->  Building curl
--->  Staging curl into destroot
--->  Installing curl @7.21.4_0+ssl
--->  Activating curl @7.21.4_0+ssl
--->  Cleaning curl
[...] 

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

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.