From ffd2093440b801e449c1b69367d86a184f183a40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org>
Date: Sun, 14 Jul 2013 16:58:43 +0200
Subject: [PATCH] gnu: make-bootstrap: Skip tests for the statically-linked
 gawk.

* gnu/packages/make-bootstrap.scm (%static-inputs)[gawk]: Add #:tests? #f.
---
 gnu/packages/make-bootstrap.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/make-bootstrap.scm b/gnu/packages/make-bootstrap.scm
index 97362baff2f..fbc7a59a031 100644
--- a/gnu/packages/make-bootstrap.scm
+++ b/gnu/packages/make-bootstrap.scm
@@ -153,6 +153,13 @@ (define %static-inputs
         (gawk (package (inherit gawk)
                 (arguments
                  `(#:patches (list (assoc-ref %build-inputs "patch/sh"))
+
+                   ;; Starting from gawk 4.1.0, some of the tests for the
+                   ;; plug-in mechanism just fail on static builds:
+                   ;;
+                   ;; ./fts.awk:1: error: can't open shared library `filefuncs' for reading (No such file or directory)
+                   #:tests? #f
+
                    ,@(substitute-keyword-arguments (package-arguments gawk)
                        ((#:phases phases)
                         `(alist-cons-before
-- 
GitLab