From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 6IM2Kx8y92SKFAAAauVa8A:P1 (envelope-from ) for ; Tue, 05 Sep 2023 15:50:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6IM2Kx8y92SKFAAAauVa8A (envelope-from ) for ; Tue, 05 Sep 2023 15:50:23 +0200 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 60B8F57225 for ; Tue, 5 Sep 2023 15:50:23 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=AtwZUFYo; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693921823; 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=pDlHH6wGAJO//cvGdoLju4JQMi4K0W37XFEdTNIIxX4=; b=o19N0zSlSfh0HrDEn9UOv7wUM8I0f08aCQzJlLrAfjuRZ5Ss6crPntrfR/wc3Zo4nsRein 0heCra2IIatC2EZf5IqdbieV2X35amhS3jNwMEUNDkfpORQLWhnQw305Wv4mlo6CSxc4X7 GQLKDyU/H0FAmU4yYzJI/Jgzyx2Cmgdo7WDBWuM2XtV4TSNlH2PR8x2KLf9aCWo28W3aTX wy9yfGNtkgm4xkK8OwcLPsQIk4uDux+d6pH3nGO2f3LY2DDjmtvo8+AG5/AkvwOIeu8LAq dMiO0yQAOJxutBF8ln+mdIPxGrt7VrB6JKcEpZJLjlnGiPKG1eWL0qUTtwN9KA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693921823; a=rsa-sha256; cv=none; b=hfXCnHJ8zOM3RKaC/PdzBulrg21IVCyhcF3RQl4MMvCQWt1S6rMfUaleC+fmgbXEGTyf5s bxUHud39JnJryoNDgDkrlsZjTAZiLJpBC1kzKUc7CI5b6wFzjv1rwBnf5Mht8Xt0qxq1LR YuRLlPJz6iDX3WUL0Ms1qHaHiabrhYEZ1X7B8gITO+YHEsubeuD39/5PzgkEXaQvBKv7Y3 sqzc6/tPGGqPPb4dnI5eNUpwlNenD4YgbLDZwsk4VmJT7ovyvhVOkbizydRLOjMeOFX7XF XkG4QbH8NA39nrxXwHdzDbySi2FalOlM2gMf0vnywav5qjZdWTrgWCHyfT2C4w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=AtwZUFYo; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qdWRP-0007ux-Nt; Tue, 05 Sep 2023 09:50:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qdWRN-0007ub-VN for guix-patches@gnu.org; Tue, 05 Sep 2023 09:50:01 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qdWRN-0000um-MB for guix-patches@gnu.org; Tue, 05 Sep 2023 09:50:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qdWRO-0006dH-4h for guix-patches@gnu.org; Tue, 05 Sep 2023 09:50:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65034] [PATCH 0/3] gnu: go-google-golang-org-protobuf: Update to 1.31.0. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Sep 2023 13:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65034 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Hilton Chain Cc: 65034@debbugs.gnu.org Received: via spool by 65034-submit@debbugs.gnu.org id=B65034.169392176825435 (code B ref 65034); Tue, 05 Sep 2023 13:50:02 +0000 Received: (at 65034) by debbugs.gnu.org; 5 Sep 2023 13:49:28 +0000 Received: from localhost ([127.0.0.1]:55229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdWQq-0006cB-00 for submit@debbugs.gnu.org; Tue, 05 Sep 2023 09:49:28 -0400 Received: from mail-qk1-x733.google.com ([2607:f8b0:4864:20::733]:61598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdWQo-0006by-07 for 65034@debbugs.gnu.org; Tue, 05 Sep 2023 09:49:26 -0400 Received: by mail-qk1-x733.google.com with SMTP id af79cd13be357-76f18e09716so148950285a.2 for <65034@debbugs.gnu.org>; Tue, 05 Sep 2023 06:49:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693921759; x=1694526559; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=pDlHH6wGAJO//cvGdoLju4JQMi4K0W37XFEdTNIIxX4=; b=AtwZUFYo0TaNgs8dHwVkmajImjwDb06iKYMAdvjOxZahwckXCpUhu6CsEbFwULaCVB X0nFjkpCk3oxZy25OZmt55Uo7ECptmhIHeDAgOdWptk9+/YUBQXu0w23KnmO5nkFrKi4 YWBXwVfF+CAkyga0Mm7ln96DqGpCdU/BkMqgNnQwyy6f3xkx2Euo+YfWmCJVZitnOMPG 78C4vXnFXKseeodGGzDxP4v6vvNpcA1mB/ShGMqV4TxP4Pg64Kp/lGiGL5BXirdlMSrl Bv911LpKl2aHqFSsD1pBVyIqfqPKN2izJ2hOBhIG1AwV9l7YyUcsFm2LCjfgqojKCl+I 65HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693921759; x=1694526559; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=pDlHH6wGAJO//cvGdoLju4JQMi4K0W37XFEdTNIIxX4=; b=cIoN5NNZgZfGprfVOJcxj6ig6+hLRFlkAF71vLAQCdNiKyRrHEuK8+hxPr4o9E4qPc +DNsO3p5SwlMivxQIKgoCpV3bWZ108DWxovrKuqFOUsdFCTW1rgMaktORUD4c36DpXgb o5NMOhegHpNBy7Ef1hq3SoHNL9RDuM5KvAkLkKaTspF2y3XyAw6n/5k1opj4E16wpnjM UIMNpKnHD4JD42papUIJ7YLZ8TAydVm30Ge7h+gCyv6usxSD9SZxfTxmha01sytVug2E 67wH9L0Fa9+z5YZ4clq/o6IPwHoX9kVW9peV+i/cMFaVyz+5V6QoMHcaLbu9934LvkAS WiAw== X-Gm-Message-State: AOJu0YxeqShLvUlcvRsnRn8AK18Xi4xmdKKFlSRgEGBpyyH4BuCvv3xM KkJa2mmShNhdCA2GZRwJM0HKiW3+qeIFrQ== X-Google-Smtp-Source: AGHT+IFAbH03aKmkvkvGFFIu3QbF32dC7iplm2XkJeZ/KsDrTse6tXd4qEQe4Q2hz/duFehsjMj/6w== X-Received: by 2002:a05:620a:248a:b0:76c:a8a2:aad2 with SMTP id i10-20020a05620a248a00b0076ca8a2aad2mr16857880qkn.34.1693921759581; Tue, 05 Sep 2023 06:49:19 -0700 (PDT) Received: from hurd (dsl-153-125.b2b2c.ca. [66.158.153.125]) by smtp.gmail.com with ESMTPSA id c12-20020a05620a11ac00b00767f00a9c67sm4085394qkk.95.2023.09.05.06.49.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Sep 2023 06:49:19 -0700 (PDT) From: Maxim Cournoyer References: Date: Tue, 05 Sep 2023 09:49:18 -0400 In-Reply-To: (Hilton Chain's message of "Thu, 3 Aug 2023 16:47:35 +0800") Message-ID: <87v8cok9wh.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -5.13 X-Spam-Score: -5.13 X-Migadu-Queue-Id: 60B8F57225 X-TUID: X8IRXCKcSZbz Hi Hilton, Hilton Chain writes: > * gnu/packages/golang.scm (go-google-golang-org-protobuf): Update to 1.31.0. > [arguments]: Build Go packages and run tests. > [propagated-inputs]: Remove go-github-com-golang-protobuf-proto. > --- > gnu/packages/golang.scm | 56 +++++++++++++++++++++++++++++++++++------ > 1 file changed, 48 insertions(+), 8 deletions(-) > > diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm > index ea6aadbe80..51bc717064 100644 > --- a/gnu/packages/golang.scm > +++ b/gnu/packages/golang.scm > @@ -8433,7 +8433,7 @@ (define-public go-github-com-golang-protobuf-proto > (define-public go-google-golang-org-protobuf > (package > (name "go-google-golang-org-protobuf") > - (version "1.28.0") > + (version "1.31.0") > (source (origin > (method git-fetch) > (uri (git-reference > @@ -8442,16 +8442,56 @@ (define-public go-google-golang-org-protobuf > (file-name (git-file-name name version)) > (sha256 > (base32 > - "1nzcc4qc00afi24nb7nlnwyzvvr6b8s8qdrn1sw085nygh2y2x8r")))) > + "1xf18kzz96hgfy1vlbnydrizzpxkqj2iamfdbj3dx5a1zz5mi8n0")))) > (build-system go-build-system) > (arguments > (list #:import-path "google.golang.org/protobuf" > - #:tests? #f ; source-only package > - #:phases #~(modify-phases %standard-phases > - ;; source-only package > - (delete 'build)))) > - (propagated-inputs (list go-github-com-google-go-cmp-cmp > - go-github-com-golang-protobuf-proto)) > + #:phases > + #~(let ((go-packages '("proto" > + "encoding/protojson" > + "encoding/prototext" > + "encoding/protowire" > + "reflect/protoreflect" > + "reflect/protoregistry" > + "reflect/protodesc" > + "reflect/protopath" > + "reflect/protorange" > + "testing/protocmp" > + "testing/protopack" > + "testing/prototest" > + "types/dynamicpb" > + "types/known/anypb" > + "types/known/timestamppb" > + "types/known/durationpb" > + "types/known/wrapperspb" > + "types/known/structpb" > + "types/known/fieldmaskpb" > + "types/known/apipb" > + "types/known/typepb" > + "types/known/sourcecontextpb" > + "types/known/emptypb" > + "types/descriptorpb" > + "types/pluginpb" > + "compiler/protogen" > + "cmd/protoc-gen-go"))) > + (modify-phases %standard-phases > + (replace 'build > + (lambda* (#:key import-path build-flags #:allow-other-keys) > + (for-each > + (lambda (pkg) > + ((assoc-ref %standard-phases 'build) > + #:import-path (format #f "~a/~a" import-path pkg) > + #:build-flags build-flags)) > + go-packages))) > + (replace 'check > + (lambda* (#:key tests? import-path #:allow-other-keys) > + (for-each > + (lambda (pkg) > + ((assoc-ref %standard-phases 'check) > + #:tests? tests? > + #:import-path (format #f "~a/~a" import-path pkg))) > + go-packages))))))) Is this a workaround for our lack of Go modules support? An explanatory comment is needed. -- Thanks, Maxim