guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: gnu: swish-e: Work around compilation error and test failures.


From: Ludovic Courtès
Subject: 03/03: gnu: swish-e: Work around compilation error and test failures.
Date: Fri, 1 Sep 2017 18:58:22 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 7bd65a6304b6639554b625db32a1e887deab9158
Author: Ethan R. Jones <address@hidden>
Date:   Sun May 14 13:01:53 2017 -0400

    gnu: swish-e: Work around compilation error and test failures.
    
    * gnu/packages/search.scm (swish-e)[inputs]: Remove ZLIB and LIBXML2.
    [arguments]: Add #:configure-flags.
    
    Co-authored-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/search.scm | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm
index cc8c063..62da3be 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")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]