This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 868161a287 gnu: automake-1.17: Fix cross-build.
868161a287 is described below
commit 868161a287711f3429c59047569afc778aea2bcc
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Fri Sep 12 11:59:50 2025 +0200
gnu: automake-1.17: Fix cross-build.
* gnu/packages/autotools.scm (automake)[arguments]: Skip two tests that
attempt to run [cross-]built executables, when cross-building.
Change-Id: I24bd012352400583fd8aad67c6d1f344954f973c
---
gnu/packages/autotools.scm | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/autotools.scm b/gnu/packages/autotools.scm
index 273a75509e..e0dc63586a 100644
--- a/gnu/packages/autotools.scm
+++ b/gnu/packages/autotools.scm
@@ -462,7 +462,16 @@ Makefile, simplifying the entire process for the
developer.")
;; make: Nothing to be done for 'all'.
"t/remake-aclocal-version-mismatch.sh")
(("^#!.*" all)
- (string-append all "exit 77;\n")))))))))))
+ (string-append all "exit 77;\n")))))
+ #$@(if (%current-target-system)
+ #~((add-before 'check 'cross-skip-tests
+ (lambda _
+ ;; These tests try to execute a cross-built program
+ (substitute* '("t/dist-vs-built-sources.sh"
+ "t/subobj-objname-clash.sh")
+ (("^#!.*" all)
+ (string-append all "exit 77;\n"))))))
+ #~())))))))
(define-public libtool
(package