Package: fontconfig
Version: 2.9.0-7.1
Severity: important

===
# apt-get install fontconfig
Reading package lists... Done
Building dependency tree       
Reading state information... Done
fontconfig is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? 
Setting up fontconfig (2.9.0-7.1) ...
Regenerating fonts cache... failed.
See /var/log/fontconfig.log for more information.
dpkg: error processing fontconfig (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 fontconfig
E: Sub-process /usr/bin/dpkg returned an error code (1)
===
# cat /var/log/fontconfig.log
fc-cache: symbol lookup error: fc-cache: undefined symbol: FcConfigEnableHome
===
# fc-cache 
Fontconfig error: "conf.d", line 1: no element found
Fontconfig warning: line 73: unknown element "cachedir"
Fontconfig warning: line 74: unknown element "cachedir"
fc-cache: symbol lookup error: fc-cache: undefined symbol: FcDirCacheLoad
===
# ls -l /etc/fonts
total 24
drwxr-xr-x 2 root root 4096 Sep  9 14:52 conf.avail
drwxr-xr-x 2 root root 4096 Sep  9 14:52 conf.d
-rw-r--r-- 1 root root 5287 Dec 11  2012 fonts.conf
-rw-r--r-- 1 root root 6983 Dec 11  2012 fonts.dtd
===
# ldd /usr/bin/fc-cache 
        linux-gate.so.1 =>  (0xb7742000)
        libfontconfig.so.1 => /usr/X11R6/lib/libfontconfig.so.1 (0xb7713000)
        libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xb75b0000)
        libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 
(0xb7513000)
        libexpat.so.0 => /usr/X11R6/lib/libexpat.so.0 (0xb74f6000)
        /lib/ld-linux.so.2 (0xb7743000)
        libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb74dd000)
===

Some googling in some cases suggested this problem may be caused by
some old libraries hanging around (this particular system has been
upgraded on each release since woody, so that is entirely plausible, 
despite having purged completely any rc state packages).

I cleared one old libXft out but I am not sure what else could be
causing the issue, but it does appear to be something related to
a library based upon the symbol errors.

If the problem is not directly within fontconfig or its package
and there is indeed an old library lurking, perhaps some notes
should be added to the release notes pertaining to removal of old
libraries.

-- System Information:
Debian Release: 7.1
  APT prefers stable
  APT policy: (1100, 'stable'), (500, 'stable-updates')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages fontconfig depends on:
ii  fontconfig-config  2.9.0-7.1
ii  libc6              2.13-38
ii  libfontconfig1     2.9.0-7.1

fontconfig recommends no packages.

fontconfig suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to