gnu: acl: Install library and disable failing test suite.
Previously, this package was completely broken. It installed only binaries that failed to run for lack of the shared library. * gnu/packages/acl.scm (acl): Disable tests. Remove customized 'check' phase that ran tests and ignored errors. Remove 'perl' as input, needed only for tests. Replace 'install' phase with one that includes 'install-lib' target.
This commit is contained in:
parent
e102df2812
commit
16755848fc
|
@ -1,5 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
|
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
|
||||||
|
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -39,27 +40,18 @@
|
||||||
"08qd9s3wfhv0ajswsylnfwr5h0d7j9d4rgip855nrh400nxp940p"))))
|
"08qd9s3wfhv0ajswsylnfwr5h0d7j9d4rgip855nrh400nxp940p"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:tests? #f ; FIXME: Investigate test suite failures
|
||||||
|
#:phases
|
||||||
(alist-cons-after
|
(alist-cons-after
|
||||||
'configure 'patch-makefile-SHELL
|
'configure 'patch-makefile-SHELL
|
||||||
(lambda _
|
(lambda _
|
||||||
(patch-makefile-SHELL "include/buildmacros"))
|
(patch-makefile-SHELL "include/buildmacros"))
|
||||||
,(if (%current-target-system)
|
(alist-replace
|
||||||
'%standard-phases
|
'install
|
||||||
'(alist-replace 'check
|
(lambda _
|
||||||
(lambda _
|
(zero? (system* "make" "install" "install-lib")))
|
||||||
(system* "make" "tests" "-C" "test")
|
%standard-phases))))
|
||||||
|
(inputs `(("attr" ,attr)))
|
||||||
;; XXX: Ignore the test result since this is
|
|
||||||
;; dependent on the underlying file system.
|
|
||||||
#t)
|
|
||||||
%standard-phases)))))
|
|
||||||
(inputs `(("attr" ,attr)
|
|
||||||
|
|
||||||
;; Perl is needed to run tests; remove it from cross builds.
|
|
||||||
,@(if (%current-target-system)
|
|
||||||
'()
|
|
||||||
`(("perl" ,perl)))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("gettext" ,gnu-gettext)))
|
`(("gettext" ,gnu-gettext)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue