me
/
guix
Archived
1
0
Fork 0

gnu: make-bootstrap: Enable tests in static gawk build.

The tests were disabled because gawk’s extension mechanism doesn’t work
when it’s built statically, and some tests fail because of that.

Another alternative is to disable the extension mechanism during
configuration time, which causes the testsuite to pass again.

* gnu/packages/make-bootstrap.scm (%static-inputs)[gawk]<#:tests?>: Remove.
<#:configure-flags>: Add.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
master
Thiago Jung Bauermann 2021-08-23 18:01:35 -03:00 committed by Ludovic Courtès
parent 7d30e6e5c2
commit 106181c0a0
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 3 additions and 1 deletions

View File

@ -225,7 +225,9 @@ for `sh' in $PATH, and without nscd, and with static NSS modules."
;; 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
;;
;; Therefore disable extensions support.
#:configure-flags (list "--disable-extensions")
,@(substitute-keyword-arguments (package-arguments gawk)
((#:phases phases)