[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#825116: texinfo: missing dependency on perlapi-*



Package: texinfo
Version: 6.1.0.dfsg.1-6
Severity: important
User: debian-perl@lists.debian.org
Usertags: perl-5.24-transition

This package ships a binary ("XS") Perl module in
/usr/lib/texinfo/XSParagraph.so but does not depend on perlapi-*. This
is a violation of the Debian Perl Policy 4.4, "Module Dependencies".

 https://www.debian.org/doc/packaging-manuals/perl-policy/ch-module_packages.html#s-module_deps

This has not been noticed earlier because the package also depends on
libperl5.xx, so upgrades from earlier Perl versions have pulled in a
corresponding rebuilt version of texinfo. However, starting with the Perl
5.22 -> 5.24 upgrade, older versions of libperl5.xx stay installable,
making it possible to upgrade perl-base and perl without upgrading
texinfo This results in binary incompatibility and failures like (from
an autoconf2.13 test build log):

  makeinfo -I. ./autoconf.texi --no-split --output=autoconf.info
  XSParagraph.c: loadable library and perl binaries are mismatched (got handshake key 0xdb00080, needed 0xdb80080)
  Makefile:113: recipe for target 'autoconf.info' failed
  make[1]: *** [autoconf.info] Error 1
 
Adding 'dh_perl /usr/lib/texinfo' in debian/rules and ${perl:Depends}
in the package dependencies should fix this. When this is fixed, please
file a bug against perl so we can add Breaks entries on that side and
make sure partial upgrades don't break.
-- 
Niko Tyni   ntyni@debian.org


Reply to: