Your message dated Tue, 15 Apr 2014 12:49:02 +0000
with message-id <e1wa2no-0004r2...@franck.debian.org>
and subject line Bug#736311: fixed in llvm-defaults 0.21+nmu1
has caused the Debian Bug report #736311,
regarding llvm-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.)


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

0m54.5s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/llvm-dev/changelog.Debian.gz (llvm-dev) != 
/usr/share/doc/llvm-runtime/changelog.Debian.gz (llvm-runtime)
  /usr/share/doc/llvm-dev/copyright (llvm-dev) != 
/usr/share/doc/llvm-runtime/copyright (llvm-runtime)


cheers,

Andreas

Attachment: llvm-dev_1:3.3-21.log.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
Source: llvm-defaults
Source-Version: 0.21+nmu1

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 736...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
David Prévot <taf...@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: SHA256

Format: 1.8
Date: Mon, 14 Apr 2014 20:41:27 -0400
Source: llvm-defaults
Binary: llvm llvm-runtime llvm-dev libllvm-ocaml-dev clang libclang1 
libclang-dev
Architecture: source amd64
Version: 0.21+nmu1
Distribution: unstable
Urgency: medium
Maintainer: LLVM Packaging Team <pkg-llvm-t...@lists.alioth.debian.org>
Changed-By: David Prévot <taf...@debian.org>
Description: 
 clang      - C, C++ and Objective-C compiler (LLVM based)
 libclang-dev - clang library - Development package
 libclang1  - 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: 736311
Changes: 
 llvm-defaults (0.21+nmu1) unstable; urgency=medium
 .
   * Non-maintainer upload
   * Handle symlink to directories conversion (Closes: #736311)
Checksums-Sha1: 
 789d3e2c0eb35cfff6edf1e9a89942126fad06f5 1665 llvm-defaults_0.21+nmu1.dsc
 c46c2bbb2a23a947044ddb9da7a8d6241206edf6 6244 llvm-defaults_0.21+nmu1.tar.xz
 d1394d4769301f1150345b35dbd4520283dce466 5292 llvm_3.3-21+nmu1_amd64.deb
 63834bd44056a99beee5002b5cc6c0c1a068eeef 3534 
llvm-runtime_3.3-21+nmu1_amd64.deb
 1db77d9d11251f34055d2556dfe6d2379c9b5e84 3858 llvm-dev_3.3-21+nmu1_amd64.deb
 e51780d7d61b7b72502e1462927d601e4157bc2b 3682 
libllvm-ocaml-dev_3.3-21+nmu1_amd64.deb
 916aef8e6bf7418da8bae8bf83d3d34bc3a164ba 3490 clang_3.3-21+nmu1_amd64.deb
 7133153993d24843e5f70a57729e32dc55db8b65 3658 libclang1_3.3-21+nmu1_amd64.deb
 54334c9edd7d1b8cdd5e6dac8e4f3ac834ef1abd 3492 
libclang-dev_3.3-21+nmu1_amd64.deb
Checksums-Sha256: 
 74d45ed932088749572d874c41997a91fef24941a2c945db8c917dcd65d62479 1665 
llvm-defaults_0.21+nmu1.dsc
 21c7f366740e2dca51c48de1dcb7d95f2edec024ff565b6482a3f05541e033bc 6244 
llvm-defaults_0.21+nmu1.tar.xz
 55ac15c17235e6ae4f7b912e4f09154f7e0e6e69946574a86179fac1f0f69962 5292 
llvm_3.3-21+nmu1_amd64.deb
 e8a3bfcd200e43eacde8ab8ff9c39485e5ce396f658d84ff550f9ca1636abac0 3534 
llvm-runtime_3.3-21+nmu1_amd64.deb
 ed17acf65f3d62e88108d6c4fc4bfa83467711e68d2b759fda7be3cf347e603b 3858 
llvm-dev_3.3-21+nmu1_amd64.deb
 8f00b15c792a0255a45a0611619362d26f8ff6edf7562d07a0f9b2bb3ec6e2e9 3682 
libllvm-ocaml-dev_3.3-21+nmu1_amd64.deb
 d82f206f914ae2921cc848eb27931e8be72a3df56b9a16f5ce591bd836a399cb 3490 
clang_3.3-21+nmu1_amd64.deb
 3d4344a5699e34ac4b4c0b9327640c8ff714cacb19da77ce6fe555720084e927 3658 
libclang1_3.3-21+nmu1_amd64.deb
 f8455e3a43066b5e49d28b1b48037e5ad444c71a87123878b7fa4b1051cc9682 3492 
libclang-dev_3.3-21+nmu1_amd64.deb
Files: 
 94e7010eb5f14054129715f82c5bafcd 1665 devel optional 
llvm-defaults_0.21+nmu1.dsc
 6d1bbce2cb93677c9e0b938c007198be 6244 devel optional 
llvm-defaults_0.21+nmu1.tar.xz
 2f3d76d76166b4fa9a67cdccbe18d256 5292 devel optional llvm_3.3-21+nmu1_amd64.deb
 3e4ca0426e372f24732a1e84e63e1043 3534 devel optional 
llvm-runtime_3.3-21+nmu1_amd64.deb
 9ff49d8c8224031893b73fd7f71521e7 3858 devel optional 
llvm-dev_3.3-21+nmu1_amd64.deb
 67f1042d94e58f71e39da3fec5ff184a 3682 ocaml optional 
libllvm-ocaml-dev_3.3-21+nmu1_amd64.deb
 31bc3f6be74e7297bc355b0a65952d4b 3490 devel optional 
clang_3.3-21+nmu1_amd64.deb
 9f0bd30bdd821622b9ab6df4c45565bb 3658 devel optional 
libclang1_3.3-21+nmu1_amd64.deb
 aa35d95fdfa79a8592d7ce22facdbb25 3492 libdevel optional 
libclang-dev_3.3-21+nmu1_amd64.deb

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

iQEcBAEBCAAGBQJTTIS8AAoJEAWMHPlE9r08KXAH/0922LxkvXk8KXf8WYWqGbH9
gUENgsc/QdVmo3W+4vyYGVUt+ADEoofO2ihomOjfqvbvqbt0GBEDBo3AioYKBJYa
d/Q4Hxq3flkgwo5kyIKjV7gDu56/x0yoYNgDoxlRXtyctbNDTAVBxF/4AzY35YQx
/9S9j2nnsGsva7mYVVlIWP154MxZ2/EZy1uhIUYVIV1XL667jWL+uhGiaL+Dfimy
z6yi3U6rfHkrnMiuhE835W7YQqrJywOlzfKzLyLGtVVNagpoyF4gFzZ7ZCEUvFAF
zMAhv1LUqpNbcoqh0oMYOlbJV7GFKg/f+FYOzpEe06RZ+waR5bnurVtA1mqSfkA=
=+mTz
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to