From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Sarah Morgensen <iskarian@mgsn.dev>
Cc: 49202@debbugs.gnu.org
Subject: bug#49202: guix import go type error (failed regex match?)
Date: Wed, 18 Aug 2021 23:20:08 -0400 [thread overview]
Message-ID: <877dgiw26v.fsf@gmail.com> (raw)
In-Reply-To: <86r1gr70n7.fsf@mgsn.dev> (Sarah Morgensen's message of "Thu, 24 Jun 2021 08:17:16 -0700")
Hello,
Sarah Morgensen <iskarian@mgsn.dev> writes:
> zimoun <zimon.toutoune@gmail.com> writes:
>
>> Hi,
>>
>> Thanks for the report.
>>
>> On Thu, 24 Jun 2021 at 02:11, raingloom <raingloom@riseup.net> wrote:
>>
>>> When I run
>>> guix import go -r github.com/golang-migrate/migrate/v4
>>> it works for a looong time (something else to work on I guess. maybe
>>> fetching every git repo is not the best solution.) and then gives this
>>> error:
>>>
>>> In procedure vector-ref: Wrong type argument in position 1 (expecting
>>> vector): #f
>>
>> I seems to work without the option recursive '-r'. So, I guess it is
>> related to the patch [1] and issues with the recursive importers, see
>> [2].
>
> I do not think it is related to recursive import... I was able to narrow
> down the repro to
>
> guix import go github.com/containerd/containerd
>
> with the same trace. The offending go.mod:
>
> module github.com/containerd/containerd
Since Sarah's improved go.mod parser has been merged, the above Go
module can now be imported.
So we're down to:
--8<---------------cut here---------------start------------->8---
$ guix import go github.com/cockroachdb/cockroach-go
Backtrace:
9 (primitive-load "/home/maxim/.config/guix/current/bin/guix")
In guix/ui.scm:
2185:7 8 (run-guix . _)
2148:10 7 (run-guix-command _ . _)
In guix/scripts/import.scm:
120:11 6 (guix-import . _)
In guix/scripts/import/go.scm:
115:27 5 (guix-import-go . _)
In guix/import/go.scm:
531:18 4 (go-module->guix-package _ #:goproxy _ #:version _ #:pin-versions? _)
In guix/git.scm:
247:4 3 (update-cached-checkout _ #:ref _ #:recursive? _ #:check-out? _ #:starting-commit _ # _ # _)
236:18 2 (resolve _)
In git/reference.scm:
60:8 1 (_ _ _)
In git/bindings.scm:
77:2 0 (raise-git-error _)
--8<---------------cut here---------------end--------------->8---
--8<---------------cut here---------------start------------->8---
$ guix import go dmitri.shuralyov.com/gpu/mtl
Backtrace:
5 (primitive-load "/home/maxim/.config/guix/current/bin/guix")
In guix/ui.scm:
2185:7 4 (run-guix . _)
2148:10 3 (run-guix-command _ . _)
In guix/scripts/import.scm:
120:11 2 (guix-import . _)
In guix/scripts/import/go.scm:
115:27 1 (guix-import-go . _)
In guix/import/go.scm:
615:19 0 (go-module->guix-package "dmitri.shuralyov.com/gpu/mtl" #:goproxy _ #:version _ # _)
guix/import/go.scm:615:19: In procedure go-module->guix-package:
In procedure struct-vtable: Wrong type argument in position 1 (expecting struct): #f
--8<---------------cut here---------------end--------------->8---
Thanks,
Maxim
next prev parent reply other threads:[~2021-08-19 3:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-23 23:32 bug#49202: guix import go type error (failed regex match?) raingloom
2021-06-24 14:02 ` zimoun
2021-06-24 15:17 ` Sarah Morgensen via Bug reports for GNU Guix
2021-06-24 21:20 ` Sarah Morgensen via Bug reports for GNU Guix
2021-08-19 3:20 ` Maxim Cournoyer [this message]
2021-06-25 16:40 ` zimoun
2021-06-28 16:18 ` zimoun
2021-06-30 21:12 ` raingloom
2021-08-19 5:25 ` Sarah Morgensen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877dgiw26v.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=49202@debbugs.gnu.org \
--cc=iskarian@mgsn.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).