Bug#682455: llvm-X.Y-runtime: fails to deregister the binfmt during removal

Andreas Beckmann debian at abeckmann.de
Sun Jul 22 21:30:08 UTC 2012


Package: llvm-3.1-runtime
Version: 3.1-2
Severity: important
User: debian-qa at lists.debian.org
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 (or 10.8):

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

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

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

[...]
  Removing llvm-3.1-runtime ...
  update-binfmts: warning: /var/lib/binfmts/llvm does not exist; nothing to do!
[...]
1m20.2s ERROR: FAIL: Package purging left files on system:
  /var/lib/binfmts/llvm-3.1.binfmt	 not owned
[...]

The prerm script runs
  update-binfmts --package llvm --remove llvm /usr/bin/lli-3.1
but this needs to be
  update-binfmts --package llvm --remove llvm-3.1.binfmt /usr/bin/lli-3.1

Also the --package option does not look right, but that would need
fixing in /usr/share/binfmts/llvm-3.1.binfmt, too

llvm-2.9-runtime and llvm-3.0-runtime have the same problem.


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-3.1-runtime_3.1-2.log.gz
Type: application/x-gzip
Size: 8566 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20120722/4d449cf7/attachment.bin>


More information about the Pkg-llvm-team mailing list