From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cIleAqeOUmEpXwEAgWs5BA (envelope-from ) for ; Tue, 28 Sep 2021 05:40:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 6M2mOaaOUmFKSwAAB5/wlQ (envelope-from ) for ; Tue, 28 Sep 2021 03:40:22 +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 21D91257C0 for ; Tue, 28 Sep 2021 05:40:20 +0200 (CEST) Received: from localhost ([::1]:43512 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mV3yc-0006QP-F8 for larch@yhetil.org; Mon, 27 Sep 2021 23:40:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41794) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mV3yM-0006QG-2Y for guix-patches@gnu.org; Mon, 27 Sep 2021 23:40:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60036) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mV3yL-0004Br-QR for guix-patches@gnu.org; Mon, 27 Sep 2021 23:40:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mV3yL-0001gS-NH for guix-patches@gnu.org; Mon, 27 Sep 2021 23:40:01 -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: Tue, 28 Sep 2021 03:40:01 +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@debbugs.gnu.org Received: via spool by 50174-submit@debbugs.gnu.org id=B50174.16328003736432 (code B ref 50174); Tue, 28 Sep 2021 03:40:01 +0000 Received: (at 50174) by debbugs.gnu.org; 28 Sep 2021 03:39:33 +0000 Received: from localhost ([127.0.0.1]:43349 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mV3xt-0001fg-53 for submit@debbugs.gnu.org; Mon, 27 Sep 2021 23:39:33 -0400 Received: from mx.kolabnow.com ([95.128.36.40]:41924 helo=ext-mx-out003.mykolab.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mV3xq-0001fQ-De for 50174@debbugs.gnu.org; Mon, 27 Sep 2021 23:39:31 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTP id C68F740589; Tue, 28 Sep 2021 05:39:24 +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= 1632800364; x=1634614765; bh=Js1KJfDg+QDcFdnWYTQJzTijBq1J7RUJurL qgndfpqY=; b=L7iv4FSbXicRaD9zCpFcvuUgx4f5J2GLj9iF4rKdIjBtNkhpzGH wL1TMQk+RroUVpbJNlsamK/lOPXebKjikhtcksgBPpJA2g7pxWCrYgBKIUSlHWie DZ40ioMyo8aXAVKkCbD2/Hux31qEHvwNdSo9eJ0TBWmvwfENaOWzpAXrYqO/dtEv mf0kYaF8WjRoFqEO9lYjlz1JQ159Tg4dNGpIYXyPlgQP3V/qmzRErsOAQgC2JKUs CaqHxeXD0euDClpQ/ENwbmXxfRYl6j80NGGZOUk+jLK2XXnQQckwwnmQ5SQov1vM IJidoeszwZADcDCAJKmDvJEEIVPXcXvqOTJv6PLhvZ07U/PXF5V/Ji4xcVJLdBWh fLDm11ekxcCDYUx5/+Iz8iJJk4rOZsDFx0v5xmFLfMFEMxc263A4q0VNJ3KVwMgm vh7bWcU53o+nmIXh9jcW1JKVqMPCTBo1nA2ulTnL3QSI/Ac2cawerGgLNfbwIaLG qoHHfr4B5O2kH+jneM+DU8BrEQ6NfQ1OWyy0TZAa7fDVry1QjJKIdvdr/Aq68esw STuR9mU+qzicvT/15qnjya2x6BgGaJWcTMElqlSiDyxiGcPal2tqAoLlDXM8Qjl/ Mb68pUQXj7cG0/OThvhv8VntC3ooEPwWK3I49sJQ2DpQNbNlhb2Mqywg= 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 PgIpPr1zI2-R; Tue, 28 Sep 2021 05:39:24 +0200 (CEST) Received: from int-mx001.mykolab.com (unknown [10.9.13.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTPS id EFA0A403F1; Tue, 28 Sep 2021 05:39:23 +0200 (CEST) Received: from ext-subm003.mykolab.com (unknown [10.9.6.3]) by int-mx001.mykolab.com (Postfix) with ESMTPS id 628A9665; Tue, 28 Sep 2021 05:39:23 +0200 (CEST) Date: Tue, 28 Sep 2021 00:39:17 -0300 Message-ID: <2181202.jG5neBWyxe@popigai> In-Reply-To: <87fstphf6i.fsf@gnu.org> References: <20210823205127.27102-1-bauermann@kolabnow.com> <87fstphf6i.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=1632800421; 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=Js1KJfDg+QDcFdnWYTQJzTijBq1J7RUJurLqgndfpqY=; b=PQyhhJhECTkf7DulhBa5VveEvL0+B8GWiG051C5B4/82Hne86RzlMxamsuBKVSLZBzMgKZ ULpR2WeQyRwamnJzYWFq/r3luNIZDxEHRsp7Gt4Z+KVanJ1PbZsJB+Xhw3AbkYtDrtX3cR YY1VdeRBGfOCq/U3WVWrGVXZrpJbVCAAYT+6mYNBrnClCS/scNzFjhXZ4twg7fkdmwC7EI 8q7Td9Vtd8SOf3PBVrPCcKrk1OSEX2L9ifPR0+FMdINHyxqqnbxhSpGVyVK1lfBwXhJiDd T0oQCYvxVNA/AH3mKgVtysLgpEEy29zu8SgjdnIpMfCS0CsXCyhnR4YzrGf8rg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632800421; a=rsa-sha256; cv=none; b=SoVHwi55toMfXOCl0Fh+HACR8rn1heKInNEcrhQMJLA6KFCQT8e4KS9Xf1yynBGGHec29L pk1bgrrVt19E1PY6SKfpfXDd/giK+5yVfA6AOy5scQFzUj2Rsr9DD8NKp+wMJ2VSunoynY X/B6+T1OH8XbdTsgrXW0ZjGOTCzqo/dEXtvRWMMCyUUHZ209hqFwx9na7aL3h39L2OxsK1 AxAi8ulVBqPw9QYNSPdY674NijHuLpGA3/s1CmLTZRAaVS51JOesLAjoBvj7m6lnlmHL45 Tb8WNaa1TEOqEsmuogLGgKGyMTne+vjHNXbKtzKsacjOSBOVWKOWQ1pvM7AerA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=L7iv4FSb; 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-Spam-Score: -2.39 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=L7iv4FSb; 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: 21D91257C0 X-Spam-Score: -2.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: gU1EUfztM0Cu Hello Ludo, Em segunda-feira, 27 de setembro de 2021, =C3=A0s 18:38:45 -03, Ludovic Cou= rt=C3=A8s=20 escreveu: > Thiago Jung Bauermann skribis: > > gawk for =E2=80=98static-binaries-tarball=E2=80=99 is failing to build = 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/libc > > .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= =2Dlinux 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 one) aren=E2= =80=99t used for bootstrapping on i686-linux and x86_64-linux so you won=E2=80=99t see this = problem with =E2=80=98bootstrap-tarballs=E2=80=99 on those platforms. > -s aarch64-linux -s armhf-linux 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-bu= ilds 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-tarball=E2=80=99. > Substitutes are missing for the following items: > /gnu/store/3c8gbn2gljj48wihs9h3nxmfwix55wrn-bootstrap-tarballs-0 = =20 > armhf-linux > /gnu/store/8b6rznm54l6drbs6qfca5bi8yjqbx51f-bootstrap-tarballs-0 =20 > aarch64-linux Doesn=E2=80=99t this mean that there is indeed a problem with =E2=80=98boot= strap-tarballs=E2=80=99 on these platforms? > Could it be that something changed in the meantime? It doesn=E2=80=99t look like it. The latest CI result for an x86_64-linux n= ative build of =E2=80=98static-binaries-tarball=E2=80=99 on =E2=80=98core-updates= =2Dfrozen=E2=80=99 failed: https://ci.guix.gnu.org/build/709458/details Ditto for the =E2=80=98core-updates=E2=80=99 branch: https://ci.guix.gnu.org/build/825383/details Also, I can still reproduce the problem on my laptop with current =E2=80=98core-updates-frozen=E2=80=99 commit 81a34a90d72d (=E2=80=9Cdoc: Up= date postgresql defaut socket directory.=E2=80=9D) using: $ ./pre-inst-env guix build static-binaries-tarball =2D-=20 Thanks, Thiago