meson: meson does not properly compute RUNPATH on a merged-usr system
This was originally filed as https://github.com/systemd/systemd/issues/10430
Building systemd git master on a merged-/usr Debian sid system, results in broken test binaries.
The RUNPATH is not properly set. After applying #4381, the test binaries are usable.
But in case of /lib/x86_64-linux-gnu
, it shouldn’t be added to RUNPATH at all, because this is a system library path.
On a non-merged-/usr system, no such RUNPATH is added. It seems that the lib -> usr/lib
symlink breaks the system library detection.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 23 (9 by maintainers)
Commits related to this issue
- Store unexpanded library directory paths. Closes #4392. — committed to mesonbuild/meson by jpakkane 6 years ago
- Store unexpanded library directory paths. Closes #4392. — committed to mesonbuild/meson by jpakkane 6 years ago
- Store unexpanded library directory paths. Closes #4392. — committed to pexip/meson by jpakkane 6 years ago
Can you test if the linked MR fixes things for you?
merged-usr chroot
unmerged-usr chroot
In short: the output is identical