GNU bug report logs - #29858
guix import hackage monadplus fails with a syntax error.

Previous Next

Package: guix;

Reported by: Alex ter Weele <alex.ter.weele <at> gmail.com>

Date: Tue, 26 Dec 2017 17:41:01 UTC

Severity: normal

Merged with 23961

Done: Robert Vollmert <rob <at> vllmrt.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29858 in the body.
You can then email your comments to 29858 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#29858; Package guix. (Tue, 26 Dec 2017 17:41:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alex ter Weele <alex.ter.weele <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 26 Dec 2017 17:41:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alex ter Weele <alex.ter.weele <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: guix import hackage monadplus fails with a syntax error.
Date: Tue, 26 Dec 2017 12:40:02 -0500
Here is what I tried:

  $ guix import hackage monadplus
  Syntax error: unexpected end of input
  guix import: error: failed to download cabal file for package 'monadplus'

I also tried manually downloading the cabal file and importing that:

  $ guix import hackage -s < ~/Downloads/monadplus.cabal
  Syntax error: unexpected end of input
  guix import: error: failed to import cabal file from standard input




Information forwarded to bug-guix <at> gnu.org:
bug#29858; Package guix. (Mon, 01 Jan 2018 16:59:02 GMT) Full text and rfc822 format available.

Message #8 received at 29858 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Alex ter Weele <alex.ter.weele <at> gmail.com>
Cc: 29858 <at> debbugs.gnu.org
Subject: Re: bug#29858: guix import hackage monadplus fails with a syntax
 error.
Date: Mon, 01 Jan 2018 17:58:54 +0100
Hi Alex,

Alex ter Weele <alex.ter.weele <at> gmail.com> skribis:

> Here is what I tried:
>
>   $ guix import hackage monadplus
>   Syntax error: unexpected end of input
>   guix import: error: failed to download cabal file for package 'monadplus'
>
> I also tried manually downloading the cabal file and importing that:
>
>   $ guix import hackage -s < ~/Downloads/monadplus.cabal
>   Syntax error: unexpected end of input
>   guix import: error: failed to import cabal file from standard input

Could this be a duplicate of <https://bugs.gnu.org/25138>?

Essentially our Cabal parser doesn’t support the full syntax, which is
why some imports fail.  Would be nice to fix!

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#29858; Package guix. (Mon, 01 Jan 2018 19:12:02 GMT) Full text and rfc822 format available.

Message #11 received at 29858 <at> debbugs.gnu.org (full text, mbox):

From: Alex ter Weele <alex.ter.weele <at> gmail.com>
To: ludovic courts <ludo <at> gnu.xn--org -61b>
Cc: 29858 <at> debbugs.gnu.org
Subject: Re: bug#29858: guix import hackage monadplus fails with a syntax
 error.
Date: Mon, 1 Jan 2018 13:11:47 -0600
Quite likely. I will have to look into both. Happy new year!




Information forwarded to bug-guix <at> gnu.org:
bug#29858; Package guix. (Sun, 25 Feb 2018 16:35:01 GMT) Full text and rfc822 format available.

Message #14 received at 29858 <at> debbugs.gnu.org (full text, mbox):

From: Alex ter Weele <alex.ter.weele <at> gmail.com>
To: bug#29858 <29858 <at> debbugs.gnu.org>
Subject: Re: Status: guix import hackage monadplus fails with a syntax error.
Date: Sun, 25 Feb 2018 10:34:08 -0600
This may be closeable because I didn't notice that ghc-monadplus is
already a package.




Information forwarded to bug-guix <at> gnu.org:
bug#29858; Package guix. (Mon, 26 Feb 2018 15:17:01 GMT) Full text and rfc822 format available.

Message #17 received at 29858 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Alex ter Weele <alex.ter.weele <at> gmail.com>
Cc: bug#29858 <29858 <at> debbugs.gnu.org>
Subject: Re: bug#29858: Status: guix import hackage monadplus fails with a
 syntax error.
Date: Mon, 26 Feb 2018 16:16:29 +0100
Alex ter Weele <alex.ter.weele <at> gmail.com> skribis:

> This may be closeable because I didn't notice that ghc-monadplus is
> already a package.

For now I’ve merged it with #23961, because it’s really a shortcoming in
the Cabal parser.

Thanks!

Ludo’.




Merged 23961 29858. Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Mon, 26 Feb 2018 15:17:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 15 Jul 2019 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 285 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.