Skip to content

Conversation

@tleedjarv
Copy link
Contributor

Dune 3.17.0 was released just last week. It switched from using pkg-config to pkgconf as the default with pkg-config as a fallback. pkgconf does not seem to work well in all environments (currently the only one breaking in the CI workflow is ubuntu-20.04) and previously working builds would suddenly fail. This does not affect Unison directly but rather cairo2 and lablgtk3, which are needed for Unison GUI.

There is no known fix (the problem is unknown -- is it with GHA runners, Ubuntu (or Cygwin in case of Win builds), or pkgconf itself? -- and irrelevant), but we can work around it simply by uninstalling pkgconf and letting dune fall back to pkg-config, which continues to work as previously.

A recent dune release uncovered issues with pkgconf (required by cairo2
and lablgtk3) which break some builds. In the current workflow only
builds on ubuntu-20.04 are affected (MSVC GUI builds were also broken
but these are not yet merged into the workflow). Since we don't rely on
pkgconf, we can just remove it and let dune fall back to pkg-config.
@gdt gdt merged commit 0b24bcc into bcpierce00:master Dec 3, 2024
30 checks passed
@tleedjarv tleedjarv deleted the gha-pkgconf-fix branch December 3, 2024 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants