[WIP] meson: update to 1.11.1.#61424
Conversation
|
Testing update: I tried rebuilding every meson-related (meson/mesonpy in dependencies or build_style/build_helper=meson) package, I have 41 (mostly check) failures from 640 so far (only x86_64, sorry). The total is somewhere in the neighborhood of 900, and I'd like to look at the failed stuff more, although the ones I've checked manually so far break regardless of the meson version, which looks promising. I'll update this comment when I see the results. Edit: I got the results: There is a regression in this version that breaks nix compilation, which |
|
I know it's not the best form to mix up two package updates in one PR, sorry, but this is kind of connected. For some reason I couldn't fix the And apparently, the nix manual only compiles when cross-compiling, sorry. I'll try to fix it. (And now it doesn't even do that, I probably messed up something and left a good executable in the masterdir then.) |
Added Fedora patch to fix build with meson-1.11. Lowdown 3 is now supported by upstream, so I removed that one. Also enabled tests after fixing them.
Testing the changes
I built a randomly selected subset of about 30 x86_64-glibc packages with checks (I got one failure on libgweather, which has a broken network file dependency in the tests, otherwise everything worked). Then I tried cross building using my new meson package to x86_64-musl, i686 and aarch64 . This also worked. (Some were only a single build, since I figured that if mesa compiles, everything compiles and building it four times took about three hours alone.)
I have removed the
rust-proc-macropatch since it's fixed in upstream now, and built a fewbuild_style=mesonpackages that hadcargoorrustsomewhere in the template with the new changes to make sure they worked (withxbps-src -Q install).gst-plugins-rs1does not compile, but it's a Rust error for implicit raw pointer dereference and it doesn't build with the old meson either, which is probably worth another issue (though it also has updates available, so I'm not sure what exactly to write in it, also it's not an orphaned package). Every other tested meson+Rust package builds successfully.Local build testing
(I found #58641 after I started testing my changes and it seemed better to simply open a new PR instead of trying to work on that since there was a version bump since that one. I also used the new meson to build and run a somewhat nontrivial very experimental autotools port of the very old game warmux to test.)