From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#31971: meson-build-system uses 'patchelf' which fails on armhf-linux etc Date: Tue, 26 Jun 2018 05:07:05 -0400 Message-ID: <877eml9arq.fsf@netris.org> References: <871scu5vle.fsf@netris.org> <87bmbyzbiu.fsf@fastmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXjyE-0007tD-7q for bug-guix@gnu.org; Tue, 26 Jun 2018 05:09:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXjyA-0004kI-2l for bug-guix@gnu.org; Tue, 26 Jun 2018 05:09:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:55949) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fXjy9-0004k5-VE for bug-guix@gnu.org; Tue, 26 Jun 2018 05:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fXjy9-0007JL-N1 for bug-guix@gnu.org; Tue, 26 Jun 2018 05:09:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87bmbyzbiu.fsf@fastmail.com> (Marius Bakke's message of "Tue, 26 Jun 2018 01:34:01 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Marius Bakke Cc: 31971@debbugs.gnu.org Hi Marius, Marius Bakke writes: > Mark H Weaver 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 . 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. Thanks, Mark