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

Bug#579457: marked as done (debian-policy: finer granularity for perlapi-*)

Your message dated Mon, 28 Jun 2010 05:17:08 +0000
with message-id <E1OT6iS-0000WZ-U6@ries.debian.org>
and subject line Bug#579457: fixed in debian-policy
has caused the Debian Bug report #579457,
regarding debian-policy: finer granularity for perlapi-*
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

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

The Perl policy currently mandates that the perl-base package provides
perlapi-<version> for every upstream version it is binary compatible
with. XS modules are required to depend on this so that there's a
transition path when Perl version upgrades include incompatible ABI
changes [1].

However, the binary interface is also affected by several configuration
settings chosen at Perl build time. These include support for
threading (usethreads), 64-bit integers (use64bitint) and long doubles

I would like to include these settings in the virtual package name so
that it would be possible to make incompatible ABI changes during the
life time of a single Perl upstream version and have a clean transition

Obviously this does not mean that the ABI would be changed lightly,
it only makes it possible when really required. [2]

As for the implementation, the name of the virtual package could be
derived from $Config{archname}, for example x86_64-linux-gnu-thread-multi.
The system type prefix seems unnecessary; stripping it out and adding
the version number would give something like
 Provides: perlabi-5.10.1-thread-multi, perlabi-5.10.0-thread-multi
 Provides: perlabi-5.12.0-thread-multi-64int-ld

For convenience, the perl package could include the suffix and/or the
whole string in something like $Config{debian_abi}. In that case we
should probably mandate that packages need to use it rather than derive
the string themselves.

The transition from the current perlapi-* scheme does not seem difficult:
affected packages can be easily found and changing dh_perl in debhelper
would be the only required source fix for a vast majority of them.

The perl-base package could provide both the old perlapi-<version>
and the new perlabi-<version>-<suffix> during the transition period and
remove the perlapi-* one when all the packages have been changed.

I'm copying the debian-perl list to reach any interested parties.
If there's a consensus that this looks sane and useful, I could make the
required changes in the perl package easily and then try to come up with
a proposed wording for the policy change.

Please comment.

[1] Given that this is all about binary compatibility, I don't understand
    why the virtual package is called perlapi-* and not perlabi-*.
    Maybe somebody could enlighten me?

[2] The particular use case I have in mind is enabling uselongdouble
    or use64bitint for Perl 5.12.0 in sid and later finding out that it
    was the wrong thing to do for some unanticipated reason. Currently
    there is no way to change these settings cleanly before the next
    upstream version comes around.

    Obviously I'm doing my best to test the choices in experimental first,
    but surprises can still happen and I'd like a last resort way out.

Niko Tyni   ntyni@debian.org

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

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:

  to main/d/debian-policy/debian-policy_3.9.0.0.dsc
  to main/d/debian-policy/debian-policy_3.9.0.0.tar.gz
  to main/d/debian-policy/debian-policy_3.9.0.0_all.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 579457@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Russ Allbery <rra@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@debian.org)

Hash: SHA1

Format: 1.8
Date: Sun, 27 Jun 2010 21:40:52 -0700
Source: debian-policy
Binary: debian-policy
Architecture: source all
Distribution: unstable
Urgency: low
Maintainer: Debian Policy List <debian-policy@lists.debian.org>
Changed-By: Russ Allbery <rra@debian.org>
 debian-policy - Debian Policy Manual and related documents
