Opened 11 years ago

Closed 11 years ago

#39563 closed defect (worksforme)

curl-ca-bundle @7.31.0_0 upgrade stalls/does not complete.

Reported by: p-bro Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: curl-ca-bundle

Description

Hi,

I have problems running a port upgrade outdated. The command hangs on upgrading the port curl-ca-bundle to version 7.31.0_0 in different phases, dependent on whether I run in source-only mode (-s) or not.

This is when trying to upgrade without -s:

pbro@felix:~$ sudo port -d  upgrade curl-ca-bundle 
DEBUG: Copying /Users/pbro/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: curl-ca-bundle 7.31.0_0 exists in the ports tree
DEBUG: curl-ca-bundle 7.30.0_0  is the latest installed
DEBUG: curl-ca-bundle 7.30.0_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/curl
DEBUG: OS darwin/12.4.0 (Mac OS X 10.8) arch i386
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: universal_variant is false, so not adding the default universal variant
DEBUG: Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_curl/curl-ca-bundle/work /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/curl/work
DEBUG: changing euid/egid - current euid: 0 - current egid: 0
DEBUG: egid changed to: 501
DEBUG: euid changed to: 502
DEBUG: Starting logging for curl-ca-bundle
DEBUG: Checking for conflicts against curl-ca-bundle
DEBUG: Searching for dependency: certsync
DEBUG: Didn't find receipt, going to depspec regex for: certsync
DEBUG: Executing org.macports.main (curl-ca-bundle)
DEBUG: changing euid/egid - current euid: 0 - current egid: 0
DEBUG: egid changed to: 501
DEBUG: euid changed to: 502
DEBUG: archivefetch phase started at Fri Jun 28 10:32:38 BST 2013
--->  Fetching archive for curl-ca-bundle
DEBUG: Executing org.macports.archivefetch (curl-ca-bundle)
DEBUG: euid/egid changed to: 0/0
DEBUG: chowned /opt/local/var/macports/incoming to macports
DEBUG: euid/egid changed to: 502/501
--->  curl-ca-bundle-7.31.0_0.darwin_12.noarch.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
--->  Attempting to fetch curl-ca-bundle-7.31.0_0.darwin_12.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/curl-ca-bundle
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  135k  100  135k    0     0  1384k      0 --:--:-- --:--:-- --:--:-- 1579k
--->  Attempting to fetch curl-ca-bundle-7.31.0_0.darwin_12.noarch.tbz2.rmd160 from http://mse.uk.packages.macports.org/sites/packages.macports.org/curl-ca-bundle
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   512  100   512    0     0   5388      0 --:--:-- --:--:-- --:--:--  6168
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: Skipping completed org.macports.fetch (curl-ca-bundle)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: Skipping completed org.macports.checksum (curl-ca-bundle)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: Skipping completed org.macports.extract (curl-ca-bundle)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: Skipping completed org.macports.patch (curl-ca-bundle)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: Skipping completed org.macports.configure (curl-ca-bundle)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: Skipping completed org.macports.build (curl-ca-bundle)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: Skipping completed org.macports.destroot (curl-ca-bundle)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: install phase started at Fri Jun 28 10:32:38 BST 2013
--->  Installing curl-ca-bundle @7.31.0_0
DEBUG: Can't run install on this port without elevated privileges. Escalating privileges back to root.
DEBUG: euid changed to: 0. egid changed to: 0.
DEBUG: Executing org.macports.install (curl-ca-bundle)

And this is where it hangs until I abort.

This is when I attempt to upgrade WITH -s

