GNU bug report logs - #25138
failing hackage import

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Dave Love <fx@HIDDEN>; dated Thu, 8 Dec 2016 13:57:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 25138 <at> debbugs.gnu.org:


Received: (at 25138) by debbugs.gnu.org; 9 Dec 2016 23:25:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 09 18:25:16 2016
Received: from localhost ([127.0.0.1]:36359 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cFUXU-0006Wl-6P
	for submit <at> debbugs.gnu.org; Fri, 09 Dec 2016 18:25:16 -0500
Received: from eggs.gnu.org ([208.118.235.92]:59640)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1cFU8h-0004Ph-AU
 for 25138 <at> debbugs.gnu.org; Fri, 09 Dec 2016 17:59:39 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ludo@HIDDEN>) id 1cFSEw-0007tY-LR
 for 25138 <at> debbugs.gnu.org; Fri, 09 Dec 2016 15:57:59 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45780)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1cFSEq-0007s2-88; Fri, 09 Dec 2016 15:57:52 -0500
Received: from reverse-83.fdn.fr ([80.67.176.83]:36586 helo=pluto)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1cFSEp-0005A7-BL; Fri, 09 Dec 2016 15:57:51 -0500
From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: Dave Love <fx@HIDDEN>
Subject: Re: bug#25138: failing hackage import
References: <87vauu7ceb.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 19 Frimaire an 225 de la =?utf-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-unknown-linux-gnu
Date: Fri, 09 Dec 2016 21:57:49 +0100
In-Reply-To: <87vauu7ceb.fsf@HIDDEN> (Dave Love's message of "Thu, 
 08 Dec 2016 13:56:12 +0000")
Message-ID: <87inqs7rci.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -8.0 (--------)
X-Debbugs-Envelope-To: 25138
Cc: Federico Beffa <beffa@HIDDEN>, 25138 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -8.0 (--------)

Hi,

Dave Love <fx@HIDDEN> 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 #<catch-closure 11e6e40> ...]
>   In unknown file:
>      ?: 15 [apply-smob/1 #<catch-closure 11e6e40>]
>   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 #<procedure 1206900 at ice-9/boot-9.scm=
:4051:3 ()>]
>   4056: 11 [#<procedure 1206900 at ice-9/boot-9.scm:4051:3 ()>]
>   1727: 10 [%start-stack load-stack ...]
>   1732: 9 [#<procedure 1219b70 ()>]
>   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 #<input: r6rs-custom-binary-input-port 38ef8f0> #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 #<pr=
ocedure ___push (delta new-category lvalue tok)>

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
<https://hackage.haskell.org/package/darcs/darcs.cabal> 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 <https://bugs.gnu.org/23961>.

Federico, WDYT?

Thanks,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#25138; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 8 Dec 2016 13:56:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 08 08:56:28 2016
Received: from localhost ([127.0.0.1]:60893 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cEzBU-0006pm-Ig
	for submit <at> debbugs.gnu.org; Thu, 08 Dec 2016 08:56:28 -0500
Received: from eggs.gnu.org ([208.118.235.92]:53757)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <D.Love@HIDDEN>) id 1cEzBS-0006pV-LX
 for submit <at> debbugs.gnu.org; Thu, 08 Dec 2016 08:56:26 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <D.Love@HIDDEN>) id 1cEzBM-00075m-EH
 for submit <at> debbugs.gnu.org; Thu, 08 Dec 2016 08:56:21 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:48727)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <D.Love@HIDDEN>)
 id 1cEzBM-00075i-Be
 for submit <at> debbugs.gnu.org; Thu, 08 Dec 2016 08:56:20 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:44705)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <D.Love@HIDDEN>) id 1cEzBL-0002ID-2B
 for bug-guix@HIDDEN; Thu, 08 Dec 2016 08:56:19 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <D.Love@HIDDEN>) id 1cEzBH-00073Z-0V
 for bug-guix@HIDDEN; Thu, 08 Dec 2016 08:56:19 -0500
Received: from bhsophx.liv.ac.uk ([138.253.100.116]:45262)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <D.Love@HIDDEN>)
 id 1cEzBG-000737-Qi
 for bug-guix@HIDDEN; Thu, 08 Dec 2016 08:56:14 -0500
Received: from bhsophx.liv.ac.uk (localhost [127.0.0.1])
 by localhost (Postfix) with SMTP id BED72C0454
 for <bug-guix@HIDDEN>; Thu,  8 Dec 2016 13:56:12 +0000 (GMT)
Received: from mxg.liv.ac.uk (mxg.liv.ac.uk [138.253.100.62])
 by bhsophx.liv.ac.uk (Postfix) with ESMTP id B8E8BC0218
 for <bug-guix@HIDDEN>; Thu,  8 Dec 2016 13:56:12 +0000 (GMT)
Received: from mailhube.liv.ac.uk ([138.253.100.45])
 by mxg.liv.ac.uk with esmtp (Exim 4.80.1)
 (envelope-from <D.Love@HIDDEN>) id 1cEzBE-0001QQ-N0
 for bug-guix@HIDDEN; Thu, 08 Dec 2016 13:56:12 +0000
Received: from localhost ([127.0.0.1] helo=mailhube.liv.ac.uk)
 by mailhube.liv.ac.uk with esmtp (Exim 4.80.1)
 (envelope-from <D.Love@HIDDEN>) id 1cEzBE-0005uA-IX
 for bug-guix@HIDDEN; Thu, 08 Dec 2016 13:56:12 +0000
Received: from pc102091.liv.ac.uk ([138.253.102.91] helo=albion)
 by mailhube.liv.ac.uk with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128)
 (Exim 4.84_2) (envelope-from <dlove@HIDDEN>)
 id 1cEzBE-0005u4-FG
 for bug-guix@HIDDEN; Thu, 08 Dec 2016 13:56:12 +0000
Received: from dlove by albion with local (Exim 4.82)
 (envelope-from <dlove@HIDDEN>) id 1cEzBE-00076s-9L
 for bug-guix@HIDDEN; Thu, 08 Dec 2016 13:56:12 +0000
From: Dave Love <fx@HIDDEN>
To: bug-guix@HIDDEN
Subject: failing hackage import
Date: Thu, 08 Dec 2016 13:56:12 +0000
Message-ID: <87vauu7ceb.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

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 #<catch-closure 11e6e40> ...]
  In unknown file:
     ?: 15 [apply-smob/1 #<catch-closure 11e6e40>]
  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 #<procedure 1206900 at ice-9/boot-9.scm:4051:3 ()>]
  4056: 11 [#<procedure 1206900 at ice-9/boot-9.scm:4051:3 ()>]
  1727: 10 [%start-stack load-stack ...]
  1732: 9 [#<procedure 1219b70 ()>]
  In unknown file:
     ?: 8 [primitive-load "/gnu/store/hckw4cw3m6r55afrldhn9gf66wrznh7i-guix-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 #<input: r6rs-custom-binary-input-port 38ef8f0> #f]
  In system/base/lalr.upstream.scm:
  1956: 1 [___run]
  1851: 0 [___push 1 6 ...]
  
  system/base/lalr.upstream.scm:1851:2: In procedure ___push:
  system/base/lalr.upstream.scm:1851:2: Wrong number of arguments to #<procedure ___push (delta new-category lvalue tok)>




Acknowledgement sent to Dave Love <fx@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#25138; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 9 Dec 2016 23:30:02 UTC

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