From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#25138: failing hackage import Date: Fri, 09 Dec 2016 21:57:49 +0100 Message-ID: <87inqs7rci.fsf@gnu.org> References: <87vauu7ceb.fsf@pc102091.liv.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cFUYH-0003gD-Et for bug-guix@gnu.org; Fri, 09 Dec 2016 18:26:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cFUYE-0004pL-JU for bug-guix@gnu.org; Fri, 09 Dec 2016 18:26:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:49205) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cFUYE-0004p2-HK for bug-guix@gnu.org; Fri, 09 Dec 2016 18:26:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cFUYE-0006b9-D7 for bug-guix@gnu.org; Fri, 09 Dec 2016 18:26:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87vauu7ceb.fsf@pc102091.liv.ac.uk> (Dave Love's message of "Thu, 08 Dec 2016 13:56:12 +0000") 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: Dave Love Cc: 25138@debbugs.gnu.org, Federico Beffa Hi, Dave Love skribis: > With guix 20161208.12 I see the following, which would probably take me > a while to debug as I don't know my way around. (With the 0.11.0 > version I got a different error without a backtrace. I upgraded after > seeing a bug fix for hackage in the tracker.) > > $ guix import hackage -t darcs > Backtrace: > In ice-9/boot-9.scm: > 160: 16 [catch #t # ...] > In unknown file: > ?: 15 [apply-smob/1 #] > In ice-9/boot-9.scm: > 66: 14 [call-with-prompt prompt0 ...] > In ice-9/eval.scm: > 432: 13 [eval # #] > In ice-9/boot-9.scm: > 2404: 12 [save-module-excursion #] > 4056: 11 [#] > 1727: 10 [%start-stack load-stack ...] > 1732: 9 [#] > In unknown file: > ?: 8 [primitive-load "/gnu/store/hckw4cw3m6r55afrldhn9gf66wrznh7i-gu= ix-0.11.0-8.8d12/bin/.guix-real"] > In guix/ui.scm: > 1222: 7 [run-guix-command import "hackage" "-t" "darcs"] > In guix/scripts/import.scm: > 110: 6 [guix-import "hackage" "-t" "darcs"] > In guix/scripts/import/hackage.scm: > 110: 5 [guix-import-hackage "-t" "darcs"] > In guix/import/hackage.scm: > 247: 4 [hackage->guix-package "darcs" #:include-test-dependencies? ...] > 113: 3 [hackage-fetch "darcs"] > In guix/import/cabal.scm: > 580: 2 [read-cabal # #f] > In system/base/lalr.upstream.scm: > 1956: 1 [___run] > 1851: 0 [___push 1 6 ...] >=20=20=20 > system/base/lalr.upstream.scm:1851:2: In procedure ___push: > system/base/lalr.upstream.scm:1851:2: Wrong number of arguments to # I=E2=80=99m seeing a different error: --8<---------------cut here---------------start------------->8--- $ git describe v0.11.0-3322-gf80b4d2 $ ./pre-inst-env guix import hackage -t darcs Syntax error: unexpected token : (buildable (False)) (at line 494, column 4) Syntax error: unexpected end of input guix import: error: failed to download cabal file for package 'darcs' --8<---------------cut here---------------end--------------->8--- The .cabal file is at and the faulty line comes from: --8<---------------cut here---------------start------------->8--- Executable darcs if !flag(executable) buildable: False else buildable: True --8<---------------cut here---------------end--------------->8--- In addition, this .cabal file has =E2=80=9CBuild-Type: Custom=E2=80=9D, whi= ch is currently not supported as noted in . Federico, WDYT? Thanks, Ludo=E2=80=99.