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 fails to initialize during 'make check'.
This commit is contained in:
parent
76212b57f6
commit
cb03a9b6a2
|
@ -97,7 +97,7 @@ interface to the Tk widget system.")
|
||||||
(define-public ecl
|
(define-public ecl
|
||||||
(package
|
(package
|
||||||
(name "ecl")
|
(name "ecl")
|
||||||
(version "13.5.1")
|
(version "15.2.21")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -105,33 +105,40 @@ interface to the Tk widget system.")
|
||||||
(version-major+minor version)
|
(version-major+minor version)
|
||||||
"/ecl-" version ".tgz"))
|
"/ecl-" version ".tgz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "18ic8w9sdl0dh3kmyc9lsrafikrd9cg1jkhhr25p9saz0v75f77r"))))
|
(base32 "05di23v977byf67rq5bdshw8lqbby1ycbscdcl1vca0z6r1s204j"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
|
;; src/configure uses 'which' to confirm the existence of 'gzip'.
|
||||||
(native-inputs `(("which" ,which)))
|
(native-inputs `(("which" ,which)))
|
||||||
(inputs `(("gmp" ,gmp)
|
(inputs `(("gmp" ,gmp)
|
||||||
("libatomic-ops" ,libatomic-ops)
|
("libatomic-ops" ,libatomic-ops)
|
||||||
("libgc" ,libgc)
|
("libgc" ,libgc)
|
||||||
("libffi" ,libffi)))
|
("libffi" ,libffi)))
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:tests? #f
|
||||||
;; The test-suite seems to assume that ECL is installed. So re-order
|
;; During 'make check', ECL fails to initialize with "protocol not
|
||||||
;; the phases, then reference the installed executable.
|
;; supported", presumably because /etc/protocols is missing in the
|
||||||
(let* ((check-phase (assq-ref %standard-phases 'check))
|
;; build environment. See <http://sourceforge.net/p/ecls/bugs/300/>.
|
||||||
(rearranged-phases
|
;;
|
||||||
(alist-cons-after 'install 'check check-phase
|
;; Should the test suite be re-enabled, it might be necessary to add
|
||||||
(alist-delete 'check %standard-phases))))
|
;; '#:parallel-tests #f'. See the same bug report as above.
|
||||||
(alist-cons-before
|
;;
|
||||||
'check 'pre-check
|
;; The following might also be necessary, due to 'make check' assuming
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
;; ECL is installed. See <http://sourceforge.net/p/ecls/bugs/299/>.
|
||||||
(substitute* '("build/tests/Makefile")
|
;;
|
||||||
(("ECL=ecl")
|
;; #:phases
|
||||||
(string-append
|
;; (let* ((check-phase (assq-ref %standard-phases 'check))
|
||||||
"ECL=" (assoc-ref outputs "out") "/bin/ecl"))))
|
;; (rearranged-phases
|
||||||
rearranged-phases))
|
;; (alist-cons-after 'install 'check check-phase
|
||||||
;; Parallel builds explicitly not supported:
|
;; (alist-delete 'check %standard-phases))))
|
||||||
;; http://sourceforge.net/p/ecls/bugs/98/
|
;; (alist-cons-before
|
||||||
#:parallel-build? #f
|
;; 'check 'pre-check
|
||||||
#:parallel-tests? #f))
|
;; (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/")
|
(home-page "http://ecls.sourceforge.net/")
|
||||||
(synopsis "Embeddable Common Lisp")
|
(synopsis "Embeddable Common Lisp")
|
||||||
(description "ECL is an implementation of the Common Lisp language as
|
(description "ECL is an implementation of the Common Lisp language as
|
||||||
|
|
Loading…
Reference in New Issue