Your message dated Mon, 22 Oct 2018 13:50:36 +0000
with message-id <[email protected]>
and subject line Bug#905191: fixed in gmp-ecm 7.0.4+ds-4
has caused the Debian Bug report #905191,
regarding libecm1-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 [email protected]
immediately.)
--
905191: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905191
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libecm1-dev
Version: 7.0.4+ds-2
Severity: serious
User: [email protected]
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 -> buster
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/#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/#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.
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 (scroll to the bottom...):
0m29.3s ERROR: FAIL: silently overwrites files via directory symlinks:
/usr/share/doc/libecm1-dev/AUTHORS (libecm1-dev:amd64) !=
/usr/share/doc/libecm1-dev-common/AUTHORS (?)
/usr/share/doc/libecm1-dev -> libecm1-dev-common
/usr/share/doc/libecm1-dev/NEWS.gz (libecm1-dev:amd64) !=
/usr/share/doc/libecm1-dev-common/NEWS.gz (?)
/usr/share/doc/libecm1-dev -> libecm1-dev-common
/usr/share/doc/libecm1-dev/README.gz (libecm1-dev:amd64) !=
/usr/share/doc/libecm1-dev-common/README.gz (?)
/usr/share/doc/libecm1-dev -> libecm1-dev-common
/usr/share/doc/libecm1-dev/README.lib.gz (libecm1-dev:amd64) !=
/usr/share/doc/libecm1-dev-common/README.lib.gz (?)
/usr/share/doc/libecm1-dev -> libecm1-dev-common
/usr/share/doc/libecm1-dev/changelog.Debian.gz (libecm1-dev:amd64) !=
/usr/share/doc/libecm1-dev-common/changelog.Debian.gz (libecm1-dev-common)
/usr/share/doc/libecm1-dev -> libecm1-dev-common
/usr/share/doc/libecm1-dev/changelog.gz (libecm1-dev:amd64) !=
/usr/share/doc/libecm1-dev-common/changelog.gz (libecm1-dev-common)
/usr/share/doc/libecm1-dev -> libecm1-dev-common
/usr/share/doc/libecm1-dev/copyright (libecm1-dev:amd64) !=
/usr/share/doc/libecm1-dev-common/copyright (libecm1-dev-common)
/usr/share/doc/libecm1-dev -> libecm1-dev-common
/usr/share/doc/libecm1-dev/examples (libecm1-dev:amd64) !=
/usr/share/doc/libecm1-dev-common/examples (?)
/usr/share/doc/libecm1-dev -> libecm1-dev-common
/usr/share/doc/libecm1-dev/examples/Makefile (libecm1-dev:amd64) !=
/usr/share/doc/libecm1-dev-common/examples/Makefile (?)
/usr/share/doc/libecm1-dev -> libecm1-dev-common
/usr/share/doc/libecm1-dev/examples/ecmfactor.c (libecm1-dev:amd64) !=
/usr/share/doc/libecm1-dev-common/examples/ecmfactor.c (?)
/usr/share/doc/libecm1-dev -> libecm1-dev-common
cheers,
Andreas
libecm1-dev_7.0.4+ds-2.log.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---
Source: gmp-ecm
Source-Version: 7.0.4+ds-4
We believe that the bug you reported is fixed in the latest version of
gmp-ecm, 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.
Jerome Benoit <[email protected]> (supplier of updated gmp-ecm 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: SHA512
Format: 1.8
Date: Mon, 22 Oct 2018 12:54:08 +0000
Source: gmp-ecm
Binary: gmp-ecm libecm1 libecm1-dev libecm1-dev-common libecm-dev
Architecture: source
Version: 7.0.4+ds-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers
<[email protected]>
Changed-By: Jerome Benoit <[email protected]>
Description:
gmp-ecm - Factor integers using the Elliptic Curve Method
libecm-dev - dummy package
libecm1 - factor integers using the Elliptic Curve Method -- lib
libecm1-dev - factor integers using the Elliptic Curve Method -- libdev
libecm1-dev-common - factor integers using the Elliptic Curve Method -- header
Closes: 905191
Changes:
gmp-ecm (7.0.4+ds-4) unstable; urgency=medium
.
* Serious Bug fix release (Closes: #905191), correct typo in
maintscript; thanks to Tobias Hansen <[email protected]> for
spotting it.
* Debianization:
- debian/control:
- Standards Version, bump to 4.2.1 (no change).
Checksums-Sha1:
233a0cac8fe25cccf92c56698b0d385cbcfa619d 2991 gmp-ecm_7.0.4+ds-4.dsc
09b945a6c6af57f156a0e8b9aa9d7299c6d9bcca 10764 gmp-ecm_7.0.4+ds-4.debian.tar.xz
b3c8bcc00ee4a0f473f18d00912d8e023fd8665d 6549
gmp-ecm_7.0.4+ds-4_source.buildinfo
Checksums-Sha256:
175717c035759da50a4eda0f64dbdae263632a9fe5b055986a5219f1965b75d2 2991
gmp-ecm_7.0.4+ds-4.dsc
b2461736241b5ca64f994262bc067d84cd221309c6b58402f661fa5984d29a73 10764
gmp-ecm_7.0.4+ds-4.debian.tar.xz
83b0795396518727c6ccf0a7ae8c3185be82b27bf5491079e0e48c9cb4899cc6 6549
gmp-ecm_7.0.4+ds-4_source.buildinfo
Files:
06a323de4ee4ffb6fd8e6404bc18300f 2991 math optional gmp-ecm_7.0.4+ds-4.dsc
5b0b4a5eebf9bb969c79cdea8ec46367 10764 math optional
gmp-ecm_7.0.4+ds-4.debian.tar.xz
2377d679fb4ba8fce170049dfb29f03d 6549 math optional
gmp-ecm_7.0.4+ds-4_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQRJBAEBCgAzFiEEriiuFXEN/x2H5adiP5IZpn82xosFAlvN0bYVHGNhbGN1bHVz
QHJlem96ZXIubmV0AAoJED+SGaZ/NsaLxrMgAJLOFKoK8EifOWrZdxNTdd917gjn
m8/O/7WPXOLGsipOavnKTsbz8StqTX3GIDpGiGFpwl1Nm9EpmPv4yx/Majx1eOn5
YjIZ2N9qm34tDoIzKhZ9JcORT0OyB/gLAJSlglpFhlOFLxcO1ZPGUuJ9dLvzHPNS
xLX6gHrhyRn0myeaApexrqUu/+dMDElj8RIyrDDqmb68WpWZSxZpJdkOags6oVTT
4+PlrQ+IsGngI0EN1zeUGy6EF3ID4yUrtGmOW9gg8scH8cMHBGobEzrZApber6b3
2ah0p/rdeT4/1yZ9aU/1GtTax3SWkufZrp1I/IvL8zBntqn2n+RccHSvzn5HoTzI
/ARJ7JHMHHW4AUr3kNqojpakXdqD6DX8XXRCqfA/pPfsXZRnRvXG6hAfDpx/FZ5Z
yRDatBAo3xMwe+uSmCVRacjkLV92YbWgBH+5g0Z7MLa56OdpPTXZsQ9QxmWEl4Xb
p3gZUp/d3uQH1dWySkYvAFrDSvc7PzVeF6ATyne9rF0ySH4MpFVjuHgGrOC2x5SW
Q6Jj72cVA/AGEYshFUdAD5ww6ZxhPF+qmxLQwKse/ZlJNDdLDI7txYyOmL0+nXvq
jl+1RnrTFuXtpLXbRsNWzEVwJRWKEDh8N72ZjXd5N/wmIw86SS1SH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