Closes: 224509 284340 328951 347581 442134 470633 478295 530687 547272 555009 555978 558430 560411 560839 562506 563425 566220 567845 569174 572253 575639 576594 577666 578854 579457 579461 582495 584521 584796 586163
 debian-policy ( unstable; urgency=low
   [ Colin Watson ]
   * Fix path to changelog.Debian.gz in footnote on documentation symlinks.
   [ Bill Allombert ]
   * Convert upgrading-checklist to debiandoc-sgml. This generates a better
     looking .txt file.
     Closes: #567845
   * Fix typo in package_upstream-version.orig.tar.gz.
     Thanks, Salvatore Bonaccorso. (Closes: #558430)
   * Replace 'copyright and distribution license' by 'copyright information
     and distribution license' (three times).
     Proposed by Jonathan Nieder.
     Seconded:  Steve Langasek  <vorlon@debian.org>
     Seconded:  Thijs Kinkhorst <thijs@debian.org>
     Seconded:  Julien Cristau  <jcristau@debian.org>
     Seconded:  Gregor Herrmann <gregoa@debian.org>
     Closes: #566220
   * extend UID range of user accounts by removing the 30000-59999 reserved
     Proposed by Santiago Vila
     Seconded:  Russ Allbery    <rra@debian.org>
     Seconded:  Luk Claes       <luk@debian.org>
     Seconded:  Raphael Hertzog <hertzog@debian.org>
     Seconded:  Steve Langasek  <vorlon@debian.org>
     Closes: #582495
   [ Russ Allbery ]
   * Policy: Overhaul Breaks, Conflicts, Provides, and Replaces
     Wording: Russ Allbery <rra@debian.org>
     Seconded: Steve Langasek <vorlon@debian.org>
     Seconded: Raphael Hertzog <hertzog@debian.org>
     Closes: #578854
   * Policy: Support for architecture wildcards
     Wording: Manoj Srivastava <srivasta@debian.org>
     Wording: Russ Allbery <rra@debian.org>
     Seconded: Guillem Jover <guillem@debian.org>
     Seconded: Andrew McMillan <andrew@morphoss.com>
     Seconded: Steve Langasek <vorlon@debian.org>
     Closes: #530687
   * Policy: Except init.d scripts from the normal set -e requirement
     Wording: Russ Allbery <rra@debian.org>
     Seconded: Raphael Hertzog <hertzog@debian.org>
     Seconded: Guillem Jover <guillem@debian.org>
     Closes: #562506
   * Policy: Maintainer scripts might not have a controlling terminal
     Wording: Russ Allbery <rra@debian.org>
     Seconded: Guillem Jover <guillem@debian.org>
     Seconded: Andrew McMillan <andrew@morphoss.com>
     Seconded: Steve Langasek <vorlon@debian.org>
     Closes: #224509
   * Policy: Fully specify the date format for changelog entries
     Wording: Charles Plessy <plessy@debian.org>
     Seconded: Russ Allbery <rra@debian.org>
     Seconded: Andrew McMillan <andrew@morphoss.com>
     Seconded: Giacomo A. Catenazzi <cate@debian.org>
     Closes: #569174
   * Policy: Deprecate /usr/share/common-licenses/BSD
     Wording: Russ Allbery <rra@debian.org>
     Seconded: Emilio Pozuelo Monfort <pochu@debian.org>
     Seconded: Jakub Wilk <jwilk@debian.org>
     Seconded: gregor herrmann <gregoa@debian.org>
     Closes: #284340
   * Policy: Document Checksums-Sha1 and Checksums-Sha256
     Wording: Russ Allbery <rra@stanford.edu>
     Seconded: Julien Cristau <jcristau@debian.org>
     Seconded: Emilio Pozuelo Monfort <pochu@debian.org>
     Closes: #478295
   * Policy: Prohibit duplicate field names in a control paragraph
     Wording: Russ Allbery <rra@debian.org>
     Seconded: Charles Plessy <plessy@debian.org>
     Seconded: Steve Langasek <vorlon@debian.org>
     Seconded: Emilio Pozuelo Monfort <pochu@debian.org>
     Closes: #555978
   * Policy: Relax requirement that library dev files be in one package
     Wording: Russ Allbery <rra@debian.org>
     Seconded: Julien Cristau <jcristau@debian.org>
     Seconded: Andrew McMillan <andrew@morphoss.com>
     Closes: #347581
   * Policy: Tighten requirements for maintainer-like fields
     Wording: Russ Allbery <rra@debian.org>
     Seconded: Emilio Pozuelo Monfort <pochu@debian.org>
     Seconded: Andrew McMillan <andrew@morphoss.com>
     Closes: #575639
   * Policy: Update Format control field documentation
     Wording: Russ Allbery <rra@debian.org>
     Wording: Charles Plessy <plessy@debian.org>
     Seconded: Charles Plessy <plessy@debian.org>
     Seconded: Emilio Pozuelo Monfort <pochu27@gmail.com>
     Closes: #547272
   * Debconf: Add SETTITLE, like title but uses a template
     Wording: Frans Pop <elendil@planet.nl>
     Seconded: Russ Allbery <rra@debian.org>
     Seconded: Ben Pfaff <blp@cs.stanford.edu>
     Closes: #560411
   * Perl Policy: Change perlapi provides to use an ABI version
     Wording: Niko Tyni <ntyni@debian.org>
     Seconded: Russ Allbery <rra@debian.org>
     Seconded: Brendan O'Dea <bod@debian.org>
     Seconded: Damyan Ivanov <dmn@debian.org>
     Closes: #579457
   * Perl Policy: Recommend DESTDIR instead of PREFIX with Makefile.PL
     Wording: Niko Tyni <ntyni@debian.org>
     Seconded: Russ Allbery <rra@debian.org>
     Seconded: Raphael Hertzog <hertzog@debian.org>
     Closes: #579461
   * Standardize dpkg state wording and bring it in line with dpkg,
     renaming Failed-Config to Half-Configured and use uniform
     capitalization and punctuation.  (Closes: #442134)
   * Remove documentation of alternative changelog formats.  This feature
     is not allowed in the Debian archive and will be documented in the
     dpkg-dev documentation instead.  The documentation that was in Policy
     was also somewhat outdated.  (Closes: #555009, see #584141)
   * Remove obsolete footnote sentence saying that dpkg-statoverride is a
     new feature and not well-known.  (Closes: #563425)
   * Clarify in the Perl Policy that perl-base is essential, not perl, and
     don't imply packages need to depend on perl-base.  (Closes: #576594)
   * Document the special debian-installer section in the list of current
     sections and add a link to the list of sections in unstable, which
     contains longer descriptions.  (Closes: #577666)
   * Remove the footnote listing every architecture known to dpkg.  This
     list can be trivially produced by dpkg-architecture -L (already
     noted), is very long, and quickly becomes out-of-date.
   * Move silly version ordering example to a footnote.  (Closes: #560839)
   * Reletter the process steps to not skip State C and use more
     traditional foreground and background colors for Process.html and
     README.html.  (Closes: #584521)
   * Fix typo in footnote about help2man.  (Closes: #584796)
   * Add an example for Replaces when a package is split.  Thanks, Uwe
     Kleine-König.  (Closes: #572253)
   * Explicitly state that packages may remove unmodified, obsolete
     configuration files during  upgrade.  (Closes: #470633)
   * Clarify the wording around which build dependencies must be satisfied
     for different debian/rules targets and add a footnote to the
     description of the build-arch and build-indep targets explaining why
     this split does not currently work as desired.  (Closes: #328951)
   * Avoid "Debianised" or "Debianized" in favor of just "Debian" or
     "Debian package" as appropriate.  Patch from Ben Finney.
     (Closes: #586163)
   * Switch to source format 3.0 (native).
 e7274274bed3b8357edf0416fc56bea8c5fbda38 1204 debian-policy_3.9.0.0.dsc
 68440fc20a2694999ebcd0f8ee892830834214a1 685524 debian-policy_3.9.0.0.tar.gz
 90b8e568e49a305619fdf678883885da5257472c 1815308 debian-policy_3.9.0.0_all.deb
 66c2d84cf533a44f7222e01c55e4e084367fcd842bf2d2bc4d1db1357e256e9b 1204 debian-policy_3.9.0.0.dsc
 8f9ef5de4718c9a60f3438f26dc611ae4d2100de5390f1f447d9a8c06ec0ce16 685524 debian-policy_3.9.0.0.tar.gz
 1dee7e8fb58f5fbc15521fc0f5dee1205fdb789f168601a968b5d0fef44fed7b 1815308 debian-policy_3.9.0.0_all.deb
 c71beefb49ac4aa69f6b3d04b565c670 1204 doc optional debian-policy_3.9.0.0.dsc
 908ec56efcedec9b0555c98c3394872c 685524 doc optional debian-policy_3.9.0.0.tar.gz
 95f2eb52d65901340719218486882f1a 1815308 doc optional debian-policy_3.9.0.0_all.deb

Version: GnuPG v1.4.10 (GNU/Linux)


--- End Message ---

Reply to: