Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#16678 closed defect (worksforme)

curl-ca-bundle 7.19: attempts to verify checksums without downloading

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

Description

When I attempted to install curl +ssl, I got this:

$ sudo port -v install curl +ssl
--->  Verifying checksum(s) for curl-ca-bundle
--->  Checksumming curl-7.19.0.tar.bz2
Error: Target org.macports.checksum returned: Could not open file: /opt/local/var/macports/distfiles/curl/curl-7.19.0.tar.bz2
Warning: the following items did not execute (for curl-ca-bundle): 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: The following dependencies failed to build: curl-ca-bundle
Error: Status 1 encountered during processing.

The same thing happened when I tried to install curl-ca-bundle directly. "port fetch curl-ca-bundle" on its own didn't do anything.

I was able to install curl without SSL with no problems. After that, I attempted to install curl +ssl again. The install proceeded one step further:

$ sudo port -v install curl +ssl
--->  Verifying checksum(s) for curl-ca-bundle
--->  Checksumming curl-7.19.0.tar.bz2
--->  Checksumming certdata-1.49.txt
Error: Target org.macports.checksum returned: Could not open file: /opt/local/var/macports/distfiles/curl/certdata-1.49.txt
Warning: the following items did not execute (for curl-ca-bundle): 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: The following dependencies failed to build: curl-ca-bundle
Error: Status 1 encountered during processing.

(presumably since the curl tarball was already downloaded).

I manually downloaded the certdata file using the URL in the Portfile (i.e., http://lxr.mozilla.org/seamonkey/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1:certdata ) and put it in the right place with the right name. After that, installing curl +ssl worked.

Change History (3)

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

Owner: changed from macports-tickets@… to ryandesign@…
Port: curl-ca-bundle curl added

Assigning to maintainer.

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

Resolution: worksforme
Status: newclosed

Works for me:

$ sudo port install curl +ssl
--->  Fetching curl-ca-bundle
--->  Attempting to fetch curl-7.19.0.tar.bz2 from http://curl.sourceforge.net/download/
--->  Attempting to fetch certdata-1.49.txt from http://distfiles.macports.org/curl
--->  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.19.0_0
--->  Activating curl-ca-bundle @7.19.0_0
--->  Cleaning curl-ca-bundle
--->  Fetching curl
--->  Verifying checksum(s) for curl
--->  Extracting curl
--->  Configuring curl
--->  Building curl
--->  Staging curl into destroot
--->  Installing curl @7.19.0_0+ssl
--->  Activating curl @7.19.0_0+ssl
--->  Cleaning curl
$

All I can make of this is that for some reason, on your system, the curl-ca-bundle port thought it had already done the fetch phase. "sudo port clean --work curl-ca-bundle" should have reset it so that it would have downloaded the files on its own.

comment:3 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.