Your message dated Sat, 17 Mar 2018 16:49:52 +0000
with message-id <e1exf1k-000b2f...@fasolo.debian.org>
and subject line Bug#886943: fixed in telepathy-qt 0.9.7-3
has caused the Debian Bug report #886943,
regarding libtelepathy-qt5-0: 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.)


-- 
886943: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886943
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libtelepathy-qt5-0
Version: 0.9.7-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.2s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/libtelepathy-qt5-0/changelog.Debian.gz 
(libtelepathy-qt5-0:amd64) != 
/usr/share/doc/libtelepathy-qt4-2/changelog.Debian.gz (libtelepathy-qt4-2:amd64)
    /usr/share/doc/libtelepathy-qt5-0 -> libtelepathy-qt4-2
  /usr/share/doc/libtelepathy-qt5-0/changelog.gz (libtelepathy-qt5-0:amd64) != 
/usr/share/doc/libtelepathy-qt4-2/changelog.gz (libtelepathy-qt4-2:amd64)
    /usr/share/doc/libtelepathy-qt5-0 -> libtelepathy-qt4-2
  /usr/share/doc/libtelepathy-qt5-0/copyright (libtelepathy-qt5-0:amd64) != 
/usr/share/doc/libtelepathy-qt4-2/copyright (libtelepathy-qt4-2:amd64)
    /usr/share/doc/libtelepathy-qt5-0 -> libtelepathy-qt4-2


cheers,

Andreas

Attachment: libtelepathy-qt5-0_0.9.7-2.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: telepathy-qt
Source-Version: 0.9.7-3

We believe that the bug you reported is fixed in the latest version of
telepathy-qt, 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 886...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pino Toscano <p...@debian.org> (supplier of updated telepathy-qt 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: Sat, 17 Mar 2018 17:31:40 +0100
Source: telepathy-qt
Binary: libtelepathy-qt5-0 libtelepathy-qt5-farstream0 libtelepathy-qt5-dev
Architecture: source
Version: 0.9.7-3
Distribution: unstable
Urgency: medium
Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Changed-By: Pino Toscano <p...@debian.org>
Description:
 libtelepathy-qt5-0 - Telepathy framework - Qt 5 library
 libtelepathy-qt5-dev - Qt 5 Telepathy library (headers and static library)
 libtelepathy-qt5-farstream0 - Telepathy/Farsight integration - Qt 5 library
Closes: 886943
Changes:
 telepathy-qt (0.9.7-3) unstable; urgency=medium
 .
   * Team upload.
   * Properly handle the switch from symlink to directory for all the doc
     directories: (Closes: #886943)
     - add .maintscript snippets for all the binaries, invoking symlink_to_dir
     - add Pre-Depends: ${misc:Pre-Depends} for libtelepathy-qt5-dev (already
       in other binaries)
   * Switch Vcs-* fields to salsa.debian.org.
   * Bump Standards-Version to 4.1.3, no changes required.
   * Bump the debhelper compatibility to 11:
     - bump the debhelper build dependency to 11~
     - bump compat to 11
   * Switch from dh_install to dh_missing for --fail-missing.
   * Minor touches to copyright: use https for Format, and switch from
     Upstream-Source to Source.
Checksums-Sha1:
 01b6f6eb1b4a0602b38390ff42e2163d5412fa79 2485 telepathy-qt_0.9.7-3.dsc
 747241b300852f2716873f4bf2049c96c0c7c45f 35948 
telepathy-qt_0.9.7-3.debian.tar.xz
 faee4e4adabfd291d488a66f74d028ab84cbac22 11700 
telepathy-qt_0.9.7-3_source.buildinfo
Checksums-Sha256:
 5bf474fd4740326785dedcda34ac9c30295c149086dbc4130ad89a75d7b54d51 2485 
telepathy-qt_0.9.7-3.dsc
 e14948f406d1f00133491bde4e139d712e9b9d97f35445e011efcd8d97c45fdf 35948 
telepathy-qt_0.9.7-3.debian.tar.xz
 1374c90f07e836fd9f02d8a11e854623f52a34a97ef5558f054858af92d6d7a9 11700 
telepathy-qt_0.9.7-3_source.buildinfo
Files:
 fdfaa224f9bfd366dbb5f98e31a5b170 2485 libs optional telepathy-qt_0.9.7-3.dsc
 e68a5821a91a1e62927c97258181391c 35948 libs optional 
telepathy-qt_0.9.7-3.debian.tar.xz
 5d27c75910785cfbb97f1ee9908d4759 11700 libs optional 
telepathy-qt_0.9.7-3_source.buildinfo

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

iQIzBAEBCgAdFiEEXyqfuC+mweEHcAcHLRkciEOxP00FAlqtQxcACgkQLRkciEOx
P003Xw/8CG+3zEnAd2hB3ho/S2tg0pprxwDoVguFTuej/25qK4MujbkDUMXmE9KL
67ZlHNcKlQTP4DYUzXWp/CH2sMO+HCYhIgXBTrA1kcQvQReqlSLFhxOtt38w8W7v
e26vTIm7MvshdFrP0Vr9yW3rJAoyQKRxR54pDLa3cJYrO7BOlBRoQqjH+xwcU0D7
rXQY6HsRZhcQBS7xBQSWeDjhJWq5sRyqBphXAfmetkCecNuqFlUNU6uRE4t8UVyU
W7xs02SbWnav4/SQbJj+XW40Q5ejeu5ie6vzlHhk4XMbl3YmgX3TZR8X0L/p6t+6
DPKXabdJrIomNKyu8YCVqwdh8wGx9zKCOtldncih3GZvVWo9OKjL3qgcUzx3UQf4
HotmnqLApTrF4Q4IjXjqZbgjU6KLWZKaL9IhOC11cb1tAbTawoj1kpnN/coFnd8S
jxKA6r6uutiKv1DhRBoeZ/P319U+l3l+LcDAJ5w4nsfnOvLiDAaIlQnbPYhoe8F9
08GlS6BlsAxB7itf0qQLtI0PX6vBWB5QVPRbHOk+UbKLkLI8SXtqsPG4a1be2AIx
FVRlkDL7D4eJ7uwzj9TB0NgBnK85dAj+gqpK4H72NvEo9d8l9ZWty7hM/YGffb4/
y69fkftK3+nhcvk2ZCe3JKEkbjYHzZQVSNZv6GONBgEJE3Sw0WU=
=ACVh
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras

Reply via email to