[MacPorts] #55136: sudo port -d upgrade outdated hangs
MacPorts
noreply at macports.org
Sun Oct 22 20:39:16 UTC 2017
#55136: sudo port -d upgrade outdated hangs
------------------------+-------------------
Reporter: micrology | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.4.2
Resolution: | Keywords:
Port: |
------------------------+-------------------
Comment (by micrology):
Replying to [comment:2 ryandesign]:
> MacPorts 2.4.2 contains minimal changes from 2.4.1 and can't really be
causing such a problem. We're of course running 2.4.2 on our build servers
where we don't see such a problem there.
>
> I notice the log mentions apache2. A significant update was recently
committed to apache2 which updated it to version 2.4.x and changed its
layout, which required all ports using apache2 to be modified and rebuilt.
This upgrade should go smoothly; not sure why you're having difficulties.
When you say it hangs, how long did you wait? Not that it should take very
long when working correctly. Do you get the same hang if you try upgrading
apache2 specifically? (`sudo port upgrade apache2`) What about upgrading
other individual specific ports shown in `port outdated`?
Thanks for the comments.
Specifically, I waited several hours for the hang to clear.
When I try to upgrade just apache2, I get the same hang (and the same
Debug trace).
I then tried to upgrade another port shown as needing an upgrade – and
again got the same hang. Debug output follows:
{{{
sudo port -d upgrade curl
DEBUG: Copying /Users/scs1ng/Library/Preferences/com.apple.dt.Xcode.plist
to /opt/local/var/macports/home/Library/Preferences
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: curl 7.56.0_0 exists in the ports tree
DEBUG: curl 7.55.1_0 +ssl is the latest installed
DEBUG: curl 7.55.1_0 +ssl is active
DEBUG: Merging existing variants '+ssl' into variants
DEBUG: new fully merged portvariants: ssl +
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/curl
DEBUG: OS darwin/14.5.0 (Mac OS X 10.10) arch i386
DEBUG: Reading variant descriptions from
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Sourcing PortGroup muniversal 1.0 from
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Executing variant ssl provides ssl
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
}}}
Note that it ends/hangs at the same point as with apache2.
--
Ticket URL: <https://trac.macports.org/ticket/55136#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list