Your message dated Wed, 19 Jun 2019 17:34:24 +0000
with message-id <[email protected]>
and subject line Bug#522827: fixed in perl 5.30.0-2
has caused the Debian Bug report #522827,
regarding perl: policy violation with the current /usr/share/doc symlinks
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.)


-- 
522827: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=522827
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: perl
Version: 5.10.0-19
Severity: important

As revealed by lintian, shipping /usr/share/doc/perl/copyright
in perl-base and symlinking /usr/share/doc/perl-base -> perl
is a policy violation. Quoting the policy:

 http://www.debian.org/doc/debian-policy/ch-docs.html#s-copyrightfile

  Every package must be accompanied by a verbatim copy
  of its copyright and distribution license in the file
  /usr/share/doc/package/copyright. This file must neither be compressed
  nor be a symbolic link.
  [...]
  /usr/share/doc/package may be a symbolic link to another directory in
  /usr/share/doc only if the two packages both come from the same source
  and the first package Depends on the second. These rules are important
  because copyrights must be extractable by mechanical means.

 http://www.debian.org/doc/debian-policy/ch-docs.html#s-changelogs

  Packages that are not Debian-native must contain a compressed
  copy of the debian/changelog file from the Debian source tree in
  /usr/share/doc/package with the name changelog.Debian.gz.

Is there a historical reason for the current setup or is it just cosmetics?
It's not causing any problems AFAIK, but I suppose we can't just ignore policy
here.

For reference, the current state is broadly

perl-base    /usr/share/doc/perl-base -> perl
perl-base    /usr/share/doc/perl/copyright
perl-base    /usr/share/doc/perl/changelog.Debian.gz
perl-base    /usr/share/doc/perl/Documentation (and others in perl/)
perl-modules /usr/share/doc/perl-modules -> perl
perl         /usr/share/doc/perl/Changes.gz (and others in perl/)
perl-doc     /usr/share/doc/perl-doc -> perl
perl-doc     /usr/share/doc/perl/Changes5.000.gz (and others in perl/)

giving justified lintian errors

E: perl-base: usr-share-doc-symlink-without-dependency perl
E: perl: no-copyright-file
E: perl: debian-changelog-file-missing-or-wrong-name

The best fix I can see is something like

perl-base    /usr/share/doc/perl-base/copyright
perl-base    /usr/share/doc/perl-base/changelog.Debian.gz
perl-base    /usr/share/doc/perl/Documentation (and others in perl/)
perl         /usr/share/doc/perl/copyright
perl         /usr/share/doc/perl/changelog.Debian.gz
perl         /usr/share/doc/perl/Changes.gz (and others in perl/)
perl-modules /usr/share/doc/perl-modules -> perl
perl-doc     /usr/share/doc/perl-doc -> perl
perl-doc     /usr/share/doc/perl/Changes5.000.gz (and others in perl/)

which would duplicate the copyright information and changelog.Debian.gz
between perl and perl-base.

Possibly, changelog.Debian.gz (but not copyright, as per the policy
snippet above) could even be symlinked from perl to perl-base if we can
rule out any possibility of a symlink loop with partial upgrades. The
35 kilobytes that Emdebian will strip anyway may not be worth the
complication.

The new perl package would need a
 Replaces: perl-base (<= 5.10.0-19)
but I can't see any other obvious upgrade gotchas. 

More eyeballs are certainly be welcome.
-- 
Niko Tyni   [email protected]



--- End Message ---
--- Begin Message ---
Source: perl
Source-Version: 5.30.0-2

