Proposed mass bug filing: /usr/lib/perl5 is changing with Perl 5.20
Hi,
we're changing the directory where binary Perl modules are installed
from the traditional /usr/lib/perl5 to either /usr/lib/<triplet>/perl5
(containing the multiarch triplet) or /usr/lib/<triplet>/perl5/<version>
(containing additionally the current major Perl version.)
There's a pending Perl policy change in #748380 advising packages not
to hardcode /usr/lib/perl5 anymore but to expand $Config{vendorarch}
(from the Config module) during the build instead.
"Normal" build systems based on ExtUtils::MakeMaker or Module::Build do
this automatically, but 62 packages either failed to build or lost their
libperl linkage because of this in my test rebuilds of affected packages
(reverse dependencies of perlapi-5.18.* or libperl5.18, with a total of 540).
Most of these are hardcoding /usr/lib/perl5 in debian/rules and should
be trivial to fix.
It currently looks like we can't stay with /usr/lib/perl5 easily even
if we want to due to ABI skew causing segfaults during upgrades (see
https://lists.debian.org/debian-perl/2014/05/msg00139.html), so fixing
these packages will probably be a blocker for a Perl 5.20 transition.
I've uploaded perl_5.20.0-1 to experimental today with $Config{vendorarch}
pointing to /usr/lib/<triplet>/perl5/5.20 . It's currently in
the NEW queue due to the libperl SONAME change.
I'm proposing a mass bug filing on these 62 packages, initially at
severity 'normal' or 'important', usertagged debian-perl@lists.debian.org
/ perl-5.20-transition. The output of 'dd-list' is attached.
The currently recommended idiom for fixing the simple cases of
hardcoding /usr/lib/perl5 in debian/rules is replacing them with
something like this:
ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}')
Please direct any questions on fixing packages to the debian-perl list
so others can help too.
--
Niko Tyni ntyni@debian.org
Alan Boudreault <aboudreault@mapgears.com>
mapserver (U)
Alessandro Ghedini <ghedo@debian.org>
libdevel-nytprof-perl (U)
Alexander Wirt <formorer@debian.org>
rrdtool (U)
Andreas Henriksson <andreas@fatal.se>
xchat-gnome (U)
Ansgar Burchardt <ansgar@debian.org>
libb-perlreq-perl (U)
libdbd-sqlite3-perl (U)
Ayman Negm <negm@debian.org>
highlight
Barak A. Pearlmutter <bap@debian.org>
liboping (U)
Baruch Even <baruch@debian.org>
libhdate (U)
Bas Couwenberg <sebastic@xs4all.nl>
mapserver (U)
Bas Zoetekouw <bas@debian.org>
libtext-bibtex-perl (U)
prima
Bastian Blank <waldi@debian.org>
redhat-cluster (U)
Bastien Roucariès <roucaries.bastien+debian@gmail.com>
imagemagick (U)
Benjamin Drung <bdrung@debian.org>
xmms2
Benjamin Mako Hill <mako@debian.org>
libtemplate-perl
Bernd Zeimetz <bzed@debian.org>
rrdtool (U)
Brian Pellin <bpellin@debian.org>
genders
Chris Butler <chrisb@debian.org>
libpar-packer-perl (U)
Christos Trochalakis <yatiohi@ideopolis.gr>
nginx (U)
Clint Byrum <clint@ubuntu.com>
handlersocket
CSILLAG Tamas <cstamas@cstamas.hu>
libnet-idn-encode-perl (U)
Cyril Lavier <cyril.lavier@davromaniak.eu>
nginx (U)
Damyan Ivanov <dmn@debian.org>
libauthen-sasl-cyrus-perl (U)
libb-perlreq-perl (U)
libpar-packer-perl (U)
Danai SAE-HAN (韓達耐) <danai@debian.org>
libtext-bibtex-perl (U)
Daniel Kobras <kobras@debian.org>
imagemagick (U)
Daniel Leidert <dleidert@debian.org>
openbabel (U)
Dave Beckett <dajobe@debian.org>
redland-bindings
David Bremner <bremner@debian.org>
highlight (U)
libtext-bibtex-perl (U)
Debian 389ds Team <pkg-fedora-ds-maintainers@lists.alioth.debian.org>
libmozilla-ldap-perl
Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
mapserver
Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
xchat-gnome
Debian HA Maintainers <debian-ha-maintainers@lists.alioth.debian.org>
redhat-cluster
Debian Hamradio Maintainers <debian-hams@lists.debian.org>
hamlib
Debian Hebrew Packaging Team <debian-hebrew-package@lists.alioth.debian.org>
libhdate
Debian Libvirt Maintainers <pkg-libvirt-maintainers@lists.alioth.debian.org>
hivex
Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
frozen-bubble
libauthen-sasl-cyrus-perl
libb-perlreq-perl
libcdb-file-perl
libdbd-sqlite3-perl
libdevel-nytprof-perl
libinline-java-perl
libnet-idn-encode-perl
libpar-packer-perl
libtaint-runtime-perl
libterm-readline-gnu-perl
libtext-bibtex-perl
libtext-bidi-perl
Debian QA Group <packages@qa.debian.org>
graphviz
Debian RRDtool Team <rrdtool@ml.snow-crash.org>
rrdtool
Debichem Team <debichem-devel@lists.alioth.debian.org>
openbabel
Dmitry E. Oboukhov <unera@debian.org>
libnet-idn-encode-perl (U)
nginx (U)
Dominique Dumont <dod@debian.org>
frozen-bubble (U)
Enrico Zini <enrico@debian.org>
libbuffy-bindings
Fabio Tranchitella <kobold@debian.org>
nginx (U)
Florian Schlichting <fschlich@zedat.fu-berlin.de>
libb-perlreq-perl (U)
libcdb-file-perl (U)
Francesco Paolo Lovergine <frankie@debian.org>
mapserver (U)
Franck Joncourt <franck@debian.org>
fwknop
Frederic Peters <fpeters@debian.org>
lasso
Frederik Schüler <fs@debian.org>
redhat-cluster (U)
Gennaro Oliva <oliva.g@na.icar.cnr.it>
slurm-llnl
Gerfried Fuchs <rhonda@debian.org>
irssi
Ghe Rivero <ghe@debian.org>
libmozilla-ldap-perl (U)
Giuseppe Iuculano <giuseppe@iuculano.it>
razor
gregor herrmann <gregoa@debian.org>
libb-perlreq-perl (U)
libdbd-sqlite3-perl (U)
libdevel-nytprof-perl (U)
libpar-packer-perl (U)
libterm-readline-gnu-perl (U)
Guido Günther <agx@sigxcpu.org>
redhat-cluster (U)
Hideki Yamane <henrich@debian.org>
net-snmp (U)
Hilko Bengen <bengen@debian.org>
hivex (U)
ImageMagick Packaging Team <pkg-gmagick-im-team@lists.alioth.debian.org>
imagemagick
Jaime Robles <jaime@debian.org>
hamlib (U)
James McCoy <jamessan@debian.org>
subversion (U)
Jesus Climent <jesus.climent@hispalinux.es>
clearsilver
Jochen Friedrich <jochen@scram.de>
net-snmp (U)
Joenio Costa <joenio@colivre.coop.br>
libtaint-runtime-perl (U)
Jonas Smedegaard <dr@jones.dk>
libinline-java-perl (U)
Jonathan Yu <jawnsy@cpan.org>
libb-perlreq-perl (U)
libdbd-sqlite3-perl (U)
libdevel-nytprof-perl (U)
libpar-packer-perl (U)
libterm-readline-gnu-perl (U)
Jose Luis Rivas <ghostbar38@gmail.com>
libdevel-nytprof-perl (U)
Jose Parrella <bureado@debian.org>
nginx (U)
Josselin Mouette <joss@debian.org>
xchat-gnome (U)
Kamal Mostafa <kamal@whence.com>
hamlib (U)
Kartik Mistry <kartik@debian.org>
nginx
Kees Cook <kees@debian.org>
apparmor
Krzysztof Krzyzaniak (eloy) <eloy@debian.org>
libterm-readline-gnu-perl (U)
Krzysztof Krzyżaniak (eloy) <eloy@debian.org>
libdbd-sqlite3-perl (U)
KURASHIKI Satoru <lurdan@gmail.com>
qdbm
Kurt Roeckx <kurt@roeckx.be>
epic4
Lars Kruse <devel@sumpfralle.de>
clearsilver (U)
Laszlo Boszormenyi (GCS) <gcs@debian.org>
graphicsmagick
Lior Kaplan <kaplan@debian.org>
libhdate (U)
libtext-bidi-perl (U)
Luciano Bello <luciano@debian.org>
imagemagick (U)
Ludovic Rousseau <rousseau@debian.org>
pilot-link
Magnus Holmgren <holmgren@debian.org>
libspf2
Marcin Owsiany <porridge@debian.org>
ekg2
Marco d'Itri <md@linux.it>
libberkeleydb-perl
Marco Nenciarini <mnencia@debian.org>
ossp-uuid
martin f krafft <madduck@debian.org>
libbuffy-bindings (U)
Martin Loschwitz <madkiss@debian.org>
redhat-cluster (U)
Martin Pitt <mpitt@debian.org>
libpg-perl
Martín Ferrari <tincho@debian.org>
libterm-readline-gnu-perl (U)
Mattias Ellert <mattias.ellert@fysast.uu.se>
lcgdm
Michael Banck <mbanck@debian.org>
openbabel (U)
Michael Lustfield <michael@lustfield.net>
nginx (U)
Nelson A. de Oliveira <naoliv@debian.org>
imagemagick (U)
Net-SNMP Packaging Team <pkg-net-snmp-devel@lists.alioth.debian.org>
net-snmp
Nicholas Bamber <nicholas@periapt.co.uk>
libdevel-nytprof-perl (U)
Nico Golde <nion@debian.org>
stfl
Niko Tyni <ntyni@debian.org>
libdbd-sqlite3-perl (U)
libpar-packer-perl (U)
libterm-readline-gnu-perl (U)
Noah Meyerhans <noahm@debian.org>
net-snmp (U)
Oliver Elphick <Oliver.Elphick@lfix.co.uk>
libpg-perl (U)
Otavio Salvador <otavio@debian.org>
clearsilver (U)
Paweł Więcek <coven@debian.org>
lockdev
Peter Samuelson <peter@p12n.org>
subversion
Pierre Chifflier <pollux@debian.org>
nflog-bindings
nfqueue-bindings
openscap
Roger Leigh <rleigh@debian.org>
lockdev (U)
Russ Allbery <rra@debian.org>
libauthen-sasl-cyrus-perl (U)
Ryan Niebur <ryan@debian.org>
libdbd-sqlite3-perl (U)
libpar-packer-perl (U)
libterm-readline-gnu-perl (U)
Rémi Vanicat <vanicat@debian.org>
xmms2 (U)
Salvatore Bonaccorso <carnil@debian.org>
libdbd-sqlite3-perl (U)
libterm-readline-gnu-perl (U)
Sebastian Harl <tokkee@debian.org>
liboping
rrdtool (U)
Shachar Shemesh <shachar@debian.org>
libhdate (U)
Stuart R. Anderson <anderson@netsweng.com>
ming
Sune Vuorela <sune@debian.org>
qt4-perl
Sven Eckelmann <sven@narfation.org>
exactimage
Thomas Anders <tanders@users.sourceforge.net>
net-snmp (U)
Timo Aaltonen <tjaalton@ubuntu.com>
libmozilla-ldap-perl (U)
tony mancill <tmancill@debian.org>
genders (U)
Troy Heber <troyh@debian.org>
subversion (U)
Tzafrir Cohen <tzafrir@debian.org>
libhdate (U)
Vincent Danjean <vdanjean@debian.org>
owfs
Vincent Fourmond <fourmond@debian.org>
imagemagick (U)
Xavier Guimard <x.guimard@free.fr>
libb-perlreq-perl (U)
أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@sabily.org>
libtext-bidi-perl (U)
Reply to: