Your message dated Fri, 27 Jun 2014 13:33:50 +0000
with message-id <[email protected]>
and subject line Bug#751924: fixed in libtemplate-perl 2.24-1.2
has caused the Debian Bug report #751924,
regarding libtemplate-perl: hardcodes /usr/lib/perl5
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
751924: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751924
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libtemplate-perl
Version: 2.24-1.1
Severity: important
Tags: patch
User: [email protected]
Usertags: perl-5.20-transition
Starting with version 5.20.0 (currently in experimental), the Debian
perl package is changing the "vendorarch" library paths (currently
/usr/lib/perl5) to include the multiarch triplet and the perl version. See
#748380 for details.
For this to work, packages containing binary perl modules need to migrate
from using the hardcoded /usr/lib/perl5 directory to the value of the
$Config{vendorarch} variable, as defined in the 'Config' module.
The attached patch implements this for libtemplate-perl by making
debian/libtemplate-perl.install into an executable perl script. This
requires a debhelper compat level bump. (YMMV; there are certainly other
ways to do this.)
I've tested that this produces no debdiff visible changes on current sid
while fixing a build failure at the 'install' stage with perl_5.20.0-1.
Please consider including something like this sooner rather than later;
libtemplate-perl is a build dependency for other packages that need to
be rebuilt for the Perl 5.20 transition, and this issue is currently
hindering our rebuild tests.
--
Niko Tyni [email protected]
>From d0e6a2df95aafa309b6c3cb0a2aec8ffe4e9dc0f Mon Sep 17 00:00:00 2001
From: Niko Tyni <[email protected]>
Date: Tue, 17 Jun 2014 23:11:42 +0300
Subject: [PATCH] Don't hardcode /usr/lib/perl5 in
debian/libtemplate-perl.install
Starting with version 5.20.0, the Debian perl package is changing
the "vendorarch" library paths (currently /usr/lib/perl5) to include
the multiarch triplet and the perl version. See #748380 for details.
For this to work, packages containing binary perl modules need to migrate
from using the hardcoded /usr/lib/perl5 directory to the value of the
$Config{vendorarch} variable, as defined in the 'Config' module.
The implementation uses an executable debhelper install file, which
requires compat level 9.
---
debian/compat | 2 +-
debian/control | 2 +-
debian/libtemplate-perl.install | 9 ++++++++-
3 files changed, 10 insertions(+), 3 deletions(-)
mode change 100644 => 100755 debian/libtemplate-perl.install
diff --git a/debian/compat b/debian/compat
index 7f8f011..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+9
diff --git a/debian/control b/debian/control
index b252e98..826bd74 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: libtemplate-perl
Section: perl
Priority: optional
Maintainer: Benjamin Mako Hill <[email protected]>
-Build-Depends: debhelper (>= 7.0.50~), perl (>= 5.8), libappconfig-perl (>= 1.56)
+Build-Depends: debhelper (>= 9), perl (>= 5.8), libappconfig-perl (>= 1.56)
Standards-Version: 3.9.3
Homepage: http://search.cpan.org/~abw/Template-Toolkit/
diff --git a/debian/libtemplate-perl.install b/debian/libtemplate-perl.install
old mode 100644
new mode 100755
index f781247..dfa6150
--- a/debian/libtemplate-perl.install
+++ b/debian/libtemplate-perl.install
@@ -1,3 +1,10 @@
-usr/lib/perl5/
+#!/usr/bin/perl -w
+use Config;
+
+# expand the perl binary module directory at build time
+print substr($Config{vendorarch}, 1) . "\n";
+
+print <<EOF;
usr/share/man/
usr/bin/
+EOF
--
2.0.0
--- End Message ---
--- Begin Message ---
Source: libtemplate-perl
Source-Version: 2.24-1.2
We believe that the bug you reported is fixed in the latest version of
libtemplate-perl, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
gregor herrmann <[email protected]> (supplier of updated libtemplate-perl
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 27 Jun 2014 15:23:20 +0200
Source: libtemplate-perl
Binary: libtemplate-perl libtemplate-perl-doc
Architecture: source amd64 all
Version: 2.24-1.2
Distribution: unstable
Urgency: medium
Maintainer: Benjamin Mako Hill <[email protected]>
Changed-By: gregor herrmann <[email protected]>
Description:
libtemplate-perl - the "Template Toolkit" template processing system in perl
libtemplate-perl-doc - documentation for libtemplate-perl (template toolkit)
Closes: 751924
Changes:
libtemplate-perl (2.24-1.2) unstable; urgency=medium
.
* Non-maintainer upload.
.
[ Niko Tyni ]
* Don't hardcode /usr/lib/perl5 in debian/libtemplate-perl.install.
The implementation uses an executable debhelper install file, which
requires compat level 9.
Closes: #751924
Checksums-Sha1:
a744b93e9f6503a55c28be1c27b4de6131841116 2289 libtemplate-perl_2.24-1.2.dsc
11542208bfba919b355b0bad819602cc430a5e1c 5220
libtemplate-perl_2.24-1.2.debian.tar.xz
f76f08c45c994f7e38bacc0649b54b9c9889c8ad 604800
libtemplate-perl_2.24-1.2_amd64.deb
6c8f1163dade8f4787087190d07822301e83431a 782100
libtemplate-perl-doc_2.24-1.2_all.deb
Checksums-Sha256:
e0a4db00702d3880c298945edc97514f02ec3f5314c4634e589cdeab9dd64c86 2289
libtemplate-perl_2.24-1.2.dsc
61ef7c3e979db4f33774b6f10ef57a60dc41b0efdda80c09d1d691dd6dd33b08 5220
libtemplate-perl_2.24-1.2.debian.tar.xz
16f3929a8d4b6b14b3c152d341200b42000f8a3b99fd0ed82e65cb5383413b88 604800
libtemplate-perl_2.24-1.2_amd64.deb
2d509f253f51b795cfa3a42b9c06fb1d07b7671f821bbf8243593e336666bc3d 782100
libtemplate-perl-doc_2.24-1.2_all.deb
Files:
768f96e1327275423b3fbab9cfb61919 604800 perl optional
libtemplate-perl_2.24-1.2_amd64.deb
4c04a4a26dae4e730cd5aa46d8680c18 782100 doc optional
libtemplate-perl-doc_2.24-1.2_all.deb
f2577c358f5c4ac2e212fd35ae0b46c9 2289 perl optional
libtemplate-perl_2.24-1.2.dsc
eb31c1ec363f779688cdabc6e9f05026 5220 perl optional
libtemplate-perl_2.24-1.2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQJrBAEBCgBVBQJTrXEGThSAAAAAAB0AKGlzc3Vlci1mcHJAZ3BnLmNvbW9kby5w
cml2LmF0RDFFMTMxNkU5M0E3NjBBODEwNEQ4NUZBQkIzQTY4MDE4NjQ5QUEwNgAK
CRC7OmgBhkmqBpM1D/9kx9B7cBpll4AnX0u/ioDYGOhpTr0SFZiuQ9uQ8KCWJFJR
aJyefqZuAJykewMxmFW0gipwapt5m15f5KwsSw26v4ZFrUxYFEKcjgsmeJ/ed1le
EVbfjcCj+00+Zbfe0zPsRF5qasX/5sqPXO4HJ2fUnDstuz8CdHkF9mXMOs06SnOn
ljcemzq7pBm3XEZIfPEocrqOY9Pm4gkmU0hCehT+tVr002hpCvwI93otrHd2Hnrz
AuEQXIbv1T6qw97aamTwvgcFB69+iqA4wwzpF4G17bzLJkQBJzWL6GIoKb0M5cEi
+Cvou5jyhZDpN9QZVrrwvlVuLmKM461J6cRGvSpbByMftMKO2aL7DeXqHr26Soe+
3FBnBTle92hpZiK49o2fREByjC7nMRbKe8HJqDdqCK4xz1Ha+Ox3Lcy3VvGfhL3F
3LUuo5evXcweBhOdumojfKmNqwiz94zg6SnvKkWEM20cbfjarYMy8x9Y2va6MjuC
AQO1nSfLYk22ggORso6Mk5WfYyGzWVTDI1Ut3NAmTTpqwwzRQzDQd6KjAgY+YMdN
wZ7t0HURHsI/KN3vOKiY+8LEhOlXlUFRLFo6Q16xdcIGi8um3lIJ6+HDT9pcCd16
anPUujf+holFgXo34uL1tHXx4PUQ7Sfwdard8XAqLuHfucfIFLODQwSHSb19PA==
=99Sg
-----END PGP SIGNATURE-----
--- End Message ---