[Bugs] [Bug 292] New: perl modules need to be reinstalled after every perl update

bugzilla-daemon at exherbo.org bugzilla-daemon at exherbo.org
Wed Aug 18 19:34:39 BST 2010


           Summary: perl modules need to be reinstalled after every perl
           Product: Repositories
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Exlibs
        AssignedTo: pioto at exherbo.org
        ReportedBy: pioto at exherbo.org
           Package: dev-lang/perl

As things are currently, even a minor update to perl (e.g. 5.12.0 => 5.12.1)
requires rebuilding all perl modules. This is because of how we're specifying
all the libdir stuff to Configure, rather than patching things on a different
level, for handling $(libdir). It seems that doing that loses perl's magic @INC
adjustment to include older version's paths.

Rather than just fixing things to work in the more standard perl way (e.g.
5.12.1 would include the pure perl modules from 5.12.0, 5.10.1, and the xs
modules from 5.12.0), I'd suggest that we do something like this:

 - All pure perl modules go in /usr/$libdir/perl5/vendor_perl
 - All XS modules go in /usr/$libdir/perl5/vendor_perl/$SLOT/$arch

so, we're adjusting the vendorlib(exp?) settings, and maybe should do the same
for the sitelib setting.

A step for further down the road would be to multibuildify the XS modules.


Configure bugmail: https://bugs.exherbo.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the Bugs mailing list