Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 907424

Summary: media-libs/fontconfig-2.14.2: fc-cache does not work with sysroot (-y)
Product: Gentoo Linux Reporter: Sean Kau <skau>
Component: Current packagesAssignee: Gentoo Fonts Team <fonts>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://gitlab.freedesktop.org/fontconfig/fontconfig/-/merge_requests/260
Whiteboard:
Package list:
Runtime testing required: ---

Description Sean Kau 2023-05-30 17:21:12 UTC
fc-cache with -y fails consistently.  This is the same bug as was reported upstream. https://gitlab.freedesktop.org/fontconfig/fontconfig/-/merge_requests/260

Reproducible: Always

Steps to Reproduce:
1.emerge fontconfig-2.14.2
2.fc-cache -y <sysroot path>
Actual Results:  
Fontconfig builds cache relative to sysroot

Expected Results:  
fc-cache fails when attempting to read ttf files
Comment 1 Larry the Git Cow gentoo-dev 2023-05-30 17:26:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd25a4746a974454ffc7906a86df0e24a791a6ed

commit cd25a4746a974454ffc7906a86df0e24a791a6ed
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-05-30 17:26:08 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-30 17:26:26 +0000

    media-libs/fontconfig: backport fix for fc-cache w/ sysroot
    
    Closes: https://bugs.gentoo.org/907424
    Signed-off-by: Sam James <sam@gentoo.org>

 .../fontconfig-2.14.2-fix-sysroot-fc-cache.patch   |  60 ++++++
 media-libs/fontconfig/fontconfig-2.14.2-r3.ebuild  | 232 +++++++++++++++++++++
 2 files changed, 292 insertions(+)