Bug#575030: perl: 5.10.0 site directories missing from @INC
Niko Tyni
ntyni at debian.org
Mon Mar 22 21:50:56 UTC 2010
Package: perl-base
Version: 5.10.1-11
Severity: serious
Tags: patch, pending
Debian Perl Policy, section 2.3 (Module Path), states that site
directories of binary compatible earlier Perl versions should be on @INC:
site (old)
site directories (as above) for modules installed with previously
released perl packages for which the current package is binary
compatible are included if present.
In the case of the current version, 5.10.1, we should append
/usr/local/share/perl/5.10.0 and /usr/local/lib/perl/5.10.0 to @INC if
they exist.
The code that's supposed to do this is the #ifdef PERL_INC_VERSION_LIST
block in
http://patch-tracker.debian.org/patch/series/view/perl/5.10.1-11/debian/mod_paths.diff
but unfortunately it doesn't currently work as intended, apparently
because the 5.10 series added an additional Configure variable,
d_inc_version_list, that we don't currently override from config.over,
so PERL_INC_VERSION_LIST never gets defined.
This would apply to the lenny version too, but there are no earlier
binary compatible versions to include there as lenny shipped with 5.10.0.
Patch attached. I'll look at including a couple of other fixes in 5.10.1-12
so it may take a few days until the upload.
--
Niko Tyni ntyni at debian.org
More information about the Perl-maintainers
mailing list