Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The macOS CI is failing #2069

Closed
lmoureaux opened this issue Dec 2, 2023 · 1 comment · Fixed by #2075
Closed

The macOS CI is failing #2069

lmoureaux opened this issue Dec 2, 2023 · 1 comment · Fixed by #2075
Assignees
Labels
back-port back-port candidate bug Something isn't working important This issue should be fixed asap tools Issues related to mp, ruledit, etc along with CI and build tools.

Comments

@lmoureaux
Copy link
Contributor

Describe the bug

We are affected by microsoft/vcpkg#35332. This prevents macOS builds from completing.

To Reproduce
Steps to reproduce the behavior:

  1. Trigger a CI build
  2. Wait until vcpkg starts building fontconfig
  3. See an error related to missing distutils

Expected behavior
The build completes.

Platform and version (please complete the following information):

  • OS: macOS
  • Freeciv21 version: master and stable

Additional context
distutils was removed in Python 3.12. Meson failed to follow suit until it was too late.

@lmoureaux lmoureaux added bug Something isn't working important This issue should be fixed asap tools Issues related to mp, ruledit, etc along with CI and build tools. back-port back-port candidate labels Dec 2, 2023
@lmoureaux lmoureaux self-assigned this Dec 2, 2023
@lmoureaux
Copy link
Contributor Author

Forcing the Python version solves the issue with distutils and Meson, but then I encounter another issue (probably unrelated) with SDL.

@lmoureaux lmoureaux mentioned this issue Dec 6, 2023
lmoureaux added a commit to lmoureaux/freeciv21 that referenced this issue Dec 15, 2023
This is needed to work around a bug in the meson build system used by
fontconfig, which is pulled as a dependency by vcpkg.

See longturn#2069.
lmoureaux added a commit to lmoureaux/freeciv21 that referenced this issue Dec 15, 2023
This is needed to work around a bug in the meson build system used by
fontconfig, which is pulled as a dependency by vcpkg.

See longturn#2069.
jwrober pushed a commit that referenced this issue Dec 16, 2023
This is needed to work around a bug in the meson build system used by
fontconfig, which is pulled as a dependency by vcpkg.

See #2069.
lmoureaux added a commit that referenced this issue Dec 17, 2023
This is needed to work around a bug in the meson build system used by
fontconfig, which is pulled as a dependency by vcpkg.

See #2069.
lmoureaux added a commit to lmoureaux/freeciv21 that referenced this issue Mar 17, 2024
The macOS CI stopped working, seemingly because multiple Python versions
are installed simultaneously. We forced the Python version in response
to longturn#2069. There is now a proper fix for longturn#2069 in upstream vcpkg. Update
the vcpkg version so we can use it.
jwrober pushed a commit that referenced this issue Mar 30, 2024
* Fix the macOS CI build

The macOS CI stopped working, seemingly because multiple Python versions
are installed simultaneously. We forced the Python version in response
to #2069. There is now a proper fix for #2069 in upstream vcpkg. Update
the vcpkg version so we can use it.
lmoureaux added a commit that referenced this issue Mar 31, 2024
* Fix the macOS CI build

The macOS CI stopped working, seemingly because multiple Python versions
are installed simultaneously. We forced the Python version in response
to #2069. There is now a proper fix for #2069 in upstream vcpkg. Update
the vcpkg version so we can use it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back-port back-port candidate bug Something isn't working important This issue should be fixed asap tools Issues related to mp, ruledit, etc along with CI and build tools.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant