A note re: updating devel/apr (UPDATING entry 20130706)
David Wolfskill
david at catwhisker.org
Sun Jul 7 13:47:39 UTC 2013
Empirically, I have found that the given instructions (for portmaster)
work well -- if Apache's httpd is not running during the "portmaster -r
apr" run.
If, however, Apache's httpd is running, I see such things as:
...
portmaster -d -r apr
===>>> Working on:
apr-1.4.6.1.4.1_3
===>>> Gathering distinfo list for installed ports
...
===>>> Returning to list of ports depending on apr-1.4.6.1.4.1_3
===>>> The update for serf-1.2.1 is already done
===>>> Checking done for ports that depend on apr-1.4.6.1.4.1_3
===>>> Total ports: 1 >> (7)
0;portmaster: Total ports: 1 >> (7)^G
===>>> The following actions will be taken if you choose to proceed:
Upgrade apr-1.4.6.1.4.1_3 to apr-1.4.8.1.5.2
Upgrade subversion-1.8.0_1 to subversion-1.8.0_2
Upgrade apache22-2.2.24 to apache22-2.2.24_1
Upgrade serf-1.2.1 to serf-1.2.1_1
Upgrade py27-subversion-1.8.0_1 to py27-subversion-1.8.0_2
Re-install viewvc-1.1.20
Re-install porttools-0.99_8
Upgrade sudo-1.8.7 to sudo-1.8.7_1
===>>> Proceed? y/n [y]
===>>> Starting build for multiple ports <<<===
===>>> apr-1.4.6.1.4.1_3 1/1
...
reating a backup package for old version apr-1.4.6.1.4.1_3
pkg_delete: package 'apr-1.4.6.1.4.1_3' is required by these other packages
and may not be deinstalled (but I'll delete it anyway):
apache22-2.2.24
viewvc-1.1.20
serf-1.2.1
subversion-1.8.0_1
py27-subversion-1.8.0_1
porttools-0.99_8
===>>> Starting check for runtime dependencies
===>>> Gathering dependency list for devel/apr1 from ports
===>>> Dependency check complete for devel/apr1
===>>> apr-1.4.6.1.4.1_3 1/1
0;portmaster: apr-1.4.6.1.4.1_3 1/1^G
===> Installing for apr-1.4.8.1.5.2
...
/usr/bin/install -m 644 aprutil.exp /usr/local/lib
/usr/bin/install -m 755 apu-config.out /usr/local/bin/apu-1-config
===> Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===> Registering installation for apr-1.4.8.1.5.2
===> SECURITY REPORT:
...
===>>> Updating dependency entry for apr-1.4.8.1.5.2 in each dependent port
===>>> Upgrade of apr-1.4.6.1.4.1_3 to apr-1.4.8.1.5.2 succeeded
===>>> Updating ports that depend on apr-1.4.6.1.4.1_3
0;portmaster: Updating ports that depend on apr-1.4.6.1.4.1_3 ^G
===>>> Launching child to reinstall subversion-1.8.0_1
===>>> Updating dependent ports >> subversion-1.8.0_1 (1/7)
0;portmaster: Updating dependent ports >> subversion-1.8.0_1 (1/7)^G
===>>> Currently installed version: subversion-1.8.0_1
===>>> Port directory: /usr/ports/devel/subversion
===>>> Starting check for build dependencies
===>>> Gathering dependency list for devel/subversion from ports
Shared object "libaprutil-1.so.4" not found, required by "httpd"
Shared object "libaprutil-1.so.4" not found, required by "httpd"
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/usr/local/sbin/httpd'..
"/usr/ports/Mk/bsd.apache.mk", line 284: warning: "/usr/local/sbin/apxs -q MPM_NAME" returned non-zero status
pkg_info: option requires an argument -- O
usage: pkg_info [-bcdDEfgGiIjkKLmopPqQrRsvVxX] [-e package] [-l prefix]
[-t template] -a | pkg-name ...
pkg_info [-qQ] -W filename
pkg_info [-qQ] -O origin
pkg_info
===>>> Launching child to reinstall
===>>> Updating dependent ports >> (2/7)
0;portmaster: Updating dependent ports >> (2/7)^G
===>>> No /usr/ports/usr/ports exists, and no information
===>>> about usr/ports can be found in /usr/ports/MOVED
===>>> No valid installed port, or port directory given
===>>> Try portmaster --help
===>>> Update for failed
===>>> Aborting update
===>>> Update for subversion-1.8.0_1 failed
===>>> Aborting update
===>>> Killing background jobs
Terminated
===>>> The following actions were performed:
Upgrade of apr-1.4.6.1.4.1_3 to apr-1.4.8.1.5.2
===>>> You can restart from the point of failure with this command line:
portmaster <flags> devel/subversion www/apache22 www/serf devel/py-subversion devel/viewvc ports-mgmt/porttools security/sudo
===>>> Exiting
[end of typescript excerpt]
I finally managed to get through the update -- and updates on other
machines has been relatively painless -- but I'm sending this note
out to try to help others avoid the above.
Peace,
david
--
David H. Wolfskill david at catwhisker.org
Taliban: Evil men with guns afraid of truth from a 14-year old girl.
See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130707/a9569706/attachment.sig>
More information about the freebsd-ports
mailing list