Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907424 - media-libs/fontconfig-2.14.2: fc-cache does not work with sysroot (-y)
Summary: media-libs/fontconfig-2.14.2: fc-cache does not work with sysroot (-y)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2023-05-30 17:21 UTC by Sean Kau
Modified: 2023-05-30 17:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(+)