Received: (at 52362) by debbugs.gnu.org; 13 Apr 2022 14:27:04 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 13 10:27:04 2022 Received: from localhost ([127.0.0.1]:53510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nedxY-0000Jh-AX for submit <at> debbugs.gnu.org; Wed, 13 Apr 2022 10:27:04 -0400 Received: from mail-4323.proton.ch ([185.70.43.23]:25511) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <attila@HIDDEN>) id 1nedxW-0000JA-0W for 52362 <at> debbugs.gnu.org; Wed, 13 Apr 2022 10:27:03 -0400 Date: Wed, 13 Apr 2022 14:26:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail3; t=1649860014; bh=BqfjEQhvgsilWio32K8TN+aKWIjHL0OG8ejyH8TrweE=; h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc:Date:Subject: Reply-To:Feedback-ID:Message-ID; b=Sv95LMjj23EhCMj1s4+DZFCQW0tGavcfkeqbbrnum8ghZ8NFWZS2iIRncKjinAhsm lHsi0yFZzKbsq4oCegG7aLqFIQ0aeiGBgVWpT8DjYMhtTsvw9FVCxAyGXrh8cklQk2 rRfpKEx38rd1BV77ns/aewWP+DAVUXukBRRPQ5XKJIFYXfdcC47X7P8tRgHD27QAq8 Hn0Gkr8q2/aebt9jhoHN1JV80dziqq9Fd8VZA2paMGdH08kyY4aaQSxj1nLoWUi9Fz 8SVsqb+UQzxIYUzzWpa2yLvseF5amgcG2gtOTKGtWjCBxjAG8gKC8JBNGrwYBkyeW1 ef+th5iWtgnAg== To: "52362 <at> debbugs.gnu.org" <52362 <at> debbugs.gnu.org> From: Attila Lendvai <attila@HIDDEN> Subject: another patchset Message-ID: <y9U5agWrhqQDaR0EieoAUTleO_qyVlmgazVP0ilnWM18wIaWY1HKJPQM57N-aV6oA2RonxFQ59fTqY_uG-FHPJpsdS0nUBlxmaDa43XMR54=@lendvai.name> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 52362 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Reply-To: Attila Lendvai <attila@HIDDEN> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) FYI, i have extensive fixes to the go importer that i'm preparing for submission= : https://github.com/attila-lendvai-patches/guix/tree/import it fixes this issue, and it can also recursively import rclone (and go-ethe= reum for that matter): ./pre-inst-env guix import go --recursive github.com/rclone/rclone emits 100+ packages. unfortunately, it fails on/skips: guix import go github.com/billziss-gh/cgofuse i suspect that it's probably because that module is not adhering to the git= tag name rules. --=C2=A0 - attila PGP:=C2=A05D5F 45C7 DFCD 0A39
bug-guix@HIDDEN
:bug#52362
; Package guix
.
Full text available.Received: (at 52362) by debbugs.gnu.org; 28 Feb 2022 23:55:33 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 28 18:55:33 2022 Received: from localhost ([127.0.0.1]:34983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nOprZ-0001LC-Gb for submit <at> debbugs.gnu.org; Mon, 28 Feb 2022 18:55:33 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:42093) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <mail@HIDDEN>) id 1nOprW-0001Ky-N5 for 52362 <at> debbugs.gnu.org; Mon, 28 Feb 2022 18:55:31 -0500 Received: (Authenticated sender: admin@HIDDEN) by mail.gandi.net (Postfix) with ESMTPSA id ECE44240006 for <52362 <at> debbugs.gnu.org>; Mon, 28 Feb 2022 23:55:23 +0000 (UTC) From: Nicolas Goaziou <mail@HIDDEN> To: 52362 <at> debbugs.gnu.org Subject: Re: [PATCH v3] guix: import: go: Use correct tag for go module in subdirectory. Date: Tue, 01 Mar 2022 00:55:22 +0100 Message-ID: <875yoywnpx.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 52362 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Hello, I tested v3 of this change, which looks great. Unfortunately, when running ./pre-inst-env guix import go --recursive rclone I get the following backtrace: --8<---------------cut here---------------start------------->8--- following redirection to `https://github.com/qingstor/qingstor-sdk-go?go-ge= t=3D1'... Backtrace: In ice-9/boot-9.scm: 1752:10 19 (with-exception-handler _ _ #:unwind? _ # _) In guix/scripts/import/go.scm: 114:22 18 (_) In guix/import/utils.scm: 509:23 17 (recursive-import _ #:repo->guix-package _ #:guix-name _ =E2= =80=A6) In srfi/srfi-1.scm: 586:29 16 (map1 _) 586:29 15 (map1 _) 586:29 14 (map1 _) 586:29 13 (map1 _) 586:29 12 (map1 _) 586:29 11 (map1 _) 586:17 10 (map1 (("github.com/yunify/qingstor-sdk-go/v3" #f) (=E2=80=A6)= =E2=80=A6)) In guix/import/utils.scm: 497:33 9 (lookup-node "github.com/yunify/qingstor-sdk-go/v3" #f) In guix/memoization.scm: 98:0 8 (mproc "github.com/yunify/qingstor-sdk-go/v3" #:version =E2=80= =A6) In unknown file: 7 (_ #<procedure 7f09be40e0c0 at guix/memoization.scm:17=E2=80= =A6> =E2=80=A6) 6 (_ #<procedure 7f09be40e080 at ice-9/eval.scm:330:13 ()> =E2= =80=A6) In ice-9/boot-9.scm: 724:2 5 (call-with-prompt _ _ #<procedure 7f09be413e20 at ice-9=E2=80= =A6>) 1752:10 4 (with-exception-handler _ _ #:unwind? _ # _) In ice-9/eval.scm: 293:34 3 (_ #(#(#(#(#(#(#(#(#(#(#(#) =E2=80=A6) =E2=80=A6) =E2=80=A6) = =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6= )) In unknown file: 2 (substring "github.com/yunify/qingstor-sdk-go" 35 #<und=E2=80= =A6>) In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1683:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1683:16: In procedure raise-exception: Value out of range 0 to< 33: 35 --8<---------------cut here---------------end--------------->8--- Do you know why it is failing like this? Regards, --=20 Nicolas Goaziou
bug-guix@HIDDEN
:bug#52362
; Package guix
.
Full text available.Received: (at 52362) by debbugs.gnu.org; 16 Jan 2022 03:32:12 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 15 22:32:12 2022 Received: from localhost ([127.0.0.1]:42287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1n8wH6-0008BM-9Y for submit <at> debbugs.gnu.org; Sat, 15 Jan 2022 22:32:12 -0500 Received: from singpolyma.net ([192.99.233.116]:50637) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <singpolyma@HIDDEN>) id 1n8wH4-0008BE-H2 for 52362 <at> debbugs.gnu.org; Sat, 15 Jan 2022 22:32:11 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 73017486170A; Sun, 16 Jan 2022 03:32:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642303929; bh=FSkLx1fN8s/nFB4UKO75BwD6oI/9agxrC6NEW+nRyR4=; h=From:To:Cc:Subject:Date:From; b=F04+O8qZH/IZz+sD9qh0cEHLfeG0h2kQKPl4zsGvjXcKF+OwA7MqckGcqYSX9CsJZ rbCInlmGA0WKvGS7dieEl8VngCV8/pOyCEtKc5xu6XZ81XTGy2IQAKUFx4t7/NbdSh yVOteN9jCd+r4nQvCAKJPNZckf97Yfh9hL3dXKVs= From: Stephen Paul Weber <singpolyma@HIDDEN> To: 52362 <at> debbugs.gnu.org Subject: [PATCH v3] guix: import: go: Use correct tag for go module in subdirectory. Date: Sat, 15 Jan 2022 22:32:08 -0500 Message-Id: <20220116033208.54370-1-singpolyma@HIDDEN> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 52362 Cc: Stephen Paul Weber <singpolyma@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) https://go.dev/ref/mod says a module in a subdirectory has a tag prefixed with the subdirectory. * guix/import/go.scm (version+subdirectory->tag-prefix): New variable. (vcs->origin): New argument module-path-subdirectory. --- guix/import/go.scm | 36 +++++++++++++++++++++++++----------- 1 file changed, 25 insertions(+), 11 deletions(-) diff --git a/guix/import/go.scm b/guix/import/go.scm index d00c13475a..f2ea9dbbae 100644 --- a/guix/import/go.scm +++ b/guix/import/go.scm @@ -521,28 +521,37 @@ tag." `(tag-or-commit . ,reference))))) (file-hash* checkout #:algorithm algorithm #:recursive? #true))) -(define (vcs->origin vcs-type vcs-repo-url version) +(define (version+subdirectory->tag-prefix subdirectory) + (if (string=? subdirectory "") + "" + (string-append (substring subdirectory 1) "/"))) + +(define (vcs->origin vcs-type vcs-repo-url module-path-subdirectory version) "Generate the `origin' block of a package depending on what type of source control system is being used." (case vcs-type ((git) - (let ((plain-version? (string=? version (go-version->git-ref version))) - (v-prefixed? (string-prefix? "v" version))) + (let* ((plain-version? (string=? version (go-version->git-ref version))) + (v-prefixed? (string-prefix? "v" version)) + (tag-prefix (version+subdirectory->tag-prefix + module-path-subdirectory)) + (git-commit (if plain-version? + (string-append tag-prefix version) + (go-version->git-ref version)))) `(origin (method git-fetch) (uri (git-reference (url ,vcs-repo-url) - ;; This is done because the version field of the package, - ;; which the generated quoted expression refers to, has been - ;; stripped of any 'v' prefixed. (commit ,(if (and plain-version? v-prefixed?) - '(string-append "v" version) + (if (string=? module-path-subdirectory "") + '(string-append "v" version) + `(string-append ,tag-prefix "v" version)) '(go-version->git-ref version))))) (file-name (git-file-name name version)) (sha256 (base32 ,(bytevector->nix-base32-string - (git-checkout-hash vcs-repo-url (go-version->git-ref version) + (git-checkout-hash vcs-repo-url git-commit (hash-algorithm sha256)))))))) ((hg) `(origin @@ -618,12 +627,17 @@ When VERSION is unspecified, the latest version available is used." dependencies+versions (map car dependencies+versions))) (module-path-sans-suffix - (match:prefix (string-match "([\\./]v[0-9]+)?$" module-path))) + (if (string-prefix? "gopkg.in" module-path) + module-path + (match:prefix (string-match "([\\./]v[0-9]+)?$" module-path)))) (guix-name (go-module->guix-package-name module-path)) - (root-module-path (module-path->repository-root module-path)) + (root-module-path (module-path->repository-root module-path-sans-suffix)) ;; The VCS type and URL are not included in goproxy information. For ;; this we need to fetch it from the official module page. (meta-data (fetch-module-meta-data root-module-path)) + (module-path-subdirectory + (substring module-path-sans-suffix + (string-length (module-meta-import-prefix meta-data)))) (vcs-type (module-meta-vcs meta-data)) (vcs-repo-url (module-meta-data-repo-url meta-data goproxy)) (synopsis (go-package-synopsis module-path)) @@ -634,7 +648,7 @@ When VERSION is unspecified, the latest version available is used." (name ,guix-name) (version ,(strip-v-prefix version*)) (source - ,(vcs->origin vcs-type vcs-repo-url version*)) + ,(vcs->origin vcs-type vcs-repo-url module-path-subdirectory version*)) (build-system go-build-system) (arguments '(#:import-path ,module-path -- 2.30.2
bug-guix@HIDDEN
:bug#52362
; Package guix
.
Full text available.Received: (at 52362) by debbugs.gnu.org; 16 Jan 2022 02:56:42 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 15 21:56:42 2022 Received: from localhost ([127.0.0.1]:42275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1n8vij-0007Fe-Tc for submit <at> debbugs.gnu.org; Sat, 15 Jan 2022 21:56:42 -0500 Received: from singpolyma.net ([192.99.233.116]:45363) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <singpolyma@HIDDEN>) id 1n8vii-0007FV-3I for 52362 <at> debbugs.gnu.org; Sat, 15 Jan 2022 21:56:40 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id D6C89486170A; Sun, 16 Jan 2022 02:56:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642301798; bh=LZ8UkRluAuqBnIAOet0pK2H0Lz4kf10mvwP9Sma2iuU=; h=From:To:Cc:Subject:Date:From; b=HL019qqmRC9qtZkcH0BfO8gzcF59cSHlEAtykTA9vk780NNGRiRqEAkdZMG5xxYoE 4qVLbkm9M0n6vojp0kw8SW3XDgi4uJzpOzrhgNRD+HPsmrLYbSF+aseYCMqMgHhD9j +GuqyAb/UmRfRdNFQSMxt5FE5E+ZtfbqrB08T0uY= From: Stephen Paul Weber <singpolyma@HIDDEN> To: 52362 <at> debbugs.gnu.org Subject: [PATCH v2] guix: import: go: Use correct tag for go module in subdirectory. Date: Sat, 15 Jan 2022 21:56:34 -0500 Message-Id: <20220116025634.43833-1-singpolyma@HIDDEN> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 52362 Cc: Stephen Paul Weber <singpolyma@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) https://go.dev/ref/mod says a module in a subdirectory has a tag prefixed with the subdirectory. * guix/import/go.scm (version+subdirectory->tag-prefix): New variable. (vcs->origin): New argument module-path-subdirectory. --- guix/import/go.scm | 35 ++++++++++++++++++++++++----------- 1 file changed, 24 insertions(+), 11 deletions(-) diff --git a/guix/import/go.scm b/guix/import/go.scm index d00c13475a..b6f8686c0d 100644 --- a/guix/import/go.scm +++ b/guix/import/go.scm @@ -521,28 +521,37 @@ tag." `(tag-or-commit . ,reference))))) (file-hash* checkout #:algorithm algorithm #:recursive? #true))) -(define (vcs->origin vcs-type vcs-repo-url version) +(define (version+subdirectory->tag-prefix subdirectory) + (if (string=? subdirectory "") + "" + (string-append (substring subdirectory 1) "/"))) + +(define (vcs->origin vcs-type vcs-repo-url module-path-subdirectory version) "Generate the `origin' block of a package depending on what type of source control system is being used." (case vcs-type ((git) - (let ((plain-version? (string=? version (go-version->git-ref version))) - (v-prefixed? (string-prefix? "v" version))) + (let* ((plain-version? (string=? version (go-version->git-ref version))) + (v-prefixed? (string-prefix? "v" version)) + (tag-prefix (version+subdirectory->tag-prefix + module-path-subdirectory)) + (git-commit (if plain-version? + (string-append tag-prefix version) + (go-version->git-ref version)))) `(origin (method git-fetch) (uri (git-reference (url ,vcs-repo-url) - ;; This is done because the version field of the package, - ;; which the generated quoted expression refers to, has been - ;; stripped of any 'v' prefixed. (commit ,(if (and plain-version? v-prefixed?) - '(string-append "v" version) + (if (string=? module-path-subdirectory "") + '(string-append "v" version) + `(string-append ,tag-prefix "v" version)) '(go-version->git-ref version))))) (file-name (git-file-name name version)) (sha256 (base32 ,(bytevector->nix-base32-string - (git-checkout-hash vcs-repo-url (go-version->git-ref version) + (git-checkout-hash vcs-repo-url git-commit (hash-algorithm sha256)))))))) ((hg) `(origin @@ -618,9 +627,13 @@ When VERSION is unspecified, the latest version available is used." dependencies+versions (map car dependencies+versions))) (module-path-sans-suffix - (match:prefix (string-match "([\\./]v[0-9]+)?$" module-path))) + (if (string-prefix? "gopkg.in" module-path) + module-path + (match:prefix (string-match "([\\./]v[0-9]+)?$" module-path)))) (guix-name (go-module->guix-package-name module-path)) - (root-module-path (module-path->repository-root module-path)) + (root-module-path (module-path->repository-root module-path-sans-suffix)) + (module-path-subdirectory + (substring module-path-sans-suffix (string-length root-module-path))) ;; The VCS type and URL are not included in goproxy information. For ;; this we need to fetch it from the official module page. (meta-data (fetch-module-meta-data root-module-path)) @@ -634,7 +647,7 @@ When VERSION is unspecified, the latest version available is used." (name ,guix-name) (version ,(strip-v-prefix version*)) (source - ,(vcs->origin vcs-type vcs-repo-url version*)) + ,(vcs->origin vcs-type vcs-repo-url module-path-subdirectory version*)) (build-system go-build-system) (arguments '(#:import-path ,module-path -- 2.30.2
bug-guix@HIDDEN
:bug#52362
; Package guix
.
Full text available.Received: (at 52362) by debbugs.gnu.org; 15 Jan 2022 01:56:09 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 14 20:56:09 2022 Received: from localhost ([127.0.0.1]:38652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1n8YIb-00015w-JV for submit <at> debbugs.gnu.org; Fri, 14 Jan 2022 20:56:09 -0500 Received: from singpolyma.net ([192.99.233.116]:38539) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <singpolyma@HIDDEN>) id 1n8YIZ-00015n-J2 for 52362 <at> debbugs.gnu.org; Fri, 14 Jan 2022 20:56:08 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 964864861709; Sat, 15 Jan 2022 01:56:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642211766; bh=5Z1hqxu4k37j1O9/+3UBxuigNu69EcdzLE1GIC++tWA=; h=Date:From:To:Subject:References:In-Reply-To:From; b=TpVefCey+oaIJo6io0tdZov9xawrvm/unvadT1WQo4RNQuaco6tYQiVnga7P+tHKo oSmqk4FNe/c14o2eQPCxRvV7a3wBiKoYKJ/YsVwM23CkYrdFR7MP4JwmWCXn5jevMz nIIrMP1ouo4UPiwOzjEqMKu8rkN+cP8FOgo322GE= Date: Fri, 14 Jan 2022 20:56:06 -0500 From: Stephen Paul Weber <singpolyma@HIDDEN> To: 52362 <at> debbugs.gnu.org Subject: Re: [PATCH] guix: import: go: Use correct tag for go module in subdirectory. Message-ID: <YeIpthv5P/B5zTbG@HIDDEN> References: <20220115014333.26372-1-singpolyma@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="HdtBVLSyYJViezKk" Content-Disposition: inline In-Reply-To: <20220115014333.26372-1-singpolyma@HIDDEN> Jabber-ID: singpolyma@HIDDEN OpenPGP: id=CE519CDE; url=https://singpolyma.net/public.asc X-URL: https://singpolyma.net X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 52362 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --HdtBVLSyYJViezKk Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Somebody claiming to be Stephen Paul Weber wrote: >https://go.dev/ref/mod says a module in a subdirectory has a tag prefixed with >the subdirectory. Dang. This patch as written causes import of guix import go github.com/jackc/pgx/v4 to fail. The /v4 suffix in this case appears to refer to a branch and not a subdirectory, but the syntax is identical? --HdtBVLSyYJViezKk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEWeaCw+rzmiEMpzU00RwpEc5RnN4FAmHiKbEACgkQ0RwpEc5R nN4tCg//dGl3uOpdc5UE0atj0/rpUjsReDLJnPoDgA3McPh3ciAT8X8FS9RZF+6Y M0wrIXqb3yRJzZ6PBjs68OiUZ1dBAseuxsFwzfi8DDF7dYlS20TQ8gh4eP2D54qy AH9hiQccp/Emy7M0n93pMAD2+NBLNcGALxhBau5ZFwecGJEg3iSGhrGi6Enwpz7d G9i/vv+ijzZU9jQXaJkpr7iaEMf4S3SUrv6jj4QvfsSwGxMijPK+7ugfzS9kbn0h EFRBIvR1EF+JVGgPMsrzN8e56NQ7jKqWNZNLCJ3GUPefnyEVleYCmxC0HX5pwE7f 1rsaKFH8OGC4Vzj/r4JJ46yz3lNCdc/srxL6+tAkakrBC7JEhZrWpBesKEU67a/o o3D7Sa6/6VuA4b2p4K4UyKyhTz7M6usTrXtyhfJYNXUbBrVSZH33z51oEyFX4UHU 2Bxp5G06F/jnBR20CjwUeLkGf4TkkajEORJn0y5qkkVJ9lsyQrML44Mz9S7j3f/o HngQTG+WLOJaSnw7OB9+eD7wwRdeGbqf0iaJvYSnvJx4ns+mXHbWtsj0rrjQ5Z0c qPWc38Goye92sH1JuGjcNslDzcLkZi9+mM40o5fI2kFhK62D/QWoJG3hvvj7YFQS VvEy8hWKKd+zE16i9EwdPiynLZOMSICV2BdWyxSj3JP+h3OSRj0= =JXfH -----END PGP SIGNATURE----- --HdtBVLSyYJViezKk--
bug-guix@HIDDEN
:bug#52362
; Package guix
.
Full text available.Received: (at 52362) by debbugs.gnu.org; 15 Jan 2022 01:43:43 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 14 20:43:42 2022 Received: from localhost ([127.0.0.1]:38639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1n8Y6Y-0000j6-K2 for submit <at> debbugs.gnu.org; Fri, 14 Jan 2022 20:43:42 -0500 Received: from singpolyma.net ([192.99.233.116]:39453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <singpolyma@HIDDEN>) id 1n8Y6V-0000iy-Ry for 52362 <at> debbugs.gnu.org; Fri, 14 Jan 2022 20:43:41 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id A2A024861709; Sat, 15 Jan 2022 01:43:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642211018; bh=syFT3xXKEcqHmstrcM0dD1epJk6NKVWS4g9VfDQc61o=; h=From:To:Cc:Subject:Date:From; b=ebBl/jQDvcA5SfIhGup1xBaSbAr9XuJAltGJqyxETUmx02Ig9lBY9GsGsbMknPVv3 +HjmUFDfMibtTfsL/BzYscekrJbsoei0ZPOdkLxy/BVM8Zxl+huxbtfIRUkDmTrqtE KmtM6kF5KBXCge03ySZrK13chkcv8TDL2x9ck1YY= From: Stephen Paul Weber <singpolyma@HIDDEN> To: 52362 <at> debbugs.gnu.org Subject: [PATCH] guix: import: go: Use correct tag for go module in subdirectory. Date: Fri, 14 Jan 2022 20:43:33 -0500 Message-Id: <20220115014333.26372-1-singpolyma@HIDDEN> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 52362 Cc: Stephen Paul Weber <singpolyma@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) https://go.dev/ref/mod says a module in a subdirectory has a tag prefixed with the subdirectory. * guix/import/go.scm (version+subdirectory->tag-name): New variable. (vcs->origin): New argument module-path-subdirectory. --- guix/import/go.scm | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/guix/import/go.scm b/guix/import/go.scm index d00c13475a..6fae1994b8 100644 --- a/guix/import/go.scm +++ b/guix/import/go.scm @@ -521,28 +521,30 @@ tag." `(tag-or-commit . ,reference))))) (file-hash* checkout #:algorithm algorithm #:recursive? #true))) -(define (vcs->origin vcs-type vcs-repo-url version) +(define (version+subdirectory->tag-name version subdirectory) + (if (string=? subdirectory "") + version + (string-append (substring subdirectory 1) "/" version))) + +(define (vcs->origin vcs-type vcs-repo-url module-path-subdirectory version) "Generate the `origin' block of a package depending on what type of source control system is being used." (case vcs-type ((git) - (let ((plain-version? (string=? version (go-version->git-ref version))) - (v-prefixed? (string-prefix? "v" version))) + (let ((git-commit (if (string=? version (go-version->git-ref version)) + (version+subdirectory->tag-name + version module-path-subdirectory) + (go-version->git-ref version)))) `(origin (method git-fetch) (uri (git-reference (url ,vcs-repo-url) - ;; This is done because the version field of the package, - ;; which the generated quoted expression refers to, has been - ;; stripped of any 'v' prefixed. - (commit ,(if (and plain-version? v-prefixed?) - '(string-append "v" version) - '(go-version->git-ref version))))) + (commit ,git-commit))) (file-name (git-file-name name version)) (sha256 (base32 ,(bytevector->nix-base32-string - (git-checkout-hash vcs-repo-url (go-version->git-ref version) + (git-checkout-hash vcs-repo-url git-commit (hash-algorithm sha256)))))))) ((hg) `(origin @@ -621,6 +623,8 @@ When VERSION is unspecified, the latest version available is used." (match:prefix (string-match "([\\./]v[0-9]+)?$" module-path))) (guix-name (go-module->guix-package-name module-path)) (root-module-path (module-path->repository-root module-path)) + (module-path-subdirectory + (substring module-path (string-length root-module-path))) ;; The VCS type and URL are not included in goproxy information. For ;; this we need to fetch it from the official module page. (meta-data (fetch-module-meta-data root-module-path)) @@ -634,7 +638,7 @@ When VERSION is unspecified, the latest version available is used." (name ,guix-name) (version ,(strip-v-prefix version*)) (source - ,(vcs->origin vcs-type vcs-repo-url version*)) + ,(vcs->origin vcs-type vcs-repo-url module-path-subdirectory version*)) (build-system go-build-system) (arguments '(#:import-path ,module-path -- 2.30.2
bug-guix@HIDDEN
:bug#52362
; Package guix
.
Full text available.Received: (at 52362) by debbugs.gnu.org; 12 Jan 2022 04:28:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 11 23:28:21 2022 Received: from localhost ([127.0.0.1]:55971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1n7VFF-0000Tx-1V for submit <at> debbugs.gnu.org; Tue, 11 Jan 2022 23:28:21 -0500 Received: from singpolyma.net ([192.99.233.116]:53375) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <singpolyma@HIDDEN>) id 1n7VF7-0000Td-8A for 52362 <at> debbugs.gnu.org; Tue, 11 Jan 2022 23:28:19 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 4D1034861706; Wed, 12 Jan 2022 04:28:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1641961692; bh=SH/G15TZ//VljzXN8yAtm9jygkq0rCyw5QHtKU9KP5o=; h=Date:From:To:Subject:References:In-Reply-To:From; b=BdwzPhxpoJ+6Y59Yd987z1pOxmXYVZo8W8X+IoRfuGvd16G2plpCOibJzJFJeBNob CZovKNfUBDTsuCi5ISYjJ4660PSiBTWB9Tjnk1IfNcoQC7Wqwbg8g24e0CsAf4iKWL s++5TY2/as0u6h5YKUNPFa7nqpZ8NKNv0bd6n/nc= Date: Tue, 11 Jan 2022 23:28:12 -0500 From: Stephen Paul Weber <singpolyma@HIDDEN> To: 52362 <at> debbugs.gnu.org Subject: Re: guix import go error Message-ID: <Yd5Y3KcqyWg33n+H@HIDDEN> References: <Yd5R+fEA+Czl6HwA@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="8RZ+8gMiYRXiLz18" Content-Disposition: inline In-Reply-To: <Yd5R+fEA+Czl6HwA@HIDDEN> Jabber-ID: singpolyma@HIDDEN OpenPGP: id=CE519CDE; url=https://singpolyma.net/public.asc X-URL: https://singpolyma.net X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 52362 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --8RZ+8gMiYRXiLz18 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Alright, I think I have found the issue. https://go.dev/ref/mod says: > If a module is defined in a subdirectory within the repository, that is, > the module subdirectory portion of the module path is not empty, then each > tag name must be prefixed with the module subdirectory, followed by a slash. > For example, the module golang.org/x/tools/gopls is defined in the gopls > subdirectory of the repository with root path golang.org/x/tools. The version > v0.4.0 of that module must have the tag named gopls/v0.4.0 in that repository. Right now the importer code assumes that either we have a pseudo version (and thus can extract a raw commit hash) or else that the tag will be exactly (string-append "v" version) but this does not take into account the rule about subdirectory packages. --8RZ+8gMiYRXiLz18 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEWeaCw+rzmiEMpzU00RwpEc5RnN4FAmHeWNYACgkQ0RwpEc5R nN5g+Q/8DpO2RDwQqzRaiBnU7IZ5eqsvBXJG9cSBP0BRBQL9cmkHhGtp5TBYaUy4 h9YSN7NI3XMMmOXH3QMACNvRHblyjBuwe9GYqyu8G344rqKhmmWLY8FWNNOrLuJV bDVGGEP4LM+0CevrmiIRQe8QqXdULjOD55UaSuREh7cU4k/U4INJ5GHRqVkiLI2e uKUEgh7FijbDXwAduu/Ay88zclrJS3DZdMhDkydeGjvLbeveV77LSlyhVfVpScMA froV5OPIfTTEseLvg2+MNB7/CzQFa49+fAcHvS2nsUz5pQhOaXMkg//5por/ToEG Abw3+LWM51iFFkcqd9ZCPCYXXCCLLmps8orRaYAmso/Y+vD3YNo5XhVbnpW+W1Mm j3E1fDpCVxvnIYJBZxtC0Cch4IEmnNVdN9RcEzbfwTtyJp/+BnKBpQOusD6LaaVB mfHbC3qpzdnuxeo5OnKPryj/wEkoV0xvzyC2R5+LSL4KhxlYldJEsEEKDCW3LydJ /j3C9eCwkRHlEIDdx9nSaLHINV/xaVHUyqxPLF33uvOtaR1PlRX/ZHIa+diPoT/Z pVGvduSAtrvefcvEx7Z1YMhZUhHQyMrcL0YpPDgccMRssF+Btk1M0X6c9PaH0MpT obcB4gMsLL6v9vsuZRAlM9b/96ake0Th3iMM3nNdvaJxZyJFPmI= =TIPZ -----END PGP SIGNATURE----- --8RZ+8gMiYRXiLz18--
bug-guix@HIDDEN
:bug#52362
; Package guix
.
Full text available.Received: (at 52362) by debbugs.gnu.org; 12 Jan 2022 03:58:53 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 11 22:58:53 2022 Received: from localhost ([127.0.0.1]:55962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1n7Umj-0007qY-Bv for submit <at> debbugs.gnu.org; Tue, 11 Jan 2022 22:58:53 -0500 Received: from singpolyma.net ([192.99.233.116]:39073) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <singpolyma@HIDDEN>) id 1n7Umg-0007qN-Il for 52362 <at> debbugs.gnu.org; Tue, 11 Jan 2022 22:58:52 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 5E83B4861706; Wed, 12 Jan 2022 03:58:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1641959929; bh=8aEqMH9PQ6p5z9+BYCs7VfNsO4PSsrSLck5gBN6NmDU=; h=Date:From:To:Subject:From; b=Gdh3kPYrBuUzR0RQKY4bKuz/Prtfu5VgHohg3sEbB+ssrdtrD3f672mu3E7Xs9MIg RUKk421sig6nv/e+9slD/BCGsCqzx5dJsLkK3feN0mkrZV5ybtlvtfzbZUmggtaUld im596kDjRNOG+deembi7878T2K9MHKAEzEkQVtyg= Date: Tue, 11 Jan 2022 22:58:49 -0500 From: Stephen Paul Weber <singpolyma@HIDDEN> To: 52362 <at> debbugs.gnu.org Subject: Re: guix import go error Message-ID: <Yd5R+fEA+Czl6HwA@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="CSJtR2XzU49oiwCS" Content-Disposition: inline Jabber-ID: singpolyma@HIDDEN OpenPGP: id=CE519CDE; url=https://singpolyma.net/public.asc X-URL: https://singpolyma.net X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 52362 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --CSJtR2XzU49oiwCS Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Ran into another like this today: guix import go github.com/aws/aws-sdk-go-v2/service/s3 Gives: Backtrace: 14 (primitive-load "/gnu/store/6rjb4c80l53n98cl6h0s3q1zmkg=E2=80= =A6") In guix/ui.scm: 2209:7 13 (run-guix . _) 2172:10 12 (run-guix-command _ . _) In guix/scripts/import.scm: 124:11 11 (guix-import . _) In ice-9/boot-9.scm: 1752:10 10 (with-exception-handler _ _ #:unwind? _ # _) In guix/scripts/import/go.scm: 116:29 9 (_) In ice-9/exceptions.scm: 406:15 8 (go-module->guix-package* . _) In ice-9/boot-9.scm: 1752:10 7 (with-exception-handler _ _ #:unwind? _ # _) In guix/import/go.scm: 519:18 6 (go-module->guix-package "github.com/aws/aws-sdk-go-v2=E2=80= =A6" =E2=80=A6) In guix/git.scm: 277:4 5 (update-cached-checkout _ #:ref _ #:recursive? _ # _ # _ =E2= =80=A6) 266:18 4 (resolve _) In git/reference.scm: 60:8 3 (_ _ _) In git/bindings.scm: 77:2 2 (raise-git-error _) In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1683:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1683:16: In procedure raise-exception: Git error: reference 'refs/tags/v1.23.0' not found --CSJtR2XzU49oiwCS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEWeaCw+rzmiEMpzU00RwpEc5RnN4FAmHeUfQACgkQ0RwpEc5R nN5Acg/8D9RyaNa5gjjfe6fFOPwzO0nm9ibT3dEYKaswGhp1FuKeevXPp3zmPUGu 6hXaTqfloWAMBsAbInvyJBR97KTRiVnzVvd+8MI/MXtCVwHPPdwMrCmAeFV+zyR/ 4XhuTP/rYA+PktqpTX+0J7xTQH+gtB5xJMSCK37yp4wdIwVwX/KybKYMburweD2o LHnixL8fnOCFfK+TkelKMab/GQb0EsCFO0MWLpxAnGho1abiwNnw11/0KiODHqy7 i1J/Hj97vczPoUMoaN+HvLcec+blGJcnMnHFAjPui//zJ3mG/gCbG+JAKInE1hhY MrHNyyvQJRvVlMkDYQby9PeZEAtNabhGvufTJ2qJEXW41lF+WEoKoR9ynjbOZbRC ZZJmhmFcPvIZoOBzd8L5ktK4Hdm4WEnsrDcp/YJ6h3WAUj9lzLPqImHFDeHD16pG 7VWhK2QZ6MwjdnMKSMiy+hst65lzknlwxRwvxhlYsdOC5gOveabAZzZbWPkgfI5c zhC1fEZqlUrZkZU+Xnuij39M/W30fznMJRT7tiWVGc4jC5tFEw13O51Wzu07tPW3 baYr2Zq17/lw8r+6RGdFe9KcajEJSDFlgsJs6BAv012C8farpAYgI2BqqH/kzwqL ZiO/fBgV2kE30mwFvR1/Dx6bTxP9m16DP8SInOETwjD5DJcnWp4= =x2Hk -----END PGP SIGNATURE----- --CSJtR2XzU49oiwCS--
bug-guix@HIDDEN
:bug#52362
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 7 Dec 2021 22:08:33 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 07 17:08:33 2021 Received: from localhost ([127.0.0.1]:38899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1muidV-0000uW-88 for submit <at> debbugs.gnu.org; Tue, 07 Dec 2021 17:08:33 -0500 Received: from lists.gnu.org ([209.51.188.17]:58202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <singpolyma@HIDDEN>) id 1muidS-0000uN-8V for submit <at> debbugs.gnu.org; Tue, 07 Dec 2021 17:08:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60526) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <singpolyma@HIDDEN>) id 1muidR-0002WW-DN for bug-guix@HIDDEN; Tue, 07 Dec 2021 17:08:29 -0500 Received: from singpolyma.net ([192.99.233.116]:46751) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <singpolyma@HIDDEN>) id 1muidM-0001Yj-6u for bug-guix@HIDDEN; Tue, 07 Dec 2021 17:08:28 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id F28F348616DC; Tue, 7 Dec 2021 22:08:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1638914899; bh=M0TPNTxXQNMhah+781yZDoT/XmHbYd3A88QcNdre/J8=; h=Date:From:To:Subject:From; b=IFrQXzRg71LoGOlUebVHSUjd0jbqU75HUTPgOU1mStaLSbep4XwUK35cmx+4jKF2G oJXh3OYQzL/equ5VxNvUcwDIGignl7/Y2QRB+Uwrn1saPF34S5rIi4jOx2NWOUeyLm rhl+ScBfA4mQUItqkWAS4N2ETBNk3P/GGGAKM8+k= Date: Tue, 7 Dec 2021 17:08:19 -0500 From: Stephen Paul Weber <singpolyma@HIDDEN> To: bug-guix@HIDDEN Subject: guix import go error Message-ID: <Ya/bU8a43auuMRP0@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="csPv73HV/Hmr9SVz" Content-Disposition: inline Jabber-ID: singpolyma@HIDDEN OpenPGP: id=CE519CDE; url=https://singpolyma.net/public.asc X-URL: https://singpolyma.net Received-SPF: pass client-ip=192.99.233.116; envelope-from=singpolyma@HIDDEN; helo=singpolyma.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) --csPv73HV/Hmr9SVz Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline $ guix import go github.com/Azure/go-autorest/autorest guix import: warning: Failed to import package "github.com/Azure/go-autorest/autorest". reason: (#<<git-error> code: -3 message: "reference 'refs/tags/v0.11.22' not found" class: 4>). guix import: error: failed to download meta-data for module 'github.com/Azure/go-autorest/autorest'. Similarly: $ guix import go github.com/Azure/go-autorest/autorest/adal guix import: warning: Failed to import package "github.com/Azure/go-autorest/autorest/adal". reason: (#<<git-error> code: -3 message: "reference 'refs/tags/v0.9.17' not found" class: 4>). guix import: error: failed to download meta-data for module 'github.com/Azure/go-autorest/autorest/adal'. And, from a different package but seems also similar: $ guix import go cloud.google.com/go/storage guix import: warning: Failed to import package "cloud.google.com/go/storage". reason: (#<<git-error> code: -3 message: "reference 'refs/tags/v1.18.2' not found" class: 4>). guix import: error: failed to download meta-data for module 'cloud.google.com/go/storage'. --csPv73HV/Hmr9SVz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEWeaCw+rzmiEMpzU00RwpEc5RnN4FAmGv208ACgkQ0RwpEc5R nN5VWxAAiYeDjqejJ2X9XHJOWZVn+IIybHTe8euPpzOzF/SfufeGabNr9fy8J0wx qpKZYNUH18S/3vyAqPILBgGodbv72aNtxRvbgz3PFLVY3bH7lh52/KeQlpI8E9Hu aU3URzbtHC7HkTx0DwTzNgj09Ds9OfsZV6jAttTqn3jkZA2+deP6MtiYLooEsoln 5LhXIqHj+4BBah2w+ev/yqu57EOQDwCw3mHFeMGC2Qllez7laXVbo9WgiVokpULd 1cImRzTt3Aa017Fbdi/+IzEH2LlimcFL2FEKph0v3wTUpCk8EAmenhEVNOKpFAvN bSIGbF3aGKEgT7Ajh3dUI4curp+cV/awKpmNF7+5BfVMzS41M3z9zWqovrxuisF0 0E5VAaUatNtnp2WESikRrSwcG2ivi1vCZR4nVm/KCKXm4m3xzqe2CcEjbr8AWyqL T4b7iarraDmHjMNm6jmzFyRHuXR64CrqLgTjREho8Z7OBa+q09d6NNBryiLlZnCK cjWO8aasQq18Om08QU7yISoHShhUTrWDhTsKJZH4R0UZ1+EZVXZst3rGbR/ISTU5 Tpwg2PoerOH8FEW3AsQ41jvByxuofCs0xcr3CCVrgzNVbFRbJVzMY01j79Xvn+K3 3ClJIQL4e8EViK6bUTNcTGRbmAofIvagrhgG4itMNTyFYjEB9mg= =IRJz -----END PGP SIGNATURE----- --csPv73HV/Hmr9SVz--
Stephen Paul Weber <singpolyma@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#52362
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.