guix-commits
[Top][All Lists]
Advanced

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

branch core-updates updated: gnu: libxslt: Really allow cross-compilatio


From: guix-commits
Subject: branch core-updates updated: gnu: libxslt: Really allow cross-compilation.
Date: Thu, 09 Mar 2023 18:28:41 -0500

This is an automated email from the git hooks/post-receive script.

civodul pushed a commit to branch core-updates
in repository guix.

The following commit(s) were added to refs/heads/core-updates by this push:
     new 0bd40ca9a9 gnu: libxslt: Really allow cross-compilation.
0bd40ca9a9 is described below

commit 0bd40ca9a9dabb47f9af1884768ffac3c07fc9e5
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Mar 10 00:26:23 2023 +0100

    gnu: libxslt: Really allow cross-compilation.
    
    Commit af916f3f8b5e1191cdcc95dded1e376f51ad9e9b led './configure' to
    attempt to run a non-native 'python' binary, which would fail unless
    transparent binfmt_misc QEMU emulation is set up.
    
    * gnu/packages/xml.scm (libxslt)[arguments]: Replace #:configure-flags
    with "--disable-python" when cross-compiling.
---
 gnu/packages/xml.scm | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index a132f58097..1841cb3bda 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -353,13 +353,9 @@ formulas and hyperlinks to multiple worksheets in an Excel 
2007+ XLSX file.")
            #:configure-flags
            (if (%current-target-system)
                ;; 'configure.ac' uses 'AM_PATH_PYTHON', which looks for
-               ;; 'python' in $PATH, even though it's only used in the shebang
-               ;; of examples.  Thus, when cross-compiling, set 'PYTHON' so
-               ;; that 'configure' doesn't search $PATH.
-               #~(list (string-append "PYTHON="
-                                      #$(this-package-input
-                                         "python-minimal-wrapper")
-                                      "/bin/python"))
+               ;; 'python' in $PATH and tries to run it.  Skip all that when
+               ;; cross-compiling.
+               #~'("--without-python")
                #~'())))
     (home-page "http://xmlsoft.org/XSLT/index.html";)
     (synopsis "C library for applying XSLT stylesheets to XML documents")



reply via email to

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