Your message dated Fri, 03 Aug 2018 10:04:13 +0000
with message-id <[email protected]>
and subject line Bug#905191: fixed in gmp-ecm 7.0.4+ds-3
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

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-3

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: Fri, 03 Aug 2018 06:30:09 +0000
Source: gmp-ecm
Binary: gmp-ecm libecm1 libecm1-dev libecm1-dev-common libecm-dev
Architecture: source
Version: 7.0.4+ds-3
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-3) unstable; urgency=medium
 .
   * Serious Bug fix release (Closes: #905191), add missing
     'Pre-Depends: ${misc:Pre-Depends}'.
   * Debianization:
     - debian/control:
       - Pre-Depends fields, add (see zeroth point);
       - Vcs-* fields, migration to Salsa;
       - Standards Version, bump to 4.2.0 (no change);
     - debian/rules:
       - get-orig-source target, discrard.
Checksums-Sha1:
 6d613a7810020c44a07c239f8c67a74aadc38c30 2991 gmp-ecm_7.0.4+ds-3.dsc
 fd61c34e243187cb88f9126d95a3d715a813f48d 10700 gmp-ecm_7.0.4+ds-3.debian.tar.xz
 8395d880e531c6090db674c3b9ff01a4c2c1cfd8 6582 
gmp-ecm_7.0.4+ds-3_source.buildinfo
Checksums-Sha256:
 1107e55a9a89b17a3f6b8a9fc3d67528f01e3a2f18f6625ecc74f74a5edd5b7b 2991 
gmp-ecm_7.0.4+ds-3.dsc
 581b5b20013be37987c1127eb3a2047161b7ce29ba52239f9065eb0d1d0361d6 10700 
gmp-ecm_7.0.4+ds-3.debian.tar.xz
 b995ef66228b9d27e47d6454f029284c60e6fdeaff11b09ab587990d1a24cb34 6582 
gmp-ecm_7.0.4+ds-3_source.buildinfo
Files:
 b3377c0886b0c01365a192a1317dc054 2991 math optional gmp-ecm_7.0.4+ds-3.dsc
 e996a5ef2c78a6880597e0d528979abc 10700 math optional 
gmp-ecm_7.0.4+ds-3.debian.tar.xz
 a1aa7c3eb91f66c507caf385d6a70570 6582 math optional 
gmp-ecm_7.0.4+ds-3_source.buildinfo

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

iQRJBAEBCgAzFiEEriiuFXEN/x2H5adiP5IZpn82xosFAltkJG8VHGNhbGN1bHVz
QHJlem96ZXIubmV0AAoJED+SGaZ/NsaLaEMgAMwietjh6C1T8v955gLbY7/EDlVi
q65qO1IIHX0mdk//Ms0Zrsk7q/zhRiDjBqUfHZ8aVZHcKxZT/g3wTi6fVQUow9r3
cjy0IWCvGRePLITNghnP9SzElKLgYXfdz/i+/4v9xM3n7h76FHe1O6Tapm7n11C+
Ph1rfXIKwKrdv0jeRUtfIbs/4NBFE010bcEkMsII7UULd+EEzl8vC7xdgafhyhgu
GQk1OGnKakj3Bms0ktaKfk/qbVxCUObGEYam5ctPxTslbnsPwY534K8P1X8Ntjtc
yyCWrOlhOX2ohguaYKBFQbFEFmLk8AxhnP7J5Dri53ldqiRqO/qxxw61uUqKZ2i0
7j4zLkxL5CIuu0zzAjDT8kjUOjIIMxW7yhSig33NbDJeFOUiqZAVuO/qmtrePmdW
n0tQ6qejeGm5H4G6jAeBtiJJS9A37hGHnAjivOHvarviW3cN1NloaISKsjtmskjT
ITL3I0qt7k2TVU1wyp+xfxFHn4rzszByJkT9DgH1ZgKh7eNEoiEWhpXPzWTIR/+z
rNVpnrJuNWWEZF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