From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sD+JHbPIU2GezQAAgWs5BA (envelope-from ) for ; Wed, 29 Sep 2021 04:00:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wDtAGbPIU2H1ZQAAB5/wlQ (envelope-from ) for ; Wed, 29 Sep 2021 02:00:19 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8E123177C9 for ; Wed, 29 Sep 2021 04:00:18 +0200 (CEST) Received: from localhost ([::1]:38678 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVOtN-0005yd-LC for larch@yhetil.org; Tue, 28 Sep 2021 22:00:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVOt8-0005yQ-PE for guix-patches@gnu.org; Tue, 28 Sep 2021 22:00:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35833) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mVOt8-0005GO-GR for guix-patches@gnu.org; Tue, 28 Sep 2021 22:00:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mVOt8-0007U9-Du for guix-patches@gnu.org; Tue, 28 Sep 2021 22:00:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50174] [PATCH core-updates-frozen 1/2] gnu: make-bootstrap: Fix build of static gawk. Resent-From: Thiago Jung Bauermann Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 29 Sep 2021 02:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50174 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 50174-done@debbugs.gnu.org Received: via spool by 50174-done@debbugs.gnu.org id=D50174.163288078228724 (code D ref 50174); Wed, 29 Sep 2021 02:00:02 +0000 Received: (at 50174-done) by debbugs.gnu.org; 29 Sep 2021 01:59:42 +0000 Received: from localhost ([127.0.0.1]:47379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVOso-0007TD-Hw for submit@debbugs.gnu.org; Tue, 28 Sep 2021 21:59:42 -0400 Received: from mx.kolabnow.com ([95.128.36.40]:56606 helo=ext-mx-out003.mykolab.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVOsn-0007T1-KD for 50174-done@debbugs.gnu.org; Tue, 28 Sep 2021 21:59:42 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTP id 0ADCD40F2C; Wed, 29 Sep 2021 03:59:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:date:subject:subject :from:from:received:received:received; s=dkim20160331; t= 1632880774; x=1634695175; bh=hZ6hM9HXuLq+PDhuvZFlSnF2Xim3+nLz3K6 nhErv0Ns=; b=NgYT5fWjuyZrWyLxs8gJoyvDcaM6pizb+rIWZq4C8dfUYOMr+xe KdKZPv5VElTiZYPtpnXhktoX2Yz4AiFTbcajRU8fY8e8fUTLLOYcD3NkUOHeaded CUL4hsQTssciU51NmYGTVX49SNWm2PGVR2BykQKbdE6FXx7e7mhZFfPRDZrc3ueE URWewavbV3cEiYdJEOjJav5zJRfjqwrQWKDFGpuYXumLAOEy+yYHrjSRMxMcTNKb gWHD9ISHCkYBWuculKbx7AbWINo/jBAV5uA/xSvZ5Eqp/pSaTao3XfjPLqw+vDlD x5kfxeLkg4BKKZ1YPPZ89eF5ejaWZ/m7PJfUPXR/TDYs+L1a9VJaqHR6gmEZ81cS WJg2DAOHXkgL3iulaADHkX2lkAw6MODPA2DLJvTShdPlzojRDYrvZLodfOQzTZT0 9yPMNnPouOBQ7qxip8zwC+eo4jXx/j8bdsC+WWfFo1pnqrjkYIvHwQG/uKVOMzii /lP1Fmvez1AXl6Rm7IoTcSzWTSX9ErrCZG2NAM+p+ZTaOtszp+r1Baui/1rh8dee FSSO8MRBHbk+0Mah1/NmSZE/kthSzL3FXH0Jqcf9vOoH5RK36nBCpIGGn66S5tjr dzTJw1bUMOzGwH0WeWkl9GOdNMspuYjWPdOxEGKVNL2ynzfTA0tHV7ec= X-Virus-Scanned: amavisd-new at mykolab.com Received: from ext-mx-out003.mykolab.com ([127.0.0.1]) by localhost (ext-mx-out003.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SzaXfZH3SnMc; Wed, 29 Sep 2021 03:59:34 +0200 (CEST) Received: from int-mx001.mykolab.com (unknown [10.9.13.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTPS id 8F839402EA; Wed, 29 Sep 2021 03:59:34 +0200 (CEST) Received: from ext-subm002.mykolab.com (unknown [10.9.6.2]) by int-mx001.mykolab.com (Postfix) with ESMTPS id 1E76DA79; Wed, 29 Sep 2021 03:59:33 +0200 (CEST) Date: Tue, 28 Sep 2021 22:59:27 -0300 Message-ID: <1878955.7f8MCrZ0PT@popigai> In-Reply-To: <87a6jw9wdj.fsf_-_@gnu.org> References: <20210823205127.27102-1-bauermann@kolabnow.com> <2181202.jG5neBWyxe@popigai> <87a6jw9wdj.fsf_-_@gnu.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Thiago Jung Bauermann X-ACL-Warn: , Thiago Jung Bauermann via Guix-patches From: Thiago Jung Bauermann via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632880818; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=hZ6hM9HXuLq+PDhuvZFlSnF2Xim3+nLz3K6nhErv0Ns=; b=ndP+iQoN5CRbNd9QZJSbkz0g+yPu1lebbUlHbigdvqT5eLuMybYOoju8zD6yu8TUrBAKNZ gz+/9eDOdKSOYrDcINXo7R+VgBNhTZRn9QvwBgHGiTgzBj2MQ8PjG9vGCENOGoM8Berh7k X+51id4i3b538UAx2UxrqnP54IZhZ/DhgdvYVHs+3cTQ76q6T8royISL3w3WGAc4PxRUcW aWVSaGH5UQ8kChYQOxGE282gE40A4+s0xzXaxPwmHlFSrWQ0RxrXWhvc61ucpWr/HF4qz4 fP9Bml4oo0vOuFiGp9c6kyIK/yX9RCLSu/n6gJBn7JrqTxIGCHDCLtqL7pZbbw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632880818; a=rsa-sha256; cv=none; b=U0khM7oVJoNg2A2QuixoIZoViuvRaLtfUaQ6mX8Q0nHT5t6UGfN9fLT/SYFNJTsrsjhZ0k cYqHUK0GyE3D/AfWUSQAmgFJsANlX90wNM9tNnjTp2M25Le/bMkzHTVVVvyhGm7sbdDCGE mC45EL/pwAiWSVH3EDh+plVj4/pkU9o3lBJmoetS8U2yzb8ujW8zAx3C5wza/njZrZy5oj OoJgai2nJEFa++gBlFV+/IdkWF4/OPj1EIZehZE6rUbfoWkrCzSRO/vmSULoRXpugXhK5K PQidPi5GDyH+6MH0A7I7IXgFeoC5FoP/fmHmtgYPi+7EpxXVsknHpEEW17VzSA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=NgYT5fWj; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.40 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=NgYT5fWj; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 8E123177C9 X-Spam-Score: -2.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: ofaIxxZr1/M4 Hello Ludo, Em ter=C3=A7a-feira, 28 de setembro de 2021, =C3=A0s 19:19:04 -03, Ludovic = Court=C3=A8s=20 escreveu: > Thiago Jung Bauermann skribis: > > Em segunda-feira, 27 de setembro de 2021, =C3=A0s 18:38:45 -03, Ludovic > > Court=C3=A8s>=20 > > escreveu: > >> Thiago Jung Bauermann skribis: > >> > gawk for =E2=80=98static-binaries-tarball=E2=80=99 is failing to bui= ld natively, at > >> > least for x86_64-linux=C2=B9 and powerpc64le-linux. On both of them,= the > >> > problem is the same: > >> >=20 > >> > ld: ext.o: in function `load_ext': > >> > /tmp/guix-build-gawk-5.1.0.drv-0/gawk-5.1.0/ext.c:59: warning: Using > >> > 'dlopen' in statically linked applications requires at runtime the > >> > shared libraries from the glibc version used for linking ld: > >> > /gnu/store/qmgsfxm3ad5n7bi947n7xw0wq86blqr9-glibc-2.33-static/lib/li > >> > bc > >> > .a(getopt.o): in function `_getopt_internal_r': (.text+0x6e0): > >> > multiple > >> > definition of `_getopt_internal_r'; > >> > support/libsupport.a(getopt.o):/tmp/guix-build-gawk-5.1.0.drv-0/gawk > >> > -5 > >> > .1.0/support/getopt.c:404: first defined here > >>=20 > >> I don=E2=80=99t see that on x86_64/i686: > >>=20 > >> --8<---------------cut here---------------start------------->8--- > >> $ ./pre-inst-env guix weather bootstrap-tarballs -s x86_64-linux -s > >> i686-linux>=20 > > I=E2=80=99m using the package =E2=80=98static-binaries-tarball=E2=80=99= to expose the issue. > > IIUC, the static binaries (of which =E2=80=98gawk-static=E2=80=99 is on= e) aren=E2=80=99t used > > for bootstrapping on i686-linux and x86_64-linux so you won=E2=80=99t s= ee this > > problem with =E2=80=98bootstrap-tarballs=E2=80=99 on those platforms. > >=20 > >> -s aarch64-linux -s armhf-linux > >=20 > > OTOH, these platforms do use the static binaries. For some reason which > > TBH I didn=E2=80=99t try to investigate, =E2=80=98gawk-static=E2=80=99 = cross-builds correctly > > so you=E2=80=99ll only see this problem on native builds of > > =E2=80=98bootstrap-tarballs=E2=80=99 or =E2=80=98static-binaries-tarbal= l=E2=80=99. > Oooh, my bad, sorry for the confusion. No problem! =20 > >> Substitutes are missing for the following items: > >> /gnu/store/3c8gbn2gljj48wihs9h3nxmfwix55wrn-bootstrap-tarballs-0 > >> =20 > >> armhf-linux > >>=20 > >> /gnu/store/8b6rznm54l6drbs6qfca5bi8yjqbx51f-bootstrap-tarballs-0 > >>=20 > >> aarch64-linux > >=20 > > Doesn=E2=80=99t this mean that there is indeed a problem with > > =E2=80=98bootstrap-tarballs=E2=80=99 on these platforms? >=20 > Yes, it does! But I thought it might be =E2=80=9Csomething else=E2=80=9D. >=20 > I fixed it slightly differently in > 7d30e6e5c21f5e0b79f73428414fef2dbf75e7a6, followed by the second patch > you had here.=20 Your solution is better indeed. Thanks! > Let=E2=80=99s see how far that brings us towards =E2=80=99static-binaries= =2Dtarball=E2=80=99. According to the CI, x86_64-linux and i686-linux are fixed now. aarch64- linux failed but that=E2=80=99s because of a bug in QEMU. powerpc64-linux i= s=20 scheduled to build but there=E2=80=99s a backlog in the CI for some reason. > Thank you & sorry for the delay! No problem at all. Thank you for fixing this problem! =2D-=20 Thanks, Thiago