pbro@felix:~$ sudo port -d  upgrade -s curl-ca-bundle 
DEBUG: Copying /Users/pbro/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: curl-ca-bundle 7.31.0_0 exists in the ports tree
DEBUG: curl-ca-bundle 7.30.0_0  is the latest installed
DEBUG: curl-ca-bundle 7.30.0_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/curl
DEBUG: OS darwin/12.4.0 (Mac OS X 10.8) arch i386
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: universal_variant is false, so not adding the default universal variant
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: perl5 5.12.4_0 exists in the ports tree
DEBUG: perl5 5.12.4_0 +perl5_16 is the latest installed
DEBUG: perl5 5.12.4_0 +perl5_16 is active
DEBUG: Merging existing variants '+perl5_16-perl5_12' into variants
DEBUG: new fully merged portvariants: perl5_12 - perl5_16 +
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/perl5
DEBUG: OS darwin/12.4.0 (Mac OS X 10.8) arch i386
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: universal_variant is false, so not adding the default universal variant
[...snipping info about dependency resolution...]
DEBUG: Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_curl/curl-ca-bundle/work /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/curl/work
DEBUG: changing euid/egid - current euid: 0 - current egid: 0
DEBUG: egid changed to: 501
DEBUG: euid changed to: 502
DEBUG: Starting logging for curl-ca-bundle
--->  Computing dependencies for curl-ca-bundle
DEBUG: Checking for conflicts against curl-ca-bundle
DEBUG: Searching for dependency: certsync
DEBUG: Didn't find receipt, going to depspec regex for: certsync
DEBUG: Searching for dependency: perl5
DEBUG: Found Dependency: receipt exists for perl5
DEBUG: Executing org.macports.main (curl-ca-bundle)
DEBUG: changing euid/egid - current euid: 0 - current egid: 0
DEBUG: egid changed to: 501
DEBUG: euid changed to: 502
DEBUG: archivefetch phase started at Fri Jun 28 10:41:01 BST 2013
DEBUG: Executing org.macports.archivefetch (curl-ca-bundle)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: fetch phase started at Fri Jun 28 10:41:01 BST 2013
--->  Fetching distfiles for curl-ca-bundle
DEBUG: Executing org.macports.fetch (curl-ca-bundle)
--->  curl-7.31.0.tar.bz2 doesn't seem to exist in /opt/local/var/macports/distfiles/curl

and it hangs there.

Please let me know if you need further information.

Change History (2)

comment:1 Changed 11 years ago by p-bro

Hm. Whatever it was, it's working now. I rebooted my machine, re-attempted an upgrade and now the relevant section of the log looks like this

DEBUG: curl-ca-bundle 7.31.0_0 exists in the ports tree
DEBUG: curl-ca-bundle 7.30.0_0  is the latest installed
DEBUG: curl-ca-bundle 7.30.0_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/curl
DEBUG: OS darwin/12.4.0 (Mac OS X 10.8) arch i386
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: universal_variant is false, so not adding the default universal variant
DEBUG: changing euid/egid - current euid: 0 - current egid: 0
DEBUG: egid changed to: 501
DEBUG: euid changed to: 502
DEBUG: Starting logging for curl-ca-bundle
DEBUG: Checking for conflicts against curl-ca-bundle
DEBUG: Searching for dependency: certsync
DEBUG: Didn't find receipt, going to depspec regex for: certsync
DEBUG: Executing org.macports.main (curl-ca-bundle)
DEBUG: changing euid/egid - current euid: 0 - current egid: 0
DEBUG: egid changed to: 501
DEBUG: euid changed to: 502
DEBUG: Skipping completed org.macports.archivefetch (curl-ca-bundle)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: fetch phase started at Fri Jun 28 11:47:41 BST 2013
--->  Fetching distfiles for curl-ca-bundle
DEBUG: Executing org.macports.fetch (curl-ca-bundle)
--->  curl-7.31.0.tar.bz2 doesn't seem to exist in /opt/local/var/macports/distfiles/curl
--->  Attempting to fetch curl-7.31.0.tar.bz2 from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/curl
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 2616k  100 2616k    0     0  1553k      0  0:00:01  0:00:01 --:--:-- 1565k
--->  certdata-1.87.txt doesn't seem to exist in /opt/local/var/macports/distfiles/curl
--->  Attempting to fetch certdata-1.87.txt from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/curl
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1275k  100 1275k    0     0  1468k      0 --:--:-- --:--:-- --:--:-- 1490k
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: checksum phase started at Fri Jun 28 11:47:44 BST 2013
--->  Verifying checksum(s) for curl-ca-bundle
DEBUG: Executing org.macports.checksum (curl-ca-bundle)
--->  Checksumming curl-7.31.0.tar.bz2
DEBUG: Correct (rmd160) checksum for curl-7.31.0.tar.bz2
DEBUG: Correct (sha256) checksum for curl-7.31.0.tar.bz2
--->  Checksumming certdata-1.87.txt
DEBUG: Correct (rmd160) checksum for certdata-1.87.txt
DEBUG: Correct (sha256) checksum for certdata-1.87.txt
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: extract phase started at Fri Jun 28 11:47:45 BST 2013
--->  Extracting curl-ca-bundle
DEBUG: setting option extract.cmd to /usr/bin/bzip2
DEBUG: Executing org.macports.extract (curl-ca-bundle)
--->  Extracting curl-7.31.0.tar.bz2
DEBUG: setting option extract.args to '/opt/local/var/macports/distfiles/curl/curl-7.31.0.tar.bz2'
[snipping successful operation]]

Still don't know what happened before.

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

Cc: ryandesign@… added
Resolution: worksforme
Status: newclosed

Glad you got it working, because I have no idea what was wrong.

Note: See TracTickets for help on using tickets.