Your message dated Mon, 19 Jan 2015 19:18:27 +0000
with message-id <e1ydhqf-0002wk...@franck.debian.org>
and subject line Bug#774867: fixed in lirc 0.9.0~pre1-1.2
has caused the Debian Bug report #774867,
regarding lirc-x: 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.)


-- 
774867: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774867
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: lirc-x
Version: 0.9.0~pre1-1.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:

  squeeze -> wheezy -> jessie

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#s-copyrightfile

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#s-unpackphase

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.mainstscript.
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 (usually somewhere in the middle...):

2m28.1s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/lirc-x/NEWS.Debian.gz (lirc-x) != 
/usr/share/doc/lirc/NEWS.Debian.gz (lirc)
    /usr/share/doc/lirc-x -> lirc
  /usr/share/doc/lirc-x/changelog.Debian.gz (lirc-x) != 
/usr/share/doc/lirc/changelog.Debian.gz (lirc)
    /usr/share/doc/lirc-x -> lirc
  /usr/share/doc/lirc-x/copyright (lirc-x) != /usr/share/doc/lirc/copyright 
(lirc)
    /usr/share/doc/lirc-x -> lirc


cheers,

Andreas

Attachment: lirc-x_0.9.0~pre1-1.1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: lirc
Source-Version: 0.9.0~pre1-1.2

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

Debian distribution maintenance software
pp.
gregor herrmann <gre...@debian.org> (supplier of updated lirc 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 Jan 2015 19:51:55 +0100
Source: lirc
Binary: lirc lirc-x liblircclient-dev liblircclient0
Architecture: source
Version: 0.9.0~pre1-1.2
Distribution: unstable
Urgency: medium
Maintainer: lirc Maintainer Team <pkg-lirc-ma...@lists.alioth.debian.org>
Changed-By: gregor herrmann <gre...@debian.org>
Description:
 liblircclient-dev - infra-red remote control support - client library 
development fil
 liblircclient0 - infra-red remote control support - client library
 lirc       - infra-red remote control support
 lirc-x     - infra-red remote control support - X utilities
Closes: 774867
Changes:
 lirc (0.9.0~pre1-1.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Fix "unhandled symlink to directory conversion: /usr/share/doc/PACKAGE":
     - add "Pre-Depends: ${misc:Pre-Depends}" to lirc-x stanza in
       debian/control
     - add debian/lirc-x.maintscript with symlink_to_dir instruction
     (Closes: #774867)
Checksums-Sha1:
 cde9cbebbcb0fadcfed109677325da4e72097824 2465 lirc_0.9.0~pre1-1.2.dsc
 52cd92c6318b3e2ae1edb6b56580360a49711467 62488 
lirc_0.9.0~pre1-1.2.debian.tar.bz2
Checksums-Sha256:
 e0798d3f3328966d4c9a18787acb62955496aa4494298074c37cfbe7d21e7d5f 2465 
lirc_0.9.0~pre1-1.2.dsc
 816f2fe18f90c885c6169dd99b2f5a1d2dd34c5b9791c64648ed18a37e844476 62488 
lirc_0.9.0~pre1-1.2.debian.tar.bz2
Files:
 838bae798980ee840c740279f41cab2d 2465 utils extra lirc_0.9.0~pre1-1.2.dsc
 eebcd6e098c223bb186a68bf48110938 62488 utils extra 
lirc_0.9.0~pre1-1.2.debian.tar.bz2

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQJ8BAEBCgBmBQJUurAhXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREMUUxMzE2RTkzQTc2MEE4MTA0RDg1RkFC
QjNBNjgwMTg2NDlBQTA2AAoJELs6aAGGSaoG8zkP/007aomwMVoaroLK+FOS/fZ1
J3R4BRYjcG4o+jJU+bnAB783Za1Wdls7RUzDOZEe1jI9rBgldzRmHyTwkLU0w4PT
RKVZIXIy9Z29s1p7jg7alWK+vX0M8P7gSmAu4Eu7bRKIfxssafWJLoRC6S4nqq5b
e+R0njXsJ8/IritzTtDzGC/IlAPehOC2b/85zPbfD/ZHgomUdgAI5uHtOpgH3sCA
Hi8dJwwb/9D17+NSuCW4tCXM3UKULxgFODcxDvAyAz+kt9T7IRmO2ooWVcCr2Ob1
kbgE/AxBMXd5Fx/EbtN8WNrEZzT7ZZKK77teWngp5rCplV5N4FUXKe51L8d0moGj
O/5ER1h9uxVGHj1PAV7vZ6sAWGIuk+uEBSxA8342vuEQrE9VHDiuwKsPQ3Hrzscg
Keo5jInszKlqsNmYfG6prZbp+m6yZKwMX7UWdYj/iRoGJpIDu/8I6bG0siDD8DGQ
BD8Lrl4G0XVIQACRmISuLwO/VHZYF3yxnygp8jMjwvLxUjehVXhWRbF+AhmKdnSz
fk5wkwpnzrk1vNpc7qMhP3ihy/XN0MF0QvKYKI9qreEY0QYECeV9/mo/wVZSjeWY
iBe/5Py7u3VJYSLc8N33SYOKja52Ck03uO0AE8oKykmWraGPmTSkW5vb4Fm+8BUw
taOo40Ha7ZOl0W9yo7jC
=RSU4
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to