We believe that the bug you reported is fixed in the latest version of
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.
Niko Tyni <[email protected]> (supplier of updated 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: SHA256

Format: 1.8
Date: Wed, 19 Jun 2019 18:10:54 +0300
Source: perl
Architecture: source
Version: 5.30.0-2
Distribution: experimental
Urgency: medium
Maintainer: Niko Tyni <[email protected]>
Changed-By: Niko Tyni <[email protected]>
Closes: 522827 930073
Changes:
 perl (5.30.0-2) experimental; urgency=medium
 .
   * The Debian Perl Sprint 2019 release.
 .
   [ Niko Tyni ]
   * Switch to git-debrebase for managing debian/patches.
   * Switch to debhelper for building the package.
     + Fix nonstandard /usr/share/doc symlinks. (Closes: #522827)
   * Verify Configure regeneration in an autopkgtest check.
     (Closes: #930073)
   * Update cross build support files with 5.30.0-1 information.
 .
   [ Dominic Hargreaves ]
   * Document git-debrebase
   * Remove redundant Patch-Name headers from commits
   * Add salsa-ci.yml
Checksums-Sha1:
 6bf3a25ea96f2dbdcd01f0a62a00d280511d42bd 2872 perl_5.30.0-2.dsc
 bccc143d151cca0b102e3cd677f36bcd9faf8b8c 160140 perl_5.30.0-2.debian.tar.xz
 8bd1085b0d54e7469f41862e9840056e32764817 6279 perl_5.30.0-2_source.buildinfo
Checksums-Sha256:
 de351307a9f0db8d5b40269adb18b81f0377c410e445f0aa2218d386e023e9ac 2872 
perl_5.30.0-2.dsc
 d046e755e753b24031e943f1ed5b95a978fa63b13365d2d2cb0488b2bef627e0 160140 
perl_5.30.0-2.debian.tar.xz
 c9cc5fd4036a60c98d7aebfeae9b07c303c08affa64528559745fb91335b98ab 6279 
perl_5.30.0-2_source.buildinfo
Files:
 d9a0da38cb95d5f942594a580ed98e80 2872 perl standard perl_5.30.0-2.dsc
 8838fb43a6ce036e9f779ebd1bcadd51 160140 perl standard 
perl_5.30.0-2.debian.tar.xz
 42968fa693e3a041e48f342f4cbdc070 6279 perl standard 
perl_5.30.0-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCAAvFiEEdqKOQsmBHZHoj7peLsD/s7cwGx8FAl0KWAkRHG50eW5pQGRl
Ymlhbi5vcmcACgkQLsD/s7cwGx8MXQ/+O2yVQSF7ku+IVy52U7g3AOgRn5kbG3ld
10J45/Dqv42w6p7uSb10NmX9f5URorrPlJnqMV5GgnLC3zfrlbXRcvLkBNPOTBdl
KVkPJviOnTNDM3yUhotSCK1wPrIi0BqlUKVPe1zZ86/dAswwwrBLNCfPP7ozhTQ3
vCq9qbdD7cJ464BnFIj9QalOzxA8Of+Ebfcac4XFu6nZwe54dVHPYOkPSnIVaJxN
2IzOpNmrZ3b61GywunI5YWj+hkcNrsu+V0Rn9FlAGlzRrgTWWAzWCf42ZXqul9TC
piC02LYQP3wS9InfyVHuakFzE1pjzrrJNC7t21tavhRoJyTVNdUgK+iBeE5xXM1t
0b89gMKMfEIwo1YgfSzWpa5FvqSXe84ZUXgHZXmx6p/4fa38DFP8/tJJEPv4DK1R
sKOJkNEybKbDMzMyqpSPH3jhcWlhcYl9kJCH9HlZU0MwTwjMsYrao/GE8K4hXaBr
ta/OQHAhmnFibNjXLNkP4enBt8egt1GPSFhFPEbJHyoNuY3OR5QtdH1wwEc2qpnK
kSoWBk8tSBySiDwvIiFHxQtGUUtOqy7O+tjQI5Bm95nbXFvbQy4uiTQiJde1Aa/X
ozDDZ84W0dLRxDgY56Dm7AwV4PrhyPa4FkV9ldff7cdprpzGR6Lq/wT7YBB5MUlD
N5dndiFK2BE=
=afdX
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to