bug#52362: guix import go error

2023-05-26 Thread Simon Tournier
Hi, On jeu., 25 mai 2023 at 20:58, Nicolas Goaziou wrote: > Oops! For the record, I meant: > >guix import go --recursive github.com/rclone/rclone I get: --8<---cut here---start->8--- $ ./pre-inst-env guix import go --recursive github.com/rclone/rclone fo

bug#52362: guix import go error

2023-05-25 Thread Nicolas Goaziou
Hello, Simon Tournier writes: > On mar., 01 mars 2022 at 00:55, Nicolas Goaziou > wrote: > >> ./pre-inst-env guix import go --recursive rclone > > Using Guix 14c0380, I get: > > --8<---cut here---start->8--- > $ guix import go --recursive rclone > guix imp

bug#52362: guix import go error

2023-05-25 Thread Simon Tournier
Hi, On mar., 01 mars 2022 at 00:55, Nicolas Goaziou wrote: > ./pre-inst-env guix import go --recursive rclone Using Guix 14c0380, I get: --8<---cut here---start->8--- $ guix import go --recursive rclone guix import: warning: Failed to import package "rclo

bug#52362: guix import go error

2023-05-25 Thread Simon Tournier
Hi, Sorry for the delay. Thanks for this contribution. I included this patch in the series #63647 [1]. Therefore, I guess this bug report can be close. WDYT? 1: https://issues.guix.gnu.org/issue/63647#6 Cheers, simon

bug#52362: guix import go error

2022-01-11 Thread Stephen Paul Weber
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.

bug#52362: guix import go error

2022-01-11 Thread Stephen Paul Weber
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…") In guix/ui.scm: 2209:7 13 (run-guix . _) 2172:10 12 (run-guix-command _ . _) In guix/scripts/import.scm:

bug#52362: guix import go error

2021-12-07 Thread Stephen Paul Weber
$ guix import go github.com/Azure/go-autorest/autorest guix import: warning: Failed to import package "github.com/Azure/go-autorest/autorest". reason: (#< code: -3 message: "reference 'refs/tags/v0.11.22' not found" class: 4>). guix import: error: failed to download meta-data for module 'githu