bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#52362: guix import go error


From: Simon Tournier
Subject: bug#52362: guix import go error
Date: Thu, 25 May 2023 21:08:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Hi,

On jeu., 25 mai 2023 at 20:58, Nicolas Goaziou <mail@nicolasgoaziou.fr> 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
following redirection to `https://github.com/storj/eventkit?go-get=1'...
following redirection to `https://goftp.io/server/?go-get=1'...
following redirection to 
`https://github.com/qingstor/qingstor-sdk-go?go-get=1'...
Backtrace:
In srfi/srfi-1.scm:
   586:29 19 (map1 _)
   586:29 18 (map1 _)
   586:29 17 (map1 _)
   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) 
("github.com/youmark/pkcs8" #f) ("github.com/winfsp/cgofuse" #f) 
("github.com/t3rm1…" …) …))
In guix/import/utils.scm:
   630: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" #:repo->guix-package 
#<procedure mproc args> #:guix-name #<procedure go-module->guix-package-…> …)
In unknown file:
           7 (_ #<procedure 7f95e4ebcfc0 at guix/memoization.scm:179:32 ()> 
#<procedure list _> (this is nothing))
In guix/import/go.scm:
   708:10  6 (_ _ #:version _ #:repo _)
In ice-9/exceptions.scm:
   406:15  5 (go-module->guix-package* . _)
In ice-9/boot-9.scm:
  1752:10  4 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In guix/import/go.scm:
   641:11  3 (go-module->guix-package "github.com/yunify/qingstor-sdk-go/v3" 
#:goproxy _ #:version _ #:pin-versions? _)
In unknown file:
           2 (substring "github.com/yunify/qingstor-sdk-go" 35 #<undefined>)
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---

which is a bug but another one. :-)

Well, we can keep this bug open in order to address this other bug or
close it – since the issue with labels is done by Stephen’s patch – and
then open another one for tackle the issue above.

For instance, it reads,

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix import go github.com/yunify/qingstor-sdk-go
Backtrace:
In ice-9/boot-9.scm:
  1752:10 14 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In unknown file:
          13 (apply-smob/0 #<thunk 7fa1f7e7d2a0>)
In ice-9/boot-9.scm:
    724:2 12 (call-with-prompt _ _ #<procedure default-prompt-handler (k proc)>)
In ice-9/eval.scm:
    619:8 11 (_ #(#(#<directory (guile-user) 7fa1f7e82c80>)))
In guix/ui.scm:
   2300:7 10 (run-guix . _)
  2263:10  9 (run-guix-command _ . _)
In guix/scripts/import.scm:
    89:11  8 (guix-import . _)
In ice-9/boot-9.scm:
  1752:10  7 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In guix/scripts/import/go.scm:
   116:29  6 (_)
In ice-9/exceptions.scm:
   406:15  5 (go-module->guix-package* . _)
In ice-9/boot-9.scm:
  1752:10  4 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In guix/import/go.scm:
   598:11  3 (go-module->guix-package "github.com/yunify/qingstor-sdk-go" 
#:goproxy _ #:version _ #:pin-versions? _)
In unknown file:
           2 (regexp-exec #<regexp 7fa1ec976580> #f #<undefined> #<undefined>)
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:
In procedure regexp-exec: Wrong type argument in position 2 (expecting string): 
#f
--8<---------------cut here---------------end--------------->8---


Cheers,
simon





reply via email to

[Prev in Thread] Current Thread [Next in Thread]