Your message dated Wed, 12 Dec 2012 08:48:05 +0000
with message-id <[email protected]>
and subject line Bug#695590: fixed in clang 3.2~rc3-1~exp3
has caused the Debian Bug report #695590,
regarding clang-3.2: leaves alternatives after purge: /usr/bin/c[89]9
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 [email protected]
immediately.)


-- 
695590: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695590
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: clang-3.2
Version: 3.2~rc3-1~exp2
Severity: important
User: [email protected]
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package left unowned files on
the system after purge, which is a violation of policy 6.8:

http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-removedetails

The leftover files are actually alternatives that were installed by the
package but have not been properly removed.

While there is ongoing discussion how to remove alternatives correctly
(see http://bugs.debian.org/71621 for details) the following strategy
should work for regular cases:
* 'postinst configure' always installs the alternative
* 'prerm remove' removes the alternative
* 'postrm remove' and 'postrm disappear' remove the alternative
In all other cases a maintainer script is invoked (e.g. upgrade,
deconfigure) the alternatives are not modified to preserve user
configuration.
Removing the alternative in 'prerm remove' avoids having a dangling link
once the actual file gets removed, but 'prerm remove' is not called in
all cases (e.g. unpacked but not configured packages or disappearing
packages) so the postrm must remove the alternative again
(update-alternatives gracefully handles removal of non-existing
alternatives).

Note that the arguments for adding and removing alternatives differ, for
removal it's 'update-alternatives --remove <name> <path>'.

Filing this as important as having a piuparts clean archive is a release
goal since lenny.

>From the attached log (scroll to the bottom...):

0m36.9s ERROR: WARN: Broken symlinks:
  /usr/bin/c99 -> /etc/alternatives/c99
  /usr/bin/c89 -> /etc/alternatives/c89
  /etc/alternatives/c99 -> /usr/bin/clang
  /etc/alternatives/c89 -> /usr/bin/clang

0m38.0s ERROR: FAIL: Package purging left files on system:
  /etc/alternatives/c89 -> /usr/bin/clang        not owned
  /etc/alternatives/c99 -> /usr/bin/clang        not owned
  /usr/bin/c89 -> /etc/alternatives/c89  not owned
  /usr/bin/c99 -> /etc/alternatives/c99  not owned


cheers,

Andreas

Attachment: clang-3.2_3.2~rc3-1~exp2.log.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
Source: clang
Source-Version: 3.2~rc3-1~exp3

We believe that the bug you reported is fixed in the latest version of
clang, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sylvestre Ledru <[email protected]> (supplier of updated clang 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 10 Dec 2012 14:38:23 +0100
Source: clang
Binary: clang clang-3.2 libclang1 libclang-dev libclang-common-dev compiler-rt
Architecture: source all amd64
Version: 3.2~rc3-1~exp3
Distribution: experimental
Urgency: low
Maintainer: LLVM Packaging Team <[email protected]>
Changed-By: Sylvestre Ledru <[email protected]>
Description: 
 clang      - C, C++ and Objective-C compiler (LLVM based)
 clang-3.2  - C, C++ and Objective-C compiler (LLVM based)
 compiler-rt - Runtime C library - LLVM based
 libclang-common-dev - clang library - Common development package
 libclang-dev - clang library - Development package
 libclang1  - clang library
Closes: 695477 695590
Changes: 
 clang (3.2~rc3-1~exp3) experimental; urgency=low
 .
   * clang dependency on llvm should be improved (Closes: #695477)
   * Remove /usr/bin/c[89]9 alternatives on purge (Closes: #695590)
   * Build only arch dependent packages was failing
   * Fix a build error under HURD (PATH_MAX ...)
Checksums-Sha1: 
 e0c09806c60088dd65f0fcd6adca81f15f6885fc 2102 clang_3.2~rc3-1~exp3.dsc
 039bf2214979e309405807e96930965697ad8add 17466 
clang_3.2~rc3-1~exp3.debian.tar.gz
 c8e7ff7419da191358407a0a1e56be0669788ea9 9056 clang_3.2~rc3-1~exp3_all.deb
 53ca25b7e3ee24332a2bb2a197e3e0dd8806ab5b 6087724 
clang-3.2_3.2~rc3-1~exp3_amd64.deb
 a9703d0f5d5c24716cf470bb099913a03a94981a 4196178 
libclang1_3.2~rc3-1~exp3_amd64.deb
 f3b7316aa44aab17c894b1a7ca0860789e673876 10589300 
libclang-dev_3.2~rc3-1~exp3_amd64.deb
 5ae7dd503b93cde80e32c0e139b24537e39f01de 302188 
libclang-common-dev_3.2~rc3-1~exp3_amd64.deb
 859b03a88eaa56bd19e4c58ef12315d0ffbc7c3c 204348 
compiler-rt_3.2~rc3-1~exp3_amd64.deb
Checksums-Sha256: 
 3ff4b1fc1d919674cced71a2bebde63b780ca54205c2f1e538ecf4f558ce4f16 2102 
clang_3.2~rc3-1~exp3.dsc
 43ab4bf31f1d8ab3e3a496016ad09174f20483265b43c0eee51d36c17681b200 17466 
clang_3.2~rc3-1~exp3.debian.tar.gz
 9fba033519768bf20714b86eff39b15dc5d7a72304964d9cacf7abad41971c65 9056 
clang_3.2~rc3-1~exp3_all.deb
 4c28369d02b821455ac2ffe479fd133ae24963d2d5e249b5c9f891a47c5dfdff 6087724 
clang-3.2_3.2~rc3-1~exp3_amd64.deb
 4262303eea1f2ff2247d0f8c683a7b60c7630156df2b9400e5a6e925f7d7dd84 4196178 
libclang1_3.2~rc3-1~exp3_amd64.deb
 02701a1cfb7a4901218af65152768cb8377c669e563b8dcd64586424e61400c0 10589300 
libclang-dev_3.2~rc3-1~exp3_amd64.deb
 7f2051e8c13a7f9840b0bab55caf10ae95dc99fd7be650f4ec2c7e6c936911e6 302188 
libclang-common-dev_3.2~rc3-1~exp3_amd64.deb
 69ddb20c77379c43e15bf2723588413d88086d584d5f373832f4afaf57269943 204348 
compiler-rt_3.2~rc3-1~exp3_amd64.deb
Files: 
 684055b660391d8c472d7b1dc16b061d 2102 devel optional clang_3.2~rc3-1~exp3.dsc
 aa3d368b95aeb756e4254ec54ae5c4f9 17466 devel optional 
clang_3.2~rc3-1~exp3.debian.tar.gz
 495ea2101cbba740e36b16e317ad9171 9056 devel optional 
clang_3.2~rc3-1~exp3_all.deb
 7f246f9c46b02a889f659808a9fc9ddf 6087724 devel optional 
clang-3.2_3.2~rc3-1~exp3_amd64.deb
 0e1abbfa06f13f5172fa96a409a6cd51 4196178 devel optional 
libclang1_3.2~rc3-1~exp3_amd64.deb
 a6a48611044481d19671d98a386dd178 10589300 libdevel optional 
libclang-dev_3.2~rc3-1~exp3_amd64.deb
 06c543e91434827527bbb3d82afdeddd 302188 libdevel optional 
libclang-common-dev_3.2~rc3-1~exp3_amd64.deb
 6c2302d0ca82938c978598de66c8cd09 204348 libdevel optional 
compiler-rt_3.2~rc3-1~exp3_amd64.deb

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

iEYEARECAAYFAlDIQm8ACgkQiOXXM92JlhAJFwCfeCnPZp1HGDwBdDrujEVXKVsy
QeEAoLAvAWRJlOncz/19dbiN0qvUVXY4
=nolB
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to