nixpkgs/pkgs/development/tools/build-managers/meson
Will Dietz 13904b44e3
Revert "meson: 0.46.1 -> 0.47.0"
With meson 0.47.0 (or 0.47.1, or git)
things are very wrong re:rpath handling
resulting in at best missing libs but
even corrupt binaries :(.

When we run patchelf it masks the problem
by removing obviously busted paths.
Which is probably why this wasn't noticed immediately.

Unfortunately the binary already
has a long series of paths scribbled
in a space intended for a much smaller string;
in my testing it was something like
lengths were 67 with 300+ written to it.

I think we've reported the relevant issues upstream,
but unfortunately it appears our patches
are what introduces the overwrite/corruption
(by no longer being correct in what they assume)

This doesn't look so bad to fix but it's
not something I can spend more time on
at the moment.

--

Interestingly the overwritten string data
(because it is scribbled past the bounds)
remains in the binary and is why we're suddenly
seeing unexpected references in various builds
-- notably this is is the reason we're
seeing the "extra-utils" breakage
that entirely crippled NixOS on master
(and probably on staging before?).

Fixes #43650.

This reverts commit 305ac4dade.

(cherry picked from commit 273d68eff8f7b6cd4ebed3718e5078a0f43cb55d)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-07-24 14:10:01 +01:00
..
allow-dirs-outside-of-prefix.patch meson: 0.44.0 → 0.45.1 2018-03-27 22:34:30 +02:00
default.nix Revert "meson: 0.46.1 -> 0.47.0" 2018-07-24 14:10:01 +01:00
fix-rpath.patch meson: fix rpath fixup 2018-03-22 07:30:58 +01:00
gir-fallback-path.patch meson: pass library install paths to g-ir-scanner 2017-11-09 21:21:00 +01:00
setup-hook.sh meson: set auto_features=disabled 2018-07-09 23:06:25 +02:00