meson: update to 1.12.0 - #62366
Open
sjozs wants to merge 25 commits into
Open
Conversation
The removed Rust proc-macro patch was fixed in upstream. Added another upstream patch for C-like ldflags being passed to D compilers, so the sanity check failed.
Related to the change described at https://codeberg.org/Codeberg/changelog/issues/2#issuecomment-19104626
Originally it downloaded a mocklibc wrap, which doesn't work now so everything fails.
Also fixed in newer versions (probably 0.8.3), this is just the backported patch.
Related to the change described at https://codeberg.org/Codeberg/changelog/issues/2#issuecomment-19104626
Ported from upstream PR FontManager/font-manager#468
Gitlab has also changed something? (It compiles anyway, so I'm not sure.)
Putting meson_builddir to src/build caused meson 1.12 to confuse the original source files for generated ones and translate their names to something entirely different for ninja. Since ninja could not find a target (or file, for that matter) with that name, the build failed. The default builddir works just fine.
Added pytest dependency. Probably fixed the real portage installs (if there are any) too, since as far as I know, Void has no gtar symlink to tar anywhere. Also added wget to checkdepends since a test required it.
unit_test_framework doesn't work with boost-headers only.
One of the tests need a compilation without NDEBUG. Obviously, we can't do that.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Testing the changes
Did the same tests as with #61424.
nix now compiles, there was a single regression with corecollector (D compilers got C-like ldflags in sanity check, which led to "dmd cannot compile programs") with a single-line upstream patch, so I added that. I compiled every package on x86_64 with "meson" in its template, fixed anything easily fixable (eg. Codeberg tarball checksum instability), the rest is here:
As far as I can see, there were no surprises since my last attempt in #61424.