Debian Bug report logs -
#857892
fontconfig: please make the cache files reproducible
Reported by: Chris Lamb <lamby@debian.org>
Date: Thu, 16 Mar 2017 07:48:01 UTC
Severity: wishlist
Tags: fixed-upstream, patch
Found in version fontconfig/2.11.0-6.7
Fixed in version fontconfig/2.12.1-0.1
Done: Laurent Bigonville <bigon@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Keith Packard <keithp@debian.org>:
Bug#857892; Package src:fontconfig.
(Thu, 16 Mar 2017 07:48:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Chris Lamb <lamby@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Keith Packard <keithp@debian.org>.
(Thu, 16 Mar 2017 07:48:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: fontconfig
Version: 2.11.0-6.7
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds [0] we noticed that the fc-cache
command generates cache files in with non-deterministic contents.
This is problematic for us as bootstrapping a new Debian system will result
in different contents under /var/cache/fontconfig and thus the generated
system is not reproducible. In Tails[1] we are working around this by simply
deleting the contents of this directory [2] but this probably isn't a good
idea.
The cause is due to fc-cache writing unitialised memory during scanning of
the directory index.
Patch attached.
[0] https://reproducible-builds.org/
[1] https://tails.boum.org/
[2] https://git-tails.immerda.ch/tails/tree/config/chroot_local-hooks/99-zzzzzz_reproducible-builds-post-processing?h=feature/5630-deterministic-builds#n28
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org / chris-lamb.co.uk
`-
[fontconfig.diff.txt (text/plain, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Keith Packard <keithp@debian.org>:
Bug#857892; Package src:fontconfig.
(Thu, 16 Mar 2017 08:00:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Chris Lamb <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Keith Packard <keithp@debian.org>.
(Thu, 16 Mar 2017 08:00:03 GMT) (full text, mbox, link).
Message #10 received at 857892@bugs.debian.org (full text, mbox, reply):
tags 857892 + fixed-upstream
thanks
Looks like this was inadvertently fixed upstream:
https://cgit.freedesktop.org/fontconfig/commit/?id=7a6622f25cdfab5ab775324bef1833b67109801b
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org / chris-lamb.co.uk
`-
Added tag(s) fixed-upstream.
Request was from Chris Lamb <lamby@debian.org>
to control@bugs.debian.org.
(Thu, 16 Mar 2017 08:00:04 GMT) (full text, mbox, link).
Marked as fixed in versions fontconfig/2.12.1-0.1.
Request was from Laurent Bigonville <bigon@debian.org>
to control@bugs.debian.org.
(Tue, 28 Mar 2017 16:27:03 GMT) (full text, mbox, link).
Marked Bug as done
Request was from Laurent Bigonville <bigon@debian.org>
to control@bugs.debian.org.
(Tue, 28 Mar 2017 16:27:04 GMT) (full text, mbox, link).
Notification sent
to Chris Lamb <lamby@debian.org>:
Bug acknowledged by developer.
(Tue, 28 Mar 2017 16:27:04 GMT) (full text, mbox, link).
Message sent on
to Chris Lamb <lamby@debian.org>:
Bug#857892.
(Tue, 28 Mar 2017 16:27:08 GMT) (full text, mbox, link).
Message #21 received at 857892-submitter@bugs.debian.org (full text, mbox, reply):
close 857892 2.12.1-0.1
thanks
Hi,
I see that the upstream patch has been commited in 2013, that would mean it's
now fixed in experimental.
Closing the bug then
Cheers,
Laurent Bigonville
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 30 Jun 2017 07:28:41 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 13:46:20 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.