Your message dated Mon, 19 Aug 2013 16:05:27 +0000
with message-id <e1vbrxp-00009s...@franck.debian.org>
and subject line Bug#720156: fixed in sip4 4.14.7-4
has caused the Debian Bug report #720156,
regarding python-sip-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 ow...@bugs.debian.org
immediately.)


-- 
720156: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=720156
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-sip-dbg
Version: 4.14.7-3
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:

  wheezy -> 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:
http://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
http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-unpackphase

For switching from a symlink to a directory, the *preinst* script
should do something like this:

        DOCDIR=/usr/share/doc/@@PACKAGE@@

        if [ -L $DOCDIR ]; then
                rm $DOCDIR
        fi


>From the attached log (usually somewhere in the middle...):

3m2.2s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/python-sip-dbg/changelog.Debian.amd64.gz (python-sip-dbg) != 
/usr/share/doc/python-sip/changelog.Debian.amd64.gz (python-sip)
  /usr/share/doc/python-sip-dbg/changelog.Debian.gz (python-sip-dbg) != 
/usr/share/doc/python-sip/changelog.Debian.gz (python-sip)
  /usr/share/doc/python-sip-dbg/changelog.gz (python-sip-dbg) != 
/usr/share/doc/python-sip/changelog.gz (python-sip)
  /usr/share/doc/python-sip-dbg/copyright (python-sip-dbg) != 
/usr/share/doc/python-sip/copyright (python-sip)


cheers,

Andreas

Attachment: python-sip-dbg_4.14.7-3+b1.log.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
Source: sip4
Source-Version: 4.14.7-4

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

Debian distribution maintenance software
pp.
Scott Kitterman <sc...@kitterman.com> (supplier of updated sip4 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: SHA1

Format: 1.8
Date: Mon, 19 Aug 2013 08:59:25 -0400
Source: sip4
Binary: python-sip python-sip-dbg python-sip-dev sip-dev sip-dbg python-sip-doc 
python3-sip python3-sip-dev python3-sip-dbg
Architecture: source i386 all
Version: 4.14.7-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<python-modules-t...@lists.alioth.debian.org>
Changed-By: Scott Kitterman <sc...@kitterman.com>
Description: 
 python-sip - Python/C++ bindings generator runtime library
 python-sip-dbg - Python/C++ bindings generator runtime library (debug 
extension)
 python-sip-dev - Python/C++ bindings generator development files
 python-sip-doc - Python/C++ bindings generator documentation
 python3-sip - Python 3/C++ bindings generator runtime library
 python3-sip-dbg - Python 3/C++ bindings generator runtime library (debug 
extension)
 python3-sip-dev - Python 3/C++ bindings generator development files
 sip-dbg    - Debug symbols for Python/C++ bindings generator application
 sip-dev    - Python/C++ bindings generator code generator application
Closes: 720156
Changes: 
 sip4 (4.14.7-4) unstable; urgency=medium
 .
   * Urgency medium for RC bug fix affecting stable -> testing upgrades
   * Clean up symlink versus directory for python/python3-sip-dbg
     (Closes: #720156)
     - Convert doc directories for -dbg packages to symlinks (as
       python-sip-dbg has in wheezy)
     - Add python/python3-sip-dbg.postinsts to straighten up existing dirs
     - Convert sip-dbg doc dir to symlink to sip-dev
   * Exclude sip-dev from dh_python3 processing to fix errors with dh_python3
     processing inappropriate files
   * Remove install-arch-3.2, now that python3.2 is no longer supported to
     simplify debian/rules, bump minimum python3-all-dev version required to
     3.3.2-5~
Checksums-Sha1: 
 79db30cbcb0621e14d8fead3ca9b7627fd0b1751 1917 sip4_4.14.7-4.dsc
 8d9f93056a9b659edf93ef1bdaade7d9ed8c35f2 19775 sip4_4.14.7-4.debian.tar.gz
 375b9a7bc71ccd62bd2d43aca1bd1ea550e10b21 76868 python-sip_4.14.7-4_i386.deb
 ccc7513f9500286be98f1cad585ab33839403019 216566 
python-sip-dbg_4.14.7-4_i386.deb
 78df6795b177288c7eede98d38829707696c7ac7 34416 python-sip-dev_4.14.7-4_i386.deb
 c4d54d1bdb547f55485ea3047eb3acdda931676b 135004 sip-dev_4.14.7-4_i386.deb
 b3ecd732e39e3dae2df0b274881686d625701b04 167698 sip-dbg_4.14.7-4_i386.deb
 2346f96c257290fe25da0127b4d8ddff7a232647 76234 python3-sip_4.14.7-4_i386.deb
 0a44d89c322e9c4bf8d91a1560a9f227f8984d16 34406 
python3-sip-dev_4.14.7-4_i386.deb
 cc4ce57e2987a35f3208c7d651d918cf62ede62a 209180 
python3-sip-dbg_4.14.7-4_i386.deb
 3178b85084ac42de8c7de3cf57e486977e4111d6 164888 python-sip-doc_4.14.7-4_all.deb
Checksums-Sha256: 
 faad45dea1692df345757007befbf2b0efcc900dee5140adebf802e152f01f3b 1917 
sip4_4.14.7-4.dsc
 ca1b1bc6117c9dfb08f35da18d9324df64d2e7be97fc3051024cc5051360a418 19775 
sip4_4.14.7-4.debian.tar.gz
 c092d362ba7b7d5fe32a038c40baa6a67e7d6bb8443e409c6c573c136a15ef7c 76868 
python-sip_4.14.7-4_i386.deb
 92daa8befe09a52da075ac35211c5a4af81512221535417867eadd446fc5415a 216566 
python-sip-dbg_4.14.7-4_i386.deb
 fb6f0de42b238ab2e71400dc956a35a95d41fd3b79561b9197bfeceb261d90d1 34416 
python-sip-dev_4.14.7-4_i386.deb
 a98ee9e043703a1857fd923f9919f0ac9693c0ebc5c8b6cc526e72e82b02d1f3 135004 
sip-dev_4.14.7-4_i386.deb
 5c81df74e908a57f6ee5ae663de68ea5c2d0a6e50c216e709e604e491235550b 167698 
sip-dbg_4.14.7-4_i386.deb
 bc681cd12551e759c1944f3cccb4e8adf29f75afff9b294ad86a6c865a6f534f 76234 
python3-sip_4.14.7-4_i386.deb
 b6327266dbf50e5a6ecb79f9148aab18fdb9fa6c064a5b7fc9385d571c7ecaf9 34406 
python3-sip-dev_4.14.7-4_i386.deb
 9d1bcf7a0efa227bda8b970191eb6267817dbffab48d30f58bfef33edc1f9634 209180 
python3-sip-dbg_4.14.7-4_i386.deb
 488372593ed9db98cc1b84cf9da73c8ce0dc7aaaa97e1af6bab535e1eb0d3037 164888 
python-sip-doc_4.14.7-4_all.deb
Files: 
 ffa96f2988385d0e541e026ba7f81942 1917 devel optional sip4_4.14.7-4.dsc
 d70cf43b50fea7c4fbc2daa0958f2d85 19775 devel optional 
sip4_4.14.7-4.debian.tar.gz
 4b527edd281eefeeceedc1fe90a8f537 76868 python optional 
python-sip_4.14.7-4_i386.deb
 834fe18c59a87c86e5de7ae774d6d422 216566 debug extra 
python-sip-dbg_4.14.7-4_i386.deb
 b21f9ff0c05cfe11e2b4d11e74512aee 34416 python optional 
python-sip-dev_4.14.7-4_i386.deb
 b01df1da85f397df99c465f1b34fb1dc 135004 python optional 
sip-dev_4.14.7-4_i386.deb
 2501c47e21238d47294ec322f1c4fb60 167698 debug extra sip-dbg_4.14.7-4_i386.deb
 9599a0cd40d21a1b5d2bd46ae6cdd00a 76234 python optional 
python3-sip_4.14.7-4_i386.deb
 26e3d3cae17ff23a89bd7f45702323eb 34406 python optional 
python3-sip-dev_4.14.7-4_i386.deb
 d605d2fee4f394446e0142ba74644e92 209180 debug extra 
python3-sip-dbg_4.14.7-4_i386.deb
 cdfab9720a347e93abdcdb3390e197c2 164888 doc optional 
python-sip-doc_4.14.7-4_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlISPukACgkQHajaM93NaGr/WwCfXD1WUrEx/eOp/r3HrE8XuBSV
1k0An1xcsiP0bIInnbtq6RUfEezc1nt+
=yHnR
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to