GNU bug report logs - #48701
cabal import parser doesn't support common stanzas

Previous Next

Package: guix;

Reported by: "Philip Munksgaard" <philip <at> munksgaard.me>

Date: Thu, 27 May 2021 14:47:02 UTC

Severity: normal

Merged with 48700

Done: "Philip Munksgaard" <philip <at> munksgaard.me>

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 48701 in the body.
You can then email your comments to 48701 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#48701; Package guix. (Thu, 27 May 2021 14:47:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Philip Munksgaard" <philip <at> munksgaard.me>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 27 May 2021 14:47:02 GMT) Full text and rfc822 format available.

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

From: "Philip Munksgaard" <philip <at> munksgaard.me>
To: bug-guix <at> gnu.org
Subject: cabal import parser doesn't support common stanzas
Date: Thu, 27 May 2021 15:21:43 +0200
As far as I can tell, the cabal parser for the `guix import` command (https://git.savannah.gnu.org/cgit/guix.git/tree/guix/import/cabal.scm) does not support common stanzas, as specified in the cabal specification (https://cabal.readthedocs.io/en/3.4/cabal-package.html#common-stanzas).

This means that some packages, like "versions" (https://hackage.haskell.org/package/versions-5.0.0/src/versions.cabal) and all depending packages cannot be imported using `guix import hackage versions`:

```
$ guix import hackage versions
Syntax error: unexpected token : common (at line 36, column 0)
Syntax error: unexpected end of input
guix import: error: failed to download cabal file for package 'versions'
```




Merged 48700 48701. Request was from Tobias Geerinckx-Rice <me <at> tobias.gr> to control <at> debbugs.gnu.org. (Sun, 30 May 2021 16:46:02 GMT) Full text and rfc822 format available.

Reply sent to "Philip Munksgaard" <philip <at> munksgaard.me>:
You have taken responsibility. (Thu, 01 Jul 2021 15:12:02 GMT) Full text and rfc822 format available.

Notification sent to "Philip Munksgaard" <philip <at> munksgaard.me>:
bug acknowledged by developer. (Thu, 01 Jul 2021 15:12:02 GMT) Full text and rfc822 format available.

Message #12 received at 48701-done <at> debbugs.gnu.org (full text, mbox):

From: "Philip Munksgaard" <philip <at> munksgaard.me>
To: 48701-done <at> debbugs.gnu.org
Subject: Closed by 48943
Date: Thu, 01 Jul 2021 17:10:40 +0200
This issue has been fixed by #48943 and should be closed.




Reply sent to "Philip Munksgaard" <philip <at> munksgaard.me>:
You have taken responsibility. (Thu, 01 Jul 2021 15:12:02 GMT) Full text and rfc822 format available.

Notification sent to "Philip Munksgaard" <philip <at> munksgaard.me>:
bug acknowledged by developer. (Thu, 01 Jul 2021 15:12:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#48701; Package guix. (Tue, 13 Jul 2021 00:22:02 GMT) Full text and rfc822 format available.

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

From: Bone Baboon <bone.baboon <at> disroot.org>
To: Philip Munksgaard <philip <at> munksgaard.me>
Cc: bug-guix <at> gnu.org, 48701-done <at> debbugs.gnu.org
Subject: Re: bug#48701: Closed by 48943
Date: Mon, 12 Jul 2021 20:17:33 -0400
Philip Munksgaard writes:

> This issue has been fixed by #48943 and should be closed.

You can close a bug report by emailing NNN-done <at> debbugs.gnu.org where
NNN is the bug number.

For the body of the email you can say something like "Closing because
<reason>".




Information forwarded to bug-guix <at> gnu.org:
bug#48701; Package guix. (Tue, 13 Jul 2021 00:22:02 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. (Tue, 10 Aug 2021 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 253 days ago.

Previous Next


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