Bug#910392: fontconfig: fc-cache regeneration fails unless EPOC time is set.

Don Alex debug at roosoft.ltd.uk
Fri Oct 5 21:02:45 BST 2018


Package: fontconfig
Version: 2.13.1-1
Severity: important

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
apt upgrade. Regenerating fonts breaks other configurations like libreoffice
etc.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
Following this ARCH thread (https://bugs.archlinux.org/task/59889) they
recommended running fc-cache with
"sudo SOURCE_DATE_EPOCH=$(date +%s)" which as explained from the fontconfig
documentation "SOURCE_DATE_EPOCH is used to ensure fc-cache(1) generates files
in a deterministic manner in order to support reproducible builds. When set to
a numeric representation of UNIX timestamp, fontconfig will prefer this value
over using the modification timestamps of the input files in order to identify
which cache files require regeneration."




   * What was the outcome of this action?

Patching /var/lib/dpkg/fontconfig.postinst with that command worked

   * What outcome did you expect instead?

fc-cache: failed




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

Kernel: Linux 4.18.0-1-amd64 (SMP w/8 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.1-1
ii  libc6              2.27-6
ii  libfontconfig1     2.13.1-1
ii  libfreetype6       2.8.1-2

fontconfig recommends no packages.

fontconfig suggests no packages.

-- debconf-show failed



More information about the Pkg-freedesktop-maintainers mailing list