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 MJxtDAz7uGGMsAAAgWs5BA (envelope-from ) for ; Tue, 14 Dec 2021 21:14:04 +0100 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 kN05CAz7uGH9cgAAB5/wlQ (envelope-from ) for ; Tue, 14 Dec 2021 20:14:04 +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 D2827B32A for ; Tue, 14 Dec 2021 21:14:03 +0100 (CET) Received: from localhost ([::1]:38506 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxEBW-0007AM-VT for larch@yhetil.org; Tue, 14 Dec 2021 15:14:02 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxE9b-0005VJ-Qz for bug-guix@gnu.org; Tue, 14 Dec 2021 15:12:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48153) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxE9Z-0002XD-Sl for bug-guix@gnu.org; Tue, 14 Dec 2021 15:12:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mxE9Z-0006Tg-Iz for bug-guix@gnu.org; Tue, 14 Dec 2021 15:12:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#50493: Update go-build-system to use Go 1.17. Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 14 Dec 2021 20:12:01 +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: Sarah Morgensen Received: via spool by 50493-submit@debbugs.gnu.org id=B50493.163951267524849 (code B ref 50493); Tue, 14 Dec 2021 20:12:01 +0000 Received: (at 50493) by debbugs.gnu.org; 14 Dec 2021 20:11:15 +0000 Received: from localhost ([127.0.0.1]:59699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxE8o-0006Sj-Vd for submit@debbugs.gnu.org; Tue, 14 Dec 2021 15:11:15 -0500 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:36455) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxE8n-0006SU-AZ for 50493@debbugs.gnu.org; Tue, 14 Dec 2021 15:11:13 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 75AAB3201905; Tue, 14 Dec 2021 15:11:07 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Tue, 14 Dec 2021 15:11:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=CJG6EtoxOPnFnUucfHmUmvfl BmyG7fbK8yZvR4kDnvQ=; b=R0LAZgB7KOqR14vK0MwFeQ1Tv0QtVNBk9A89MJGE qyp39quTtGsayyHm9RjTSe4mbwYV+NZNwy1GI9WqTeLRrSWkamRte9XmZgpuezh/ MzckJaMLkmMKN6NDCZ9wAbMpTgj+qYhCqGUg1nTVKvoBWeE7Jl2qDg7CaDx64e+M 0CM= 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-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=CJG6Et oxOPnFnUucfHmUmvflBmyG7fbK8yZvR4kDnvQ=; b=GPILNxq6Ux4lbcP1/ZklKU RyH0f9jfOtMhymtxzeSLEOXYYKBXYMlZnWpPCM9yuvugTbzipltkE4Fx+ugtok9W oFC927Wf93hnAEYy5+2QBaS0w3iOAZJfCo528t8L8Zm+O9u5mmNRWE3hIvA+VBqm y8WPuEFXLNT1iZZXzYlULW2WDHNz7w6Xs1y9xWZ3/poW3r5u2VUdvZJ8OB2W1OCt Vt3xSxky4t/R6D6Oow60HK4e9IjJq54HJ/fkzPoLucv35HkkskDkt7BbDpOzdHe7 +BgTqcROHcctb/4dCH5TIHRPuXPAY1LuybJdgS5YVnxih7cqpQbx5ef3UsytN2wA == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrledtgddufeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesthdtre dttddtvdenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgr rhhirdhnrghmvgeqnecuggftrfgrthhtvghrnhepvddvudegffefiedttdfhfedvuefhgf ekieekgeekveetgefhfeetgfegueduffeinecuffhomhgrihhnpehgnhhurdhorhhgnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfh grmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 14 Dec 2021 15:11:06 -0500 (EST) Date: Tue, 14 Dec 2021 15:11:04 -0500 From: Leo Famulari Message-ID: References: <865yv9mm5a.fsf@mgsn.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 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=1639512843; 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: dkim-signature; bh=CJG6EtoxOPnFnUucfHmUmvflBmyG7fbK8yZvR4kDnvQ=; b=KiOsMbjCGLZTQNmBgUw5u4z3fiG6ynRalYiUAohC2btckJNeOugyymb1GjQ8lkf4A88ZvR nts5iAH3MP2kWS/vSLO9q6get+IUcBY4AMsqwBR+yuIq7itciPwCoZjyiPSE16gYUT4W0i D6a5F3rnglsTfUU38CkJ5iO/xEPIN97gFPCMrjzFLCqtedY3Tks6YcvqaDGAVoXXrxVun3 Zs6lXSUGrtGKN+ZO2fcWYC5wLp05hOzZnpY+KHSmcBq5mneVXzNzqhAX1QoCisXJdisNdv Y4k/nqe1lSui5+MNfsjHKPLORch2l3O+RpYpkY9Ebfkzo0U+bwMDZv6CRKUuew== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639512843; a=rsa-sha256; cv=none; b=E0PTkwt1/8Qs54b6tqGvWK8T94M01yGAT0K6s1yRF43acqIDf50dqFI1rn8n2K4iMKPtds 2YFQV4MWk3h3preyUWVub+ZBDcnxX5tlK/7Mc4h7kleVuYC7BgRyefSRK1cYzEGmhyGxoU zlw/nNvxWXGJ+A5yVCkRmCgyRl0JbJpIxcye40hbnszzDquxFj9pkUOV6g2NfuQOo6+W2i xPqCmSKpt8tHkDoKOAajT9orjS+zd+L23cFtS7oHZrFauEMKrFuo4JyEC2uBA7pt5uvI0C qeuMxaH7NsZYgOK2xLcMxUPASfVC6cX4fdMZUuTXJl7h8NBQeS3KwTcVn6bD4g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=R0LAZgB7; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=GPILNxq6; 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: -3.47 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=R0LAZgB7; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=GPILNxq6; 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: D2827B32A X-Spam-Score: -3.47 X-Migadu-Scanner: scn0.migadu.com X-TUID: r9K67F4WWEfF 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. However, Go 1.17.4 doesn't build for us on aarch64. I tried building the derivation for this scheduled CI job: https://ci.guix.gnu.org/build/1952348/details /gnu/store/bldlnwxjwbi1iidm6cdw20kkpgy5gk09-go-1.17.4.drv And it fails the test suite due to missing libgcc (I think), or maybe something related to 'hello.exe', which seems weird: ------ $ 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/hello.exe: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory link_test.go:742: unexpected output: /tmp/guix-build-go-1.17.4.drv-0/TestTrampolineCgo602252092/001/hello.exe: error while loading shared libraries: libgcc_s.so.1: cannot open shared 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' failed with exit code 1 ------ I notice that we remove libgcc from the dependencies of go-1.17: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/golang.scm?id=b484301f529e246df80380a641822f09a8775755#n799 Anyways, any ideas?