Your message dated Wed, 22 May 2024 13:05:15 +0000
with message-id <e1s9led-00fouq...@fasolo.debian.org>
and subject line Bug#1070438: fixed in lirc 0.10.2-0.9
has caused the Debian Bug report #1070438,
regarding liblirc-dev: unhandled symlink to directory conversion: 
/usr/include/lirc/media
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.)


-- 
1070438: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1070438
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: liblirc-dev
Version: 0.10.2-0.8
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:

  bookworm -> trixie

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...):

0m35.3s ERROR: installs objects over existing directory symlinks:
  /usr/include/lirc/media/lirc.h (liblirc-dev) != 
/usr/include/lirc/include/media/lirc.h (?)
    /usr/include/lirc/media -> include/media


cheers,

Andreas

Attachment: liblirc-dev_0.10.2-0.8.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: lirc
Source-Version: 0.10.2-0.9
Done: Andreas Beckmann <a...@debian.org>

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

Debian distribution maintenance software
pp.
Andreas Beckmann <a...@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: SHA256

Format: 1.8
Date: Wed, 22 May 2024 14:37:28 +0200
Source: lirc
Architecture: source
Version: 0.10.2-0.9
Distribution: unstable
Urgency: medium
Maintainer: Debian Lirc Team <team+debian-l...@tracker.debian.org>
Changed-By: Andreas Beckmann <a...@debian.org>
Closes: 1070438
Changes:
 lirc (0.10.2-0.9) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Re-import packaging history into GIT and move to salsa.debian.org.
   * Do not omit ${misc:Pre-Depends}.
   * liblirc-dev: Perform symlink to directory conversion.  (Closes: #1070438)
Checksums-Sha1:
 e11f36936826bdeb3042b9dbdf0c45bdea211c2d 2638 lirc_0.10.2-0.9.dsc
 9ede92f1f802b98b8ce9c7fd6e2f00286df007ed 41732 lirc_0.10.2-0.9.debian.tar.xz
 183363114fff4d13e30a5bbb222e917b2583fd0d 8537 lirc_0.10.2-0.9_source.buildinfo
Checksums-Sha256:
 8a42628b2b0ae03630c82881f8df03c18d1fe74ecb0bd06858f1e819d873a547 2638 
lirc_0.10.2-0.9.dsc
 642ebda76507f1050807e8ecca4fe873cc6f22d36f1bd8aeed257bdc6f2cec75 41732 
lirc_0.10.2-0.9.debian.tar.xz
 6d661c2982af9bcf3836a0e87c0c585f54041c561b6aeee1975daf07e01f703c 8537 
lirc_0.10.2-0.9_source.buildinfo
Files:
 14a9b908c83bb077739b5d1335c62750 2638 utils optional lirc_0.10.2-0.9.dsc
 d4a307fe5ebcebd1c433063ac538d0f2 41732 utils optional 
lirc_0.10.2-0.9.debian.tar.xz
 ad1f55237c92d9ba9f13419a98b2133c 8537 utils optional 
lirc_0.10.2-0.9_source.buildinfo

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

iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmZN568QHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCJ88EACc/+trTAlqCpx9v83MnJfPzqtO+H08Ufwu
tReJjlOzT1ah1xzypoTkr6oMZcUsoExWvTtyjVvzpGu2GM1/fic4kfMZwc8LrLC+
NfbQL2rFGzCs0ljybRXBcAOhzXX92Qycd8X+VKzNP0kf+Gn2cp3kWoVzmvjor2Lv
UNySSx4BK7Fgr3D7Ut8/t+/nx2h2vzTWbQtHnRATJ3DGHLq2t94XIlPgdsgMy5as
ESiqqhmyuTAukjMnYsMB6P4RHmeOPVxppqg6O2uBpaFIGW76g2duphRh5zXhcIC/
MCUqyw/T3PmGSoKIMzZOE45FcDNbs63eZIrudGfCdnu4MbkV+IcA0uhkmWR+R/jo
LrnQy1iy2TdhCX3bM8lEf+SaHHcQ3oNFf6iWMRh4+n42zp+DVsnQ8wQ2PbWE1714
oklTmgYE9N1PoTCWCGKkVJDTSQlkapw1GJUALwxiOJhIpyde95MAbLQgXhQ74QQb
hx4uhHvAcxNa8/oolwrtcKBGCkyG6itnotrZmWE91BuLYAygNkOce6lFVMzTt3I5
E8BOLr1M+k/xWTyQ+WUjY6fEjnQqLrkVwJkIQ72keoDoM1pBnpPDFilPN0L0aEID
qk9EOuc0kwmgepumODNmn8bIYGvevWY31EEhp9EpV/7epTZl77CAFKJ6MKhOE3FR
OxMvlbpnXA==
=5Emi
-----END PGP SIGNATURE-----

Attachment: pgppFslHWw5oy.pgp
Description: PGP signature


--- End Message ---

Reply via email to