Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jul 2013 06:47:38 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        freebsd-ports@freebsd.org
Subject:   A note re: updating devel/apr (UPDATING entry 20130706)
Message-ID:  <20130707134738.GA1397@albert.catwhisker.org>

next in thread | raw e-mail | index | archive | help

--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:

=2E..
portmaster -d -r apr
=3D=3D=3D>>> Working on:
        apr-1.4.6.1.4.1_3

=3D=3D=3D>>> Gathering distinfo list for installed ports
=2E..
=3D=3D=3D>>> Returning to list of ports depending on apr-1.4.6.1.4.1_3=20
=3D=3D=3D>>> The update for serf-1.2.1 is already done

=3D=3D=3D>>> Checking done for ports that depend on apr-1.4.6.1.4.1_3=20

=3D=3D=3D>>> Total ports: 1 >> (7)
0;portmaster: Total ports: 1 >> (7)^G
=3D=3D=3D>>> 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

=3D=3D=3D>>> Proceed? y/n [y]=20

=3D=3D=3D>>> Starting build for multiple ports <<<=3D=3D=3D

=3D=3D=3D>>> apr-1.4.6.1.4.1_3 1/1
=2E..
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

=3D=3D=3D>>> Starting check for runtime dependencies
=3D=3D=3D>>> Gathering dependency list for devel/apr1 from ports
=3D=3D=3D>>> Dependency check complete for devel/apr1

=3D=3D=3D>>> apr-1.4.6.1.4.1_3 1/1
0;portmaster: apr-1.4.6.1.4.1_3 1/1^G
=3D=3D=3D>  Installing for apr-1.4.8.1.5.2
=2E..
/usr/bin/install -m 644 aprutil.exp /usr/local/lib
/usr/bin/install -m 755 apu-config.out /usr/local/bin/apu-1-config
=3D=3D=3D>   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
=3D=3D=3D>   Registering installation for apr-1.4.8.1.5.2
=3D=3D=3D> SECURITY REPORT:=20
=2E..

=3D=3D=3D>>> Updating dependency entry for apr-1.4.8.1.5.2 in each dependen=
t port

=3D=3D=3D>>> Upgrade of apr-1.4.6.1.4.1_3 to apr-1.4.8.1.5.2 succeeded

=3D=3D=3D>>> Updating ports that depend on apr-1.4.6.1.4.1_3=20
0;portmaster: Updating ports that depend on apr-1.4.6.1.4.1_3 ^G
=3D=3D=3D>>> Launching child to reinstall subversion-1.8.0_1

=3D=3D=3D>>> Updating dependent ports >> subversion-1.8.0_1 (1/7)
0;portmaster: Updating dependent ports >> subversion-1.8.0_1 (1/7)^G
=3D=3D=3D>>> Currently installed version: subversion-1.8.0_1
=3D=3D=3D>>> Port directory: /usr/ports/devel/subversion

=3D=3D=3D>>> Starting check for build dependencies
=3D=3D=3D>>> 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
=3D=3D=3D>>> Launching child to reinstall=20

=3D=3D=3D>>> Updating dependent ports >>  (2/7)
0;portmaster: Updating dependent ports >>  (2/7)^G
        =3D=3D=3D>>> No /usr/ports/usr/ports exists, and no information
        =3D=3D=3D>>> about usr/ports can be found in /usr/ports/MOVED

=3D=3D=3D>>> No valid installed port, or port directory given
=3D=3D=3D>>> Try portmaster --help

=3D=3D=3D>>> Update for  failed
=3D=3D=3D>>> Aborting update

=3D=3D=3D>>> Update for subversion-1.8.0_1 failed
=3D=3D=3D>>> Aborting update

=3D=3D=3D>>> Killing background jobs
Terminated
=3D=3D=3D>>> The following actions were performed:
        Upgrade of apr-1.4.6.1.4.1_3 to apr-1.4.8.1.5.2

=3D=3D=3D>>> You can restart from the point of failure with this command li=
ne:
       portmaster <flags> devel/subversion www/apache22 www/serf devel/py-s=
ubversion devel/viewvc ports-mgmt/porttools security/sudo=20

=3D=3D=3D>>> 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
--=20
David H. Wolfskill				david@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.

--IJpNTDwzlM2Ie8A6
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (FreeBSD)

iEYEARECAAYFAlHZcXkACgkQmprOCmdXAD0NVwCfeLi01Ur+hAQfC5QvcMR6r6f5
34wAnRJmjGPV2r18h9zcbuABJqLlI9C5
=2asc
-----END PGP SIGNATURE-----

--IJpNTDwzlM2Ie8A6--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130707134738.GA1397>