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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: "Philip Munksgaard" <philip <at> munksgaard.me>
Subject: bug#48700: closed (Closed by 48943)
Date: Thu, 01 Jul 2021 15:12:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#48701: guix import fails with unexpected token

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 48700 <at> debbugs.gnu.org.

-- 
48701: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=48701
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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.

[Message part 3 (message/rfc822, inline)]
From: "Philip Munksgaard" <philip <at> munksgaard.me>
To: bug-guix <at> gnu.org
Subject: guix import fails with unexpected token
Date: Thu, 27 May 2021 15:08:30 +0200
Trying to to import futhark from hackage fails, when using the -r flag.

$ guix import hackage -r futhark
user with UID 497492280 not found

Starting download of /tmp/guix-file.MqWnPq
From https://hackage.haskell.org/package/futhark/futhark-0.19.5.tar.gz...
 …19.5.tar.gz  959KiB                 6.6MiB/s 00:00 [##################] 100.0%
user with UID 497492280 not found

Starting download of /tmp/guix-file.ZPWyOq
From https://hackage.haskell.org/package/bytestring-to-vector/bytestring-to-vector-0.3.0.1.tar.gz...
 …tor-0.3.0.1.tar.gz  4KiB            9.4MiB/s 00:00 [##################] 100.0%
user with UID 497492280 not found

Starting download of /tmp/guix-file.bjbYYp
From https://hackage.haskell.org/package/bmp/bmp-1.2.6.3.tar.gz...
 ….3.tar.gz  10KiB                   23.7MiB/s 00:00 [##################] 100.0%
user with UID 497492280 not found

Starting download of /tmp/guix-file.uhGsUr
From https://hackage.haskell.org/package/directory-tree/directory-tree-0.12.1.tar.gz...
 …-0.12.1.tar.gz  12KiB              15.1MiB/s 00:00 [##################] 100.0%
user with UID 497492280 not found

Starting download of /tmp/guix-file.SUjZRr
From https://hackage.haskell.org/package/language-c-quote/language-c-quote-0.13.tar.gz...
 …te-0.13.tar.gz  74KiB               4.2MiB/s 00:00 [##################] 100.0%
user with UID 497492280 not found

Starting download of /tmp/guix-file.W3CjMq
From https://hackage.haskell.org/package/mainland-pretty/mainland-pretty-0.7.1.tar.gz...
 …y-0.7.1.tar.gz  10KiB              11.8MiB/s 00:00 [##################] 100.0%
user with UID 497492280 not found

Starting download of /tmp/guix-file.K7aEUp
From https://hackage.haskell.org/package/neat-interpolation/neat-interpolation-0.5.1.2.tar.gz...
 …on-0.5.1.2.tar.gz  6KiB             9.7MiB/s 00:00 [##################] 100.0%
user with UID 497492280 not found

Starting download of /tmp/guix-file.ovhTIs
From https://hackage.haskell.org/package/pcg-random/pcg-random-0.1.3.7.tar.gz...
 ….1.3.7.tar.gz  25KiB                3.5MiB/s 00:00 [##################] 100.0%
user with UID 497492280 not found

Starting download of /tmp/guix-file.nj5C8q
From https://hackage.haskell.org/package/srcloc/srcloc-0.6.tar.gz...
 ….6.tar.gz  4KiB                     9.9MiB/s 00:00 [##################] 100.0%
Syntax error: unexpected token : common (at line 36, column 0)
Syntax error: unexpected end of input
Backtrace:
In ice-9/boot-9.scm:
  1736:10 17 (with-exception-handler _ _ #:unwind? _ # _)
In unknown file:
          16 (apply-smob/0 #<thunk 7fad568fb520>)
In ice-9/boot-9.scm:
    718:2 15 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
In ice-9/eval.scm:
    619:8 14 (_ #(#(#<directory (guile-user) 7fad568fec80>)))
In guix/ui.scm:
  2166:12 13 (run-guix-command _ . _)
In guix/scripts/import.scm:
   120:11 12 (guix-import . _)
In guix/scripts/import/hackage.scm:
   132:26 11 (guix-import-hackage . _)
In guix/import/utils.scm:
   477:27 10 (recursive-import _ #:repo->guix-package _ #:guix-name _ …)
In srfi/srfi-1.scm:
   586:29  9 (map1 _)
   586:29  8 (map1 _)
   586:29  7 (map1 _)
   586:29  6 (map1 _)
   586:29  5 (map1 _)
   586:29  4 (map1 (("neat-interpolation" #f) ("pcg-random" #f) (…) …))
   586:29  3 (map1 (("pcg-random" #f) ("srcloc" #f) ("versions" #f)))
   586:29  2 (map1 (("srcloc" #f) ("versions" #f)))
   586:17  1 (map1 (("versions" #f)))
In guix/import/utils.scm:
   466:33  0 (lookup-node "versions" #f)

guix/import/utils.scm:466:33: In procedure lookup-node:
Wrong number of values returned to continuation (expected 2)



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

Previous Next


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