From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Bug in configure.ac - Wrong guile version Date: Tue, 05 May 2015 22:21:16 +0200 Message-ID: <874mnqwzb7.fsf@gnu.org> References: <20150430074219.GA572@jocasta.intra> <87r3r1dzra.fsf@gnu.org> <20150501151439.GA8466@intra> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpjLI-0002ZU-U6 for guix-devel@gnu.org; Tue, 05 May 2015 16:21:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YpjLD-0004Z1-QY for guix-devel@gnu.org; Tue, 05 May 2015 16:21:24 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53180) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpjLD-0004Yw-NR for guix-devel@gnu.org; Tue, 05 May 2015 16:21:19 -0400 In-Reply-To: <20150501151439.GA8466@intra> (John Darrington's message of "Fri, 1 May 2015 17:14:40 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: John Darrington Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable John Darrington skribis: > ?: 3 [primitive-load-path "guix/http-client" #f] > In ice-9/eval.scm: > 407: 2 [eval # ()] > In unknown file: > ?: 1 [scm-error misc-error #f ...] > In ice-9/boot-9.scm: > 106: 0 [# m= isc-error ...] > > ice-9/boot-9.scm:106:20: In procedure #: > ice-9/boot-9.scm:106:20: No variable named make-delimited-input-port in #= The problem is an incomplete compatibility later with Guile 2.0.5. You should be able to get compilation going with the patch below, but getting the HTTP client to work with 2.0.5 will require more work. At this point, we may have to bundle our own (web ...) modules rather than try to monkey-patch things. Needs more thought... Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable --- a/guix/http-client.scm +++ b/guix/http-client.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright =C2=A9 2012, 2013, 2014 Ludovic Court=C3=A8s +;;; Copyright =C2=A9 2012, 2013, 2014, 2015 Ludovic Court=C3=A8s ;;; Copyright =C2=A9 2015 Mark H Weaver ;;; Copyright =C2=A9 2012, 2015 Free Software Foundation, Inc. ;;; @@ -173,8 +173,8 @@ closes PORT, unless KEEP-ALIVE? is true." (unless (guile-version>? "2.0.9") ;; Guile <=3D 2.0.9 had a bug whereby 'response-body-port' would read m= ore ;; than what 'content-length' says. See Guile commit 802a25b. - (module-set! (resolve-module '(web response)) - 'make-delimited-input-port make-delimited-input-port)) + (module-define! (resolve-module '(web response)) + 'make-delimited-input-port make-delimited-input-port)) =20 (define (read-response-body* r) "Reads the response body from @var{r}, as a bytevector. Returns --=-=-=--