From mboxrd@z Thu Jan 1 00:00:00 1970 From: taylanbayirli@gmail.com (Taylan Ulrich =?utf-8?Q?Bay=C4=B1rl=C4=B1?= =?utf-8?Q?=2FKammer?=) Subject: Re: [PATCH] gnu: ecl: Update to version 15.2.21. Date: Sun, 22 Feb 2015 02:28:42 +0100 Message-ID: <87k2za91kl.fsf@taylan.uni.cx> References: <87y4nrkki5.fsf@taylan.uni.cx> <878ufqbx9m.fsf@netris.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53674) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPLLj-0002Zl-0Y for guix-devel@gnu.org; Sat, 21 Feb 2015 20:28:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YPLLh-0005GL-B4 for guix-devel@gnu.org; Sat, 21 Feb 2015 20:28:46 -0500 Received: from mail-wi0-x22f.google.com ([2a00:1450:400c:c05::22f]:37767) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPLLh-0005GH-0q for guix-devel@gnu.org; Sat, 21 Feb 2015 20:28:45 -0500 Received: by mail-wi0-f175.google.com with SMTP id r20so10109406wiv.2 for ; Sat, 21 Feb 2015 17:28:44 -0800 (PST) In-Reply-To: <878ufqbx9m.fsf@netris.org> (Mark H. Weaver's message of "Sat, 21 Feb 2015 19:33:25 -0500") 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: Mark H Weaver Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Here's an updated patch for my proposal in my last e-mail. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-gnu-ecl-Update-to-version-15.2.21.patch Content-Description: patch >From 1ecd96ab33df9809786f01730a6bf531e56c6dcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?= Date: Sat, 21 Feb 2015 22:28:45 +0100 Subject: [PATCH] gnu: ecl: Update to version 15.2.21. * gnu/packages/lisp.scm (ecl): Update to version 15.2.21, and disable the test suite because ECL now seems to require the presence of /etc/protocols during its initialization. --- gnu/packages/lisp.scm | 45 ++++++++++++++++++++++++--------------------- 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index fe9cdab..91354e9 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -94,7 +94,7 @@ interface to the Tk widget system.") (define-public ecl (package (name "ecl") - (version "13.5.1") + (version "15.2.21") (source (origin (method url-fetch) @@ -102,7 +102,7 @@ interface to the Tk widget system.") (version-major+minor version) "/ecl-" version ".tgz")) (sha256 - (base32 "18ic8w9sdl0dh3kmyc9lsrafikrd9cg1jkhhr25p9saz0v75f77r")))) + (base32 "05di23v977byf67rq5bdshw8lqbby1ycbscdcl1vca0z6r1s204j")))) (build-system gnu-build-system) (native-inputs `(("which" ,which))) (inputs `(("gmp" ,gmp) @@ -110,25 +110,28 @@ interface to the Tk widget system.") ("libgc" ,libgc) ("libffi" ,libffi))) (arguments - '(#:phases - ;; The test-suite seems to assume that ECL is installed. So re-order - ;; the phases, then reference the installed executable. - (let* ((check-phase (assq-ref %standard-phases 'check)) - (rearranged-phases - (alist-cons-after 'install 'check check-phase - (alist-delete 'check %standard-phases)))) - (alist-cons-before - 'check 'pre-check - (lambda* (#:key outputs #:allow-other-keys) - (substitute* '("build/tests/Makefile") - (("ECL=ecl") - (string-append - "ECL=" (assoc-ref outputs "out") "/bin/ecl")))) - rearranged-phases)) - ;; Parallel builds explicitly not supported: - ;; http://sourceforge.net/p/ecls/bugs/98/ - #:parallel-build? #f - #:parallel-tests? #f)) + '(#:tests? #f + ;; During 'make check', ECL fails to initialize with "protocol not + ;; supported", presumably because /etc/protocols is missing in the + ;; build environment. See . + ;; + ;; Should the test suite be re-enabled, the following might be + ;; necessary (see ): + ;; + ;; #:phases + ;; (let* ((check-phase (assq-ref %standard-phases 'check)) + ;; (rearranged-phases + ;; (alist-cons-after 'install 'check check-phase + ;; (alist-delete 'check %standard-phases)))) + ;; (alist-cons-before + ;; 'check 'pre-check + ;; (lambda* (#:key outputs #:allow-other-keys) + ;; (substitute* '("build/tests/Makefile") + ;; (("ECL=ecl") + ;; (string-append + ;; "ECL=" (assoc-ref outputs "out") "/bin/ecl")))) + ;; rearranged-phases)) + )) (home-page "http://ecls.sourceforge.net/") (synopsis "Embeddable Common Lisp") (description "ECL is an implementation of the Common Lisp language as -- 2.2.1 --=-=-=--