From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergiu Marton Subject: bug#38946: guix import fails for cabal-helper Date: Sun, 5 Jan 2020 15:23:56 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:47492) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1io7l5-0005cL-7g for bug-guix@gnu.org; Sun, 05 Jan 2020 10:24:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1io7l4-0007fg-7Q for bug-guix@gnu.org; Sun, 05 Jan 2020 10:24:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38521) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1io7l4-0007fc-3w for bug-guix@gnu.org; Sun, 05 Jan 2020 10:24:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1io7l3-0008Pi-S2 for bug-guix@gnu.org; Sun, 05 Jan 2020 10:24:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:47349) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1io7kg-0005bM-Jl for bug-guix@gnu.org; Sun, 05 Jan 2020 10:23:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1io7kf-0007Nd-Ht for bug-guix@gnu.org; Sun, 05 Jan 2020 10:23:38 -0500 Received: from mail-vs1-xe2a.google.com ([2607:f8b0:4864:20::e2a]:37684) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1io7kf-0007NM-Eb for bug-guix@gnu.org; Sun, 05 Jan 2020 10:23:37 -0500 Received: by mail-vs1-xe2a.google.com with SMTP id x18so30170034vsq.4 for ; Sun, 05 Jan 2020 07:23:37 -0800 (PST) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 38946@debbugs.gnu.org I've been trying to improve the Haskell tooling we have here on Guix, but I ran into this problem: if I try to do ~guix import hackage cabal-helper~ it fails with: Syntax error: unexpected token : common (at line 76, column 0) Syntax error: unexpected end of input guix import: error: failed to download cabal file for package 'cabal-helper= ' If I import ghc-mod (which depends on cabal-helper) recursively, I get this= : Syntax error: unexpected token : common (at line 76, column 0) Syntax error: unexpected end of input Backtrace: 13 (primitive-load "/home/brown/.config/guix/current/bin/g=E2=80= =A6") In guix/ui.scm: 1806:12 12 (run-guix-command _ . _) In guix/scripts/import.scm: 116:11 11 (guix-import . _) In guix/scripts/import/hackage.scm: 132:26 10 (guix-import-hackage . _) In guix/import/utils.scm: 425:7 9 (recursive-import _ _ #:repo->guix-package _ #:guix-name =E2= =80=A6) 397:31 8 (topological-sort _ # =E2=80=A6) In srfi/srfi-1.scm: 592:29 7 (map1 _) 592:29 6 (map1 _) 592:29 5 (map1 _) 592:29 4 (map1 _) 592:29 3 (map1 ("monad-journal" "pipes" "cabal-helper")) 592:29 2 (map1 ("pipes" "cabal-helper")) 592:17 1 (map1 ("cabal-helper")) In guix/import/utils.scm: 421:36 0 (lookup-node "cabal-helper") guix/import/utils.scm:421:36: In procedure lookup-node: Throw to key `vm-error' with args `(vm-run "Wrong number of values returned to continuation (expected ~a)" (2))'.