Opened 13 years ago

Closed 13 years ago

Last modified 10 years ago

#28630 closed defect (fixed)

Ports needing revbump after perl5 update to 5.12.3

Reported by: ak.ml@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: landonf (Landon Fuller), n3npq@…, afb@…, dbevans (David B. Evans)
Port: perl5

Description (last modified by ryandesign (Ryan Carsten Schmidt))

A few ports have installed perl modules and were not revbumped since r76604. They need either a revbump or to be recompiled in order to work with perl 5.12.3.

dpkg
libproxy
rpm52

The other rpm* ports might need a revbump as well: rpm, rpm45, rpm50, rpm51.

For those who want to check their system, here's a basic command to list the packages which have files installed in 5.8.9 directories:

$ find \
    '/opt/local/lib/perl5/5.8.9' \
    '/opt/local/lib/perl5/site_perl/5.8.9' \
    '/opt/local/lib/perl5/vendor_perl/5.8.9' \
    -type f \
-print0 \
| xargs -0 port provides \
| sed -e 's,^.* is provided by: ,,;' \
| sort \
| uniq

I have a MacIntel with Snow Leopard 10.6.6

Change History (10)

comment:1 Changed 13 years ago by afb@…

None of the rpm ports are using perl5.

comment:2 in reply to:  1 ; Changed 13 years ago by jmroot (Joshua Root)

Replying to afb@…:

None of the rpm ports are using perl5.

#28636 seems to suggest otherwise, though it's still not clear that a rev bump is needed.

comment:3 in reply to:  2 Changed 13 years ago by ak.ml@…

After recompilation:

$ port contents rpm52 |grep -i perl
  /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level/RPM.pm
  /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level/RPM/Constant.pm
  /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level/RPM/Dependencies.pm
  /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level/RPM/Files.pm
  /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level/RPM/Header.pm
  /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level/RPM/PackageIterator.pm
  /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level/RPM/Problems.pm
  /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level/RPM/Spec.pm
  /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level/RPM/Transaction.pm
  /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level/auto/RPM/RPM.bs
  /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level/auto/RPM/RPM.bundle
  /opt/local/lib/rpm/find-provides.perl
  /opt/local/lib/rpm/find-requires.perl
  /opt/local/lib/rpm/perl.prov
  /opt/local/lib/rpm/perl.req
  /opt/local/lib/rpm/perldeps.pl

It's likely that the other rpm* ports also install a perl module.

comment:4 Changed 13 years ago by afb@…

They do install a perl module, just that it was supposed to use perl5.8 or optionally +perl5.10.

comment:5 Changed 13 years ago by afb@…

Fixed the perl versions of rpm and rpm52, deleted port rpm45, obsoleted ports rpm50 and rpm51.

Backporting support for python 2.7 and perl 5.12, from rpm 5.3 to rpm 5.2, is doable (if needed)...

rpm52 has the variants:
   docs: API documentation
   perl5_10: use perl 5.10 instead of perl 5.8
   python26: use python 2.6 instead of python 2.5
   universal: Build for multiple architectures

comment:6 Changed 13 years ago by afb@…

See also Ticket #17576

comment:7 Changed 13 years ago by bitmail@…

Apparently the perl update breaks rrdtool too, at least here. Right after the update scripts using rrdtool won't work anymore.

Can't locate RRDs.pm in @INC

comment:8 Changed 13 years ago by bdebes@…

I have an irssi script (nicklist.pl) that can no longer locate the Term::ReadKey module ("port installed" shows I have p5-term-readkey) after upgrading perl to 5.12. Not certain this is related, but it seems to be. Hope this helps.

comment:9 Changed 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

libproxy r77081, dpkg r77632

comment:10 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: landonf@macports.org, n3npq@mac.com, afb@macports.org, devans@macports.orglandonf@macports.org, n3npq@mac.com, afb@macports.org, devans@macports.org
Description: modified (diff)
Keywords: revbump dpkg libproxy rpm52 removed
Note: See TracTickets for help on using tickets.