From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yIU7IVAdDGEmKgEAgWs5BA (envelope-from ) for ; Thu, 05 Aug 2021 19:18:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id kLYAHVAdDGG0JAAA1q6Kng (envelope-from ) for ; Thu, 05 Aug 2021 17:18:08 +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 B60AE71FE for ; Thu, 5 Aug 2021 19:18:07 +0200 (CEST) Received: from localhost ([::1]:37352 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBh0Q-00052A-Pv for larch@yhetil.org; Thu, 05 Aug 2021 13:18:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52366) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBh0M-00051n-7s for guix-patches@gnu.org; Thu, 05 Aug 2021 13:18:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36768) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mBh0M-000697-1l for guix-patches@gnu.org; Thu, 05 Aug 2021 13:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mBh0L-0005ji-TW for guix-patches@gnu.org; Thu, 05 Aug 2021 13:18:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49221] [PATCH 00/13] Add go-1.16 and build with gccgo Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 05 Aug 2021 17:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49221 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Sarah Morgensen Cc: 49221@debbugs.gnu.org Received: via spool by 49221-submit@debbugs.gnu.org id=B49221.162818385622017 (code B ref 49221); Thu, 05 Aug 2021 17:18:01 +0000 Received: (at 49221) by debbugs.gnu.org; 5 Aug 2021 17:17:36 +0000 Received: from localhost ([127.0.0.1]:48313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBgzv-0005j1-OL for submit@debbugs.gnu.org; Thu, 05 Aug 2021 13:17:36 -0400 Received: from mail-qk1-f176.google.com ([209.85.222.176]:34770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBgzt-0005in-TQ for 49221@debbugs.gnu.org; Thu, 05 Aug 2021 13:17:34 -0400 Received: by mail-qk1-f176.google.com with SMTP id w197so5699671qkb.1 for <49221@debbugs.gnu.org>; Thu, 05 Aug 2021 10:17:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=VkR1EpncbTcCdXAR03VFsuNG0+NhmERiMEglz5Ll6ro=; b=njc2NeDuqi8Vw0ecfS68Gbz0rmrqIObq03DP1UYM+T+oZbw6hfLg38NsgAuZutOfo3 9PmRndpn6qB3gHKn3qtg44MZCvlNRm/qY+i6iqTwJKo15LpU6N3+cjZblDdFoiO43Xzz KiRRaeiqj85SIhhKn9gezTlCuTEHIychuR5tIcEe7Va3pIiAScHLp60Nr0nPz5/jH25X /OOTprSYvrJhtLNe52xHORNvc0CtebDMS6pTQ/2wdKyo7RL7rZTT5IZPQYzTyVR0YZgX 8poFdrghXWT/Hjjr1km1Epie3fK8nK+k8/FfY4kh4c+d0fcWh+Kdcsud9V4AgxsjX/JI 5oMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=VkR1EpncbTcCdXAR03VFsuNG0+NhmERiMEglz5Ll6ro=; b=WE6V7cWrfNcMIJ5c50Ii0+AAEypRCfKdWoRO9q39G2I6iy4QlLg4FvaIVJOapr1aZS nK8edLWQjzDyUbEAbqpeauFr2GrvRPSB+tAUFvUDrnB66ojD74Lt4jF/wGcgbl7+/iRo QCStSX5d/O76veRK17VwXsUPnkt3h6TzfcmRO6jyTPCdKTstSMFZiisK9kS3C5FRF6F+ ESn1cgsqThBdZsDXBGxeSX5w39HiGzajUvc33Bg8uNaTUWboLZ4AMp2nMH8YTv0eE25o sitAO5OGNxlRslImg8Cib8cw+3JQ6Z7gyuKw7vTUH3mV2iuTDT1P7epCda5IHDZTpVoL wPMw== X-Gm-Message-State: AOAM533SDehBARMMJbcFdaJU4fQkxB/og91Wvzj6TNLzXLkSoSKDKnX1 WQyiDIC3AjDZ4dRse+MJiSKftdwnb1tnly7b X-Google-Smtp-Source: ABdhPJymETtvG6XmYnzRi0i4IsudFBs8S0H2MLtgepBlN7Y24iMxEVz2LxZ+0cPp68xw8weg4O+LUA== X-Received: by 2002:a37:e91:: with SMTP id 139mr6047612qko.239.1628183848326; Thu, 05 Aug 2021 10:17:28 -0700 (PDT) Received: from raisin ([2607:fad8:4:6:235e:8579:8464:aacc]) by smtp.gmail.com with ESMTPSA id s19sm2501644qtx.5.2021.08.05.10.17.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Aug 2021 10:17:27 -0700 (PDT) From: Maxim Cournoyer References: <00966aa0d291e3eeed89103fc456981171b403cf.1624602942.git.iskarian@mgsn.dev> Date: Thu, 05 Aug 2021 13:17:27 -0400 In-Reply-To: <00966aa0d291e3eeed89103fc456981171b403cf.1624602942.git.iskarian@mgsn.dev> (Sarah Morgensen's message of "Fri, 25 Jun 2021 00:21:02 -0700") Message-ID: <87wnoz7qvs.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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=1628183888; 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=VkR1EpncbTcCdXAR03VFsuNG0+NhmERiMEglz5Ll6ro=; b=asenvHHzArTTsDDN9uQ1E73UzdA7K1OwI3Vt2PQ8AIrTowBk0AmfDQ8c4OrZ15uv9bjfWG YalJOqx53Lfyohz7TiquIUY0aqvwVYtsEr7GUK3QviBvYDFC4CqpbkldAjpfS6Psj7GyYf JDrqEZ3uRqsLQeSuUzR6mhOIj0cONJMt2Aa6H1p2RIJUz0oji4jReyZMjaEkvDOQ/e878g MquACQy64HPVUDPLEhq8irEBFtU3BNdFLSXEJo+8WEPYA6y4cZfnUnWv+/6z5xGlWh/bJ7 l3S9GzbEv96coRMsiuKklQFR3ZpN6SG6b1UUWm+5+/TOG6CoZQQNvX2WjXGLbw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628183888; a=rsa-sha256; cv=none; b=sWZpUHvm1VJfvNG/lYaLFPXjG+hC5tl5MzSB0TuP6/jspsz9b6kM9PnOR+zbyvfqMizVC3 rTcUo+P8S9QecgRMzEjq6AWZorrqyUOUuS8JaglGbackai/nPQTBFL/pv7/YGayZk1zEeG bSTbc9G18or+9MVgAIq3mEVtpH09+8+fW7gsUWnmoWmFWiKi3U96LQnQL6sORARsfsRIcT 9dYd0l8SyRqvziSjCU7BasnjwGdd3WyPNSFOTevldAcyff+PlOVlUtKLGaPS0a5m3F1wRA rknYgYCZbKXaN6KgA/mNf1pZvQd7xXsnUgE/yJR8/wr4tb1T9AAjnUcHrUhpyw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=njc2NeDu; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=njc2NeDu; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: B60AE71FE X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: nIqPvMlSpf1i Hello, Sarah Morgensen writes: > * gnu/packages/patches/go-github-com-bmatcuk-doublestar-1.3-remove-test.patch: > New file. > * gnu/local.mk (dist_patch_DATA): Register it. > * gnu/packages/golang.scm (go-github-com-bmatcuk-doublestar): Use it. > --- > gnu/local.mk | 1 + > gnu/packages/golang.scm | 5 ++++- > ...b-com-bmatcuk-doublestar-1.3-remove-test.patch | 15 +++++++++++++++ > 3 files changed, 20 insertions(+), 1 deletion(-) > create mode 100644 gnu/packages/patches/go-github-com-bmatcuk-doublestar-1.3-remove-test.patch > > diff --git a/gnu/local.mk b/gnu/local.mk > index 9caae52306..a176772ece 100644 > --- a/gnu/local.mk > +++ b/gnu/local.mk > @@ -1172,6 +1172,7 @@ dist_patch_DATA = \ > %D%/packages/patches/gobject-introspection-cc.patch \ > %D%/packages/patches/gobject-introspection-girepository.patch \ > %D%/packages/patches/go-skip-gc-test.patch \ > + %D%/packages/patches/go-github-com-bmatcuk-doublestar-1.3-remove-test.patch \ > %D%/packages/patches/gpm-glibc-2.26.patch \ > %D%/packages/patches/gpodder-disable-updater.patch \ > %D%/packages/patches/gpsbabel-fix-i686-test.patch \ > diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm > index 9d5fc36710..3170e11925 100644 > --- a/gnu/packages/golang.scm > +++ b/gnu/packages/golang.scm > @@ -5314,7 +5314,10 @@ template functions.") > (file-name (git-file-name name version)) > (sha256 > (base32 > - "0bk5bixl6rqa8znxghyp6zndbccx9kdyrymjahgyp6qsrp7rk144")))) > + "0bk5bixl6rqa8znxghyp6zndbccx9kdyrymjahgyp6qsrp7rk144")) > + (patches > + (search-patches > + "go-github-com-bmatcuk-doublestar-1.3-remove-test.patch")))) > (build-system go-build-system) > (arguments > `(#:import-path "github.com/bmatcuk/doublestar")) > diff --git a/gnu/packages/patches/go-github-com-bmatcuk-doublestar-1.3-remove-test.patch b/gnu/packages/patches/go-github-com-bmatcuk-doublestar-1.3-remove-test.patch > new file mode 100644 > index 0000000000..2c64575914 > --- /dev/null > +++ b/gnu/packages/patches/go-github-com-bmatcuk-doublestar-1.3-remove-test.patch > @@ -0,0 +1,15 @@ > +Remove test which fails with Go >= 1.15 due to API changes. > +This patch should no longer be necessary with doublestar v4+ > + > +diff --git a/doublestar_test.go b/doublestar_test.go > +index b21d20ad4b..f510c3d06b 100644 > +--- a/doublestar_test.go > ++++ b/doublestar_test.go > +@@ -80,7 +80,6 @@ var matchTests = []MatchTest{ > + {"[", "a", false, ErrBadPattern, true}, > + {"[^", "a", false, ErrBadPattern, true}, > + {"[^bc", "a", false, ErrBadPattern, true}, > +- {"a[", "a", false, nil, false}, > + {"a[", "ab", false, ErrBadPattern, true}, > + {"*x", "xxx", true, nil, true}, > + {"[abc]", "b", true, nil, true}, This should be reported upstream, if the test is still not working with the latest release (v4.0.2). Thanks, Maxim