From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oGgLFHOsDWFF/AAAgWs5BA (envelope-from ) for ; Fri, 06 Aug 2021 23:41:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id QMutD3OsDWESFgAA1q6Kng (envelope-from ) for ; Fri, 06 Aug 2021 21:41:07 +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 028BAC436 for ; Fri, 6 Aug 2021 23:41:07 +0200 (CEST) Received: from localhost ([::1]:39862 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mC7aU-0001uZ-0Z for larch@yhetil.org; Fri, 06 Aug 2021 17:41:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mC7aR-0001uQ-5N for guix-patches@gnu.org; Fri, 06 Aug 2021 17:41:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39920) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mC7aQ-0006pz-SE for guix-patches@gnu.org; Fri, 06 Aug 2021 17:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mC7aQ-0008JT-Jj for guix-patches@gnu.org; Fri, 06 Aug 2021 17:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49917] [PATCH core-updates-frozen] gnu: go-1.14: Fix test failure with GCC 9+. Resent-From: Sarah Morgensen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 06 Aug 2021 21:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49917 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49917@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162828603231907 (code B ref -1); Fri, 06 Aug 2021 21:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Aug 2021 21:40:32 +0000 Received: from localhost ([127.0.0.1]:51466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mC7Zw-0008IZ-0V for submit@debbugs.gnu.org; Fri, 06 Aug 2021 17:40:32 -0400 Received: from lists.gnu.org ([209.51.188.17]:55586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mC7Zs-0008IQ-GR for submit@debbugs.gnu.org; Fri, 06 Aug 2021 17:40:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43120) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mC7Zr-0001ol-IS for guix-patches@gnu.org; Fri, 06 Aug 2021 17:40:28 -0400 Received: from out1.migadu.com ([91.121.223.63]:54515) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mC7Zo-0006OX-Qb for guix-patches@gnu.org; Fri, 06 Aug 2021 17:40:27 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1628286021; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=twJLBptFYPKNoDWVKi8UaiP3gZI6+AliXPXEQaPLYok=; b=BnT6Fz0nurMv2ui6LDswUAeikkoRB8HYvX7vOLm1/kROx5eNzUoke4UaGPaJ+UTtDeJp3w mEZGzNman0bbbUh7kVrr/UYAla5gTCl9kHNsxbe4ces2gOnyv+Cbu+Lhkc0gDHVRYeonuX 0QxOIANgwdfGhpC6+hGtdSkQnQ6turA= From: Sarah Morgensen Date: Fri, 6 Aug 2021 14:40:17 -0700 Message-Id: <5018c60ab22041bac940e7828fe197efcf8167e7.1628285642.git.iskarian@mgsn.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Migadu-Auth-User: iskarian@mgsn.dev Received-SPF: pass client-ip=91.121.223.63; envelope-from=iskarian@mgsn.dev; helo=out1.migadu.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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=1628286067; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=twJLBptFYPKNoDWVKi8UaiP3gZI6+AliXPXEQaPLYok=; b=kLldDw3vIrHMDVust6wXMXtxeNmfSYnVHEGcRB72bQn+72wrIXD9BLWpdhxkr8k9FEuQGn cRg6NHkhy1LI9KJaa1xDj30X+GRIU+CItdJ8G2mFIDfezaWMycMRx5/6Rt5M+isNEBo2x+ tfpb4sRLCZeBgyWi/buO3OJon1PwZM1qAiniMcWsy/4850NZsphudr8NZQwM2tOiAvRPlA RuT5Zw4h478/upxeVEgPuRKKLSYb9uM9rwdOQLUWAwmL+uAaQAW83K1FGTK3Yjtt1BDL+v wT2QYeWikkOibCfyEhdxLuL6WHpyHM1NsDQv5gWYZLqqyXXemhdzo5/PR/nnwQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628286067; a=rsa-sha256; cv=none; b=lJVf1pZm9n67zq4PflUEpzBFx7eoJ7MNEo40/tf2YxdBE0gqtLiDu7ZovxGZ7EDr+HwR3a HgJvaj1WcAPdwr9pBoBv5OC3SCQVmI14N2vaAoMclj8ZbgO8Hlc+S0oA5OgnBUzz79OUHR wvESNYCS00gm6l4qlDOuDMa/ZMT5SnHDX+2dpqTBu1BGWDmd9L3UPEcTVUPetSaF6HPRmg 5pI4LOG3ClhJfmk25tV4diqdQ/OrCGRiryKdIxEqjK2p17aN5hNLm/V/b/Ue9G8VuobrB4 dDjy244SSNqOO64ous/n0BsxWqi5Mqe2rd42yQe7+P7FxGw7LO/VNC6q0eeOiQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=BnT6Fz0n; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mgsn.dev (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.18 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=BnT6Fz0n; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mgsn.dev (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: 028BAC436 X-Spam-Score: 1.18 X-Migadu-Scanner: scn1.migadu.com X-TUID: XB/3mBJIZdTl With GCC 9+, go-1.14 fails a test when the gold linker is not available (https://github.com/golang/go/issues/39157). Backport the fix for that from https://github.com/golang/go/commit/4ec4a79. gnu/packages/golang.scm (go-1.14)[arguments]<#:phases>{prebuild}: Fix test failure with GCC 9+. --- Hello Guix, This fixes the CI failure at https://ci.guix.gnu.org/build/725502/details and probably for other platforms as well. This should also probably go to core-updates. -- Sarah gnu/packages/golang.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index d3ef39a2e6..cbcd9adb4c 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1247,6 +1247,11 @@ in the style of communicating sequential processes (@dfn{CSP}).") (("/bin/pwd") (which "pwd")) (("/bin/sh") (which "sh"))) + ;; Backport fix for go-1.14 with GCC 9+ + ;; https://github.com/golang/go/issues/39157 + (substitute* "cmd/go/note_test.go" + (("cannot find 'ld'") "cannot find [‘']ld[’']")) + ;; Add libgcc to runpath (substitute* "cmd/link/internal/ld/lib.go" (("!rpath.set") "true")) base-commit: b2a5a180cfa56e55bc8078d606a971e34e326967 -- 2.31.1