Bug#786575: libperl5.20 is not Multi-Arch compatible
Francois Gouget
fgouget at free.fr
Fri May 22 23:56:57 UTC 2015
Package: libperl5.20
Version: 5.20.2-4
Severity: normal
Dear Maintainer,
libperl5.20 depends on perl-base which, because it provides a /usr/bin binary, is
obviously not co-installable. As a result libperl5.20 is not currently multiarch
compatible.
This actually has far ranging consequences: through libsnmp30 and then libsane this
breaks support for scanners in 32 bit Windows applications run through Wine.
Forthermore, despite what the description says, libperl5.20 is currently empty!
$ dpkg -L libperl5.20
/.
/usr
/usr/share
/usr/share/doc
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/libperl5.20
/usr/share/doc/libperl5.20
I think the multiarch issue could be fixed by:
* Moving the files below to the libperl5.20 package:
/usr/lib/x86_64-linux-gnu/libperl.so.5.20
/usr/lib/x86_64-linux-gnu/perl/5.20
/usr/lib/x86_64-linux-gnu/perl/5.20.2/*
* Moving the perl5.20.2 binary to a triplet location in the libperl5.20 package:
/usr/lib/x86_64-linux-gnu/perl/5.20.2/libexec/perl
* Move the files below to a new architecture all perl-basemodules package:
/usr/share/perl/5.20.2/*
(alternatively they could also go to the libperl5.20 package)
* Remove the dependency on perl-base from libperl5.20 and add one on perl-basemodules.
Mark libperl5.20 as Multi-Arch: same.
* Make perl-base depend on libperl5.20 and mark it as Multi-Arch: foreign.
At this point /usr/bin/perl would most likely be a symbolic link to the corresponding
perl4.20.2 libperl5.20 binary.
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libperl5.20 depends on:
ii libc6 2.19-18
ii perl-base 5.20.2-4
libperl5.20 recommends no packages.
libperl5.20 suggests no packages.
-- no debconf information
More information about the Perl-maintainers
mailing list