[Fontconfig-bugs] [Bug 30077] fontconfig fails to write cache on Haiku

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jun 17 17:38:19 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=30077

--- Comment #7 from scottmc <scottmc2 at gmail.com> 2012-06-17 17:38:19 PDT ---
Haiku use OpenBFS for the file system by default.  OpenBFS like BFS for BeOS
does/did not support hard linking, perhaps that is the issue here?  An example
patch for dealing with this has been posted to HaikuPorts but we have not yet
verified that it fixes the issue.
http://ports.haiku-files.org/attachment/ticket/261/fontconfig-2.8.0.patch
You can see the text version of the patch by clicking on the 'original format'
link at the bottom of that page.  This didn't look like a very clean way of
fixing it to me.  Perhaps you know of a cleaner fix?  OpenBFS does support
symlinks, so perhaps those could be used as a fallback fix?
Haiku defines __HAIKU__ so if you need to use ifdefs you could use that. 
Perhaps a better fix would be to check for hard link capability in configure
and then take action based on that result.

Also the fix for fontconfig ticket #26157 breaks the build for Haiku, at least
for building with gcc2.95.3, which we use for maintaining backward
compatibility with BeOS.
http://cgit.freedesktop.org/fontconfig/commit/src/fcint.h?id=3cd1e673a9b518784183029d5cc1d2adae0cb29a
changing it from end[] back to end[0] then allows fontconfig-2.9.91 to compile
on Haiku, but we still get the same unable to write cache file errors as with
2.8.0.
The reported failure is: fcint.h:281 field `end' has incomplete type
-scottmc

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Fontconfig-bugs mailing list