From 7bd65a6304b6639554b625db32a1e887deab9158 Mon Sep 17 00:00:00 2001 From: "Ethan R. Jones" Date: Sun, 14 May 2017 13:01:53 -0400 Subject: gnu: swish-e: Work around compilation error and test failures. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/search.scm (swish-e)[inputs]: Remove ZLIB and LIBXML2. [arguments]: Add #:configure-flags. Co-authored-by: Ludovic Courtès --- gnu/packages/search.scm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm index cc8c0630bb..62da3be0fd 100644 --- a/gnu/packages/search.scm +++ b/gnu/packages/search.scm @@ -264,15 +264,17 @@ conflict with slocate compatibility.") ;; building: xpdf, catdoc, MP3::Tag, Spreadsheet::ParseExcel, ;; HTML::Entities. (inputs - `(("libxml" ,libxml2) - ("zlib" ,zlib) - ("perl" ,perl) + `(("perl" ,perl) ("perl-uri" ,perl-uri) ("perl-html-parser" ,perl-html-parser) ("perl-html-tagset" ,perl-html-tagset) ("perl-mime-types" ,perl-mime-types))) (arguments - `(#:phases (modify-phases %standard-phases + `(;; XXX: This fails to build with zlib (API mismatch) and tests fail + ;; with libxml2, so disable both. + #:configure-flags (list (string-append "--without-zlib") + (string-append "--without-libxml2")) + #:phases (modify-phases %standard-phases (add-after 'install 'wrap-programs (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out"))) -- cgit v1.2.3