Your message dated Wed, 26 Apr 2017 21:10:43 +0000
with message-id <e1d3ucx-0004yj...@fasolo.debian.org>
and subject line Bug#861268: fixed in tecnoballz 0.93.1-8
has caused the Debian Bug report #861268,
regarding tecnoballz: 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.)


-- 
861268: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861268
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: tecnoballz
Version: 0.93.1-7
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:

  lenny -> squeeze -> wheezy -> jessie -> stretch

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

4m6.8s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/tecnoballz/changelog.Debian.gz (tecnoballz) != 
/usr/share/doc/tecnoballz-data/changelog.Debian.gz (tecnoballz-data)
    /usr/share/doc/tecnoballz -> tecnoballz-data
  /usr/share/doc/tecnoballz/changelog.gz (tecnoballz) != 
/usr/share/doc/tecnoballz-data/changelog.gz (tecnoballz-data)
    /usr/share/doc/tecnoballz -> tecnoballz-data
  /usr/share/doc/tecnoballz/copyright (tecnoballz) != 
/usr/share/doc/tecnoballz-data/copyright (tecnoballz-data)
    /usr/share/doc/tecnoballz -> tecnoballz-data


cheers,

Andreas

Attachment: tecnoballz_0.93.1-7.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: tecnoballz
Source-Version: 0.93.1-8

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

Debian distribution maintenance software
pp.
Markus Koschany <a...@debian.org> (supplier of updated tecnoballz 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: Wed, 26 Apr 2017 21:40:32 +0200
Source: tecnoballz
Binary: tecnoballz tecnoballz-data
Architecture: source
Version: 0.93.1-8
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <pkg-games-de...@lists.alioth.debian.org>
Changed-By: Markus Koschany <a...@debian.org>
Description:
 tecnoballz - breaking block game ported from the Amiga platform
 tecnoballz-data - graphic, sound and music files for the game tecnoballz
Closes: 861268
Changes:
 tecnoballz (0.93.1-8) unstable; urgency=medium
 .
   * Add tecnoballz.maintscript file and use symlink_to_dir function to convert
     symlinked directories to real directories. (Closes: #861268)
Checksums-Sha1:
 d905cb9088c7bde593f7a0d193747ce63a377638 2363 tecnoballz_0.93.1-8.dsc
 f3808e511d179efba343d09d641138ddce1fb3ad 11856 
tecnoballz_0.93.1-8.debian.tar.xz
 64b157f76c1d4791d5e319e20f059e937b9d876d 10703 
tecnoballz_0.93.1-8_amd64.buildinfo
Checksums-Sha256:
 42f535fb660f2452722b2af595c6024bd0fc7b7381c3a568fcb2b6e5a014a369 2363 
tecnoballz_0.93.1-8.dsc
 e3e31eb44082bfda80d0654cf5eb76e4ce15b754fc233cbcec1a07957237704f 11856 
tecnoballz_0.93.1-8.debian.tar.xz
 0e736ba5ff43e10763ea0ac610782568ff8e32a63c99517e87330a73057d723e 10703 
tecnoballz_0.93.1-8_amd64.buildinfo
Files:
 549eba02aacc885dfd3bfef03e108d10 2363 games optional tecnoballz_0.93.1-8.dsc
 ad706aeef08c677586c7deb5b3ca18ea 11856 games optional 
tecnoballz_0.93.1-8.debian.tar.xz
 a8da4f6f4e57223ab881564f093273f8 10703 games optional 
tecnoballz_0.93.1-8_amd64.buildinfo

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

iQKjBAEBCgCNFiEErPPQiO8y7e9qGoNf2a0UuVE7UeQFAlkA+cVfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEFD
RjNEMDg4RUYzMkVERUY2QTFBODM1RkQ5QUQxNEI5NTEzQjUxRTQPHGFwb0BkZWJp
YW4ub3JnAAoJENmtFLlRO1Hk3e8P/2G5PgVck/ENk6u1Ta1W25qnNfofTU+qzRiM
vMyei0o2wF1+Q2E6T1ENHeiKBN4G4DHWrVhhqnIcdlGv29r/4xsZzfuWuITVg+E+
47nPVSP9mpqX6iVASGE30dholuE2PN1Q0sWpyCrfCwwsYjHez5yUSqwOX7WAd7zu
u5GV8cdqQnra6dfRIhrLUt/WfddNHLjomgZQUWxKqnABjeodHt5IWGDY9lKRb8aQ
Cap82bxLmjCo1KvxHDDs/vWoKRPiOTMsXB3NpROHXWaK5VmHVXWe11Qf146s2yfd
YKBfci0Gw9JefwwrmpHLarQvdicykm5Fzc5w3UyfP8+h/WEm70VkDrOdiylwVrSI
GU1VZ04FSYfsIrlQZAXaelkb/RfdgZ8/LDA/G0asYW/Ir4wb3JvsMtR/u2DebyIG
6WX9WN2z8Kbp3bLohzU3kgCvQ7ENmcLz8u+Pa0sv76DYPeUkiuvn8xOML1fHV3w/
RMvAMPRiZqRfEXN8pfM/UE82pdqA6aiGNR9Xl3xPQ+XyBTivUfglNYwqz/w0oJu0
n1zvwgKm0jn5d06o3GomJ7TrygbPxx0orvnLmLtJmJP2yX3G6ateHlsEKZYm/i/R
mvO2N+5y60rQzJ62cfJZwP0C06oVUSY/Ust9BeKC7RUZd8pVOmuUn4vo3EQndThc
PNhGvjOV
=ecdO
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to