Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Oct 2013 11:17:07 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        freebsd-ports@freebsd.org
Subject:   Some turbulence encountered during perl-5.14.4_2 -> perl5-5.16.3_2
Message-ID:  <20131024181707.GQ18943@albert.catwhisker.org>

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

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

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@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:

=3D=3D=3D>>> 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:

=2E..
=3D=3D=3D>>> Installation of lang/perl5.16 (perl5-5.16.3_2) complete

:-)

I then attempted the "Comprehensive" approach:

root@d129:/common/home/david # portmaster -r perl-

=3D=3D=3D>>> /var/db/pkg/perl- does not exist
=3D=3D=3D>>> Aborting update

=3D=3D=3D>>> Killing background jobs


Bah.  OK; fine:

root@d129:/common/home/david # portmaster -r perl

=3D=3D=3D>>> Working on:
        perl5-5.16.3_2
=2E..
=3D=3D=3D>>> Returning to list of ports depending on perl5-5.16.3_2=20
=3D=3D=3D>>> The update for gtkglarea-2.0.1_3 is already done

=3D=3D=3D>>> The update for gtkglext-1.2.0_12 is already done

=3D=3D=3D>>> Launching child to reinstall gnome-libs-1.4.2_20

=3D=3D=3D>>> 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
=3D=3D=3D>>> Currently installed version: gnome-libs-1.4.2_20
=3D=3D=3D>>> Port directory: /usr/ports/x11/gnome-libs

        =3D=3D=3D>>> This port is marked DEPRECATED
        =3D=3D=3D>>> EOLed upstream for very long

        =3D=3D=3D>>> If you are sure you can build it, remove the
               DEPRECATED line in the Makefile and try again.

=3D=3D=3D>>> Update for gnome-libs-1.4.2_20 failed
=3D=3D=3D>>> Aborting update

=3D=3D=3D>>> Killing background jobs
=2E..
=3D=3D=3D>>> Exiting

Hmm...  OK...  Maybe I don't really need it...?

root@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 packag=
es
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
=66rom under them.  So, back to "Conservative":


root@d129:/common/home/david # portmaster p5-

=3D=3D=3D>>> 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
=2E..
        p5-IO-stringy-2.110
        p5-MIME-Tools-5.504,2
        p5-Net-IP-1.26
        p5-BSD-devstat-0.02_1

=3D=3D=3D>>> Gathering distinfo list for installed ports
=2E..
=3D=3D=3D>>> Re-installation of p5-BSD-devstat-0.02_1 succeeded

=3D=3D=3D>>> The following actions were performed:
        Re-installation of p5-XML-Parser-2.41_1
        Re-installation of p5-Email-Address-1.90.0
=2E..
        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

=3D=3D=3D>>> Exiting
root@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@d129:/common/home/david # portmaster graphics/ImageMagick databases/rr=
dtool

=3D=3D=3D>>> Working on:
        graphics/ImageMagick
        databases/rrdtool
=2E..
=3D=3D=3D>>> Re-installation of rrdtool-1.4.7_2 succeeded

=3D=3D=3D>>> The following actions were performed:
        Re-installation of ImageMagick-6.8.0.7_1
        Re-installation of rrdtool-1.4.7_2

=3D=3D=3D>>> 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@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  r25704=
2M/257046:902504: Thu Oct 24 05:27:47 PDT 2013     root@freebeast.catwhiske=
r.org:/usr/obj/usr/src/sys/GENERIC  i386


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

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

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

iEYEARECAAYFAlJpZCIACgkQmprOCmdXAD3MKQCcCZkxUQtu2GAqPL5HopYga2fE
EK0Anil3xkkX+IlHz7Aj85mgNENWTSMr
=UooB
-----END PGP SIGNATURE-----

--JaBjgNvtdKe5H086--



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