Skip to content

meson: update to 1.12.0 - #62366

Open
sjozs wants to merge 25 commits into
void-linux:masterfrom
sjozs:meson-1.12.0
Open

meson: update to 1.12.0#62366
sjozs wants to merge 25 commits into
void-linux:masterfrom
sjozs:meson-1.12.0

Conversation

@sjozs

@sjozs sjozs commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Testing the changes

  • I tested the changes in this PR: YES

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:

citations - appdata validation fails, upstream problem - might be fixed by a new AppStream version?
ddgtk - bad appstream file, upstream problem
gamescope - broken compilation with libinput 1.31, there are lots of new upstream releases but I'm not using the package
gnome-authenticator - warnings in metainfo file
gnome-calculator - will be fixed in 51.0, used library (MPC) changed sign of sqrt(negative number), see https://gitlab.gnome.org/GNOME/gnome-calculator/-/work_items/531
gst-plugins-rs1 - compilation broken with new Rust, 0.15 (or at least 0.13.7) available
gxml - upstream bug: https://gitlab.gnome.org/GNOME/gxml/-/work_items/49
io.elementary.files - very old version broken with new gcc+vala, upstream bug: https://github.com/elementary/files/issues/2508
iputils - raw sockets disabled, ping tests fail
kiwix-lib - see: https://github.com/kiwix/libkiwix/issues/1266#issuecomment-4352527068 (upstream patched already)
libgweather - upstream bug: https://gitlab.gnome.org/GNOME/libgweather/-/work_items/348 (metar network dependency changed)
libupnpp - 1.0.3 source tarball has disappeared, I couldn't find why
libvarlink - broken tests, seemingly for a long time (actually, it seems like it passes more of JSONTestSuite than the tests expect)
localsearch - eg. missing man from checkdepends (other errors were independent from meson version)
newsflash - bad checksum
open-isns - same bug as with older meson
p11-kit - no idea but couldn't fix, broken in old meson too (most likely suid-related)
pacman - cross-meson-version consistent broken tests
pango - consistently broken tests
patchmatrix - code hosting site down since at most January
pcsc-ccid - distfiles gone (looks like only the last 3 is kept on server)
python3-pywt - cross-meson broken tests
rest - test depends on flickr, broken with either meson version
sagemath - Cython error while compiling: list.to_py:145:30: Cannot convert 'list[T]' to Python object (meson version does not change anything)
switchboard - bad checksum, code from 2022, practically unmaintained package
switchboard-plug-bluetooth - same
switchboard-plug-network - same
switchboard-plug-printers - same
tinysparql - meson-independently broken tests in 'core+slow - tinysparql:sparql'
umockdev - deprecation inside glib import code+-Werror::DeprecationWarning
virt-manager - yep, tests fail (independent upstream problem)
xorg-server - GLX extension missing in bug1354-gl(es) tests, not meson-related
zathura - aborts in xbps-src (any meson version), works locally

As far as I can see, there were no surprises since my last attempt in #61424.

sjozs added 25 commits September 3, 2026 13:28
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.
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.
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.
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.

1 participant