--- Begin Message ---
Subject: |
freedink-engine-dbg: unhandled symlink to directory conversion: /usr/share/doc/PACKAGE |
Date: |
Tue, 11 Apr 2017 17:17:21 +0200 |
Package: freedink-engine-dbg
Version: 108.4+dfsg-2
Severity: serious
User: address@hidden
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 -> sid
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.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 (usually somewhere in the middle...):
0m35.7s ERROR: FAIL: silently overwrites files via directory symlinks:
/usr/share/doc/freedink-engine-dbg/changelog.Debian.gz (freedink-engine-dbg)
!= /usr/share/doc/freedink-engine/changelog.Debian.gz (freedink-engine)
/usr/share/doc/freedink-engine-dbg -> freedink-engine
/usr/share/doc/freedink-engine-dbg/changelog.gz (freedink-engine-dbg) !=
/usr/share/doc/freedink-engine/changelog.gz (freedink-engine)
/usr/share/doc/freedink-engine-dbg -> freedink-engine
/usr/share/doc/freedink-engine-dbg/copyright (freedink-engine-dbg) !=
/usr/share/doc/freedink-engine/copyright (freedink-engine)
/usr/share/doc/freedink-engine-dbg -> freedink-engine
cheers,
Andreas
freedink-engine-dbg_108.4+dfsg-2.log.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---
Subject: |
Bug#860114: fixed in freedink 108.4+dfsg-3 |
Date: |
Tue, 11 Apr 2017 20:49:03 +0000 |
Source: freedink
Source-Version: 108.4+dfsg-3
We believe that the bug you reported is fixed in the latest version of
freedink, 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 address@hidden,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sylvain Beucler <address@hidden> (supplier of updated freedink 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 address@hidden)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 11 Apr 2017 19:35:07 +0200
Source: freedink
Binary: freedink-engine freedink-engine-dbg freedink
Architecture: source amd64 all
Version: 108.4+dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <address@hidden>
Changed-By: Sylvain Beucler <address@hidden>
Description:
freedink - humorous top-down adventure and role-playing game
freedink-engine - humorous top-down adventure and role-playing game (engine)
freedink-engine-dbg - debugging symbols for freedink
Closes: 860114
Changes:
freedink (108.4+dfsg-3) unstable; urgency=medium
.
* Properly implement /usr/share/doc/freedink symlink_to_dir - thanks anbe
(Closes: #860114)
Checksums-Sha1:
0326ef3a577216f028f653e2c03ab1fe18ca0cb6 1861 freedink_108.4+dfsg-3.dsc
95a48da0d20258efc48da2956df07790f5c4e12d 22832
freedink_108.4+dfsg-3.debian.tar.xz
afe58c30a2d009cffc280e63a5fc8bae8b5a1da6 614290
freedink-engine-dbg_108.4+dfsg-3_amd64.deb
2df2f9471d88af7a828b90a29e957ee2023d94d0 238160
freedink-engine_108.4+dfsg-3_amd64.deb
395e4a4adc0fbb14979a018a8b04cd810d469221 41400 freedink_108.4+dfsg-3_all.deb
9d9b4f3b29fc9ffb89cd2f7b2255e54305800fa8 10457
freedink_108.4+dfsg-3_amd64.buildinfo
Checksums-Sha256:
5c360b373833c2208053ae41228972de4e41c45949076fa34276f21ff7b526d4 1861
freedink_108.4+dfsg-3.dsc
e148d90b6464fc59c083b919ed8f76ca073eae1d06a7cbe5ff060ca41e88e233 22832
freedink_108.4+dfsg-3.debian.tar.xz
8bbb473330119fc44d1e383c2b535f0574a6c6500b491bbe2aab2ddc9c3f71c3 614290
freedink-engine-dbg_108.4+dfsg-3_amd64.deb
eabbdb26bb03af4846fb59e99f44093c49ad85fc3e47c0688a37ad5fc8b3c506 238160
freedink-engine_108.4+dfsg-3_amd64.deb
e29276ef84b5d1ecadd97312f356e38013473469e66dcfa3ec41a8b3bcb322bd 41400
freedink_108.4+dfsg-3_all.deb
4e7d4a72fc3d166ee0465ad8f0ad62892aada1d1836809580cdc4e94fb2a01c7 10457
freedink_108.4+dfsg-3_amd64.buildinfo
Files:
c8f8984a3e59bf599104af5655469006 1861 games extra freedink_108.4+dfsg-3.dsc
9ab9f760e06d162750d61968b5be8c2e 22832 games extra
freedink_108.4+dfsg-3.debian.tar.xz
21d3ca4a23efc249f24afa60b0b7223b 614290 debug extra
freedink-engine-dbg_108.4+dfsg-3_amd64.deb
db01e8f6e5deda204aee81d7db324c3a 238160 games extra
freedink-engine_108.4+dfsg-3_amd64.deb
a2d8bfc2741de724c5405a6d9bcdcf65 41400 games extra
freedink_108.4+dfsg-3_all.deb
d439fad0c405d5ad1e6dabaf6a5c33a8 10457 games extra
freedink_108.4+dfsg-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEQic8GuN/xDR88HkSj/HLbo2JBZ8FAljtNs8ACgkQj/HLbo2J
BZ872Qf9Ex8Fbgs6ue0tfhNWNLTQkX0DJKtOOrhT4XGr+xw5KLSoJ0ftourIbZVN
KZH9eWcOZ6paNTy/nOV4CyxjpUtEJs2HMJ94pzjPWXG4MxiCeT4Hr5pJOHuTgiTs
YauwZC0cY2pGzUjg5yL8ZfjSeD6ZNEe/Yx3XY8sWCNfXUF3lNyS6w7MlGE8kpEfD
HHgs+g6AR5aCQu7YaDVHe2jRokY0PUe5sH6fHw7xcbR+YmWo6ynwDQobWNFsGcHv
0HOIo0UiG0etl87ZwRcpHlo4LTWD8RDgRDOV3hC+8vec+6h9S3yt4iOov6KczcRM
vPHIfDIQLrrEC9uM+nNCO32yiDINCg==
=FCnd
-----END PGP SIGNATURE-----
--- End Message ---