From: zimoun <zimon.toutoune@gmail.com>
To: Csepp <raingloom@riseup.net>, 58112@debbugs.gnu.org
Cc: julien@lepiller.eu
Subject: bug#58112: OPAM importer fails in lookup-node
Date: Tue, 27 Sep 2022 15:47:57 +0200 [thread overview]
Message-ID: <86mtaludwy.fsf@gmail.com> (raw)
In-Reply-To: <87sfkd11eh.fsf@riseup.net>
Hi,
On Tue, 27 Sep 2022 at 13:33, Csepp <raingloom@riseup.net> wrote:
> The specific error is this:
> Wrong number of values returned to continuation (expected 2)
> It is caused by opam->guix-package silencing intermediate errors by
> using and-let* (the poor person's Maybe monad) and returning #f when the
> receiving side expects two return values.
>
> Initial reproducer:
> guix import opam -r mirage
I have not checked for opam, but it reminds me fixes in other importers.
5278cab3dc * scripts: import: gem: Fix recursive error handling.
7229b0e858 * import: cran: Return multiple values for unknown packages.
1fe81b349c * import: elpa: Return multiple values for unknown packages.
6bb92098b4 * import: hackage: Return multiple values for unknown packages.
And the bug#44115 report [1] mentioned opam but indeed the fix probably
fell in the crack. :-)
Do you want to give a try?
1: https://issues.guix.gnu.org/44115
Cheers,
simon
next prev parent reply other threads:[~2022-09-27 18:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-27 11:33 bug#58112: OPAM importer fails in lookup-node Csepp
2022-09-27 13:47 ` zimoun [this message]
2022-09-27 15:42 ` Julien Lepiller
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=86mtaludwy.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=58112@debbugs.gnu.org \
--cc=julien@lepiller.eu \
--cc=raingloom@riseup.net \
/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).