From unknown Thu Jun 19 12:35:15 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#27710 <27710@debbugs.gnu.org> To: bug#27710 <27710@debbugs.gnu.org> Subject: Status: [PATCH] gnu: go@1.8: Fix test failure. Reply-To: bug#27710 <27710@debbugs.gnu.org> Date: Thu, 19 Jun 2025 19:35:15 +0000 retitle 27710 [PATCH] gnu: go@1.8: Fix test failure. reassign 27710 guix-patches submitter 27710 Alex Vong severity 27710 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 15 12:59:37 2017 Received: (at submit) by debbugs.gnu.org; 15 Jul 2017 16:59:37 +0000 Received: from localhost ([127.0.0.1]:40581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWQPl-00081d-A7 for submit@debbugs.gnu.org; Sat, 15 Jul 2017 12:59:37 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWQPj-00081Q-HD for submit@debbugs.gnu.org; Sat, 15 Jul 2017 12:59:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dWQPd-0005jE-G7 for submit@debbugs.gnu.org; Sat, 15 Jul 2017 12:59:26 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_20, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35868) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dWQPd-0005j4-Bf for submit@debbugs.gnu.org; Sat, 15 Jul 2017 12:59:25 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45685) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWQPb-0007vN-UF for guix-patches@gnu.org; Sat, 15 Jul 2017 12:59:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dWQPY-0005fw-S1 for guix-patches@gnu.org; Sat, 15 Jul 2017 12:59:24 -0400 Received: from mail-pg0-x235.google.com ([2607:f8b0:400e:c05::235]:35510) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dWQPY-0005fG-Ky for guix-patches@gnu.org; Sat, 15 Jul 2017 12:59:20 -0400 Received: by mail-pg0-x235.google.com with SMTP id v190so1540510pgv.2 for ; Sat, 15 Jul 2017 09:59:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=SOEZ+FL0YHPGdgVET4bRQPh+iae0LNOKNdIUREljwLI=; b=ayEEV0gV8/q6X0X5CO0acT/lQijKPnxYUqNTadWr5lsC+nTGYZ7DVivmCx8ShGygBo xNlIfJAC6TweG/6iL1k4tx8gs8n7vKre3tW2E5JmMG2E9qk0uEZeOTRYkWvkn15oShfn RhiaQvEEn44pwW/JkOkNBKr8ScMGGmvxsmBHuIZCIhYskjJ7wDvShrG8eaTZ6Sv1c33l lr5JZl3WaS0BQmjtxlGbOEeqQRgEX179cCTQETMAMC/mkw/gP9OVMp6oCSzSRaHl/euB LMMZULOJmKQLOxZtzefnawG3ElIdAG6xNFbQ1koW5klqndWlWuItcOc+fsGAiR0N1r8H w4+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=SOEZ+FL0YHPGdgVET4bRQPh+iae0LNOKNdIUREljwLI=; b=CeMBjojVGqjpbnUqUfxP0Up5uW8oGqN2ljrNSdvjcxHsuhVy/w4/StzGR6hxVnTkVa 4qgG64mJM0+8N6OCxIEZPNeiykVnTXyYrybE74f919f/9Shi1lMPSW3wwgsr96VS/NIR ej+j+wbqL+7Xzo+zxcjz/TKKxof4gGn64GJo5IbbwU0B5OluKmRNODZu68vCSSXuMbtb opWjg+2YZjiHMgEs/5JupmDJG6L9Cbv5+U1lyZpYhQcYSTunpokeKErllfDPLglb+IIs ceD/VbPNmIuOoHN+ts2Xi4G2fufFPdC1icTLFhRYx0TXJU8BVHyg3xxZQrjUvHoTnaQ3 I/PA== X-Gm-Message-State: AIVw111IQEEB2Dac4hcg5jNwENHPCaAM15qQNU3PbNuggipwQExEruUp 5QMVSAORrdinjg== X-Received: by 10.84.230.134 with SMTP id e6mr21907022plk.2.1500137957735; Sat, 15 Jul 2017 09:59:17 -0700 (PDT) Received: from debian (1-64-82-146.static.netvigator.com. [1.64.82.146]) by smtp.gmail.com with ESMTPSA id c63sm29777329pfk.79.2017.07.15.09.59.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 15 Jul 2017 09:59:16 -0700 (PDT) From: Alex Vong To: guix-patches@gnu.org Subject: [PATCH] gnu: go@1.8: Fix test failure. Date: Sun, 16 Jul 2017 00:59:01 +0800 Message-ID: <87y3rpprfu.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.8 (---) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Tags: fixed-upstream Forwarded: https://github.com/golang/go/issues/20007 Hello, This patch fixes the test failure in core-updates. I've tried to cherry-pick upstream's commit, but it doesn't work. So I fall back to fix it directly instead. The bug has already been fixed upstream, and the fix will be in the next release (1.9). See [0] for details. --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-go-1.8-Fix-test-failure.patch Content-Transfer-Encoding: quoted-printable From=20023f866f8838df457639a38af9c2c733e445435d Mon Sep 17 00:00:00 2001 From: Alex Vong Date: Sun, 16 Jul 2017 00:41:17 +0800 Subject: [PATCH] gnu: go@1.8: Fix test failure. * gnu/packages/golang.scm (go-1.8)[arguments]: Escape braces in test data in 'prebuild' phase. =2D-- gnu/packages/golang.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 70cae6d87..884a49689 100644 =2D-- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -6,6 +6,7 @@ ;;; Copyright =C2=A9 2016, 2017 Petter ;;; Copyright =C2=A9 2016, 2017 Leo Famulari ;;; Copyright =C2=A9 2017 Sergei Trofimovich +;;; Copyright =C2=A9 2017 Alex Vong ;;; ;;; This file is part of GNU Guix. ;;; @@ -296,6 +297,12 @@ sequential processes (CSP) concurrent programming feat= ures added.") (substitute* "../misc/cgo/testcarchive/carchive_test.go" (("#!/usr/bin/env") (string-append "#!" (which "env")))) =20 + ;; escape braces in test data to workaround test failure,= see: + ;; https://github.com/golang/go/issues/20007 + ;; FIXME: remove this once we upgrade to 1.9 + (substitute* "cmd/vet/testdata/copylock_func.go" + (("struct\\{lock sync.Mutex\\}") "struct\\{lock sync.Mu= tex\\}")) + (substitute* "net/lookup_unix.go" (("/etc/protocols") (string-append net-base "/etc/proto= cols"))) (substitute* "net/port_unix.go" =2D-=20 2.13.3 --=-=-= Content-Type: text/plain Cheers, Alex [0]: https://github.com/golang/go/issues/20007 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEdZDkzSn0Cycogr9IxYq4eRf1Ea4FAllqSdYACgkQxYq4eRf1 Ea6bLQ/9ENeqROBTqt764Cc55Bh5OCK50r6iz2LRjmTYFJx9XLVswCD9mZaASy2C aZzndckTDHzofptNafs9UJnHgTO8lXhdhie0ralKvEvjQ4M8UFBNSNjuZCAPHX6s PenNEyErCLNaoivFhenud/l1a9tfdlNoQaYtotk81dxvkfjp4UubGCFoL5YMiW97 Wyde37snImRKFLS3ZzQB21VkCBm//wOwqSw4jxfeWzHQL+G298vgcH5+oSdSN2wR DkIMs3UJtdY67fegslGcaQVTPY6nKbhOEzx1xdaiFSrb5Le4Mkd7iiuVa1DhocwU OvRLsOLvz2dpLEiJO14suqqh9jOcf7vXVe8E/ioqYPApIjBMeX1bh3KKqVbvJcv5 psLGTJk9m10TTFSNgk6+qUNElMg+U2YIoS3XU4gz5gA41mfAnUWvbvaZXoA5HtzR 0nUyQ6eIv8w7Qfo3VvP8X95O2iuQrygw1HucvC5osGqVsQ27WFPR0EM9P3zYJ9V2 Rict/5XZRuJJDF0Qw72aM11E9NxnIjWI6yrqAyXqfj+YMoPEC/yIYJbsyKpmmj6y FYAIeLhFVavtYRIZVgJA1Cp/HR6RZ6yon3U0XgiQpCz7AfvqVTuRZD09SquW0Nnd N4/oWi/EUKAMCVaTo/tTRAJHYWlIQEonG5F94Yl5vVB1TTWJyMU= =Q3Dt -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 15 13:10:38 2017 Received: (at control) by debbugs.gnu.org; 15 Jul 2017 17:10:38 +0000 Received: from localhost ([127.0.0.1]:40589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWQaT-0001gi-Nc for submit@debbugs.gnu.org; Sat, 15 Jul 2017 13:10:37 -0400 Received: from mail-pf0-f171.google.com ([209.85.192.171]:36356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWQaQ-0001gQ-Q6 for control@debbugs.gnu.org; Sat, 15 Jul 2017 13:10:35 -0400 Received: by mail-pf0-f171.google.com with SMTP id q86so58864969pfl.3 for ; Sat, 15 Jul 2017 10:10:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:date:message-id:user-agent:mime-version; bh=k2thFiBvTeSuJcQR51f2iuPLLF6otQP5M+0lYJeLl2M=; b=QH6SUfK9U4QXlC1OJ1xsbGdVDZeQeWmEMvicL9jKgAi8e88b/Gzo1r2VKq/VuX+srR gL3vBHwCUC8Bk3Otc/Tdi/LwtNS1k2OCuREaDJx8kOxlLkYTzAPYJIeckgNYfq/e7udk xIwgUpKTD8LghiH7fVgv7wodUB34QawuM/k9okjyL+3LFw92F3uT30YE2w9UwWiOTt6p cEjSWsLdZjx5n13oRxMc+t46oaBfk4H8MwWAuo4KxmdbeS1vrcH/9idt7hYXdBMk3tfl rKhBz99nVj1PwSfiELWvfoANzST53F+8Txl8acI4NZXjVSDYKzb+FoR4MhDkSIO0h3t9 pYEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:date:message-id:user-agent:mime-version; bh=k2thFiBvTeSuJcQR51f2iuPLLF6otQP5M+0lYJeLl2M=; b=Q9MtzBVKPaga1Nzx4U8JD18cuIs4GxWXwFk+yUSr8QsxIQxZsllM4iYnkETdeKicmK xjJpPXkSQIHyKt0uw10T3hOYwhTJyAYMqUURhIkq3B1aKtzDeJ6PcUAKaviHn2o3cPia cwgeAIfFDUSYD29U2HN860jhmpITTZT85qe3pPkR6dZ9McOcAjxExhYromjKjpJxLzIg ExOw3zdITRUQFHdSKgp5OMIGMc9LuBi8y63ininkinlMM9a91vo4rUUg918KS06JQJwk We2xy2L6r87m9eXW514e1ydHlSO44yrB0vltkZeLsm/vfKwmX1DGYh4VD6MAVwK+2Azq XDcw== X-Gm-Message-State: AIVw111rtQvi5tujlC/C0K630Ncw1cQbu0Gdz4JlGDE9z3ac21IjQXdg 8HQNCYwfcNKYVw== X-Received: by 10.84.143.34 with SMTP id 31mr22075667ply.198.1500138628629; Sat, 15 Jul 2017 10:10:28 -0700 (PDT) Received: from debian (1-64-82-146.static.netvigator.com. [1.64.82.146]) by smtp.gmail.com with ESMTPSA id a29sm24834829pfg.30.2017.07.15.10.10.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 15 Jul 2017 10:10:27 -0700 (PDT) From: Alex Vong To: control@debbugs.gnu.org Date: Sun, 16 Jul 2017 01:10:13 +0800 Message-ID: <87tw2dpqx6.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.6 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.6 (/) --=-=-= Content-Type: text/plain tags 27710 fixed-upstream forwarded 27710 https://github.com/golang/go/issues/20007 thanks --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEdZDkzSn0Cycogr9IxYq4eRf1Ea4FAllqTHoACgkQxYq4eRf1 Ea4qyBAAi2rjjxbQTCDaj2Nosplx1JrHhuYjzwT7VVyB8+HnlKV7tZ1Y8uweMbHU CkbBP9DG7lQYs7rC8eNgb+fCgdil/fPv20e24T/Hp4HHb1PDMPMPCksCgsDBr34D AiM12E8zvT6qquswHhVKOU2M3Ul3GfsD+Z9omI6K8WDzSfZlvpmSc9rAHoFVRhFh ThVHxCYuD7h64U5jCi0n/3oMhdLGQc8KUMB/9ZvS0ZgV6WAqD2PZ+WpG483avPWq 4BVrZjTHcQf+2c19Ct2ze9o8lMzv7LvxanvOuJjFfFLcDRiBuUu8RZ7L78npJH21 PN3+I1+dgBMF7ZHQQZYcpMzFPOQu7g1TKJ1FKQTFS2T1Yt7KsofFlif10j9L1VUM M1kSngp5d7m7RUARVHv6EtwnzVwJHo9BYfFNwbOgThpuc2nW/ubktWaeSr4kQQ/w nsBE+NUXnrJU6fPQEHD6jZhXGQuBOZBiEwkAOEWsUcsANgeo19O9Asn0PEQGEcFU qVLF8RKO65uElNeX+JfvfAB1xZgDh5OFEj+RZPuOFJ1cSJzmCLmzqy/i485zQZQq MYfxI03sDzg6wvvaa9NNv6bNS20KM3VEQMNauUzx0L+1CbwaMeNWDTzC6NCsdlUx 7sLyQS9jp1V3zVkNOBErbeThgV4haLrPP7wXDWfC2tNcDWGVAGE= =t5xR -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 15 16:16:28 2017 Received: (at 27710-done) by debbugs.gnu.org; 15 Jul 2017 20:16:28 +0000 Received: from localhost ([127.0.0.1]:40665 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWTUJ-0008Be-NB for submit@debbugs.gnu.org; Sat, 15 Jul 2017 16:16:28 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:58825) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWTUH-0008BQ-FG for 27710-done@debbugs.gnu.org; Sat, 15 Jul 2017 16:16:26 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id DA6D4206A4; Sat, 15 Jul 2017 16:16:24 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Sat, 15 Jul 2017 16:16:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=Q4mk3/v+HgUxij8lB+KyquUh5gVap6Wj+JcaNS P6Rj0=; b=Fv/VLtVcHRjznpS+FkHlYdQcUZo4RxaGBiAyryqMSqy0zhH0Thj+r8 RMtmgV+Rx2a8J6UlxIhuugDhzx/1BwIuSmaE+cJIrZ9Lzqn4ECg/O3c1gBcRG1f2 bJyCJ3GF4oTslS3y37xEuMG1g1i01il+r0v7pkvOcC4EwpQOdt95I= 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-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=Q4mk3/v+HgUxij8lB+ KyquUh5gVap6Wj+JcaNSP6Rj0=; b=PeMYbzmV8rsaUnLwqUw6L83Fck7WzKSUwc +GKciLup+aKa7mvefcFoQagRHwqfS+KdCbLDDTslSUJDHV6lX9JFsgBADBbsDJDk /VIiMtDlXwEzhMX4cWOddeCWS40uqtU9BxGDZ35wc5BxJVRA0p+wEH0E+h2aaL86 6dJZad9Wsi/qHL2CrpU0/+oM7W8z/wqvqkUnAIbmZg9a70KryeUQNStLdW3q7ssW HZ4TTHwOLumhZ4WQzvfvaxsJmj6BOEO5e0evFA7PM+CUPgCi+kmALocMOx1/D+Yj jB5ZH7rXedD6Ao1clWamxDm8WsBHgQQWnzKBevnGDZQo6Z30jivQ== X-ME-Sender: X-Sasl-enc: lnR+pIx7nWJAMdo3e7r1wNxOWQF525/DiHWvdLDMrDc4 1500149784 Received: from localhost (96-90-63-214-static.hfc.comcastbusiness.net [96.90.63.214]) by mail.messagingengine.com (Postfix) with ESMTPA id 7D9727E46B; Sat, 15 Jul 2017 16:16:24 -0400 (EDT) Date: Sat, 15 Jul 2017 16:15:42 -0400 From: Leo Famulari To: Alex Vong Subject: Re: [bug#27710] [PATCH] gnu: go@1.8: Fix test failure. Message-ID: <20170715201542.GA18529@jasmine.lan> References: <87y3rpprfu.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="cmJC7u66zC7hs+87" Content-Disposition: inline In-Reply-To: <87y3rpprfu.fsf@gmail.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27710-done Cc: 27710-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --cmJC7u66zC7hs+87 Content-Type: multipart/mixed; boundary="HlL+5n6rz5pIUxbD" Content-Disposition: inline --HlL+5n6rz5pIUxbD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jul 16, 2017 at 12:59:01AM +0800, Alex Vong wrote: > Tags: fixed-upstream > Forwarded: https://github.com/golang/go/issues/20007 >=20 > Hello, >=20 > This patch fixes the test failure in core-updates. I've tried to > cherry-pick upstream's commit, but it doesn't work. So I fall back to > fix it directly instead. The bug has already been fixed upstream, and > the fix will be in the next release (1.9). See [0] for details. >=20 > From 023f866f8838df457639a38af9c2c733e445435d Mon Sep 17 00:00:00 2001 > From: Alex Vong > Date: Sun, 16 Jul 2017 00:41:17 +0800 > Subject: [PATCH] gnu: go@1.8: Fix test failure. >=20 > * gnu/packages/golang.scm (go-1.8)[arguments]: Escape braces in test data= in > 'prebuild' phase. Thanks! Pushed as eaca9ff07e4762c3d33e3090bab999c7cf74c98a. BTW, I've attached an update to the latest Go, 1.9beta2. I can successfully build Syncthing with it. --HlL+5n6rz5pIUxbD Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-WIP-go-Update-to-1.9beta2.patch" Content-Transfer-Encoding: quoted-printable =46rom c607f2857d223d377ad905a6a1f063c6aa6da22e Mon Sep 17 00:00:00 2001 =46rom: Leo Famulari Date: Fri, 14 Jul 2017 14:15:54 -0400 Subject: [PATCH] WIP: go: Update to 1.9beta2. * gnu/packages/golang.scm (go-1.8): Replace with ... (go-1.9): ... new variable. [arguments]: Adjust the pre-build phase accordingly. --- gnu/packages/golang.scm | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 70cae6d87..a7facf4ed 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -199,11 +199,11 @@ garbage collection, various safety features and in th= e style of communicating sequential processes (CSP) concurrent programming features added.") (license license:bsd-3))) =20 -(define-public go-1.8 +(define-public go-1.9 (package (inherit go-1.4) (name "go") - (version "1.8.3") + (version "1.9beta2") (source (origin (method url-fetch) @@ -211,7 +211,7 @@ sequential processes (CSP) concurrent programming featu= res added.") name version ".src.tar.gz")) (sha256 (base32 - "19lzv4lqixj3v2gjaff0fdbbmgsq5r8lrfd61z2zvp778wjflpaz")))) + "1hx8vab9qbwpk75lfx1zvj9a6ssalp1hpa1pp0fyzcn3x4lip8ac")))) (arguments (substitute-keyword-arguments (package-arguments go-1.4) ((#:phases phases) @@ -242,7 +242,7 @@ sequential processes (CSP) concurrent programming featu= res added.") ;; Add libgcc to runpath (substitute* "cmd/link/internal/ld/lib.go" (("!rpath.set") "true")) - (substitute* "cmd/go/build.go" + (substitute* "cmd/go/internal/work/build.go" (("cgoldflags :=3D \\[\\]string\\{\\}") (string-append "cgoldflags :=3D []string{" "\"-rpath=3D" gcclib "\"" @@ -265,7 +265,9 @@ sequential processes (CSP) concurrent programming featu= res added.") (substitute* file ((regex all before test_name) (string-append before "Disabled" test_name))))) - '(("net/net_test.go" "(.+)(TestShutdownUnix.+)") + '(;; See https://github.com/golang/go/commit/81ed9ca1d41= 1f0bd8738ea60b3a8045446ad85fc + ("cmd/go/go_test.go" "(.+)(TestExecutableGOROOT.+)") + ("net/net_test.go" "(.+)(TestShutdownUnix.+)") ("net/dial_test.go" "(.+)(TestDialTimeout.+)") ("os/os_test.go" "(.+)(TestHostname.+)") ("time/format_test.go" "(.+)(TestParseInSydney.+)") @@ -366,4 +368,4 @@ sequential processes (CSP) concurrent programming featu= res added.") `(("go" ,go-1.4) ,@(package-native-inputs go-1.4))))) =20 -(define-public go go-1.8) +(define-public go go-1.9) --=20 2.13.3 --HlL+5n6rz5pIUxbD-- --cmJC7u66zC7hs+87 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAllqd+4ACgkQJkb6MLrK fwiLqxAA4ySYAfOltAenFQfk/utzHsA0b3UeNaBmD+fpNff/2x5vkR6cJNLScMBF szgaYUf9ZwnyW/KwFK5ImZQydaEsGCfLB2Mkqt2fB47Z+uF3qItEDNhvzQP1qgu8 as3NXM4MxZ3rHtQiQLvYcZ7nTKEe109uJdW/yX+983baZjP2Sm08tIxuN+z+BwzF rsCJXTKSq5Um9DqkRc03mEovsPCWk9alFdf8/GUkBk/2v+WWOA3wWaaLGDids8t+ rh++pJ8GfJTSRkH3j3HHz9WOc12y+4kaZzKnLR9BiuTbSoN9qpao/fvb0d5f5jVd j/df6u0ClexiD0+quZammC6J17vlJCvI1beR6cIKwNVAWdMeRngncwQk8eejBK12 Ap/82c9oL9xUVJVg4DueOJDB+7Sv5T5N1wKw2TW6sQ2+3kiH+Ru91rYN2BiIeaQo EQKFzTReNBmiMVhguAODQatqOvqmU7fIL50vsBD75Ys1wkU7FQCXFSDPClxkyxKV EqE/4DRN8lw8Dua9Vh2mjKF2Z4YGnCKMMoqovafR4Xd1cwwRjQiT3V1KOE/S7/YI nSstrwR0l17MNIxEkjfhut+XIMvre8zRLFzC+FZxJ3AXgLSV/HeXyn91eIV+DI9Z cZ50HEUZf9xfyxmQXu+lVT+GhUSQNXFc8IkMzIK7Y43lSaCui0w= =ksJL -----END PGP SIGNATURE----- --cmJC7u66zC7hs+87-- From unknown Thu Jun 19 12:35:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 13 Aug 2017 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator