Your message dated Sun, 20 Jan 2019 18:05:24 +0000
with message-id <e1glhti-00082v...@fasolo.debian.org>
and subject line Bug#919899: fixed in ppl 1:1.2-7
has caused the Debian Bug report #919899,
regarding libppl-{c4,swi}: unhandled symlink to directory conversion: 
/usr/share/doc/PACKAGE
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 ow...@bugs.debian.org
immediately.)


-- 
919899: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919899
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libppl-c4,libppl-swi
Version: 1:1.2-5
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

an upgrade test with piuparts revealed that your package installs files
over existing symlinks and possibly overwrites files owned by other
packages. This usually means an old version of the package shipped a
symlink but that was later replaced by a real (and non-empty)
directory. This kind of overwriting another package's files cannot be
detected by dpkg.

This was observed on the following upgrade paths:

  stretch -> sid

For /usr/share/doc/PACKAGE this may not be problematic as long as both
packages are installed, ship byte-for-byte identical files and are
upgraded in lockstep. But once one of the involved packages gets
removed, the other one will lose its documentation files, too,
including the copyright file, which is a violation of Policy 12.5:
https://www.debian.org/doc/debian-policy/ch-docs.html#copyright-information

For other overwritten locations anything interesting may happen.

Note that dpkg intentionally does not replace directories with symlinks
and vice versa, you need the maintainer scripts to do this.
See in particular the end of point 4 in
https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#details-of-unpack-phase-of-installation-or-upgrade

It is recommended to use the dpkg-maintscript-helper commands
'dir_to_symlink' and 'symlink_to_dir' (available since dpkg 1.17.14)
to perform the conversion, ideally using d/$PACKAGE.maintscript.
See dpkg-maintscript-helper(1) and dh_installdeb(1) for details.


>From the attached log (scroll to the bottom...):

0m26.3s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/libppl-c4/changelog.Debian.gz (libppl-c4:amd64) != 
/usr/share/doc/libppl14/changelog.Debian.gz (libppl14:amd64)
    /usr/share/doc/libppl-c4 -> libppl14
  /usr/share/doc/libppl-c4/changelog.gz (libppl-c4:amd64) != 
/usr/share/doc/libppl14/changelog.gz (libppl14:amd64)
    /usr/share/doc/libppl-c4 -> libppl14
  /usr/share/doc/libppl-c4/copyright (libppl-c4:amd64) != 
/usr/share/doc/libppl14/copyright (libppl14:amd64)
    /usr/share/doc/libppl-c4 -> libppl14

0m39.7s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/libppl-swi/changelog.Debian.gz (libppl-swi:amd64) != 
/usr/share/doc/libppl14/changelog.Debian.gz (libppl14:amd64)
    /usr/share/doc/libppl-swi -> libppl14
  /usr/share/doc/libppl-swi/changelog.gz (libppl-swi:amd64) != 
/usr/share/doc/libppl14/changelog.gz (libppl14:amd64)
    /usr/share/doc/libppl-swi -> libppl14
  /usr/share/doc/libppl-swi/copyright (libppl-swi:amd64) != 
/usr/share/doc/libppl14/copyright (libppl14:amd64)
    /usr/share/doc/libppl-swi -> libppl14


cheers,

Andreas

Attachment: libppl-c4_1:1.2-5.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: ppl
Source-Version: 1:1.2-7

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

Debian distribution maintenance software
pp.
James Clarke <jrt...@debian.org> (supplier of updated ppl 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 20 Jan 2019 16:48:25 +0000
Source: ppl
Binary: libppl14 libppl-dev ppl-dev libppl-c4 libppl-doc libppl-swi
Architecture: source
Version: 1:1.2-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Team 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: James Clarke <jrt...@debian.org>
Description:
 libppl-c4  - Parma Polyhedra Library (C interface)
 libppl-dev - Parma Polyhedra Library (development)
 libppl-doc - Parma Polyhedra Library: Documentation
 libppl-swi - Parma Polyhedra Library (SWI Prolog interface)
 libppl14   - Parma Polyhedra Library (runtime library)
 ppl-dev    - Parma Polyhedra Library (development binaries)
Closes: 919899
Changes:
 ppl (1:1.2-7) unstable; urgency=medium
 .
   * Team upload.
   * debian/control: Drop libppl-swi on sh4
   * Perform missing symlink_to_dir conversion for /usr/share/doc/package
     (Closes: #919899)
Checksums-Sha1:
 732c80977bf758c8743842d118bb049b2e867d3b 2573 ppl_1.2-7.dsc
 06cfd13275bfb7f97fdafe8f4eab4994b15c664e 12068 ppl_1.2-7.debian.tar.xz
 526671511188ae2a12dad94c3f4e78ccdad9fa99 12564 ppl_1.2-7_amd64.buildinfo
Checksums-Sha256:
 bab5b0d728d55b48cea3c41013c910e7adc6c1b32e7fba8a694b8ca123b108d3 2573 
ppl_1.2-7.dsc
 11c13875a735f1a764b26c1cd7fa0ee869315ee59e478317577a50c9cfac8d41 12068 
ppl_1.2-7.debian.tar.xz
 d6e7bc1f6fa537601c31b5d77c97398de2fad01ee68375b005ddbea9f43f74d8 12564 
ppl_1.2-7_amd64.buildinfo
Files:
 3ab2638234655042d9c635a0f89e18a0 2573 libs optional ppl_1.2-7.dsc
 5b572a6cedc425c4a9119f46c7a24151 12068 libs optional ppl_1.2-7.debian.tar.xz
 4c852350a21db74e2c2d61ebdfaf1921 12564 libs optional ppl_1.2-7_amd64.buildinfo

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

iQIzBAEBCgAdFiEEj1g0K+q+HvQ3lVH7sZN3DBhqHH0FAlxEtJwACgkQsZN3DBhq
HH1P6xAAmeBDIfOwzEcm+tplebsEiaX/i6vFIILPGTU+rZXcgRvXQuDA3H0KX0Ia
tpD+jc3qSnO8UAPIUfGJqX9tZMtHjUJN8TpQapHd7AlocYzU98ycPdNf4qFQ+i9U
SlVQr/S5hCpnMZmJLEOfA4mwGm+/nXj/tbgXZcHYWPXc/c56qcpBgNFt0MBmZGda
BsmBMha6MzVfqB4DxSfyiD90Iq5oQw9Y9mEregA3+t9o+7qWXEdzlziiwLaYn0cS
PAOkcTMIyP+2d5Rda5x6BuqW6S/w59RR+XVXz+zPgACQ85H29x2wqVUad1/npK9H
iFJe76pz/5TDhTCwr4H+r1P/gg5QjQnIwtsDGf5Lpo2CzCE+iv9FKR4D0BtLWIid
xsuEo/MI41efLV8Jdl2AOTdjqdd5PJodukFaLYZuqvcJD5M0OddBFtq0NY/F59+E
n7rpeR6oM1jRzC8F1lt0U4m5PUAMO07sE0hBiGiLoiA7wWIYMtP/frtxxRzC1KEb
lRat8CQ3y30bCQiZpqJqWm3slHdJZc5E4+XbcVu3VXTsIC+4pTXw0zFPkF5Ku4n2
7fueic1awp9/qmO6ZZ9zCi51Si4t9gdAb0GGMv/MFx2FkZt4xR4/GsAkS6Xi+s1j
KJhA3xyBuko7dXa0f1YeYWqnK+5wM1cktBMBiTV6uVIMCS73BUk=
=AFlF
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to