Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 644270 - media-libs/fontconfig-2.11.1-r2 - .../work/fontconfig-2.11.1/src/fcmatch.c:284:63: error: ‘PRI_CHAR_WIDTH_STRONG’ undeclared here (not in a function)
Summary: media-libs/fontconfig-2.11.1-r2 - .../work/fontconfig-2.11.1/src/fcmatch.c:28...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2018-01-11 22:54 UTC by Brian G. Olson
Modified: 2021-12-20 06:08 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge-info.txt,5.58 KB, text/plain)
2018-01-12 21:03 UTC, Brian G. Olson
Details
build.log (build.log,46.69 KB, text/plain)
2018-01-12 21:04 UTC, Brian G. Olson
Details
Patch for 2.11.1-r2 (fontconfig-2.11.1-avoid-conflicts-with-integer-width-macros-from-TS-18.patch,2.58 KB, patch)
2018-01-12 21:08 UTC, Brian G. Olson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brian G. Olson 2018-01-11 22:54:34 UTC
Fontconfig-2.11.1-r2 fails to compile with glibc 2.25+. This patch fixes the problem on my machine: https://raw.githubusercontent.com/openembedded/openembedded-core/e82a7f879419828b42b5cc71e6229c8235090f21/meta/recipes-graphics/fontconfig/fontconfig/0001-Avoid-conflicts-with-integer-width-macros-from-TS-18.patch

FYI: I use this version of fontconfig because of bug #632106.
Comment 1 Tomáš Mózes 2018-01-12 03:30:37 UTC
Please attach the full build log and the output of emerge --info.
Comment 2 Tomáš Mózes 2018-01-12 03:34:25 UTC
Does it work with 2.12.4? Since there are multiple versions of 2.12,please look into testing/fixing those.
Comment 3 Brian G. Olson 2018-01-12 20:16:49 UTC
Both fontconfig-2.12.4 and 2.12.6 work as is ( I didn't try 2.12.91 ). They already have the patch I linked to earlier applied, so they compile and install with no changes needed. I was actually using fontconfig-2.12.6 for a few days, until I figured out how to get fontconfig-2.11.1-r2 working again. I can include the build log and emerge --info later.
Comment 4 Brian G. Olson 2018-01-12 21:03:28 UTC
Created attachment 514544 [details]
emerge --info
Comment 5 Brian G. Olson 2018-01-12 21:04:03 UTC
Created attachment 514546 [details]
build.log
Comment 6 Brian G. Olson 2018-01-12 21:08:29 UTC
Created attachment 514548 [details, diff]
Patch for 2.11.1-r2

This is the actual patch I use in my local repository to get fontconfig-2.11.1-r2 to compile and install.
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-20 06:08:32 UTC
Still relevant? Seems like it isn't.