Your message dated Sun, 28 Oct 2018 00:49:01 +0000
with message-id <e1ggzgh-0009la...@fasolo.debian.org>
and subject line Bug#905191: fixed in gmp-ecm 7.0.4+ds-5
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 ow...@bugs.debian.org
immediately.)


-- 
905191: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905191
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libecm1-dev
Version: 7.0.4+ds-2
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 -> 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

Attachment: 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-5

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

Debian distribution maintenance software
pp.
Jerome Benoit <calcu...@rezozer.net> (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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Sun, 28 Oct 2018 00:31:09 +0000
Source: gmp-ecm
Binary: gmp-ecm libecm1 libecm1-dev libecm1-dev-common libecm-dev
Architecture: source
Version: 7.0.4+ds-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Jerome Benoit <calcu...@rezozer.net>
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-5) unstable; urgency=medium
 .
   * Serious Bug fix release (Closes: #905191), correct typo in extension;
     thanks to Andreas Beckmann <a...@debian.org> for spotting it.
Checksums-Sha1:
 b2f39aaea0649654b4d7b8cdb6e944bd33e8a510 2991 gmp-ecm_7.0.4+ds-5.dsc
 f3c73a5527551a387db36c8806044ab48f423fd7 10784 gmp-ecm_7.0.4+ds-5.debian.tar.xz
 787d07f5ab06c1fa957d0880dc61336fb877da63 6548 
gmp-ecm_7.0.4+ds-5_source.buildinfo
Checksums-Sha256:
 2aebe1bab2e9e3ed2538fe68922c078b3cc8ffd2cc26e2d69111a3d84d224dd5 2991 
gmp-ecm_7.0.4+ds-5.dsc
 ea1cc72e90dc89996de76ba3a90f6a30cc6b4dc4ceb0d8b7afe3590e75ae63a3 10784 
gmp-ecm_7.0.4+ds-5.debian.tar.xz
 4f340bab29320713ca24a60fd081351b85460d0108f02fd4759f61ecae3b0eb4 6548 
gmp-ecm_7.0.4+ds-5_source.buildinfo
Files:
 b64a443df71b7f23111402eb15f1f2dd 2991 math optional gmp-ecm_7.0.4+ds-5.dsc
 5e1737cf31f0ee43c696ea47915f9f4a 10784 math optional 
gmp-ecm_7.0.4+ds-5.debian.tar.xz
 9080c0e26fe8fa7ebc55f92b054f2348 6548 math optional 
gmp-ecm_7.0.4+ds-5_source.buildinfo

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

iQRJBAEBCgAzFiEEriiuFXEN/x2H5adiP5IZpn82xosFAlvVA/gVHGNhbGN1bHVz
QHJlem96ZXIubmV0AAoJED+SGaZ/NsaLVbEf/1zaN/EkFWbTxYLt/fluZ1lTKFTs
hJEoEtnvkk8oIqESZv9Q0KQGpoGhTxGyofuJaZ+LN0ArBqdQugz2d+QuKrN+qvhb
ZDc1iPXl2RLXg6tns8nJ5gM8Uv7usxeVOOS9JndmYMHaTaP69ph4AIFH25wBKjSy
UMktoZouYh3XQKrZ9ROhmdl+fTymB3TA/itkrYbK30vDpopOhZX5hSkkIYFR8DOy
JWZH0607GvQWAWLhMywhY4UPsonTfrva4R/ixN6GRsym9spGQtk1/2B+MHisvxHU
m15324IaEv/hRhMpbl0fGC8mvBfcKEDX3JHLyXFTL1fo0InCvn7ZFrKFmMhBlWY+
bQkgw5fVV/08eAtDqQAljP8h1OoxZeIQUJDFwOWZgIZOB2ZY0wGw2qHO1v+jWVXj
hsanlGeMy9xfcHhEHMW4r/35tRqaVAwm/m6wSYQCey7/FgpX0QU5+CV/ui/1weQk
gtJZr3kN1FTI+ZetMdoiZQexQXlg7JYacarRkMVvrgy8WI+WviqQKIHCitx7XrM2
AQqJS5j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