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

Explicitly add msys2 as path dependency of libadwaita #1135

Merged
merged 1 commit into from
Nov 12, 2023

Conversation

mitchhentges
Copy link
Contributor

In libadwaita 1.4.0, the demo/data/meson.build was changed to require sh [1].
However, this is causing a Program 'sh' not found error in gvsbuild because sh isn't on the $PATH by default.

Resolve this by adding MSYS2's sh to the $PATH.

Fixes #1133

[1] https://gitlab.gnome.org/GNOME/libadwaita/-/commit/daeb5a6b78a8530b78f7d495deb02f4e97f26e7b

In `libadwaita` 1.4.0, the `demo/data/meson.build` was changed to
require `sh` [1].
However, this is causing a `Program 'sh' not found` error in `gvsbuild`
because `sh` isn't on the `$PATH` by default.

Resolve this by adding MSYS2's `sh` to the `$PATH`.

Fixes wingtk#1133

[1] https://gitlab.gnome.org/GNOME/libadwaita/-/commit/daeb5a6b78a8530b78f7d495deb02f4e97f26e7b
@mitchhentges
Copy link
Contributor Author

It looks like this wasn't caught by CI because CI specifies --enable-gi, and that causes gobject-introspection to be added as a dependency, which adds MSYS2 to the $PATH.

It's unclear to me how to solve this without doubling the CI matrix (GTK 3, 4 and with/without gobject-introspection?).

Copy link
Contributor

@pbor pbor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@pbor pbor merged commit 0070b3a into wingtk:main Nov 12, 2023
@mitchhentges mitchhentges deleted the libadwaita-missing-sh branch November 12, 2023 13:27
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.

[libadwaita] "ERROR: Program 'sh' not found or not executable"
2 participants