pkg doesn't deal with perl minor upgrade? Re: svn commit: r306959 - in head: . lang/perl5.16

Jeffrey Bouquet jeffreybouquet at yahoo.com
Mon Nov 5 14:21:26 UTC 2012


Reply at the bottom, sorry for the long post of quoted...

--- On Mon, 11/5/12, Adam McDougall <mcdouga9 at egr.msu.edu> wrote:

> From: Adam McDougall <mcdouga9 at egr.msu.edu>
> Subject: pkg doesn't deal with perl minor upgrade? Re: svn commit: r306959 - in head: . lang/perl5.16
> To: ports at freebsd.org
> Date: Monday, November 5, 2012, 5:48 AM
> What is the recommended procedure to
> deal with perl modules after a perl 
> minor version upgrade like this?  poudriere rebuilt all
> my perl modules 
> when perl went to 5.16.2 but none of them get pulled down by
> pkg, just 
> perl itself.  perl-after-upgrade doesn't see any
> packages installed.  I 
> spot checked a perl module and it is still in 
> /usr/local/lib/perl5/5.16.0 but that is no longer in the
> perl include path.
> 
> At this point I would either hand pick the perl modules and
> force 
> reinstall them, or use the big hammer and do pkg upgrade
> -f.  Is there 
> something better?  Thanks.
> 
> On 11/04/12 04:48, Andrej Zverev wrote:
> > Author: az
> > Date: Sun Nov  4 09:48:04 2012
> > New Revision: 306959
> > URL: http://svn.freebsd.org/changeset/ports/306959
> >
> > Log:
> >    Update to 5.16.2
> >
> >    Changes: http://search.cpan.org/~rjbs/perl-5.16.2/pod/perldelta.pod
> >
> >    Approved by:    maintainer
> (implicit via email)
> >    With hat:    perl@
> >    Feature safe:    yes
> >
> > Modified:
> >    head/UPDATING
> >    head/lang/perl5.16/Makefile
> >    head/lang/perl5.16/Makefile.man
> >    head/lang/perl5.16/distinfo
> >    head/lang/perl5.16/pkg-plist
> >
> > Modified: head/UPDATING
> >
> ==============================================================================
> > --- head/UPDATING    Sun Nov  4
> 09:42:45 2012    (r306958)
> > +++ head/UPDATING    Sun Nov  4
> 09:48:04 2012    (r306959)
> > @@ -5,6 +5,15 @@ they are unavoidable.
> >   You should get into the habit of
> checking this file for changes each time
> >   you update your ports collection,
> before attempting any port upgrades.
> >
> > +20121104:
> > +  AFFECTS: users of lang/perl5.16
> > +  AUTHOR: az at FreeBSD.org
> > +
> > +  lang/perl5.16 has been updated to 5.16.2. 
> You should update everything
> > +  that depends on perl.  The easiest way to
> do that is to use
> > +  "perl-after-upgrade" script supplied with
> lang/perl5.16.
> > +  Please see its manual page for details.
> > +
> >   20121102:
> >     AFFECTS: users of
> shells/bash-completion
> >     AUTHOR: adamw at FreeBSD.org
> >
> > Modified: head/lang/perl5.16/Makefile
> >
> ==============================================================================
> > --- head/lang/perl5.16/Makefile    Sun
> Nov  4 09:42:45 2012    (r306958)
> > +++ head/lang/perl5.16/Makefile    Sun
> Nov  4 09:48:04 2012    (r306959)
> > @@ -40,7 +40,7 @@ OPTIONS=   
> DEBUGGING    "Build with debugging
> >
> >   PORTSCOUT=   
> limitw:1,even
> >
> > -PERL_VERSION=    5.16.0
> > +PERL_VERSION=    5.16.2
> >   PERL_ARCH=    mach
> >   SITE_PERL_REL?=   
> lib/perl5/site_perl/${PERL_VERSION}
> >   SITE_PERL?=   
> ${LOCALBASE}/${SITE_PERL_REL}
> >
> > Modified: head/lang/perl5.16/Makefile.man
> >
> ==============================================================================
> > --- head/lang/perl5.16/Makefile.man   
> Sun Nov  4 09:42:45 2012    (r306958)
> > +++ head/lang/perl5.16/Makefile.man   
> Sun Nov  4 09:48:04 2012    (r306959)
> > @@ -27,8 +27,11 @@ MAN1+=   
> perl5123delta.1
> >   MAN1+=   
> perl5124delta.1
> >   MAN1+=   
> perl5140delta.1
> >   MAN1+=   
> perl5141delta.1
> > +MAN1+=    perl5143delta.1
> >   MAN1+=   
> perl5142delta.1
> >   MAN1+=   
> perl5160delta.1
> > +MAN1+=    perl5161delta.1
> > +MAN1+=    perl5162delta.1
> >   MAN1+=   
> perl561delta.1
> >   MAN1+=   
> perl56delta.1
> >   MAN1+=   
> perl581delta.1
> >
> > Modified: head/lang/perl5.16/distinfo
> >
> ==============================================================================
> > --- head/lang/perl5.16/distinfo    Sun
> Nov  4 09:42:45 2012    (r306958)
> > +++ head/lang/perl5.16/distinfo    Sun
> Nov  4 09:48:04 2012    (r306959)
> > @@ -1,4 +1,4 @@
> > -SHA256 (perl/perl-5.16.0.tar.bz2) =
> 8c1d25e92a5760e84f77baa57fde5606fd6e95ec992408d36fa53c47162721d1
> > -SIZE (perl/perl-5.16.0.tar.bz2) = 13568573
> > +SHA256 (perl/perl-5.16.2.tar.bz2) =
> 5ba91d9aa40220c615b644bb48fa5df7fbca4afb1c9e911bdc0ce2a93f072d7d
> > +SIZE (perl/perl-5.16.2.tar.bz2) = 13725101
> >   SHA256 (perl/BSDPAN-20111107.tar.bz2)
> =
> 2f03218a592dc65ebfdc3c6b9394d91dcf4c53aa5290a08458b837baad5a21f9
> >   SIZE (perl/BSDPAN-20111107.tar.bz2) =
> 8448
> >
> > Modified: head/lang/perl5.16/pkg-plist
> >
> ==============================================================================
> > --- head/lang/perl5.16/pkg-plist    Sun
> Nov  4 09:42:45 2012    (r306958)
> > +++ head/lang/perl5.16/pkg-plist    Sun
> Nov  4 09:48:04 2012    (r306959)
> > @@ -188,7 +188,6 @@
> lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/IPC
> >   lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/IPC/SharedMem.pm
> >   lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/IPC/SysV.pm
> >   lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/List/Util.pm
> > -lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/List/Util/PP.pm
> >   lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/List/Util/XS.pm
> >   lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/MIME/Base64.pm
> >   lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/MIME/QuotedPrint.pm
> > @@ -204,7 +203,6 @@
> lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/Per
> >   lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/PerlIO/via.pm
> >   lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/SDBM_File.pm
> >   lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/Scalar/Util.pm
> >
> -lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/Scalar/Util/PP.pm
> >   lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/Socket.pm
> >   lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/Storable.pm
> >   lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/Sys/Hostname.pm
> > @@ -714,6 +712,7 @@
> lib/perl5/%%PERL_VER%%/Module/Build/Plat
> >   lib/perl5/%%PERL_VER%%/Module/Build/PodParser.pm
> >   lib/perl5/%%PERL_VER%%/Module/Build/Version.pm
> >   lib/perl5/%%PERL_VER%%/Module/Build/YAML.pm
> >
> +lib/perl5/%%PERL_VER%%/Module/CoreList/TieHashDelta.pm
> >   lib/perl5/%%PERL_VER%%/Module/CoreList.pm
> >   lib/perl5/%%PERL_VER%%/Module/CoreList.pod
> >   lib/perl5/%%PERL_VER%%/Module/Load.pm
> > @@ -1039,7 +1038,10 @@
> lib/perl5/%%PERL_VER%%/pod/perl5124delta
> >   lib/perl5/%%PERL_VER%%/pod/perl5140delta.pod
> >   lib/perl5/%%PERL_VER%%/pod/perl5141delta.pod
> >   lib/perl5/%%PERL_VER%%/pod/perl5142delta.pod
> > +lib/perl5/%%PERL_VER%%/pod/perl5143delta.pod
> >   lib/perl5/%%PERL_VER%%/pod/perl5160delta.pod
> > +lib/perl5/%%PERL_VER%%/pod/perl5161delta.pod
> > +lib/perl5/%%PERL_VER%%/pod/perl5162delta.pod
> >   lib/perl5/%%PERL_VER%%/pod/perl561delta.pod
> >   lib/perl5/%%PERL_VER%%/pod/perl56delta.pod
> >   lib/perl5/%%PERL_VER%%/pod/perl581delta.pod
> > @@ -1521,7 +1523,7 @@
> lib/perl5/%%PERL_VER%%/unicore/lib/Ccc/C
> >   lib/perl5/%%PERL_VER%%/unicore/lib/Ccc/CCC129.pl
> >   lib/perl5/%%PERL_VER%%/unicore/lib/Ccc/CCC13.pl
> >   lib/perl5/%%PERL_VER%%/unicore/lib/Ccc/CCC130.pl
> > -lib/perl5/%%PERL_VER%%/unicore/lib/Ccc/CCC133.pl
> > +lib/perl5/%%PERL_VER%%/unicore/lib/Ccc/CCC132.pl
> >   lib/perl5/%%PERL_VER%%/unicore/lib/Ccc/CCC14.pl
> >   lib/perl5/%%PERL_VER%%/unicore/lib/Ccc/CCC15.pl
> >   lib/perl5/%%PERL_VER%%/unicore/lib/Ccc/CCC16.pl
> > @@ -2086,6 +2088,7 @@ lib/perl5/%%PERL_VER%%/vmsish.pm
> >   lib/perl5/%%PERL_VER%%/warnings.pm
> >   lib/perl5/%%PERL_VER%%/warnings/register.pm
> >   %%GDBM%%lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/auto/GDBM_File/GDBM_File.so
> >
> +%%GDBM%%lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/auto/GDBM_File/GDBM_File.bs
> >   %%GDBM%%lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/GDBM_File.pm
> >   @dirrm
> lib/perl5/%%PERL_VER%%/BSDPAN/BSDPAN
> >   @dirrm
> lib/perl5/%%PERL_VER%%/BSDPAN/ExtUtils
> > @@ -2178,7 +2181,6 @@
> lib/perl5/%%PERL_VER%%/warnings/register
> >   @dirrm
> lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/Tie
> >   @dirrm
> lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/Text
> >   @dirrm
> lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/Sys
> > - at dirrm
> lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/Scalar/Util
> >   @dirrm
> lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/Scalar
> >   @dirrm
> lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/PerlIO
> >   @dirrm
> lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/Math/BigInt
> > @@ -2330,6 +2332,7 @@
> lib/perl5/%%PERL_VER%%/warnings/register
> >   @dirrm
> lib/perl5/%%PERL_VER%%/Module/Load
> >   @dirrm
> lib/perl5/%%PERL_VER%%/Module/Build/Platform
> >   @dirrm
> lib/perl5/%%PERL_VER%%/Module/Build
> > + at dirrm lib/perl5/%%PERL_VER%%/Module/CoreList
> >   @dirrm lib/perl5/%%PERL_VER%%/Module
> >   @dirrm lib/perl5/%%PERL_VER%%/Memoize
> >   @dirrm
> lib/perl5/%%PERL_VER%%/Math/BigInt
> > _______________________________________________
> > svn-ports-all at freebsd.org
> mailing list
> > http://lists.freebsd.org/mailman/listinfo/svn-ports-all
> > To unsubscribe, send any mail to "svn-ports-all-unsubscribe at freebsd.org"
> >
> 
> _______________________________________________
> freebsd-ports at freebsd.org
> mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
> 

"perl 5.8.9 >> perl 5.10 misadventure fix etc "
2010 thread, forums at FreeBSD.org

That thread I posted a fixup, requires /var/db/pkg files though...
another reason I wish /pkg/ include an option or an optional
port-frontend to keep those files inplace.
OTOH if one knows /pkg/ very well, the commands in that
thread may suffice.

Apologies if it does not directly answer this question enough or
misses some pertinent detail.



J. Bouquet


More information about the freebsd-ports mailing list