Your message dated Sat, 09 Aug 2014 16:04:03 +0000
with message-id <[email protected]>
and subject line Bug#751684: fixed in debhelper 9.20140809
has caused the Debian Bug report #751684,
regarding dh_perl: Add perlapi-* dependency on packages installed to 
$Config{vendorarch}
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.)


-- 
751684: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751684
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debhelper
Version: 9.20140613
User: [email protected]
Usertags: perl-5.20-transition

There's a pending Perl policy change discussed in #750017 that requires
the handful of packages in the archive that install nonbinary Perl modules
into /usr/lib/perl5 (or, more generally, $Config{vendorarch} to add a
perlapi-* dependency. The attached mostly untested patch implements this
in dh_perl.

I'll try to find some time to test it myself, but as that could be done by
others too, I wanted to file this sooner rather than later. Not adding
the 'patch' tag quite yet, though.
-- 
Niko Tyni   [email protected]
>From 5218415a469dc9a70b4ad9878da445a726c4cc24 Mon Sep 17 00:00:00 2001
From: Niko Tyni <[email protected]>
Date: Sat, 31 May 2014 21:04:40 +0300
Subject: [PATCH] Add perlapi-* dependency on packages installed to
 $Config{vendorarch}

$Config{vendorarch} can now change between perl versions, so stricter
dependencies are needed for partial upgrades. See #750017 for details.

This currently affects six packages in the archive.
---
 dh_perl | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/dh_perl b/dh_perl
index ed18f91..cf5c8fa 100755
--- a/dh_perl
+++ b/dh_perl
@@ -86,6 +86,7 @@ my $version;
 use constant PROGRAM   => 1;
 use constant PM_MODULE => 2;
 use constant XS_MODULE => 4;
+use constant ARCHDEP_MODULE => 8;
 
 foreach my $package (@{$dh{DOPACKAGES}}) {
 	my $tmp=tmpdir($package);
@@ -101,6 +102,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 		return unless -f;
 		$deps |= PM_MODULE if /\.pm$/;
 		$deps |= XS_MODULE if /\.so$/;
+		$deps |= ARCHDEP_MODULE
+			if $File::Find::dir =~ /\Q$vendorarch\E$/;
 	}, @dirs if @dirs;
 
 	# find scripts
@@ -129,10 +132,11 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 		addsubstvar($package, "perl:Depends", $perl, $version)
 			unless $perl eq 'perl-base' && ! length($version);
 
-		# add perlapi-<ver> for XS modules
+		# add perlapi-<ver> for XS modules and other modules
+		# installed into vendorarch
 		addsubstvar($package, "perl:Depends",
 			"perlapi-" . ($Config{debian_abi} || $Config{version}))
-			if $deps & XS_MODULE;
+			if $deps & ( XS_MODULE | ARCHDEP_MODULE );
 	}
 
 	# MakeMaker always makes lib and share dirs, but typically
-- 
2.0.0.rc4


--- End Message ---
--- Begin Message ---
Source: debhelper
Source-Version: 9.20140809

We believe that the bug you reported is fixed in the latest version of
debhelper, 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.
Joey Hess <[email protected]> (supplier of updated debhelper 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: SHA1

Format: 1.8
Date: Sat, 09 Aug 2014 11:24:41 -0400
Source: debhelper
Binary: debhelper
Architecture: source all
Version: 9.20140809
Distribution: unstable
Urgency: medium
Maintainer: Debhelper Maintainers <[email protected]>
Changed-By: Joey Hess <[email protected]>
Description:
 debhelper  - helper programs for debian/rules
Closes: 750021 751684 755237
Changes:
 debhelper (9.20140809) unstable; urgency=medium
 .
   * dh_perl: Add perlapi-* dependency on packages installed to
     $Config{vendorarch} Closes: #751684
   * dh_perl: Use vendorlib and vendorarch from Config instead of
     hardcoding their values. Closes: #750021
   * Typo: Closes: #755237
Checksums-Sha1:
 df016340d74ebc89dc0c4b3ae77e16917be631dd 1685 debhelper_9.20140809.dsc
 a0a2432fdfac6ec614025bfb2ec2fb5068dc2377 475081 debhelper_9.20140809.tar.gz
 ef1fd2fb735bbb6a6e87e17dd1cdd2aef708e7eb 690406 debhelper_9.20140809_all.deb
Checksums-Sha256:
 77716636c26221c3bf93f3d193858054ee330648c9f8dd162f172f61a631f4a7 1685 
debhelper_9.20140809.dsc
 655b6a3d7fafb5bdb4032ba76c9a265f165ca0abbc94ee5e23cd6a6e58cf44b7 475081 
debhelper_9.20140809.tar.gz
 a70bc4e43ca7ca6afe9cd2e90ab0c6adbf17e021ea45923ed071ab487ae7343e 690406 
debhelper_9.20140809_all.deb
Files:
 d1329a3b1d7f0e25f72f6ce736b0767c 690406 devel optional 
debhelper_9.20140809_all.deb
 e1f17474d6eb58cd8ca0e688d44036c6 1685 devel optional debhelper_9.20140809.dsc
 b979a8d008f982f59d9ee7c0805a6864 475081 devel optional 
debhelper_9.20140809.tar.gz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBU+Y/cckQ2SIlEuPHAQJWrA/9E4VVbf49sBo/jB/fm6MhJ+wVGpuVL2O3
4Zn9WmsXPIc8YYEZCU5YECpa8hRAgvISWYdAATMi1o2OQrKIXTl5Zu3ha7cDXnvz
iwl5IHMVcEBl2TCH76HcOrkMg9KIW2mm7aqH7XvJcAK/G+kLmQF1r1XwqKd4cat1
BGGLxPez+DmDrCJpqNhufaYk211fTdVqqStIaSVvs1Y1WicGSVBNfdUYX2wGOZ1A
g+2jXedMj7br/ZAj19kpfpmfs70xeqGZ/R4HD8EWp2f1VO3AC8YagpYriEJj/tXs
zYliK6uez9SRF5Jv73ej40nAa4QohvY6pOENwBxkxV0gh/u9ameU4Xnw/XDx0o+x
RlqR1/N6rdLNtRLzuJSzrI5wmFoVG8TPY8edT8IYux2+5Yw2R4PA936MGCCH4VC9
kmP8uZyypAPg37CD/V+n879Rrl2Fp8CJU+fx2O/BhCrJWiF3GuCT+fEccslbY2Uc
OK9umqUb28QVAHwJVIEIUJnltPU+Zrl8FJd86QesfLdmUfr1Ytu47HOkSU4Dip51
khIlUU6kS1eTILUWnDlV06uIhIw/mkaWe5FszdrbXtSIIATrXwwPdBg5sqoK+8XH
gCCo5GvPqGFdtsfkDq/0DgDE5KZgRxM4Oyxz4iDlky2Z1BHGKvQWNiC9XuODrTpL
cqxa4TUVlqE=
=r8i+
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to