From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uBwLFn/MuWH/XQEAgWs5BA (envelope-from ) for ; Wed, 15 Dec 2021 12:07:43 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id yE3OEX/MuWGETAAAbx9fmQ (envelope-from ) for ; Wed, 15 Dec 2021 11:07:43 +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 147E42318 for ; Wed, 15 Dec 2021 12:07:43 +0100 (CET) Received: from localhost ([::1]:34038 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxS8L-0004Ps-Mc for larch@yhetil.org; Wed, 15 Dec 2021 06:07:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxRiZ-0006mB-1R for bug-guix@gnu.org; Wed, 15 Dec 2021 05:41:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48783) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxRiY-0008Sk-LG for bug-guix@gnu.org; Wed, 15 Dec 2021 05:41:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mxRiY-0000mf-HI for bug-guix@gnu.org; Wed, 15 Dec 2021 05:41:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#50493: Update go-build-system to use Go 1.17. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 15 Dec 2021 10:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50493 X-GNU-PR-Package: guix X-GNU-PR-Keywords: patch To: Leo Famulari Received: via spool by 50493-submit@debbugs.gnu.org id=B50493.16395648472983 (code B ref 50493); Wed, 15 Dec 2021 10:41:02 +0000 Received: (at 50493) by debbugs.gnu.org; 15 Dec 2021 10:40:47 +0000 Received: from localhost ([127.0.0.1]:60329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxRiJ-0000m3-5q for submit@debbugs.gnu.org; Wed, 15 Dec 2021 05:40:47 -0500 Received: from flashner.co.il ([178.62.234.194]:55002) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxRiH-0000lr-KS for 50493@debbugs.gnu.org; Wed, 15 Dec 2021 05:40:46 -0500 Received: from localhost (unknown [94.230.83.253]) by flashner.co.il (Postfix) with ESMTPSA id 9A1864018B; Wed, 15 Dec 2021 10:40:39 +0000 (UTC) Date: Wed, 15 Dec 2021 12:40:07 +0200 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Leo Famulari , Sarah Morgensen , 50493@debbugs.gnu.org References: <865yv9mm5a.fsf@mgsn.dev> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="OodJCZvQTwVHrakc" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 50493@debbugs.gnu.org, Sarah Morgensen Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639566463; 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: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; bh=spb5kL821dTeOLCm4dc4zNaWZbNKqUSQaazIEz2p7ds=; b=nUsDwidII9Cp4IdzKkn+f4+BgYPKV6Hod86aVjpE1tG8qA0wcFQmvpmV1qkUeSVyNp/SiQ 7W3tCBV9Y+v73iIlerkiIbZXwxO4q4cmWmiyQTWAESuypFmEwoIhdC+44EcmVwO8WHkX4H yZPZHWI0abuGZr0QSfStbYbDxfZ7CPF3TKjvKOrZqP/2b7qB5XBETCTOHDP7dU067n+FOX XKnqVJ54ZNUggdsMe+FqcLOzBHtrHEBFhHK3O5kuXezr6z6fR1RihNeC4v+LvJbqfh9GYu 6LIWUKL7WkuELo1JPOEfA/DPdRGOCcuEQI5t+v1ds+WLPC4MgA63LDaP9cbX9A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639566463; a=rsa-sha256; cv=none; b=c+Nt+HEfHRDIC9WNwmw2cDVF3oMzv4k8IyQO59vNtVs1uMJP44fYpdkavKLpCfN/ywLMZg u/kwhm6oSL5Dc4hbAwAdAQMGI02GIQTuqbzMUYYXcC2uHsFB0nSzCOkIKKgALfJMb5+9zd MSMD6Ts8gFHzDykrjnlQgzVlt1a4/yVWKqa2LpjNnt5hk68U7XZ61UwZi0kvOZvhTAZ6mb 4esaxioIH6+nOLkmk3Nj+49rt3mGB3XYaikxVM0zTC2y2gqbuhH7i+lNuambGamtUy4lKl FVqArs9/Rx0/nXdrZTFxfDuNkEoo1C2rB53GjROi9Sv/kDJcspZpTXqipDd6qA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -6.08 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 147E42318 X-Spam-Score: -6.08 X-Migadu-Scanner: scn0.migadu.com X-TUID: 20IyeJzILrBT --OodJCZvQTwVHrakc Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 14, 2021 at 03:11:04PM -0500, Leo Famulari wrote: > Alright, it's time to land these patches. I tested with a handful of > packages on x86_64 and it seems fine. I can test every package before > pushing. >=20 > However, Go 1.17.4 doesn't build for us on aarch64. I tried building the > derivation for this scheduled CI job: >=20 > https://ci.guix.gnu.org/build/1952348/details > /gnu/store/bldlnwxjwbi1iidm6cdw20kkpgy5gk09-go-1.17.4.drv The link shows problems with the armhf portion of the bootstrap. > And it fails the test suite due to missing libgcc (I think), or maybe > something related to 'hello.exe', which seems weird: >=20 > ------ > $ guix build /gnu/store/bldlnwxjwbi1iidm6cdw20kkpgy5gk09-go-1.17.4.drv > [...] > --- FAIL: TestTrampolineCgo (78.58s) > link_test.go:739: executable failed to run: exit status 127 > /tmp/guix-build-go-1.17.4.drv-0/TestTrampolineCgo602252092/001/he= llo.exe: error while loading shared libraries: libgcc_s.so.1: cannot open s= hared object file: No such file or directory > link_test.go:742: unexpected output: > /tmp/guix-build-go-1.17.4.drv-0/TestTrampolineCgo602252092/001/he= llo.exe: error while loading shared libraries: libgcc_s.so.1: cannot open s= hared object file: No such file or directory > FAIL > FAIL cmd/link 425.553s > ok cmd/link/internal/benchmark 0.449s > ok cmd/link/internal/ld 84.727s > ok cmd/link/internal/loader 0.366s > ok cmd/nm 73.342s > ok cmd/objdump 96.072s > ok cmd/pack 77.197s > ok cmd/pprof 155.165s > ok cmd/trace 2.437s > ok cmd/vet 318.126s > FAIL > go tool dist: Failed: exit status 1 > command "sh" "run.bash" "--no-rebuild" failed with status 1 > builder for `/gnu/store/bldlnwxjwbi1iidm6cdw20kkpgy5gk09-go-1.17.4.drv' f= ailed with exit code 1 > ------ >=20 > I notice that we remove libgcc from the dependencies of go-1.17: >=20 > https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/golang.scm?i= d=3Db484301f529e246df80380a641822f09a8775755#n799 >=20 > Anyways, any ideas? I'll try poking it a bit with my aarch64 board. We can also switch the aarch64 go builds to bootstrap from gccgo, that might make a difference too. --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --OodJCZvQTwVHrakc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmG5xgcACgkQQarn3Mo9 g1FtARAAqMHgLYVqEJV+x0n3QnhCyzVBVZgXrFniiH7vuBxTuZjTBXtRReFWQlBD UvhzndxkAzEbba7zDfpnbGmRZbIZRfDrAVS5ZM539D+yBKHfrX8X5inEUZulnn4M CiSkBOLwXOmfZ8gARFAagFIMXa5mNw5ODfwVia+CrbXsc5rGOCBAWUlWNy73V39U ZriMbNnc7ueO3aFrwf17D+DyXS2/wMP7FNwjgxGULyP9UmFXKdF/U5FZzOqXGA63 Aup2aj/BIy4FGO+lnc3e1D0bYvnNxkkYbG6Dy7JfELbUJqbkPyyqSVGqqEACPoeN 0ueLJ9rwNGZTl2Hy/UWy00ACiyKPo1wRthpoLLIQxD/ZMnohtFP8ZdNbE7V862l+ R9CkqZCuGKKN46E3zS7DrZUDsVzYCvd1PynR08OfgKDMvyNopJwHnD7AGMSc/8t9 apL3jtrF6ACGr3YYhiPJuBNfDmLOX9DNUI+Ri42AawSPR1ci5xVLQhxjdUDD0bfE ir+b0G09s3+zk4QKpOTf4Nc3ymb1Ot8du8qf3GijdQhBUw+jmORiIugmjtR4l2T8 s1JHQ8ULBMIozlsaRN6JnhLarlggxMUIXmGBnR2euR5bMwUDERaLxLpX+GjXx7UJ UBKmjDwUOIie77czsagyXUkhBKZIlpkqegeJfMAWn5h/6GBS5ho= =bKOe -----END PGP SIGNATURE----- --OodJCZvQTwVHrakc--