Skip to content

How to update Wayland_jll? #10809

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

Open
eschnett opened this issue Mar 23, 2025 · 2 comments
Open

How to update Wayland_jll? #10809

eschnett opened this issue Mar 23, 2025 · 2 comments

Comments

@eschnett
Copy link
Contributor

I tried building a new version of Wayland_jll because I encountered a deep rabbit hole and both HarfBuzz and Wayland were at the end of it.

I think Wayland_jll of version X has Wayland_jll of version X as host build dependency. That's weird – how has this ever worked? I tried building Wayland 1.23.1, and it requested wayland-scanner version 1.23.1 to be present, and this executable is provided by the very package I'm trying to build.

@barche
Copy link
Contributor

barche commented Mar 31, 2025

I believe #10876 will solve this. The mechanism used is similar to what happens in Qt6, where the build on x86_64-linux-musl is used to supply tools for the cross-compiled builds. In this case, it is solvable by just always building these host tools, so the HostBuildDependency can be removed. This is the preferred way, because otherwise an in-between release with only the host build is required, and this can cause breakage while the target builds are under construction.

I am also closing PR #10813 in favor of this.

@eschnett
Copy link
Contributor Author

If you name the host tools package WaylandScanner and the actual package Wayland then the dependency chain is clear and cannot cause breakage.

However, your approach is simpler because there is only a single package. The disadvantage of your approach is that the host tools are built many times, and their dependencies need to be installed. In any way, your approach is working fine.

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

No branches or pull requests

2 participants