Bug#897040: fontconfig: .uuid files in font directories not removed during purge

Simon McVittie smcv at debian.org
Fri Apr 27 13:41:32 BST 2018


Package: fontconfig
Version: 2.13.0-4
Severity: normal

To reproduce: run piuparts on fontconfig or anything that it depends on.
I tested d-feet in a sid base tarball from earlier this week, in a
Debian 9 'stretch' virtual machine:

0m0.0s INFO: piuparts version 0.85~bpo9+1 starting up.
0m0.0s INFO: Command line arguments: /usr/sbin/piuparts --arch amd64 -b /tmp/autopkgtest.uE5SNJ/3e1d5d16-c1de-46a1-ab13-fef86825fe3a/minbase-merged-usr.tar.gz --bindmount=/tmp/autopkgtest.uE5SNJ/vectis-iCnAcABsFP -l /tmp/autopkgtest.uE5SNJ/vectis-1rBsQJnS1T/piuparts.log -d sid --mirror 'http://192.168.122.1:3142/debian main' /tmp/autopkgtest.uE5SNJ/vectis-iCnAcABsFP/d-feet_0.3.13-3_all.deb
0m0.0s INFO: Running on: Linux host 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64
...
0m38.4s ERROR: FAIL: Package purging left files on system:
  /usr/local/share/fonts/	 not owned
  /usr/local/share/fonts/.uuid	 not owned
  /usr/share/fonts/	 owned by: fonts-dejavu-core
  /usr/share/fonts/.uuid	 not owned
  /usr/share/fonts/truetype/	 owned by: fonts-dejavu-core
  /usr/share/fonts/truetype/.uuid	 not owned
  /usr/share/fonts/truetype/dejavu/	 owned by: fonts-dejavu-core
  /usr/share/fonts/truetype/dejavu/.uuid	 not owned

0m38.4s ERROR: FAIL: Installation and purging test.

This can also be seen on piuparts.debian.org:
https://piuparts.debian.org/testing2sid/owned_files_after_purge_issue.html
https://piuparts.debian.org/testing2sid/pass/fontconfig_2.13.0-4.log

I think these .uuid files are created as a result of:
https://bugs.freedesktop.org/show_bug.cgi?id=101889

Either fontconfig or fontconfig-config should delete them from known
font directories during purge.

Thanks,
    smcv

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages fontconfig depends on:
ii  fontconfig-config  2.13.0-4
ii  libc6              2.27-3
ii  libfontconfig1     2.13.0-4
ii  libfreetype6       2.8.1-2

fontconfig recommends no packages.

fontconfig suggests no packages.

-- no debconf information



More information about the Pkg-freedesktop-maintainers mailing list