From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul van der Walt Subject: bug#21829: guix import hackage failures Date: Wed, 04 Nov 2015 16:00:26 +0100 Message-ID: <87twp16c8l.fsf@denknerd.org> Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu0sy-00080V-K2 for bug-guix@gnu.org; Wed, 04 Nov 2015 11:26:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zu0su-0003xv-AM for bug-guix@gnu.org; Wed, 04 Nov 2015 11:26:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:34598) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu0su-0003xT-4s for bug-guix@gnu.org; Wed, 04 Nov 2015 11:26:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zu0st-0004xj-TF for bug-guix@gnu.org; Wed, 04 Nov 2015 11:26:04 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtzYB-0002cB-0P for bug-guix@gnu.org; Wed, 04 Nov 2015 10:00:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZtzY7-00065s-Pu for bug-guix@gnu.org; Wed, 04 Nov 2015 10:00:34 -0500 Received: from mx01.mykolab.com ([95.128.36.1]:2860 helo=mx-out01.mykolab.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtzY7-00065n-Jd for bug-guix@gnu.org; Wed, 04 Nov 2015 10:00:31 -0500 Received: from mx03.mykolab.com (mx03.mykolab.com [10.20.7.101]) by mx-out01.mykolab.com (Postfix) with ESMTPS id 06B276168F for ; Wed, 4 Nov 2015 16:00:28 +0100 (CET) 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-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 21829@debbugs.gnu.org Hello bug-guix, I have found that the command `guix import hackage foo` sometimes fails. I will try to provide a few examples. -------------8<---------------------------------------------------------- $ guix import hackage xmonad-contrib Starting download of /tmp/guix-file.Bt94ZV >From http://hackage.haskell.org/package/xmonad-contrib/xmonad-contrib.cabal... xmonad-contrib.cabal 355KiB/s 00:00 | 13KiB transferred Syntax error: unexpected token : true (at line 75, column 7) Syntax error: unexpected end of input guix import: error: failed to download cabal file for package ' FORMAT: error with call: (format # "~:[~*~;guix ~a: ~]~afailed to download cabal file for package '~a<==='~%" import import error: ===>) missing argument(s) Backtrace: In ice-9/boot-9.scm: 157: 15 [catch #t # ...] In unknown file: ?: 14 [apply-smob/1 #] In ice-9/boot-9.scm: 63: 13 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 432: 12 [eval # #] In ice-9/boot-9.scm: 2401: 11 [save-module-excursion #] 4050: 10 [#] 1724: 9 [%start-stack load-stack #] 1729: 8 [#] In unknown file: ?: 7 [primitive-load "/gnu/store/1pvqvwcck48izizrl17hygbb9r7bzi44-guix-0.8.3.abbe2c6/bin/.guix-real"] In guix/ui.scm: 1173: 6 [run-guix-command import "hackage" "xmonad-contrib"] In guix/scripts/import.scm: 110: 5 [guix-import "hackage" "xmonad-contrib"] In guix/scripts/import/hackage.scm: 137: 4 [guix-import-hackage "xmonad-contrib"] In ice-9/format.scm: 1593: 3 [format # ...] 766: 2 [format:format-work "~:[~*~;guix ~a: ~]~afailed to download cabal file for package '~a'~%" ...] 200: 1 [tilde-dispatch] In unknown file: ?: 0 [scm-error misc-error #f "~A" ("error in format") #f] ERROR: In procedure scm-error: ERROR: error in format -------------8<---------------------------------------------------------- Of course, the errors will all be relatively similar since they seem to be parsing errors. Packages which fail include: * base-compat * base-orphans * clock * fast-logger * fgl * generic-deriving * happy * hscolour * nats * ObjectName * old-locale * QuickCheck * SDL * setenv * split * StateVar * streaming-commons * syb * tagged * transformers-base * wai * xmonad * xmonad-contrib * xmonad-extras * zip-archive * zlib Cheers, p.