Activity log for bug #1803534

Date Who What changed Old value New value Message
2018-11-15 11:53:25 James Henstridge bug added bug
2018-11-15 11:57:55 James Henstridge attachment added fontconfig_2.12.6-0ubuntu2_2.12.6-0ubuntu3.diff https://bugs.launchpad.net/ubuntu/+source/fontconfig/+bug/1803534/+attachment/5213086/+files/fontconfig_2.12.6-0ubuntu2_2.12.6-0ubuntu3.diff
2018-11-15 12:26:52 Ubuntu Foundations Team Bug Bot tags patch
2018-11-15 12:26:59 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Sponsors Team
2018-11-20 12:37:13 James Henstridge description Fontconfig 2.13.0 changed the cache file naming scheme to be based on the contents of ".uuid" file in the directory rather than a hash of the directory name. On a pure debs system this doesn't really matter since everything is using the same libfontconfig.so. When snaps are involved, it can lead to some apps not seeing the cache files produced by a different fontconfig version. In particular, while libfontconfig 2.13 can reuse 2.12's cache files for read only directories, the reverse is not true. This will be a problem for apps built on top of the "core18" base snap when run on later Ubuntu releases (cosmic, disco, etc). By providing a backport of the UUID cache file feature to bionic for use by snap applications, we'd avoid this. Having it in bionic-updates would be ideal so that snapcraft picks it up automatically. Fontconfig 2.13.0 changed the cache file naming scheme to be based on the contents of ".uuid" file in the directory rather than a hash of the directory name. On a pure debs system this doesn't really matter since everything is using the same libfontconfig.so. When snaps are involved, it can lead to some apps not seeing the cache files produced by a different fontconfig version. In particular, while libfontconfig 2.13 can reuse 2.12's cache files for read only directories, the reverse is not true. This will be a problem for apps built on top of the "core18" base snap when run on later Ubuntu releases (cosmic, disco, etc). By providing a backport of the UUID cache file feature to bionic for use by snap applications, we'd avoid this. Having it in bionic-updates would be ideal so that snapcraft picks it up automatically. [Impact] * This update changes how fontconfig cache files are named, instead of using md5($dir), it instead uses the contents of a $dir/.uuid file. No changes are made to the format of the cache file contents. * This change is primarily intended for use by snap applications built with core18: as the updated libfontconfig will fall back to the md5 cache file names for read-only directories without a .uuid file, they will be able to reuse cache files from any host system running fontconfig >= 2.11.95 [Test Case] * After installing the update, cache files should be generated in /var/cache/fontconfig/ with names like "07b67f7a-16ea-4440-9b6c-21fc9153568c-le64.cache-7" (note the extra dashes not present in the MD5 based cache file names). [Regression Potential] * Applications using a non-default libfontconfig could end up not finding the new cache files and regenerating them in ~/.cache/fontconfig.
2018-11-20 15:05:02 Ken VanDine removed subscriber Ubuntu Sponsors Team
2018-11-20 15:05:16 Ken VanDine bug added subscriber Ubuntu Stable Release Updates Team
2018-11-20 18:03:33 Brian Murray fontconfig (Ubuntu Bionic): status New Fix Committed
2018-11-20 18:03:36 Brian Murray bug added subscriber SRU Verification
2018-11-20 18:03:40 Brian Murray tags patch patch verification-needed verification-needed-bionic
2018-11-28 11:41:15 Sebastien Bacher tags patch verification-needed verification-needed-bionic patch verification-failed verification-failed-bionic
2018-11-28 15:50:45 Ɓukasz Zemczak tags patch verification-failed verification-failed-bionic patch verification-needed verification-needed-bionic
2018-12-04 13:35:08 Jani Uusitalo bug added subscriber Jani Uusitalo
2018-12-07 16:03:04 Sebastien Bacher tags patch verification-needed verification-needed-bionic patch verification-failed verification-failed-bionic
2018-12-07 16:16:38 Sebastien Bacher bug watch added https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=909818
2018-12-11 15:58:16 Ken VanDine fontconfig (Ubuntu Bionic): status Fix Committed Invalid
2018-12-11 15:58:21 Ken VanDine fontconfig (Ubuntu): status New Invalid