From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WMtqIRWiD2XCUAEAG6o9tA:P1 (envelope-from ) for ; Sun, 24 Sep 2023 04:42:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WMtqIRWiD2XCUAEAG6o9tA (envelope-from ) for ; Sun, 24 Sep 2023 04:42:29 +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 5572C30278 for ; Sun, 24 Sep 2023 04:42:29 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=QrP8OkYV; 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=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695523349; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: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=RTqGEVtcL8gonuI4xB1qCwP9yPNpK3DoKEMLQ5dQstI=; b=lHLRkiVDWSeOzNDDNA2N6SZcVy+8xheZyAuhjjuOUSXweetX8Y4vNig0T38w6hIoV44J/B MOjxS+bmgyN/tjmHWWhy/Z4Dl5VDSGzFDjMQNIL79suD5+12UsQ2fbxC3PTFZa/nfEn6A3 x4AUc9OuQ12S5295I+vTsY8rUuWqY8RDH7JzSTLfPf/dz+oifUuUp//Q7vbQoNK8mq3xi1 BbEueBp6vsTrzXWCmAEgfHmYEigdPYX6mlIr7zQrvlenH3qrVEAfu8NC/Kqqifadau34Od bbV5gCGVGUhbFX4AS+t7WsBOGgNLrTk6LL3AmEr3OjW8RAhQ68Ov5AFFFZwn6A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=QrP8OkYV; 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=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695523349; a=rsa-sha256; cv=none; b=aETrakdQlvy3DHewqKjY+k1sqK6d1Vw98LA9ipt/tIFiJPLi+u/pm0S59IngTXtGpisRSZ OO4V80X0G3C/jGQzTDwHAOBM5AVJjx+2+a/j4b8KS7ep+wBgBTOzX7GSNqxrMP4V00uAT3 RhZWiMpE3EFz7yHzn+KzlxlE7z1dSHLr4oHvMxNrVDSoPbxzET5qPNDqiKvt1kw7kUZL0Z sAfrqXTTwbO665sYMDV86T11GMFohBKbKgW+Y8vyYV/SRyDFgu+thLVFWc9+NyI0Vzap+U MFnDGsPAhyLb0bNUusId6DDrHK8Hp9XtqSbH0q7pssPoKcvNjZfpZmPdXB3Row== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qkF4E-000855-9q; Sat, 23 Sep 2023 22:41:54 -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 1qkF4C-000844-EG for guix-patches@gnu.org; Sat, 23 Sep 2023 22:41:52 -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 1qkF4B-00041L-9l for guix-patches@gnu.org; Sat, 23 Sep 2023 22:41:52 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qkF4M-0006Hb-Nd; Sat, 23 Sep 2023 22:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65034] [PATCH v2 1/3] gnu: go-google-golang-org-protobuf: Update to 1.31.0. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Sun, 24 Sep 2023 02:42: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 moreinfo To: 65034@debbugs.gnu.org Cc: Hilton Chain , Maxim Cournoyer X-Debbugs-Original-Xcc: Maxim Cournoyer Received: via spool by 65034-submit@debbugs.gnu.org id=B65034.169552328524072 (code B ref 65034); Sun, 24 Sep 2023 02:42:02 +0000 Received: (at 65034) by debbugs.gnu.org; 24 Sep 2023 02:41:25 +0000 Received: from localhost ([127.0.0.1]:40796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qkF3l-0006G5-3W for submit@debbugs.gnu.org; Sat, 23 Sep 2023 22:41:25 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:47178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qkF3i-0006Fm-Ux for 65034@debbugs.gnu.org; Sat, 23 Sep 2023 22:41:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1695523176; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RTqGEVtcL8gonuI4xB1qCwP9yPNpK3DoKEMLQ5dQstI=; b=QrP8OkYVKDsiH1Qt3o+g4RZxw9LoQrfhr0/ipi8C/jJd1KkImZiJvwA7tdP0z6NPGXqzqa MxfgGYYEKjj3x4zil1OJH41CIw57+ayxAUowD51re9edk+/6aEWLdkKBaHb+jqoGAa/Ois B56JsR4LsJZIgnp/NTv/E3o1zrXHiNMrnT68P2p0vObyNtXb1VMP76Tx2iNydu71rnr8LE 57MgKQiLCJDAzgrNfYt79ao14y+ZzQRbg1GCoderiFqx+r+pAqOL598oogAcAfT0XakQco tWt1JrGt6OwFuakoBW9zp3rkaPR8BgCBs7ZZMMOx9m2n8mdxovQRRwLBfMxeng== Date: Sun, 24 Sep 2023 10:39:55 +0800 Message-ID: <5f6b22ea4019638026ac945b175e6497257badaf.1695521520.git.hako@ultrarare.space> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: -- 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: , Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.20 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: 5572C30278 X-Spam-Score: -6.20 X-TUID: Ys4Z3UDDGBEZ * 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 | 57 +++++++++++++++++++++++++++++++++++------ 1 file changed, 49 insertions(+), 8 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 3d19b48e9f..2a2ba8c13c 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -8848,7 +8848,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 @@ -8857,16 +8857,57 @@ (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)) + ;; XXX: Workaround for go-build-system's lack of Go modules support + #: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))))))) + (propagated-inputs (list go-github-com-google-go-cmp-cmp)) (home-page "https://google.golang.org/protobuf") (synopsis "Go library for Protocol Buffers") (description -- 2.41.0