Open saxonww opened 1 day ago
Hi @saxonww!
Do you have either the FONTCONFIG_FILE or FONTCONFIG_PATH environmental variables set?
From cmd.exe you could run: echo %FONTCONFIG_FILE% echo %FONTCONFIG_PATH%
Hello @danyeaw, no not on purpose. I dumped the environment and neither are set at the beginning of the build.
I'm using GitHub Actions to build an internal copy of GTK using gvsbuild. To do this, I've written an MSBuild project that does the following:
where
PLATFORM
is x64 or Win32.I had intended to consume gvsbuild from a submodule, but obviously the above installs from pypi. I picked up 2024.9.0 today, and got an error about a missing fontconfig default config file.
See gist: https://gist.github.com/saxonww/237a33fdfd0209c55a025a5eb062e6cf
When I corrected the pip command to install the version from my submodule (2024.7.0), the build worked fine. So, I think something happened with the August or September release. I'm running this on a windows-2022 runner, selecting Python 3.12 and Visual Studio 2022.
Wondering if this is something people have seen before and what the appropriate fix is. I haven't really spent any time troubleshooting it myself.