From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWQQI-0008E9-2n for guix-patches@gnu.org; Sat, 15 Jul 2017 13:00:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dWQQF-00066Z-0s for guix-patches@gnu.org; Sat, 15 Jul 2017 13:00:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:37904) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dWQQE-00066N-Ts for guix-patches@gnu.org; Sat, 15 Jul 2017 13:00:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dWQQE-00082y-KH for guix-patches@gnu.org; Sat, 15 Jul 2017 13:00:02 -0400 Subject: [bug#27710] [PATCH] gnu: go@1.8: Fix test failure. Resent-Message-ID: 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) From: Alex Vong Date: Sun, 16 Jul 2017 00:59:01 +0800 Message-ID: <87y3rpprfu.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 27710@debbugs.gnu.org --==-=-= 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----- --==-=-=--