From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 aCFlOeXrDmXc1gAAG6o9tA:P1 (envelope-from ) for ; Sat, 23 Sep 2023 15:45:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id aCFlOeXrDmXc1gAAG6o9tA (envelope-from ) for ; Sat, 23 Sep 2023 15:45:10 +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 CE62B5D44E for ; Sat, 23 Sep 2023 15:45:09 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=YhJXdnCu; 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=1695476709; 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-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=Mz3IeW5N6WuzRXbKDNfE+PvS7c13sv83OAfOhGczi74=; b=lgF+EDGp4ktDq/JDR5Gsn3vXf/QJ98JRkPy5gIcL45f6KtopHsPEuLFqfrXifOtjdi+bps gQ+pI1IE/FFbfvMs4AhZjoxYawXQEB+5Ze24diJ70dDXdcx9sh1eCseBoCFb16PrUeyNF9 Yy2JTqDf/1ch4QGlE6dgzEZn6/ya/OX4WFdqyxS08kGoHFt6Inw21AzNfW+4uOzjd3AzxI cjmaPCtoPVRyA5YuQkvTONCJpLzOTk2MrdgrqykujDCcNmmh6Am8el+UsCcY64X9itj4fF JgE8+0Z1OHPyTOAqeNbXkP+/2zskNhiDAluvyrDUkIoFG6et/0/gOHOoISEnHQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695476709; a=rsa-sha256; cv=none; b=GeEDWqVqwb3RqsywYtHC5mctwSVDOE++hlBYUnUHyDkLcb9il0xxBXBnJ3k/EbEXID09/m +kiO+M83Tj7AZdemoGpDLTtRgM7XG1FVanBpLqHKlhwOGcNXbwBPd789ij6Xz0PidNTsHY sBsLMWB1wr5gk7On2rVCc8uETTQABrFu2NmYri3mXuR5CZ91rmGG5d8S8m6p9UwcdaHLCR hKpdxaC5rZUCY2wXypSEq57nn5PJQaVKdUtz1zX6ujVMu4EmSv5yxIyIs4XdspC6xYZ10a oZCFksb+V0/zM+zIwLlI9gPgIgyBl7XBy/pC+Lf6s01ZFv4l9/Yt6BczrsrOwg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=YhJXdnCu; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qk2wF-0001ZH-Sz; Sat, 23 Sep 2023 09:44:51 -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 1qk2wF-0001Z8-6g for guix-patches@gnu.org; Sat, 23 Sep 2023 09:44:51 -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 1qk2wE-0003VR-Up for guix-patches@gnu.org; Sat, 23 Sep 2023 09:44:50 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qk2wQ-0006Po-3Y for guix-patches@gnu.org; Sat, 23 Sep 2023 09:45: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: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 23 Sep 2023 13:45: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: Maxim Cournoyer Cc: 65034@debbugs.gnu.org Received: via spool by 65034-submit@debbugs.gnu.org id=B65034.169547669524629 (code B ref 65034); Sat, 23 Sep 2023 13:45:02 +0000 Received: (at 65034) by debbugs.gnu.org; 23 Sep 2023 13:44:55 +0000 Received: from localhost ([127.0.0.1]:38001 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qk2wI-0006PB-PU for submit@debbugs.gnu.org; Sat, 23 Sep 2023 09:44:55 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:47632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qk2wF-0006P1-T0 for 65034@debbugs.gnu.org; Sat, 23 Sep 2023 09:44:53 -0400 Date: Sat, 23 Sep 2023 21:43:45 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1695476586; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Mz3IeW5N6WuzRXbKDNfE+PvS7c13sv83OAfOhGczi74=; b=YhJXdnCu6qhCydyHyre9oymzKPZdQ4QQqvCzU83ACgucocFxd9C0oEFPHFIRabQRI8QM91 ChyJLicWMNsiqVu9YkxvezauSJ0r/pF5ZeWYPO5YNZAobyrAFPCE4cPZGAP0PEeRHfB8zK fv4wJopjp7YXdgnpCVjUA2CY5Omrq4a+7HT9FHmcHuvJBVNzfCiybeHKi7KO6RgNDttdCA S/P5+GnNmeCIrDYBUtkRxMhxpYppZsMjuHGuTjJhH5A3y7mC5zL1mZL3yy55peEzAFfNIl CgJsEJRYGIkwbsn2TzNrbTyfJmTSbP0ZWevzMoHq3H+3Rvy1K6SjBVlk9Qw3gQ== Message-ID: <874jjlqa26.wl-hako@ultrarare.space> In-Reply-To: <87v8cok9wh.fsf_-_@gmail.com> References: <87v8cok9wh.fsf_-_@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -6.74 X-Spam-Score: -6.74 X-Migadu-Queue-Id: CE62B5D44E X-TUID: WvZZFK41vxh5 Hi Maxim, On Tue, 05 Sep 2023 21:49:18 +0800, Maxim Cournoyer wrote: > [...] > > (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. Yes, I'll add the comment and send V2, thank you!