[arch-dev-public] Perl 5.26 in [testing]

Florian Pritz bluewind at xinu.at
Fri Jun 2 10:21:32 UTC 2017


Hi,

Perl 5.26, as any other new perl version, requires all modules that are
not purely perl code to be rebuilt. We did that for all packages in our
repos.

For a list of upstream changes please refer to `man perldelta`[1].

[1] https://metacpan.org/pod/release/XSAWYERX/perl-5.26.0/pod/perldelta.pod

Please note that the current directory (".") is no longer included by
default at the end of the module search path (@INC). This may have
widespread implications for the building, testing and installing of
modules, and for the execution of scripts. See the section "Removal of
the current directory (".") from @INC" in `man perldelta` for the full
details.


Since our users probably installed some from AUR or with
CPANPLUS::Dist::Arch, I wrote a script[2] that generates a local rebuild
list. To use it you will also need this[3].

Note that:
 - some modules simply don't support being loaded directly (Irssi,
   SVN::_Core, Tk::Entry among others) so also run the test
   (`perl -M$module -e1`) manually before reporting.
 - site_perl overrides vendor_perl so if you fix an error for a module
   in site_perl you have to run the script again afterwards.


[2]
https://git.server-speed.net/users/flo/bin/plain/find-broken-perl-packages.sh
[3] https://git.server-speed.net/users/flo/bin/plain/module-to-dist.pl

Binaries linking with libperl.so will also need to be rebuilt. You can
use lddd from devtools to find those.

Please report any issue you encounter.

Florian


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 858 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-dev-public/attachments/20170602/e3cac4c6/attachment.asc>


More information about the arch-dev-public mailing list