From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gORnBurJZWHUcwAAgWs5BA (envelope-from ) for ; Tue, 12 Oct 2021 19:46:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 36v2AerJZWHYagAAB5/wlQ (envelope-from ) for ; Tue, 12 Oct 2021 17:46:18 +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 5AAEC39751 for ; Tue, 12 Oct 2021 19:46:17 +0200 (CEST) Received: from localhost ([::1]:42470 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1maLqy-0007wo-FE for larch@yhetil.org; Tue, 12 Oct 2021 13:46:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58376) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maLqk-0007vr-RJ for guix-patches@gnu.org; Tue, 12 Oct 2021 13:46:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41073) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1maLqk-0007k4-Ix for guix-patches@gnu.org; Tue, 12 Oct 2021 13:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1maLqk-0001D4-HW for guix-patches@gnu.org; Tue, 12 Oct 2021 13:46: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: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Oct 2021 17:46: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: Thiago Jung Bauermann Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 50174-done@debbugs.gnu.org Received: via spool by 50174-done@debbugs.gnu.org id=D50174.16340607524606 (code D ref 50174); Tue, 12 Oct 2021 17:46:02 +0000 Received: (at 50174-done) by debbugs.gnu.org; 12 Oct 2021 17:45:52 +0000 Received: from localhost ([127.0.0.1]:52611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maLqZ-0001CD-MS for submit@debbugs.gnu.org; Tue, 12 Oct 2021 13:45:51 -0400 Received: from mail-qk1-f178.google.com ([209.85.222.178]:36560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maLqX-0001Bx-Tu for 50174-done@debbugs.gnu.org; Tue, 12 Oct 2021 13:45:50 -0400 Received: by mail-qk1-f178.google.com with SMTP id p4so20165432qki.3 for <50174-done@debbugs.gnu.org>; Tue, 12 Oct 2021 10:45:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=U6i2ytC3KRvVb4IlBD+O+fvWv62sgZJFh5xRDQf/WN0=; b=BH6wD1Xubq5iImMYx2/KyEX50j1ECLxpu2qqyGeXGfJbjHgfysg9GMwt9NNCmypOn+ 77WXdSAmhnIlRybR8JSF4NHcSVt7qL5xtNZNgW07I/rFarKFcNmnUpkmsasZqyAqZjqT +dXHZkfb6MF98WA+UFAwT64YOYV2UXK0UD01zlrLp5+hrV8GfKokZBC9UfKARpzgl3PR 9XOwXUPdro0nStDdmcyHwaFJSNkP5vFOLvqRKTQ9shb90IPNPZ5uClOr7gCAfwSzi2iF 9XKAvXf2gBQMe7endIObs4vHua888N4zoJRxi+/a6i0CsZ7Br24RSru59iqlZzvLtFVT CJFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=U6i2ytC3KRvVb4IlBD+O+fvWv62sgZJFh5xRDQf/WN0=; b=yLy8CvuTbStb9ozoxsXvIFeFbD/6yLVbrA8jOo5VB8Z72Kqx5/k9XbiV+jEdumLpBR gXpEkgSwdRk2BkDsdhnzEke/s4FNahqw53PNsbm5aV8boVtN0+78Ml0HdW2RnoGLx9YO vvJ/DgfRPXkIuNZUhmZeqJ0ZaBZKP7PYyQZjh/G5WkRyv6od4HtIkYaU3gbYmU3FnETY Qn7fUVC6wXZIr0NjfnrK+37fVav+D/E2bsGxsnWhKhlzgVGbCh+dPkZtk7auwXHiJvac sVibOrdyg0L4j9NxPNgwJsG/eOZRCRfUk14z5F/JjSciMvMvic0LshkbFJnyD2edmTJR G14A== X-Gm-Message-State: AOAM533vEFH1ASs6fENB0Rr4vtmYmiTTSRqHVQpgrrgwIadClYsBt8im DdHzCLA0nMlTeJEBGGsCmwjn7n3U100= X-Google-Smtp-Source: ABdhPJwfzAGVYm/SohuJ2Yu9QcOHzALi+bX+dSH/pp8a12bfopk8LyJZCZDoicIykS+xIKPsTyuA6Q== X-Received: by 2002:a37:bb86:: with SMTP id l128mr20797285qkf.411.1634060743861; Tue, 12 Oct 2021 10:45:43 -0700 (PDT) Received: from hurd ([207.35.95.251]) by smtp.gmail.com with ESMTPSA id i17sm1857392qka.3.2021.10.12.10.45.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Oct 2021 10:45:43 -0700 (PDT) From: Maxim Cournoyer References: <20210823205127.27102-1-bauermann@kolabnow.com> <2181202.jG5neBWyxe@popigai> <87a6jw9wdj.fsf_-_@gnu.org> <1878955.7f8MCrZ0PT@popigai> Date: Tue, 12 Oct 2021 13:45:42 -0400 In-Reply-To: <1878955.7f8MCrZ0PT@popigai> (Thiago Jung Bauermann's message of "Tue, 28 Sep 2021 22:59:27 -0300") Message-ID: <87ily2yw55.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634060777; h=from:from:sender:sender: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=U6i2ytC3KRvVb4IlBD+O+fvWv62sgZJFh5xRDQf/WN0=; b=qcjVsWhI9KfH1Fi1ESxY60YkYsLDCCuoljl4KMaLsY4ZaHMzWpvbBqhtjyGJEGuoE1D6oG iLbp6Hb/GsXNXGycWINlh1lU9CEsttpCyVoNpXS7KVaS6N2244oIz3M9LfVjpX/oG0bJhx SAHPQfeJhbVpXtVctipYWqNLkU3dTpo1YlYlzsg/UvAxz5S+NVWH5qXni4jqQmXGoU94ut 5Zh92yjy61XKwKKBO4gfTZF7i9mzhrhG6PF3+5fAhQ2B53v1eusxnNbNVt/JwCE4zeb5qH 5MGw+5hBjx1/bSvMube9RGJGY/b91sr4nDW3aazNqIEdjgSGZ27pv9JF55wvTQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634060777; a=rsa-sha256; cv=none; b=LSSZg6aQlpspR1/w4u9EentTnR2KInt5s136/gbyWxqbheUmhCYLCIyLsVM1+W4xC3XbZB pc9v6A4eDENHIQEIY1DS/8qXrzq05d56E6notp0SWT6yyj4rMAQjcU1KPrWPf+fAqEbpa0 gbuTAvKKKNHkvGo1FK9T1cSiK7ctrP42GGwAdxotBriY97SS6CTt38fBNvFXQ7kiucCUGI bOiRG1/hUfKm/rBbUWZ9SL5agKstSVY3OPVX6TSGHLotVd7WiUQESLOoS2PyETD/GL0JDV 8AAOKrVILXdlcoXsmXIr3EmdHSIMXFFcvaar6Jfg5M6608BdwkD4yS+tM3LzEQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=BH6wD1Xu; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=BH6wD1Xu; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 5AAEC39751 X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1GoMU5FKMgvo Hello, Thiago Jung Bauermann writes: > Hello Ludo, > > Em ter=C3=A7a-feira, 28 de setembro de 2021, =C3=A0s 19:19:04 -03, Ludovi= c 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 bu= ild 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 o= ne) 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. >> >=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-tarba= ll=E2=80=99. >> Oooh, my bad, sorry for the confusion. > > No problem! >=20=20 >> >> Substitutes are missing for the following items: >> >> /gnu/store/3c8gbn2gljj48wihs9h3nxmfwix55wrn-bootstrap-tarballs-0 >> >>=20=20=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-binarie= s-tarball=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= is=20 > scheduled to build but there=E2=80=99s a backlog in the CI for some reaso= n. > >> Thank you & sorry for the delay! > > No problem at all. Thank you for fixing this problem! Seems Ludovic pushed a derived fix. Thank you both! Closing. Maxim