Package: amanda-common
Version: 1:2.6.1p2-1
Severity: important
User: debian-p...@lists.debian.org
Usertags: perl-5.12-transition

This package ships binary Perl modules in /usr/lib/amanda/perl. These
modules get compiled against a specific Perl binary interface, so they
need to depend on perlapi-*, as mandated by the Debian Perl policy.

Fixing this should be as simple as adding 'dh_perl usr/lib/amanda/perl'
in debian/rules and ${perl:Depends} in debian/control.

Having a perlapi-* dependency will ensure that the package will get
recompiled with a binNMU by the release team when the Perl binary
interface changes, usually in a Perl major version transition like the
upcoming 5.12 one.

I'm only filing this at 'important' because I haven't actually seen
any breakage in my tests with perl 5.12.1-1 from experimental.

I'm a bit baffled by this, but as I don't have a real Amanda installation,
I've only tested trivial things with Amanda::Config. It's very probable that
the modules will break in real use when there's ABI skew, particularly
on the 32-bit architectures where the Perl integers are now 64 bits wide.

Signs of such breakage include things like

 # PERL_DL_NONLAZY=1 perl -e 'use JSON::XS'
 Can't load '/usr/lib/perl5/auto/JSON/XS/XS.so' for module JSON::XS: 
/usr/lib/perl5/auto/JSON/XS/XS.so: undefined symbol: Perl_sv_utf8_upgrade_flags 
at /usr/share/perl/5.12/XSLoader.pm line 70.

and (on i386; this is most probably due to the integer size change):

 # perl -MDevel::Refcount=refcount -le 'print refcount($a=[])'
 583208145925439490

It has not been decided yet whether the Perl 5.12 transition will happen
for Squeeze or not.
-- 
Niko Tyni   nt...@debian.org



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to