Skip to content

Fontconfig fails to build with config error #1441

@saxonww

Description

@saxonww

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:

<Target Name="Build">
    <Exec Command="pip install gvsbuild" />
    <Exec Command="gvsbuild build gtk4 --platform $(PLATFORM) --build-dir $(BUILD_DIR)" />
</Target>

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions