Your message dated Sun, 07 May 2017 12:04:38 +0000
with message-id <[email protected]>
and subject line Bug#861305: fixed in pycairo 1.8.8-2.2
has caused the Debian Bug report #861305,
regarding python-cairo-dbg: 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 [email protected]
immediately.)


-- 
861305: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861305
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-cairo-dbg
Version: 1.8.8-2.1
Severity: serious
User: [email protected]
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 on i386:

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

4m41.3s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/python-cairo-dbg/AUTHORS (python-cairo-dbg) != 
/usr/share/doc/python-cairo/AUTHORS (python-cairo)
    /usr/share/doc/python-cairo-dbg -> python-cairo
  /usr/share/doc/python-cairo-dbg/NEWS.gz (python-cairo-dbg) != 
/usr/share/doc/python-cairo/NEWS.gz (python-cairo)
    /usr/share/doc/python-cairo-dbg -> python-cairo
  /usr/share/doc/python-cairo-dbg/README (python-cairo-dbg) != 
/usr/share/doc/python-cairo/README (python-cairo)
    /usr/share/doc/python-cairo-dbg -> python-cairo
  /usr/share/doc/python-cairo-dbg/changelog.Debian.gz (python-cairo-dbg) != 
/usr/share/doc/python-cairo/changelog.Debian.gz (python-cairo)
    /usr/share/doc/python-cairo-dbg -> python-cairo
  /usr/share/doc/python-cairo-dbg/copyright (python-cairo-dbg) != 
/usr/share/doc/python-cairo/copyright (python-cairo)
    /usr/share/doc/python-cairo-dbg -> python-cairo


cheers,

Andreas

Attachment: python-cairo-dbg_1.8.8-2.1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: pycairo
Source-Version: 1.8.8-2.2

We believe that the bug you reported is fixed in the latest version of
pycairo, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ivo De Decker <[email protected]> (supplier of updated pycairo 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 07 May 2017 13:10:03 +0200
Source: pycairo
Binary: python-cairo python-cairo-dbg python-cairo-dev
Architecture: source
Version: 1.8.8-2.2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<[email protected]>
Changed-By: Ivo De Decker <[email protected]>
Description:
 python-cairo - Python bindings for the Cairo vector graphics library
 python-cairo-dbg - Python bindings for the Cairo vector graphics library 
(debug exte
 python-cairo-dev - Python cairo bindings: development files
Closes: 861305
Changes:
 pycairo (1.8.8-2.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Add python-cairo-dbg.maintscript to cleanup symlink left over from version
     1.4.12-1.2 (lenny). (Closes: #861305)
Checksums-Sha1:
 61116d5ace47627656d73cd0b3c8b96eaaef8d02 2242 pycairo_1.8.8-2.2.dsc
 e480e0495570626df7f90690b3c3e3ccdf1c7f49 13416 pycairo_1.8.8-2.2.debian.tar.xz
Checksums-Sha256:
 3cab6843a707c19637066beb2bb35ad229306da899961c6a3562fa5c8bd262a9 2242 
pycairo_1.8.8-2.2.dsc
 b64fa45602c6667b3d4b673807883882bd45d7f251fecc9422f1c8116304820a 13416 
pycairo_1.8.8-2.2.debian.tar.xz
Files:
 58c9cfef208041c7ec05b7b95e4a3183 2242 python optional pycairo_1.8.8-2.2.dsc
 edd55c0aea0b126efffd9698ff70f767 13416 python optional 
pycairo_1.8.8-2.2.debian.tar.xz

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

iQIcBAEBCAAGBQJZDwNNAAoJEKxAu1iXBOr8gioP/RvjxkbTbu64LdFXLLVPPcrP
GJ2/XaisBhnHJ16a1DW1oCXC6Y1e4go3KV6QB77P6m10jcv2XBvnNuBa25UAutep
P4Mzx0bp38GofAgGWCl/0PpVVJMW3K6lnHWrS6Hjgk8C0Jf75VXUdusN82Xtnl6Q
6jD05eBEcke2UpeO2ezXVixigJwEIF8Uwalwtpa6YML7qNC+QSWjkswUdaU/Cne2
zy8IfrpSNda6CkOhj1YCkHOL/R7tUE/jOGTdwX3FrY3M7nKI7aQc0D6f0MLbQFct
IFkzTYllRiZ30BH/ClD37H8QYl1zzfaZgiro0LbWCmvcYiYhT7fuEM068dCGL5mS
ae9MWfTr5SCz2BGQcTtOmECIvh6QYz9ZvEHgmEs6c1nA9GP+SdKcltzAB/SVQnge
ZOxtRqHbhqnJYVIO1b/7OFnKTv5SkvTdEMMEiuPU7kSqVFOnA7ZpFuyPRGQ+X8YY
nop4SypvwpcgWmt7PWraesr3VGCISY9CX8JNOW5fRUC8BOZPdl8mJpw3aQKCczJ/
UpXmBzUfP4AFoEFeSmuGaEGfya7vJo+rEmYWFFEEBZbzF0s3iQTiwwsKbzWE7LYa
JwgekdpoVXigbHKa+oI5eqQnIx9ech2agzkdUbkuP+k0ERE8mmMCW04nWNYAev5Y
QTNuKXOb19KVG/TxhL8v
=7NyN
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to