Your message dated Sat, 19 Oct 2013 15:03:47 +0000
with message-id <e1vxy4b-0008kf...@franck.debian.org>
and subject line Bug#716874: fixed in alsa-lib 1.0.27.2-3
has caused the Debian Bug report #716874,
regarding libasound2-dev: 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.)


-- 
716874: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=716874
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libasound2-dev
Version: 1.0.27.2-1
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...):

0m46.0s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/libasound2-dev/changelog.Debian.gz (libasound2-dev:amd64) != 
/usr/share/doc/libasound2/changelog.Debian.gz (libasound2:amd64)
  /usr/share/doc/libasound2-dev/changelog.gz (libasound2-dev:amd64) != 
/usr/share/doc/libasound2/changelog.gz (libasound2:amd64)
  /usr/share/doc/libasound2-dev/copyright (libasound2-dev:amd64) != 
/usr/share/doc/libasound2/copyright (libasound2:amd64)


cheers,

Andreas

Attachment: libasound2-dev_1.0.27.2-1.log.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
Source: alsa-lib
Source-Version: 1.0.27.2-3

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

Debian distribution maintenance software
pp.
Jordi Mallach <jo...@debian.org> (supplier of updated alsa-lib 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: Sat, 19 Oct 2013 16:41:13 +0200
Source: alsa-lib
Binary: libasound2 libasound2-dev libasound2-dbg libasound2-data 
libasound2-udeb libasound2-doc
Architecture: source amd64 all
Version: 1.0.27.2-3
Distribution: unstable
Urgency: low
Maintainer: Debian ALSA Maintainers <pkg-alsa-de...@lists.alioth.debian.org>
Changed-By: Jordi Mallach <jo...@debian.org>
Description: 
 libasound2 - shared library for ALSA applications
 libasound2-data - Configuration files and profiles for ALSA drivers
 libasound2-dbg - debugging symbols for libasound2
 libasound2-dev - shared library for ALSA applications -- development files
 libasound2-doc - documentation for user-space ALSA application programming
 libasound2-udeb - shared library for ALSA applications (udeb) (udeb)
Closes: 716874
Changes: 
 alsa-lib (1.0.27.2-3) unstable; urgency=low
 .
   * Add preinst scripts to -dbg and -dev packages to correctly
     transition from symlinked doc directories to real directories
     (closes: #716874).
Checksums-Sha1: 
 ac09fb3bd2b70cd70d05e8785fea2c4b97f47087 1692 alsa-lib_1.0.27.2-3.dsc
 521794033785b17108fbcc79f6b68a0191778809 50529 
alsa-lib_1.0.27.2-3.debian.tar.gz
 19dac0a48cb58c6c07377c435dd14f2351a0ecc7 369650 libasound2_1.0.27.2-3_amd64.deb
 8123ec1952802b020e3a7c69a277c8ca18514fe1 97466 
libasound2-dev_1.0.27.2-3_amd64.deb
 c97a6a2af2997a7ea7fce4abdedb656e449939cf 1123634 
libasound2-dbg_1.0.27.2-3_amd64.deb
 ff50539ce28549c1fb21f2faf03cd91028554554 58734 
libasound2-data_1.0.27.2-3_all.deb
 f1f5a7149cd6e1e48c17c2375514a18fe3a76bed 325204 
libasound2-udeb_1.0.27.2-3_amd64.udeb
 68c683dc3e95daf070d30aeb958a87ceaa87b4a9 567124 
libasound2-doc_1.0.27.2-3_all.deb
Checksums-Sha256: 
 be62d69a8fdd0573b4a6c24c42c29d7d81a89c16ab94c9a588dd68293ca73cb6 1692 
alsa-lib_1.0.27.2-3.dsc
 670301d9597a267285c586ecd46a2271bbafae2c5912f6389cbb337ea1cf27e0 50529 
alsa-lib_1.0.27.2-3.debian.tar.gz
 55adfc553acb6bf4aa4e0ae693b8f3cd320d1eaf5d24ad42b4d79d95d9e17932 369650 
libasound2_1.0.27.2-3_amd64.deb
 c0c2d723789d278c046c2784d65c4421bbe3fb30253c633baa0ce8ea82d26bb8 97466 
libasound2-dev_1.0.27.2-3_amd64.deb
 6c0ef6d8ee62960073952d4e958777ba4eca003463277d08827aedcfa998901f 1123634 
libasound2-dbg_1.0.27.2-3_amd64.deb
 64fdb1d644c5f04e538733e935147a87b8e9fdc6ca7d4e0e3d20fcd47693cb42 58734 
libasound2-data_1.0.27.2-3_all.deb
 7e294c80d0a9ba2705843ea47d990bcb372c4791c90ec73c39ed224e2856c12b 325204 
libasound2-udeb_1.0.27.2-3_amd64.udeb
 6fc4d4ca212c6976f0dd86d1b7b3d771e8f46295263a418de38401fba9519424 567124 
libasound2-doc_1.0.27.2-3_all.deb
Files: 
 0c995195aa745df16258bd4aec2413b7 1692 libs optional alsa-lib_1.0.27.2-3.dsc
 3724ca996ba025a66ba65cd98dfa46ca 50529 libs optional 
alsa-lib_1.0.27.2-3.debian.tar.gz
 59fa09d82b1d51eeb2963833ab4da0f6 369650 libs optional 
libasound2_1.0.27.2-3_amd64.deb
 f693dfb42b032295d40065c4f537efe7 97466 libdevel optional 
libasound2-dev_1.0.27.2-3_amd64.deb
 08b3f8e209f2771f4b742172d7fc1ed7 1123634 debug extra 
libasound2-dbg_1.0.27.2-3_amd64.deb
 98041fe7a9ae98a9512c3c32ddd2d71b 58734 libs optional 
libasound2-data_1.0.27.2-3_all.deb
 6cd36e6e7863745f714b62731922157f 325204 debian-installer optional 
libasound2-udeb_1.0.27.2-3_amd64.udeb
 875ebf1a0a7bf808d79059f40a96693c 567124 doc optional 
libasound2-doc_1.0.27.2-3_all.deb

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

iEYEARECAAYFAlJinEUACgkQJYSUupF6Il5U1gCdFdXNQLXUpqpAFw5GPRfVW6/I
gYYAnR5cgkfRw2kKj6kyklQkXPoxkz22
=dBRr
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to