Your message dated Wed, 21 Aug 2013 16:18:41 +0000
with message-id <e1vcb7j-0003fg...@franck.debian.org>
and subject line Bug#720149: fixed in llvm-defaults 0.20
has caused the Debian Bug report #720149,
regarding llvm: 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.)


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

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

0m42.3s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/llvm/README.Debian (llvm) != 
/usr/share/doc/llvm-runtime/README.Debian (?)
  /usr/share/doc/llvm/changelog.Debian.gz (llvm) != 
/usr/share/doc/llvm-runtime/changelog.Debian.gz (llvm-runtime)
  /usr/share/doc/llvm/copyright (llvm) != /usr/share/doc/llvm-runtime/copyright 
(llvm-runtime)


cheers,

Andreas

Attachment: llvm_1:3.2-19.log.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
Source: llvm-defaults
Source-Version: 0.20

We believe that the bug you reported is fixed in the latest version of
llvm-defaults, 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.
Sylvestre Ledru <sylves...@debian.org> (supplier of updated llvm-defaults 
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: Wed, 21 Aug 2013 17:57:08 +0200
Source: llvm-defaults
Binary: llvm llvm-runtime llvm-dev libllvm-ocaml-dev clang
Architecture: source amd64
Version: 0.20
Distribution: unstable
Urgency: low
Maintainer: LLVM Packaging Team <pkg-llvm-t...@lists.alioth.debian.org>
Changed-By: Sylvestre Ledru <sylves...@debian.org>
Description: 
 clang      - C, C++ and Objective-C compiler (LLVM based)
 libllvm-ocaml-dev - Low-Level Virtual Machine (LLVM), bindings for OCaml
 llvm       - Low-Level Virtual Machine (LLVM)
 llvm-dev   - Low-Level Virtual Machine (LLVM), libraries and headers
 llvm-runtime - Low-Level Virtual Machine (LLVM), bytecode interpreter
Closes: 720149
Changes: 
 llvm-defaults (0.20) unstable; urgency=low
 .
   * Handle symlink to directory conversion (Closes: #720149)
Checksums-Sha1: 
 0abe966d328abf696b4861a1f8798428b79821b4 1277 llvm-defaults_0.20.dsc
 fdfd870fdf40cab11c29e45b9d033876c982cc3c 6313 llvm-defaults_0.20.tar.gz
 87272768bcd6be28e2e1b81366bdbf7a5eb0762b 4958 llvm_3.2-20_amd64.deb
 817738925410ba9fde42169291cb93e83f08415c 3216 llvm-runtime_3.2-20_amd64.deb
 adaa592151aafc7819f8b6bf07c220822461e3be 3394 llvm-dev_3.2-20_amd64.deb
 bc877d3ad8a661150236307b4c9251f18c47a50d 3218 
libllvm-ocaml-dev_3.2-20_amd64.deb
 9fd19f8dcb64047177db5c52a9baccc286f5a831 3392 clang_3.2-20_amd64.deb
Checksums-Sha256: 
 dbb201e39260d0dd5429a243573d176c16377aaef977118e706bc37f328de3cd 1277 
llvm-defaults_0.20.dsc
 f74ae70bbfa67748ac1ba0a3c7caef7b6818ac2a57f4ed82b5420419dc9b99e7 6313 
llvm-defaults_0.20.tar.gz
 ced87320315fbb5b3920ec3f49444c062430a874adb15a80e3d5608ce93234d7 4958 
llvm_3.2-20_amd64.deb
 1bc849b6e463d5871f85d2f7ee0ba6cf7bc9ab3f9ccfef613007118404b434c7 3216 
llvm-runtime_3.2-20_amd64.deb
 52fba60c5e959eaf1d40f9a9dee71881d143daccd1ef55010155057cb012b0e7 3394 
llvm-dev_3.2-20_amd64.deb
 3eeca1d453b9d2afaef9bf8b9f99e246c640aa4f059ef0af842645c83f6e0d57 3218 
libllvm-ocaml-dev_3.2-20_amd64.deb
 d8ca79397414bab3672f4c30228dd84446938355d9f199c3a77a7e18998af140 3392 
clang_3.2-20_amd64.deb
Files: 
 581a1f261a1371a4f8598c77447d3045 1277 devel optional llvm-defaults_0.20.dsc
 a9bc688851c7ab2699f970d7561aabf8 6313 devel optional llvm-defaults_0.20.tar.gz
 de6f381eeb4751df96d7782f5add146d 4958 devel optional llvm_3.2-20_amd64.deb
 8ce5fd84d24a25dabceb774d92e989e6 3216 devel optional 
llvm-runtime_3.2-20_amd64.deb
 72f324f79991a1aaaedb51ee371672e1 3394 devel optional llvm-dev_3.2-20_amd64.deb
 2d15f7f199eb77247c606aec98bc9848 3218 ocaml optional 
libllvm-ocaml-dev_3.2-20_amd64.deb
 ec64964bf074e755c91a61ecfb0ee03c 3392 devel optional clang_3.2-20_amd64.deb

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

iEYEARECAAYFAlIU5IkACgkQiOXXM92JlhA8MQCfYChXfadioUSqgmT6ooX0cLzd
4fUAn3XTTmFm8f++cADD+6umgCB/LKAZ
=oaCD
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to