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

Bug#788455: marked as done (libppl-dev: unhandled symlink to directory conversion: /usr/share/doc/PACKAGE)



Your message dated Wed, 26 Aug 2015 10:27:41 +0000
with message-id <E1ZUXvh-0002dj-UZ@franck.debian.org>
and subject line Bug#788455: fixed in ppl 1:1.1-6
has caused the Debian Bug report #788455,
regarding libppl-dev: 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 owner@bugs.debian.org
immediately.)


-- 
788455: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788455
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libppl-dev
Version: 1:1.1-4
Severity: serious
User: debian-qa@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:

  lenny -> squeeze -> wheezy -> jessie -> stretch

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#s-copyrightfile

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#s-unpackphase

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.mainstscript.
Do not forget to add 'Pre-Depends: ${misc:Pre-Depends}' in d/control.
See dpkg-maintscript-helper(1) and dh_installdeb(1) for details.


>From the attached log (usually somewhere in the middle...):

14m25.2s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/libppl-dev/BUGS (libppl-dev:amd64) != /usr/share/doc/libppl6/BUGS (libppl6)
    /usr/share/doc/libppl-dev -> libppl6
  /usr/share/doc/libppl-dev/CREDITS.gz (libppl-dev:amd64) != /usr/share/doc/libppl6/CREDITS.gz (libppl6)
    /usr/share/doc/libppl-dev -> libppl6
  /usr/share/doc/libppl-dev/NEWS.gz (libppl-dev:amd64) != /usr/share/doc/libppl6/NEWS.gz (libppl6)
    /usr/share/doc/libppl-dev -> libppl6
  /usr/share/doc/libppl-dev/README.gz (libppl-dev:amd64) != /usr/share/doc/libppl6/README.gz (libppl6)
    /usr/share/doc/libppl-dev -> libppl6
  /usr/share/doc/libppl-dev/changelog.Debian.gz (libppl-dev:amd64) != /usr/share/doc/libppl6/changelog.Debian.gz (libppl6)
    /usr/share/doc/libppl-dev -> libppl6
  /usr/share/doc/libppl-dev/changelog.gz (libppl-dev:amd64) != /usr/share/doc/libppl6/changelog.gz (libppl6)
    /usr/share/doc/libppl-dev -> libppl6
  /usr/share/doc/libppl-dev/copyright (libppl-dev:amd64) != /usr/share/doc/libppl6/copyright (libppl6)
    /usr/share/doc/libppl-dev -> libppl6


cheers,

Andreas

Attachment: libppl-dev_1:1.1-4.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: ppl
Source-Version: 1:1.1-6

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 788455@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Tautschnig <mt@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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 25 Aug 2015 21:24:30 +0100
Source: ppl
Binary: libppl13 libppl-dev ppl-dev libppl-c4 libppl-doc libppl-swi
Architecture: source i386 all
Version: 1:1.1-6
Distribution: unstable
Urgency: low
Maintainer: Michael Tautschnig <mt@debian.org>
Changed-By: Michael Tautschnig <mt@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)
 libppl13   - Parma Polyhedra Library (runtime library)
 ppl-dev    - Parma Polyhedra Library (development binaries)
Closes: 788455 791996
Changes:
 ppl (1:1.1-6) unstable; urgency=low
 .
   * Re-adopting the package. Closes: #791996.
   * libppl-dev.maintscript: Perform the symlink_to_dir migration of
     /usr/share/doc/libppl-dev. The symlink dates back to the package in lenny
     as the libppl-dev package did not exist in squeeze or wheezy.
     Closes: #788455.
   * libppl-dev: Update Breaks+Conflicts to match Replaces+Provides.
   * Thanks Andreas Beckmann <anbe@debian.org> for those two patches.
Checksums-Sha1:
 654d241ab9d616699d4dc843db0e1a672cba7d83 2137 ppl_1.1-6.dsc
 94e3be072b3cde5d53dad5a5cdc598984bd8e927 11068 ppl_1.1-6.debian.tar.xz
 ad648eaf3d079e6c20469021010b2140263845e0 6647470 libppl-doc_1.1-6_all.deb
Checksums-Sha256:
 5315412f07d9bac86b3b4bb723ed17d9ec3e075a25a3abb9891c41f8b7e67eca 2137 ppl_1.1-6.dsc
 5fc30d6f179f5425ad14465ed60ecfd2fee92b74f3a2e409474063ab53e02d2a 11068 ppl_1.1-6.debian.tar.xz
 26d36a97b4304e3abd2fba0540d85dcb12998af54a4a78eed52ddfe3e39c69a8 6647470 libppl-doc_1.1-6_all.deb
Files:
 a3656220bcb99cb723e8513358f99735 2137 libs optional ppl_1.1-6.dsc
 a87ef86a8c2525c7bd5b00b8572a782e 11068 libs optional ppl_1.1-6.debian.tar.xz
 d9a9da1175eaaa2a4d12b4d8e0fe2fca 6647470 doc optional libppl-doc_1.1-6_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJV3WWyAAoJEDu/g5M27KkxZNgQAKjQ1Yir/ooxspDsxssza2vT
kL0ToPLzqP+qTbfb2j2c6jQ9gBHTmNBnLwQOkrcuvLPO9TFiBY1P2Bd4Dp/eTp4A
CSoWG5zDcfzUSIS1ImPm2/3HVpaiPbxzbKBjsUUqQ8rpk2TGOdLFNhACcMkHRUqT
uwiv/FzmgC2cGJLZr6eEoP0m1Ye62CQtiSNiXscoPib5jRYZ4ylAyYzvjwWN/ZtN
TenNQfitFLUWBYYSxXUJ3OfBadmSiPCHs3ovFQgOWJd8cY2d5UfaIrxkfQULogRv
gnsWe785ng8tBeFMw8/8Dm5Z8z/O3bY9WHA4M0+JzlTloe4XQSa/dUmkAHyZcQAC
+T+y3HTBBAJO4kVZBZW5RCqudyxHGeG8Zmsqh4ZLgu7xlXcxSMJ/ewyp/gb2KxHS
iCmhD3OFXZhVdf98EN5KvJhhQTUT56TzG/RykqOK8eZGHw4E76CkKCNr61c/5NWl
dCO6OkJ0KUHMhGcDZ/vR10fqJZEdPLSdWN1TLCUAsCypuLsvZ8+L8mlG5xx+6UNM
4eBEPibzhXO6OS9OuaX/nhnLrbKrtZfJZ3Z3cT6w+eLXuLeeCCPxwuBNQKx8ML+e
+ufwnKzybsV+Yw86anqamh0SlRAjT4dzWa19Jcx2Yi/qrTvevpiHD1srxKYA3rtI
SAEGhpKP0y7ek32vbIGm
=fqOG
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: