Your message dated Mon, 01 Apr 2019 06:04:09 +0000
with message-id <e1haq3f-0005mq...@fasolo.debian.org>
and subject line Bug#919438: fixed in libgsm 1.0.18-2
has caused the Debian Bug report #919438,
regarding libgsm1-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.)


-- 
919438: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919438
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libgsm1-dev
Version: 1.0.18-1
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/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.1s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/libgsm1-dev/MACHINES (libgsm1-dev:amd64) != 
/usr/share/doc/libgsm1/MACHINES (libgsm1:amd64)
    /usr/share/doc/libgsm1-dev -> libgsm1
  /usr/share/doc/libgsm1-dev/README (libgsm1-dev:amd64) != 
/usr/share/doc/libgsm1/README (libgsm1:amd64)
    /usr/share/doc/libgsm1-dev -> libgsm1
  /usr/share/doc/libgsm1-dev/changelog.Debian.gz (libgsm1-dev:amd64) != 
/usr/share/doc/libgsm1/changelog.Debian.gz (libgsm1:amd64)
    /usr/share/doc/libgsm1-dev -> libgsm1
  /usr/share/doc/libgsm1-dev/changelog.gz (libgsm1-dev:amd64) != 
/usr/share/doc/libgsm1/changelog.gz (libgsm1:amd64)
    /usr/share/doc/libgsm1-dev -> libgsm1
  /usr/share/doc/libgsm1-dev/copyright (libgsm1-dev:amd64) != 
/usr/share/doc/libgsm1/copyright (libgsm1:amd64)
    /usr/share/doc/libgsm1-dev -> libgsm1


cheers,

Andreas

Attachment: libgsm1-dev_1.0.18-1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: libgsm
Source-Version: 1.0.18-2

We believe that the bug you reported is fixed in the latest version of
libgsm, 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.
Felix Lechner <felix.lech...@lease-up.com> (supplier of updated libgsm 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: SHA256

Format: 1.8
Date: Sun, 31 Mar 2019 19:13:42 -0700
Source: libgsm
Architecture: source
Version: 1.0.18-2
Distribution: unstable
Urgency: medium
Maintainer: Felix Lechner <felix.lech...@lease-up.com>
Changed-By: Felix Lechner <felix.lech...@lease-up.com>
Closes: 919438
Changes:
 libgsm (1.0.18-2) unstable; urgency=medium
 .
   [ gregor herrmann ]
   * Fix "unhandled symlink to directory conversion:
     /usr/share/doc/PACKAGE":
     add libgsm1-dev.maintscript for the symlink_to_dir transition.
     (Closes: #919438)
Checksums-Sha1:
 1584662d3029bef1171feb8d2babf90e57da9ae9 1831 libgsm_1.0.18-2.dsc
 7def10319a7c782701759c7db1827ff35c7fc26d 10276 libgsm_1.0.18-2.debian.tar.xz
Checksums-Sha256:
 8b189db3805aaaf49073971af2e1a0dad13fdd0efd6b60c0aae687f78fd76a0a 1831 
libgsm_1.0.18-2.dsc
 3655a18243e6e3d5706dd069347919c26edd3387d63ecf728fc6ecb242b36b43 10276 
libgsm_1.0.18-2.debian.tar.xz
Files:
 3c5e6a7cee069c316af700049981e6be 1831 libs optional libgsm_1.0.18-2.dsc
 36b3168a6e7ebc311e3af5fb3d8ba5c7 10276 libs optional 
libgsm_1.0.18-2.debian.tar.xz

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

iQJDBAEBCAAtFiEEZaEt9P4xrWusTXauM1X01jtYIcwFAlyhpVgPHGJhcnRtQGtu
YXJzLmJlAAoJEDNV9NY7WCHMAFQP/RA4kHxkGhBsup9w7ZUKz4gl2BxelhoGUjFV
SAkt9VtHHYkyU3EPLkapNWWS+sye2sGW70bLiElrnCbqsSPLo59/kScOmJdpVytC
OB+rYare3exzc71eRX3TGX5/i21vToOgeDNiglF779jVQV/MNapchHMa+2xW8rj9
S9vZ6xsB0dv/fS/8kdw/mesJkho87PU2c6l2DIe884/teY6/LneWr3toqlXmIcgR
XQAL2afz8MgIoyHu+QRwtuV4G4KmlcmKdraqHYnokUzc8yyUeqL/Vse1O5g9bw+X
MALY3QxDI3r13HmdVpsNvTWN/AY6HacDXJbSSXhVwGfaRXH1kchs8VQ8z/e0OMrR
nOvAIbl8TH4VmVvjbBNIlJwQBcHjgzzdTxV2mmSh12bP0gB3ODYa+vO9wYvObxPt
/UrOeM9JJnIHb1Hi4DStBFS4y23ho1Yukfcu2xUpFXh6aV7ZrZ6ohfTujcweJeWL
5pTmLI9zUmNUofDPgeqp8Pure8dHypyjEHwhSMGQWrqgiNNxx0Yv5kpxC//Jm6bF
vWrA88x21j6OzHltWtNwNsH4IAHiRUkF+eGHzfdol9ee28qdjlrPJVrSgE1yQhbf
p/Ka2fRhva78g3+mOBndH0Gd2jriMA3u+qVCIvxC0QRaQ9JvQc42nZ8vJ1OaGhBt
Bka+pyoX
=4Iw9
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to