-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
meson: 0.60.3 -> 0.61.2 #154833
meson: 0.60.3 -> 0.61.2 #154833
Conversation
EDIT: Not trying to block this, but I am not sure if GNOME is also ready for this: #162938 #160128 #160126 #160283 #161241, though it should be quite trivial to fix similar issues. |
I also noticed some regression when building glib natively, namely mesonbuild/meson#9807, that didn't make it the 0.60.0. |
Reading the discussion in #144779 (comment), I thought we cherry-picked the patch. But perhaps it got forgotten in the mess caused by splitting the package. |
Yeah, it is in the original PR: https://github.com/NixOS/nixpkgs/pull/144779/files#diff-f4a18ab9c966d0274b79b396e0f506406ee5fb7d60758f71bc3de9662db8d455 |
gobject-introspection is also broken: https://gitlab.gnome.org/GNOME/gobject-introspection/-/commit/effb1e09dee263cdac4ec593e8caf316e6f01fe2 |
harfbuzz breaks when cross building docs:
can be worked around by disabling docs when crossing. This seems to be a meson bug in handling exe wrappers,strangely the related codes are not modified recently. |
applied multiple patches following archlinux, ref: https://github.com/archlinux/svntogit-packages/blob/31d9974f1c4d3badca5809d74bc8c5e8379e3ee3/trunk/PKGBUILD |
Yeah, either this or at least adding the cross-compilation patch would be nice. Adding the patch is probably 'safer' for now, but I don't know what the breakage for the meson bump actually is. Reading this thread it might be painful regardless of what we choose. |
Yeah, I think we should just apply the patch like the original PR did to unblock staging next, and then retarget this to staging where there's a bit less time pressure. |
meson 0.60 is actually as broken as 0.61, and there are already enough upstream fixes to apply at least for the critical packages. I'm more in favour of skipping 0.60. |
Not sure what you mean. Both glib and gobject-introspection seem to build in native compilation with 0.60. |
My mistake, you are correct, let's just do as @alyssais said, bring back the lost patch and retarget this one. |
yes, still have to tackle with a bunch of build failures in the next staging-next cycle though, but meson itself should be good as is. |
@jtojnar @AndersonTorres are you happy with this? The next meson release is scheduled for tomorrow, so would be great if we could get this in so we don't have to upgrade through multiple versions at once again. |
Why not just wait for another day? Skipping a meson release looks like a benefit for us. |
If the next Meson is not a 0.62.x, then wait until tomorrow. |
The newly tagged meson 0.62.0rc1 breaks glib even in native compilation, let's get this in staging and wait for the new meson release to brew. |
RC release? Oh man... |
polkit is still broken:
Needs: https://gitlab.freedesktop.org/polkit/polkit/-/merge_requests/99 |
Why is Darwin failing? |
Looks like dependency failures? |
OfBorg build attempts are usually not much use when filing PRs against staging (or any branch without many binaries). |
That being said, I will merge this. |
|
Maybe we will need this patch for gcr. For |
When would the next staging-next cycle begin? I would like to take a look at the blast radius before determining whether it's appropriate to patch meson (again). FYI, meson 0.61.3 was just released 2 days ago, nothing interesting though, jut a reminder. |
It should be as soon as Hydra recovers from the openssl update. EDIT: around this weekend, I expect. |
Proposed |
Proposed |
Harfbuzz cross-compilation seems to have broken in this update, might investigate later.
Probably an upstream bug. Edit: reverting meson works, so definitely feels like an upstream meson bug. |
Motivation for this change
ref: #154708
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes