From unknown Sun Jun 22 07:51:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31971: meson-build-system uses 'patchelf' which fails on armhf-linux etc Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 25 Jun 2018 22:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31971 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 31971@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15299671426362 (code B ref -1); Mon, 25 Jun 2018 22:53:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Jun 2018 22:52:22 +0000 Received: from localhost ([127.0.0.1]:35402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXaLO-0001eY-La for submit@debbugs.gnu.org; Mon, 25 Jun 2018 18:52:22 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41535) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXaLN-0001eL-4J for submit@debbugs.gnu.org; Mon, 25 Jun 2018 18:52:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXaLH-0002q4-23 for submit@debbugs.gnu.org; Mon, 25 Jun 2018 18:52:16 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37033) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fXaLG-0002po-Ut for submit@debbugs.gnu.org; Mon, 25 Jun 2018 18:52:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXaLE-0001Wt-US for bug-guix@gnu.org; Mon, 25 Jun 2018 18:52:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXaLB-0002m3-TU for bug-guix@gnu.org; Mon, 25 Jun 2018 18:52:13 -0400 Received: from world.peace.net ([64.112.178.59]:41584) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fXaLB-0002le-Ot for bug-guix@gnu.org; Mon, 25 Jun 2018 18:52:09 -0400 Received: from mhw by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fXaLA-0000OC-Jf; Mon, 25 Jun 2018 18:52:08 -0400 From: Mark H Weaver User-Agent: Emacs/26.1 (x86_64-unknown-linux-gnu) Date: Mon, 25 Jun 2018 18:50:53 -0400 Message-ID: <871scu5vle.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) '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. Mark From unknown Sun Jun 22 07:51:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31971: meson-build-system uses 'patchelf' which fails on armhf-linux etc Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 25 Jun 2018 23:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31971 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mark H Weaver , 31971@debbugs.gnu.org Received: via spool by 31971-submit@debbugs.gnu.org id=B31971.152996964517881 (code B ref 31971); Mon, 25 Jun 2018 23:35:01 +0000 Received: (at 31971) by debbugs.gnu.org; 25 Jun 2018 23:34:05 +0000 Received: from localhost ([127.0.0.1]:35447 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXazl-0004eL-G5 for submit@debbugs.gnu.org; Mon, 25 Jun 2018 19:34:05 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:35941) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXazj-0004eC-HL for 31971@debbugs.gnu.org; Mon, 25 Jun 2018 19:34:03 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 35D0D21CDD; Mon, 25 Jun 2018 19:34:03 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Mon, 25 Jun 2018 19:34:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=gpvWdFHuSzmLWIi8EfP/a6u+Azx6miQInt7qfm3mU6I=; b=R9dDgM70 smf8iKivIk3i5njJj/WpXONDe3hM6XuFU/BvlUBHPfPwVpAj0c6IEyTWA0wXi/Be lSlS/4JWTHPHKWIveei6y+A4fwxHg+pjIhiOAlzkCtjCXa6BrdNThL3GnjOhDozq MkOUi0ISfZ/lSwlRizrrsXDBMVjfO1OAOC0wAl4Pq9NO7QofSw0BxK+14d///BI2 bO0kQF3Ot94KWoRnYTTKcWB0mMl+QnPrC+sYgsyOTHYYbWmTbgS8h2KjYHwclPKm B1FJwvErzSLjtIttoSvwiQRNzbbVK2VYf+qh5AN8k92ffovu0ptHh6CGD4YQYK9S 5rUhcc1Ionc/Wg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=gpvWdFHuSzmLWIi8EfP/a6u+Azx6m iQInt7qfm3mU6I=; b=pvqbEsrS1XYCKCO7WQWflttQO3O6CL74qJ1eM1NgwkmUa Sr1O4CMzRHQSjYbK8HPvHsYFxMxtX6KGNORWijKpFPLemxS61RCHrXA/lXkZKqtC LbByCGaDbrAPGI4Mh4MscdXLePDpzExb2dcqKE7fAMS764YUsOJCQE2TOjfHiJN6 EYrceAtRTJJKTo9VH1iKrdwjIAPQddho5etB3iCbqHBqydg9654kfUz9L/raFPib LEUWD0Aek4gymgKHt6C7UscM9Q+lInzeqydG+DdOl9Qb+j/LFw49lWmlZdxxzsnH JcHWyTlh5rXV9AOimYIWYuwyV5Gw8VYWz9myEANDg== X-ME-Proxy: X-ME-Sender: Received: from localhost (cm-84.214.174.185.getinternet.no [84.214.174.185]) by mail.messagingengine.com (Postfix) with ESMTPA id AE9A01025D; Mon, 25 Jun 2018 19:34:02 -0400 (EDT) From: Marius Bakke In-Reply-To: <871scu5vle.fsf@netris.org> References: <871scu5vle.fsf@netris.org> User-Agent: Notmuch/0.27 (https://notmuchmail.org) Emacs/26.1 (x86_64-pc-linux-gnu) Date: Tue, 26 Jun 2018 01:34:01 +0200 Message-ID: <87bmbyzbiu.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain 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 . --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlsxe+kACgkQoqBt8qM6 VPqwFwf/fZ0OuUymatmklxMfMXe1syKREEzNduf8PVDjDlWocws/XWlkq1ZXqtGJ 5iTHY2ECg1jHLdYRbzlFdFSup8ofvG4yDu7XunQhAMc8hg1PcqhwN+6CCB55ihVC IsCRRwCg79MZNbNlJqBTekQ6OawWyhLa/A23T31BRzM9M7Vo29SQZOLd6U3P/TKJ ZsG4Yfw/zQHb9y/PMmeKlXZNzyK+oYLdI2vrncNNncEbVJyIKmckK5Ll61eKkWpk rz/iXqtjWMcYnh5pZ6YWOjaH+uy3SEwt1dwycM3ecbtXJ7k36DjhJr93aLunIruv zIH6OGPX8ZwmqG+M08Qi/eGlFDTJEg== =41/7 -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Jun 22 07:51:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31971: meson-build-system uses 'patchelf' which fails on armhf-linux etc Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 26 Jun 2018 09:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31971 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Marius Bakke Cc: 31971@debbugs.gnu.org Received: via spool by 31971-submit@debbugs.gnu.org id=B31971.153000410828063 (code B ref 31971); Tue, 26 Jun 2018 09:09:01 +0000 Received: (at 31971) by debbugs.gnu.org; 26 Jun 2018 09:08:28 +0000 Received: from localhost ([127.0.0.1]:35613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXjxc-0007IZ-5C for submit@debbugs.gnu.org; Tue, 26 Jun 2018 05:08:28 -0400 Received: from world.peace.net ([64.112.178.59]:56850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXjxb-0007IL-DQ for 31971@debbugs.gnu.org; Tue, 26 Jun 2018 05:08:27 -0400 Received: from mhw by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fXjxV-0003FI-Fi; Tue, 26 Jun 2018 05:08:21 -0400 From: Mark H Weaver References: <871scu5vle.fsf@netris.org> <87bmbyzbiu.fsf@fastmail.com> Date: Tue, 26 Jun 2018 05:07:05 -0400 In-Reply-To: <87bmbyzbiu.fsf@fastmail.com> (Marius Bakke's message of "Tue, 26 Jun 2018 01:34:01 +0200") Message-ID: <877eml9arq.fsf@netris.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 From unknown Sun Jun 22 07:51:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31971: meson-build-system uses 'patchelf' which fails on armhf-linux etc Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 26 Jun 2018 09:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31971 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mark H Weaver Cc: 31971@debbugs.gnu.org Received: via spool by 31971-submit@debbugs.gnu.org id=B31971.153000654531668 (code B ref 31971); Tue, 26 Jun 2018 09:50:02 +0000 Received: (at 31971) by debbugs.gnu.org; 26 Jun 2018 09:49:05 +0000 Received: from localhost ([127.0.0.1]:35643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXkau-0008Ei-Tw for submit@debbugs.gnu.org; Tue, 26 Jun 2018 05:49:05 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:40227) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXkat-0008Eb-Pj for 31971@debbugs.gnu.org; Tue, 26 Jun 2018 05:49:04 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 63AD221EDA; Tue, 26 Jun 2018 05:49:03 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 26 Jun 2018 05:49:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=YzYH3iUWsm8QxDN5VJDLMPFA6s7IeLY/+grl0eHgC9I=; b=P5gR52kA 734idCwxqgvBRHZYNpaRAJAxrnQEjOSS3sCybPA4R4ZrpxWPWe9zHu+CAFgojVXF yOcbFRGW6xgaGL9MS1ZvFq7ZyStNOo1KeWHZ7eN5FWDeM104QAHglj7aZ1iQWhOh g1/CiHqq9GHoVb97OzxrLmkVSP03L1M549BjjxJcjKbO9UcI7/u45sF1GpHOR1W0 LGjSb9RAYHq/1uYR6jOZiHVwbaA+JMT+h08LtwMiAVpgNyrqESUAWOYm89fymmUq ff+LiuyAmrBa30MTi/L6BjxWNyr5Wt5N+nyj0WITlvDcz71WdrIylJShmx1uHwBk 2uANWbvMwUP4Sg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=YzYH3iUWsm8QxDN5VJDLMPFA6s7Ie LY/+grl0eHgC9I=; b=J0Dwx/g0Vle8cmbxfEhErE+NWcmxFJadl+yYTfEzM+P2T avG3MDTTsI79IdAJYVMCTssMzo4XdJSVGwSgIbtuA776PxnWXKwNiqQEDbF1uKyy Mt7sKPwLdXCTtBKWiuYTX+QgQ2usaf9uND9SfPUi83XAK7siuohmN/oMFZMGP5dt pxieHV7S2wR+C5RgnX+bHhBr5m1GzIVz/H21DsyyKAtRwUQXr61rsnOQgk9Q2KXv bnTmfwtozq+bEw8onO+5Ftp+j91DE/asE5ews1i49UMh09Qwoqr3FJ8QJgGfEPqB rgUwFx7wwtnruV0iuAnXUn8ljm1Ae5faihev8xv8A== X-ME-Proxy: X-ME-Sender: Received: from localhost (cm-84.214.174.185.getinternet.no [84.214.174.185]) by mail.messagingengine.com (Postfix) with ESMTPA id F1ED510293; Tue, 26 Jun 2018 05:49:02 -0400 (EDT) From: Marius Bakke In-Reply-To: <877eml9arq.fsf@netris.org> References: <871scu5vle.fsf@netris.org> <87bmbyzbiu.fsf@fastmail.com> <877eml9arq.fsf@netris.org> User-Agent: Notmuch/0.27 (https://notmuchmail.org) Emacs/26.1 (x86_64-pc-linux-gnu) Date: Tue, 26 Jun 2018 11:49:01 +0200 Message-ID: <874lhpzxma.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Mark H Weaver writes: > 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. 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. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlsyDA0ACgkQoqBt8qM6 VPog0Af+JsSYD/oyB81y46t84YkDMXx1hRmUmmgLOxbbnvR8yT9gw8VxKOVlbdSq XMhWq+SHIQTE+agK2GinuWGwPtUZWgPc8k7YhImAzulFrI3Rw70kDmjtTCKg+avx ykZ7rkR1YD/UGQge0yM0bdJy0yO0AN2h6XSawnjmsRNhdauedooLUTpzQCq51KiX Tg5z1s9HhbH/ZD0JUdEw2UA9NeW6HOM6xYgjlplHgl/VwbacmsENuHc81QFQfmya XHw2ir6PHM25Sc5o0W3ofXjqQcwZHpN4+PSmHDWUs/0w1cpG3KQzLQGaRL/yVKJz fwyPbwyfGKbqcfYLYUbV38Ix0HNkAw== =j8bJ -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Jun 22 07:51:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31971: meson-build-system uses 'patchelf' which fails on armhf-linux etc Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 27 Jun 2018 20:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31971 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Marius Bakke Cc: Mark H Weaver , 31971@debbugs.gnu.org Received: via spool by 31971-submit@debbugs.gnu.org id=B31971.153013038632032 (code B ref 31971); Wed, 27 Jun 2018 20:14:01 +0000 Received: (at 31971) by debbugs.gnu.org; 27 Jun 2018 20:13:06 +0000 Received: from localhost ([127.0.0.1]:37891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fYGoJ-0008KV-7W for submit@debbugs.gnu.org; Wed, 27 Jun 2018 16:13:06 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39024) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fYGoH-0008K0-Ku for 31971@debbugs.gnu.org; Wed, 27 Jun 2018 16:13:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fYGoB-0003Fk-Bj for 31971@debbugs.gnu.org; Wed, 27 Jun 2018 16:12:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54512) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYGoA-0003FH-Vu; Wed, 27 Jun 2018 16:12:55 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=44586 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fYGoA-0006Jk-JB; Wed, 27 Jun 2018 16:12:54 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <871scu5vle.fsf@netris.org> <87bmbyzbiu.fsf@fastmail.com> <877eml9arq.fsf@netris.org> <874lhpzxma.fsf@fastmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 9 Messidor an 226 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 27 Jun 2018 22:12:53 +0200 In-Reply-To: <874lhpzxma.fsf@fastmail.com> (Marius Bakke's message of "Tue, 26 Jun 2018 11:49:01 +0200") Message-ID: <87fu18xa2i.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hello, Marius Bakke skribis: > Mark H Weaver writes: [...] >> 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. Yeah, the reason is that implementing =E2=80=98augment-rpath=E2=80=99 is ob= viously harder than implementing =E2=80=98shrink-rpath=E2=80=99 (the result might n= ot fit.) > 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/e3757e3d3cf24327c89dd3fc40f6cc= 933510f676 > > I believe this commit eliminates the need for "shrink-rpath", and > facilities are planned to also control the installed RUNPATH. I don=E2=80=99t fully understand what this commit does, but it seems to be a step in the right direction. The =E2=80=9CXXX=E2=80=9D found in the RUNPATH of Epiphany () also seem to be there as a way to allow RUNPATH to be adjusted upon install, meaning that we wouldn=E2=80=99t have anything to do on our side. In the meantime, I wonder if we can remove the patchelf dependency selectively for packages where the patchelf phase isn=E2=80=99t necessary. Epiphany may well fall into that category. Thoughts? Ludo=E2=80=99. From unknown Sun Jun 22 07:51:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31971: meson-build-system uses 'patchelf' which fails on armhf-linux etc Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 29 Jun 2018 19:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31971 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 31971@debbugs.gnu.org Received: via spool by 31971-submit@debbugs.gnu.org id=B31971.15302987444222 (code B ref 31971); Fri, 29 Jun 2018 19:00:02 +0000 Received: (at 31971) by debbugs.gnu.org; 29 Jun 2018 18:59:04 +0000 Received: from localhost ([127.0.0.1]:40095 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fYybo-00015x-8I for submit@debbugs.gnu.org; Fri, 29 Jun 2018 14:59:04 -0400 Received: from world.peace.net ([64.112.178.59]:50310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fYybn-000150-5i; Fri, 29 Jun 2018 14:59:03 -0400 Received: from mhw by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fYybh-000637-60; Fri, 29 Jun 2018 14:58:57 -0400 From: Mark H Weaver References: <871scu5vle.fsf@netris.org> Date: Fri, 29 Jun 2018 14:57:53 -0400 In-Reply-To: <871scu5vle.fsf@netris.org> (Mark H. Weaver's message of "Mon, 25 Jun 2018 18:50:53 -0400") Message-ID: <87wouhwhce.fsf@netris.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) severity 31971 important thanks Mark H Weaver writes: > 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. A bigger problem is 'json-glib', which uses 'meson-build-system' and which is an input for 'gtk+'. So, on our 'staging' branch, armhf-linux has lost everything that depends on gtk+, including 'emacs', all of 'xfce' and 'gnome', etc. https://hydra.gnu.org/eval/110025?compare=110019 Mark From unknown Sun Jun 22 07:51:11 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Mark H Weaver Subject: bug#31971: closed (Re: bug#31971: meson-build-system uses 'patchelf' which fails on armhf-linux etc) Message-ID: References: <875zux36nz.fsf@gnu.org> <871scu5vle.fsf@netris.org> X-Gnu-PR-Message: they-closed 31971 X-Gnu-PR-Package: guix Reply-To: 31971@debbugs.gnu.org Date: Wed, 09 Jan 2019 20:42:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1547066522-28322-1" This is a multi-part message in MIME format... ------------=_1547066522-28322-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #31971: meson-build-system uses 'patchelf' which fails on armhf-linux etc which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 31971@debbugs.gnu.org. --=20 31971: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D31971 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1547066522-28322-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 31971-done) by debbugs.gnu.org; 9 Jan 2019 20:41:40 +0000 Received: from localhost ([127.0.0.1]:52597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ghKfU-0007MI-Dz for submit@debbugs.gnu.org; Wed, 09 Jan 2019 15:41:40 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:50188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ghKfS-0007MA-TK for 31971-done@debbugs.gnu.org; Wed, 09 Jan 2019 15:41:39 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 35C1B1588; Wed, 9 Jan 2019 21:41:38 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KHZ9qITqnkxx; Wed, 9 Jan 2019 21:41:37 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 5D265104E; Wed, 9 Jan 2019 21:41:37 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Mark H Weaver Subject: Re: bug#31971: meson-build-system uses 'patchelf' which fails on armhf-linux etc References: <871scu5vle.fsf@netris.org> Date: Wed, 09 Jan 2019 21:41:36 +0100 In-Reply-To: <871scu5vle.fsf@netris.org> (Mark H. Weaver's message of "Mon, 25 Jun 2018 18:50:53 -0400") Message-ID: <875zux36nz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 31971-done Cc: 31971-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Mark H Weaver skribis: > '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). Since commit bf91e6835d21e3bd7b49bb85b40f61389604c6f7 =E2=80=98meson-build-system=E2=80=99 no longer relies on PatchELF. Closing! Ludo=E2=80=99. ------------=_1547066522-28322-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 25 Jun 2018 22:52:22 +0000 Received: from localhost ([127.0.0.1]:35402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXaLO-0001eY-La for submit@debbugs.gnu.org; Mon, 25 Jun 2018 18:52:22 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41535) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXaLN-0001eL-4J for submit@debbugs.gnu.org; Mon, 25 Jun 2018 18:52:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXaLH-0002q4-23 for submit@debbugs.gnu.org; Mon, 25 Jun 2018 18:52:16 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37033) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fXaLG-0002po-Ut for submit@debbugs.gnu.org; Mon, 25 Jun 2018 18:52:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXaLE-0001Wt-US for bug-guix@gnu.org; Mon, 25 Jun 2018 18:52:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXaLB-0002m3-TU for bug-guix@gnu.org; Mon, 25 Jun 2018 18:52:13 -0400 Received: from world.peace.net ([64.112.178.59]:41584) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fXaLB-0002le-Ot for bug-guix@gnu.org; Mon, 25 Jun 2018 18:52:09 -0400 Received: from mhw by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fXaLA-0000OC-Jf; Mon, 25 Jun 2018 18:52:08 -0400 From: Mark H Weaver To: bug-guix@gnu.org Subject: meson-build-system uses 'patchelf' which fails on armhf-linux etc User-Agent: Emacs/26.1 (x86_64-unknown-linux-gnu) Date: Mon, 25 Jun 2018 18:50:53 -0400 Message-ID: <871scu5vle.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) '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. Mark ------------=_1547066522-28322-1--