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

Bug#750017: marked as done (perl-policy: All packages using Perl vendorarch directory need a perlapi-* dependency)



Your message dated Wed, 17 Sep 2014 19:03:26 +0000
with message-id <E1XUKVi-0001sJ-4X@franck.debian.org>
and subject line Bug#750017: fixed in debian-policy 3.9.6.0
has caused the Debian Bug report #750017,
regarding perl-policy: All packages using Perl vendorarch directory need a perlapi-* dependency
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 owner@bugs.debian.org
immediately.)


-- 
750017: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750017
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-policy
Version: 3.9.5.0
Tags: patch
X-Debbugs-Cc: debian-perl@lists.debian.org

Following #748380 (perl-policy: @INC changes for multiarch), we need
to add stricter dependencies on perl-base to the few non-binary module
packages currently using /usr/lib/perl5. Otherwise partial upgrades will
be problematic. While we can make perl-base Break the current versions
of such module packages with the old @INC, nothing prevents upgrading
the module packages before the perl core packages.

The affected packages are
 libalien-wxwidgets-perl
 libanyevent-perl
 libcommon-sense-perl
 libgtk2-perl-doc
 libjcode-perl (arch:all oversight, see #749541)
 libpar-packer-perl

Two of these (libcommon-sense-perl and libpar-packer-perl) already have
a binNMU'able dependency on the current perl upstream version.  This is
almost enough, but doesn't cover the future possibility of changing
$Config{vendorarch} without a major Perl version bump. Extending the
perlapi-* requirement seems a more robust solution, as per the attached
patch.
-- 
Niko Tyni   ntyni@debian.org
>From 1ff242b0a7eb5ba39ff18d51a2b2a92596f8b2ea Mon Sep 17 00:00:00 2001
From: Niko Tyni <ntyni@debian.org>
Date: Fri, 30 May 2014 14:10:22 +0300
Subject: [PATCH] All packages using Perl vendorarch directory need a perlapi-*
 dependency

Having $Config{vendorarch} change between Perl major versions (for
multiarch or other reasons) implies that packages using it need a strict
dependency on those versions of perl-base that have a compatible search
path (@INC).

The vast majority of these packages are binary ("XS") modules, where we
already require a dependency on the virtual package perlapi-*, provided
by perl-base. The name of this virtual package will change when the
interface between the Perl interpreter and the modules changes.

If we consider @INC part of that interface, we can use the existing
mechanism also for the few nonbinary modules using $Config{vendorarch}.
This is a new requirement that currently affects six packages in
the archive.
---
 perl-policy.sgml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/perl-policy.sgml b/perl-policy.sgml
index c23f7c3..e83c8c5 100644
--- a/perl-policy.sgml
+++ b/perl-policy.sgml
@@ -388,13 +388,14 @@ $(MAKE) install DESTDIR=$(CURDIR)/debian/&lt;tmp&gt;
 	</sect1>
 
 	<sect1 id="binary_modules">
-	  <heading>Binary Modules</heading>
+	  <heading>Binary and Other Architecture Dependent Modules</heading>
 	  <p>
 	    Binary modules must specify a dependency on either
 	    <package>perl</package> or <package>perl-base</package> with
 	    a minimum version of the <package>perl</package> package
-	    used to build the module, and must additionally depend on
-	    the expansion of
+	    used to build the module. Additionally, all modules installed
+	    into <tt>$Config{vendorarch}</tt> (binary or otherwise
+	    architecture dependent) must depend on the expansion of
 	    <package>perlapi-$Config{debian_abi}</package> using
 	    the <tt>Config</tt> module. If <tt>$Config{debian_abi}</tt>
 	    is empty or not set, <tt>$Config{version}</tt> must be used.
-- 
2.0.0.rc4


--- End Message ---
--- Begin Message ---
Source: debian-policy
Source-Version: 3.9.6.0

We believe that the bug you reported is fixed in the latest version of
debian-policy, 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 750017@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bill Allombert <ballombe@debian.org> (supplier of updated debian-policy 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 17 Sep 2014 20:03:20 +0200
Source: debian-policy
Binary: debian-policy
Architecture: source all
Version: 3.9.6.0
Distribution: unstable
Urgency: low
Maintainer: Debian Policy List <debian-policy@lists.debian.org>
Changed-By: Bill Allombert <ballombe@debian.org>
Description:
 debian-policy - Debian Policy Manual and related documents
Closes: 491547 555980 588497 593611 613143 731810 737730 740100 741304 742756 748380 748479 748480 750017 753353 753999 754876
Changes:
 debian-policy (3.9.6.0) unstable; urgency=low
 .
   [ Bill Allombert ]
   * upgrading-checklist.sgml: remove spurious 'details in' leftover from
     the HTML transition.  Closes: #740100. Thanks Jakub Wilk.
   * debian/control:
     - Build-Depends emacs-nox|emacs instead of emacs23. Closes: #753999
     Thanks Gabriele Giacone and Rob Browning.
   * Packaging: refreshed the names of the Policy Editors.
   * Policy: [11.5.1] Web servers: Fix use of metasyntactic variables and
     applications Closes: #737730. Thanks Olivier Berger.
   * Policy: [5.6.21] Files: Fix typo "by" -> be. Closes: #753353.
     Thanks Benedikt Wildenhain.
   * Policy: Remove reference to DEHS (dead service)
     Wording: David Prévot <taffit@debian.org>
     Seconded: Julian Gilbey <julian@d-and-j.net>
     Seconded: Charles Plessy <plessy@debian.org>
     Closes: #731810
   * Policy: Relax /usr/share FHS requirement for directories with mixed content.
     Wording: Joey Hess <joeyh@debian.org>
     Seconded: Russ Allbery <rra@debian.org>
     Seconded: Julien Cristau <jcristau@debian.org>
     Seconded: Jakub Wilk <jwilk@debian.org>
     Seconded: Michael Biebl <biebl@debian.org>
     Closes: #741304
   * Perl Policy: @INC has /usr/lib/perl/5.18, not /usr/lib/perl/5.18.2
     Wording: Niko Tyni <ntyni@debian.org>
     Seconded: Russ Allbery <rra@debian.org>
     Seconded: Bill Allombert <ballombe@debian.org>
     Closes: #748480
   * Perl Policy: Explain %Config earlier
     Wording: Niko Tyni <ntyni@debian.org>
     Seconded: Russ Allbery <rra@debian.org>
     Seconded: Damyan Ivanov <dmn@debian.org>
     Closes: #748479
   * Perl Policy: @INC changes for multiarch
     Wording: Niko Tyni <ntyni@debian.org>
     Seconded: Russ Allbery <rra@debian.org>
     Seconded: Damyan Ivanov <dmn@debian.org>
     Closes: #748380
   * Perl Policy: Packages using Perl vendorarch directory need a perlapi-*
     dependency
     Wording: Niko Tyni <ntyni@debian.org>
     Seconded: Russ Allbery <rra@debian.org>
     Seconded: Gregor Herrmann <gregoa@debian.org>
     Seconded: Axel Beckert <abe@debian.org>
     Closes: #750017
   * Policy: Grant an FHS exception for the multiarch headers directories
     Wording: Bill Allombert <ballombe@debian.org>
     Seconded: Jonathan Nieder <jrnieder@gmail.com>
     Seconded: Russ Allbery <rra@debian.org>
     Closes: #742756
   * Policy: Discourage statically linked binaries
     Wording: Russ Allbery <rra@debian.org>
     Seconded: Bill Allombert <ballombe@debian.org>
     Seconded: Jonathan Nieder <jrnieder@gmail.com>
     Closes: #555980
   * Policy: Clarify whose signature should go in debian/changelog (4.4)
     Wording: Russ Allbery <rra@debian.org>
     Seconded: Andrew McMillan <andrew@morphoss.com>
     Seconded: Gregor Herrmann <gregoa@debian.org>
     Closes: #593611
   * Policy: Change default web document root to /var/www/html
     Wording: Bill Allombert <ballombe@debian.org>
     Seconded: Arno Töll <arno@debian.org>
     Seconded: Matthias Urlichs <matthias@urlichs.de>
     Closes: #491547
   * virtual-package-names-list: Update java runtime list
     Wording: Emmanuel Bourg <ebourg@apache.org>
     Seconded: Tony Mancill <tmancill@debian.org>
     Seconded: Bill Allombert <ballombe@debian.org>
     Closes: #754876
   * virtual-package-names-list: Add httpd-wsgi
     Wording: Bill Allombert <ballombe@debian.org>
     Seconded: Jonas Smedegaard <dr@jones.dk>
     Seconded: Piotr Ożarowski <piotr@debian.org>
     Closes: #588497
   [ Jonathan Nieder ]
   * Policy: Drop FHS requirement that /usr/local/lib<qual> exist when /lib<qual>
     or /usr/lib<qual> does.
     Wording: Tollef Fog Heen <tfheen@err.no>
     Seconded: Bill Allombert <ballombe@debian.org>
     Seconded: Jonathan Nieder <jrnieder@gmail.com>
     Seconded: Russ Allbery <rra@debian.org>
     Closes: #613143
Checksums-Sha1:
 9644b65bdfc4f6646c8ee47baa68d70c26cfa90c 1882 debian-policy_3.9.6.0.dsc
 ca697872752c360df38367f6559c18356e655e14 697004 debian-policy_3.9.6.0.tar.xz
 ac5f71390d771e6848c87d78a22073aa2ab0408b 1881920 debian-policy_3.9.6.0_all.deb
Checksums-Sha256:
 85ff30718d07ab8327a4a5326f07ce61fc9587ef1032f85f4bbe8ec97d105288 1882 debian-policy_3.9.6.0.dsc
 b3dcc2e094857ed3f3ca9e9637f9c00d4569300faadfe44a73b93a83b7a3af00 697004 debian-policy_3.9.6.0.tar.xz
 c4bc87f4db9ad4a9bb54d6106f72810f49a4b706e6d3acb97cfcbdfbf0a36ce8 1881920 debian-policy_3.9.6.0_all.deb
Files:
 f14d60e7b3c035a83f50d450b87eb79a 1881920 doc optional debian-policy_3.9.6.0_all.deb
 4cdfe4a697a2a45188f8bf04a647cd92 1882 doc optional debian-policy_3.9.6.0.dsc
 bedf33cab89ed4f626d1b06c5bfae5b0 697004 doc optional debian-policy_3.9.6.0.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJUGc+/AAoJEI8OfCtFIuOHhZMP/08nv8TdYLnEXw98P/tA2zXy
JsnzPF5sXpmnNe0eSpNG2rqbuwYMt/GqO68owJE6M/PdsneVaPYaKAvwPBFOfwhJ
h4tCFK9zz4ma0a+ewS0qLO+KwlP+oyPPwIJ8nSbNsZZdxb6I6iF5RfKy43tUPvp1
rc1utNY9WvZ8CuszY40uKHuKNixUbCp9dm5TrSF5YtG6t6gVJencMAi9Bm1SarXt
SJlegTj6pMdlsp0QDzqgX+FAQnQZZwgFhBhv1O51vThul0qsKo61D6C4KuQ7uSjB
/hieq7JHZAu9Rz4P2qkx5Dln2WyDMPovxGiXIBjHSj3kmOs8vZHViT8N4aO5HVeO
MEVtl1utNRY+QsVUqxGUd1OqdQfvgv3uC0vXvR60JLxn87YhPgq1fbvNuApKo/p7
MG4NjVN8GX0k07Mg48A56JA8y5ImO0N3kXTAxGgKVnlpCjSzfvK7J+Q5gypeOYa8
l4QO23QPl1Qxpvf9jZ9lgTzWPhezXKYAvg4MYWPtLPvA5WDnq6WqZJOQObWN/gxu
GdQvo8FqcqOeQig0Dkp0IGbaxMpMNDLCtjezfYy3GsN+ri4WbOQz8Axc1K8+QEYM
nuE2TbVNxllFeLqyRghYLHPxWXsYb24DaVqseSwwr3fpc6Vvgfmck/si8VYvGJtd
hxapdBvsofEqozqnvNGz
=j5FQ
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: