Your message dated Mon, 17 Nov 2014 22:48:55 +0000
with message-id <e1xqv6n-0005fc...@franck.debian.org>
and subject line Bug#768285: fixed in pyvorbis 1.5-4
has caused the Debian Bug report #768285,
regarding python-pyvorbis-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.)


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

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

It is recommended to use the dpkg-maintscript-helper commands
'dir_to_symlink' and 'symlink_to_dir' (available since dpkg 1.17.2)
to perform the conversion, ideally using d/$PACKAGE.mainstscript.
See dpkg-maintscript-helper(1) and dh_installdeb(1) for details.


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

1m14.2s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/python-ogg-dbg/changelog.Debian.gz (python-ogg-dbg) != 
/usr/share/doc/python-ogg/changelog.Debian.gz (python-ogg)
  /usr/share/doc/python-ogg-dbg/changelog.gz (python-ogg-dbg) != 
/usr/share/doc/python-ogg/changelog.gz (python-ogg)
  /usr/share/doc/python-ogg-dbg/copyright (python-ogg-dbg) != 
/usr/share/doc/python-ogg/copyright (python-ogg)
  /usr/share/doc/python-pyvorbis-dbg/changelog.Debian.gz (python-pyvorbis-dbg) 
!= /usr/share/doc/python-pyvorbis/changelog.Debian.gz (python-pyvorbis)
  /usr/share/doc/python-pyvorbis-dbg/changelog.gz (python-pyvorbis-dbg) != 
/usr/share/doc/python-pyvorbis/changelog.gz (python-pyvorbis)
  /usr/share/doc/python-pyvorbis-dbg/copyright (python-pyvorbis-dbg) != 
/usr/share/doc/python-pyvorbis/copyright (python-pyvorbis)


cheers,

Andreas

Attachment: python-pyvorbis-dbg_1.5-3.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: pyvorbis
Source-Version: 1.5-4

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

Debian distribution maintenance software
pp.
Sandro Tosi <mo...@debian.org> (supplier of updated pyvorbis 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, 17 Nov 2014 22:36:50 +0000
Source: pyvorbis
Binary: python-pyvorbis python-pyvorbis-dbg
Architecture: source amd64
Version: 1.5-4
Distribution: unstable
Urgency: medium
Maintainer: Sandro Tosi <mo...@debian.org>
Changed-By: Sandro Tosi <mo...@debian.org>
Description:
 python-pyvorbis - Python interface to the Ogg Vorbis library
 python-pyvorbis-dbg - Python interface to the Ogg Vorbis library (debug 
extension)
Closes: 768285
Changes:
 pyvorbis (1.5-4) unstable; urgency=medium
 .
   * debian/rules
     - correctly link -dbg doc directory to the main package one; thanks to
       Andreas Beckmann for the report and to Jean-Michel Nirgal Vourgère for 
the
       first patch; Closes: #768285
Checksums-Sha1:
 b3196069c273e94f322e3912d8fdd903c93eec2b 1484 pyvorbis_1.5-4.dsc
 f3f683fe54b622ec552041bb63bd31d74852fd26 7628 pyvorbis_1.5-4.debian.tar.xz
 4775bf4c91fdb2916c5b795ace46b3b96bc30fc4 31690 python-pyvorbis_1.5-4_amd64.deb
 9d8ca835e12c1719d6356dedfad13a189b3157a3 102578 
python-pyvorbis-dbg_1.5-4_amd64.deb
Checksums-Sha256:
 f42812fe8b8dcdf718ae906e39b1ba78b68015323ddf607fda842976b2029e30 1484 
pyvorbis_1.5-4.dsc
 77e2d83be78604d867752253dfc5de29364331daf75d60bd23387c5fe16e9695 7628 
pyvorbis_1.5-4.debian.tar.xz
 7181d609b56978dec60d1afa61232d0b2f64f6b4044769dd12edf78c14161017 31690 
python-pyvorbis_1.5-4_amd64.deb
 12a47169318383777a9668bd54e7258b3adc1e66f3bc6826d9ff613512e0a449 102578 
python-pyvorbis-dbg_1.5-4_amd64.deb
Files:
 27f9a81325ab24ba67c22ee2bcabc06d 1484 python optional pyvorbis_1.5-4.dsc
 584a508145cee6beefd5c12c3b0011fa 7628 python optional 
pyvorbis_1.5-4.debian.tar.xz
 f1617b391fd7446e8927a4564f014405 31690 python optional 
python-pyvorbis_1.5-4_amd64.deb
 9d981b3ecf622f6f981a0bfcf3ba1ec5 102578 debug extra 
python-pyvorbis-dbg_1.5-4_amd64.deb

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

iEYEARECAAYFAlRqeQMACgkQAukwV0RN2VDw6gCfQ7V50Y0m/JiR8r3js+iQW8dN
XWkAnRueYCRopU8q9h4npuCbxZwODdqb
=Ag+P
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to