From: Marius Bakke <mbakke@fastmail.com>
To: Mark H Weaver <mhw@netris.org>
Cc: 31971@debbugs.gnu.org
Subject: bug#31971: meson-build-system uses 'patchelf' which fails on armhf-linux etc
Date: Tue, 26 Jun 2018 11:49:01 +0200 [thread overview]
Message-ID: <874lhpzxma.fsf@fastmail.com> (raw)
In-Reply-To: <877eml9arq.fsf@netris.org>
[-- Attachment #1: Type: text/plain, Size: 1716 bytes --]
Mark H Weaver <mhw@netris.org> writes:
> Hi Marius,
>
> Marius Bakke <mbakke@fastmail.com> writes:
>
>> Mark H Weaver <mhw@netris.org> writes:
>>
>>> 'meson-build-system' includes 'patchelf' as an implicit input for all
>>> packages that use it, and uses it from its 'fix-runpath' phase,
>>> sometimes directly and sometimes via (guix build rpath).
>>>
>>> 'patchelf' is a nasty hack which seems to only work on Intel-based
>>> systems. It certainly doesn't work on 'mips64el-linux', and when I last
>>> investigated it seemed hard to fix this. As far as I can tell, it has
>>> never built successfully on 'armhf-linux' either:
>>>
>>> https://hydra.gnu.org/job/gnu/master/patchelf-0.8.armhf-linux/all
>>>
>>> I don't know about 'aarch64-linux'.
>>>
>>> Given that 'meson-build-system' is seeing increased usage in some
>>> important packages, e.g. 'libinput' and several GNOME packages, this is
>>> becoming an increasingly serious problem for non-Intel platforms.
>>
>> Note that this is already fixed on 'core-updates', with commits
>> 3cc9a8a13..800564020. See <https://bugs.gnu.org/31208>.
>
> I believe you're mistaken. Those commits eliminated one of the uses of
> 'patchelf' in meson-build-system, but there still remains a call to
> 'augment-rpath' which uses patchelf, and patchelf is still added as an
> implicit input.
Ah yes, you are right. Apoligies for the noise.
Since I'm here, I'd like to point out that there has been some activity
upstream recently around RPATH handling:
https://github.com/mesonbuild/meson/commit/e3757e3d3cf24327c89dd3fc40f6cc933510f676
I believe this commit eliminates the need for "shrink-rpath", and
facilities are planned to also control the installed RUNPATH.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next prev parent reply other threads:[~2018-06-26 9:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-25 22:50 bug#31971: meson-build-system uses 'patchelf' which fails on armhf-linux etc Mark H Weaver
2018-06-25 23:34 ` Marius Bakke
2018-06-26 9:07 ` Mark H Weaver
2018-06-26 9:49 ` Marius Bakke [this message]
2018-06-27 20:12 ` Ludovic Courtès
2018-06-29 18:57 ` Mark H Weaver
2019-01-09 20:41 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874lhpzxma.fsf@fastmail.com \
--to=mbakke@fastmail.com \
--cc=31971@debbugs.gnu.org \
--cc=mhw@netris.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.