Some turbulence encountered during perl-5.14.4_2 -> perl5-5.16.3_2
David Wolfskill
david at catwhisker.org
Thu Oct 24 18:17:16 UTC 2013
This was on my laptop:
FreeBSD g1-227.catwhisker.org 9.2-STABLE FreeBSD 9.2-STABLE #582 r257042M/257046:902504: Thu Oct 24 04:57:46 PDT 2013 root at g1-227.catwhisker.org:/usr/obj/usr/src/sys/CANARY i386
using pkg_* (still).
The /usr/ports working copy was at r331473; my "upgrade tool of choice"
for ports is (and for some time has been) portmaster.
Before attempting the Perl migration, I had performed my usual (daily)
portmaster -ad --index
which, in turn, accomplished:
===>>> The following actions were performed:
Upgrade of curl-7.32.0 to curl-7.33.0
Upgrade of xmlto-0.0.25 to xmlto-0.0.25_1
Then, following the suggestion in ports/UPDATING, I did:
portmaster -o lang/perl5.16 lang/perl5.14
which completed without incident:
...
===>>> Installation of lang/perl5.16 (perl5-5.16.3_2) complete
:-)
I then attempted the "Comprehensive" approach:
root at d129:/common/home/david # portmaster -r perl-
===>>> /var/db/pkg/perl- does not exist
===>>> Aborting update
===>>> Killing background jobs
Bah. OK; fine:
root at d129:/common/home/david # portmaster -r perl
===>>> Working on:
perl5-5.16.3_2
...
===>>> Returning to list of ports depending on perl5-5.16.3_2
===>>> The update for gtkglarea-2.0.1_3 is already done
===>>> The update for gtkglext-1.2.0_12 is already done
===>>> Launching child to reinstall gnome-libs-1.4.2_20
===>>> Checking dependent ports >> gnome-libs-1.4.2_20 (172/172)
0;portmaster: Checking dependent ports >> gnome-libs-1.4.2_20 (172/172)^G
===>>> Currently installed version: gnome-libs-1.4.2_20
===>>> Port directory: /usr/ports/x11/gnome-libs
===>>> This port is marked DEPRECATED
===>>> EOLed upstream for very long
===>>> If you are sure you can build it, remove the
DEPRECATED line in the Makefile and try again.
===>>> Update for gnome-libs-1.4.2_20 failed
===>>> Aborting update
===>>> Killing background jobs
...
===>>> Exiting
Hmm... OK... Maybe I don't really need it...?
root at d129:/common/home/david # pkg_delete gnome-libs-1.4.2_20
pkg_delete: package 'gnome-libs-1.4.2_20' is required by these other packages
and may not be deinstalled:
graphviz-2.34.0
ImageMagick-6.8.0.7_1
dvdauthor-0.7.1
gegl-0.2.0_3
gimp-app-2.8.6_1,1
py27-gimp-app-2.8.6_1
gimp-2.8.6,2
xlockmore-5.42
transcode-1.1.7_9
inkscape-0.48.4_2
Ugh. So I have rather little confidence that I can rebuild those
successfully, given that gnome-libs-1.4.2_20 was deprecated out
from under them. So, back to "Conservative":
root at d129:/common/home/david # portmaster p5-
===>>> Working on:
p5-XML-Parser-2.41_1
p5-Email-Address-1.90.0
p5-Socket-2.012
p5-SOAP-Lite-0.716
p5-LWP-Protocol-https-6.04
p5-IO-Socket-IP-0.24
p5-Unicode-String-2.09
p5-Unicode-Map8-0.13
...
p5-IO-stringy-2.110
p5-MIME-Tools-5.504,2
p5-Net-IP-1.26
p5-BSD-devstat-0.02_1
===>>> Gathering distinfo list for installed ports
...
===>>> Re-installation of p5-BSD-devstat-0.02_1 succeeded
===>>> The following actions were performed:
Re-installation of p5-XML-Parser-2.41_1
Re-installation of p5-Email-Address-1.90.0
...
Re-installation of p5-XML-SAX-0.99
Re-installation of p5-XML-LibXML-2.0106,1
Re-installation of p5-BSD-devstat-0.02_1
===>>> Exiting
root at d129:/common/home/david # echo $?
0
I then did a reality check:
d129(9.2-S)[1] cd /usr/local/lib/perl5/
d129(9.2-S)[2] ls -F
5.14/ 5.14.2/ 5.16/ site_perl/
d129(9.2-S)[3] find 5.14* -type f
5.14/perl/man/whatis
5.14/man/man3/Image::Magick.3.gz
5.14/man/man3/RRDp.3.gz
5.14/man/man3/RRDs.3.gz
5.14/man/whatis
5.14.2/perl/man/whatis
5.14.2/man/whatis
I found the ports that had those bits (man3/Image::Magick.3.gz &
the RRD* stuff) -- they were graphics/ImageMagick & databases/rrdtool
-- and told portmaster to rebuild them:
root at d129:/common/home/david # portmaster graphics/ImageMagick databases/rrdtool
===>>> Working on:
graphics/ImageMagick
databases/rrdtool
...
===>>> Re-installation of rrdtool-1.4.7_2 succeeded
===>>> The following actions were performed:
Re-installation of ImageMagick-6.8.0.7_1
Re-installation of rrdtool-1.4.7_2
===>>> Exiting
So far, so good.... Re-reality-checked:
d129(9.2-S)[4] find 5.14* -type f
5.14/perl/man/whatis
5.14/man/whatis
5.14.2/perl/man/whatis
5.14.2/man/whatis
(which looks OK to me), then blew away the 5.14 bits:
root at d129:/common/home/david # rm -fr /usr/local/lib/perl5/5^G.14*
FWIW, I was able to do the "Comprehensive" approach on my build
machine. Of course, it's headless, and has but 31 ports installed
-- mostly:
devel/rcs57
devel/subversion
misc/compat9x
net/rsync
ports-mgmt/portmaster
security/sudo
sysutils/dmidecode
sysutils/tmux
and their dependencies. (The laptop's list is a bit larger.)
Oh:
FreeBSD freebeast.catwhisker.org 9.2-STABLE FreeBSD 9.2-STABLE #802 r257042M/257046:902504: Thu Oct 24 05:27:47 PDT 2013 root at freebeast.catwhisker.org:/usr/obj/usr/src/sys/GENERIC i386
Peace,
david
--
David H. Wolfskill david at catwhisker.org
Taliban: Evil cowards 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/20131024/f41c1d95/attachment.sig>
More information about the freebsd-ports
mailing list