Bug 30919 - fontconfig uses baked cache path from build bot
Summary: fontconfig uses baked cache path from build bot
Alias: None
Product: Installers
Classification: Mono
Component: General ()
Version: 4.0.0
Hardware: PC Mac OS
: --- major
Target Milestone: ---
Assignee: Alexis Christoforides
: 31068 ()
Depends on:
Reported: 2015-06-08 16:11 UTC by Alexis Christoforides
Modified: 2015-06-15 08:01 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Alexis Christoforides 2015-06-08 16:11:49 UTC
A fix for local builds of the Mono Mac package resulted in the cache directory being baked in the configuration file for fontconfig in Mono 4.0.

etc/fonts/fonts.conf in 3.12: ~/Library/Caches/com.xamarin.fontconfig
etc/fonts/fonts.conf in 4.0: /Users/builder/Library/Caches/com.xamarin.fontconfig

This breaks sandboxed apps, as reported here: http://forums.xamarin.com/discussion/42593/how-to-work-around-absolute-fontconfig-path-in-mono-4-that-breaks-sandboxed-apps
Comment 1 Alexis Christoforides 2015-06-08 19:18:05 UTC
A fix was created and I will try to include it in SR3. The fix also runs 'fc-cache' at install-time which should properly take care of the multi-second delay at the first run of a GUI app.
Comment 2 John Conners 2015-06-15 08:01:26 UTC
*** Bug 31068 has been marked as a duplicate of this bug. ***