From: Sarah Morgensen via Bug reports for GNU Guix <bug-guix@gnu.org>
To: "Björn Höfling" <bjoern.hoefling@bjoernhoefling.de>
Cc: 49228@debbugs.gnu.org
Subject: bug#49228: guix import go fails when module does not have a documenation on pkg.go.dev
Date: Fri, 25 Jun 2021 18:18:04 -0700 [thread overview]
Message-ID: <86eecp77ar.fsf@mgsn.dev> (raw)
In-Reply-To: <20210626003047.4eb8c995@alma-ubu.fritz.box> ("Björn Höfling"'s message of "Sat, 26 Jun 2021 00:30:47 +0200")
Hello,
Thanks for the report.
Björn Höfling <bjoern.hoefling@bjoernhoefling.de> writes:
> $ ./pre-inst-env guix import go github.com/caspr-io/yamlpath
> [...]
> ice-9/eval.scm:619:8: Throw to key `match-error' with args `("match" "no matching pattern" #f)'.
>
> If you look at the page
>
> https://pkg.go.dev/github.com/caspr-io/yamlpath
>
> It has no Description, because the site cannot parse license
> information correctly and thus conservatively does not display any info.
There is currently a patch for this (mine; though I could have named it
better, I suppose):
https://issues.guix.gnu.org/49200
> Additionally, it would be nice if the go-module->guix-package would
> print out the module it would fetch next (like I did above). Then the
> broken module would be easier to find in recursive mode.
Error reporting in the importers is currently pretty inconsistent and
could use a lot of improvement. You might be interested in taking a look
at the PATCH v3 in <https://issues.guix.gnu.org/49196> which somewhat
addresses this. Comments are always welcome! :)
Sarah
next prev parent reply other threads:[~2021-06-26 1:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-25 22:30 bug#49228: guix import go fails when module does not have a documenation on pkg.go.dev Björn Höfling
2021-06-26 1:18 ` Sarah Morgensen via Bug reports for GNU Guix [this message]
2021-06-28 6:58 ` Björn Höfling
2021-06-28 16:24 ` zimoun
2021-06-30 21:20 ` raingloom
2021-07-01 4:18 ` Sarah Morgensen via Bug reports for GNU Guix
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=86eecp77ar.fsf@mgsn.dev \
--to=bug-guix@gnu.org \
--cc=49228@debbugs.gnu.org \
--cc=bjoern.hoefling@bjoernhoefling.de \
--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).