Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#31474 - Fontconfig 2.10 breaks compatibility with some programs

Attached to Project: Community Packages
Opened by Robert Myers (Falcata) - Saturday, 08 September 2012, 21:19 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 09 September 2012, 08:17 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Fontconfig 2.10 deprecates some old code, breaking certain applications: including any and all viewers for Second Life, InWorldz, or OpenSim, such as Imprudence.

Viewers crash with the following errors:
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
do-not-directly-run-imprudence-bin: fcmatch.c:958: IA__FcFontSort: Assertion `result != ((void *)0)' failed.
./imprudence: line 130: 17902 Aborted LD_LIBRARY_PATH="`pwd`"/lib64:"`pwd`"/lib32:"${LD_LIBRARY_PATH}" $LL_WRAPPER bin/$VIEWER_BINARY
unexpected shutdown

Suggested Fix: Patch fontconfig to reinstate support for the deprecated code, or create a compatibility package. I won't create/maintain such a package, however, because I'm switching to Debian.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Sunday, 09 September 2012, 08:17 GMT
Reason for closing:  Not a bug
Additional comments about closing:  if end applications are broken file bugs against these apps.
Comment by Adrian C. (anrxc) - Sunday, 09 September 2012, 01:35 GMT

Ran into this on my Arch VDR (video disk recorder) server:
fcmatch.c:958: IA__FcFontSort: Assertion `result != ((void *)0)' failed

VDR v1.6.0 and v1.7.x patch available here: http://patchwork.linuxtv.org/patch/12944/
Comment by Robert Myers (Falcata) - Sunday, 09 September 2012, 02:44 GMT
I'll note that the problem also affects the lib32 version of fontconfig.
Comment by Wei-Ning Huang (aitjcize) - Sunday, 09 September 2012, 03:18 GMT
Same problem here with pcmanx-gtk2
Comment by Daniel Micay (thestinger) - Sunday, 09 September 2012, 08:09 GMT
This isn't a fontconfig bug, deprecated code has been removed and new code has been deprecated. This is the regular cycle that pretty any library with a sane API goes through.

Instead, bugs should be filed against applications that need to be updated and as always, any silly proprietary software needs to statically link against everything that's not glibc to stay sane.

The actual deprecation warning you're getting is simply because fontconfig has switched to $XDG_CONFIG_HOME/fontconfig/fonts.conf per the XDG standard for the local config (the existing one still works for now). The error is because FcFontSort now uses an assertion to check that the FcResult parameter is not NULL (which is not allowed by the API).

pcmanx-gtk2 has already been updated: https://code.google.com/p/pcmanx-gtk2/issues/detail?id=52

Loading...