summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2026-02-03 14:12:09 +0200
committerEfraim Flashner <efraim@flashner.co.il>2026-02-03 14:12:09 +0200
commit50172326b840eb0d69c559f31b261ee20ac10f7c (patch)
treea15c6970ee8a071d3a0f9d422a1f12aeb5b04e11
parente293184b80d6858401408990a7bc8bc5bad61083 (diff)
gnu: findutils-boot0: Don't inherit arguments from findutils.
* gnu/packages/commencement.scm (findutils-boot0)[arguments]: Rewrite without inheritance from findutils. Change-Id: I2677c92f98da94b3482c7e34c4fae298665254e9
-rw-r--r--gnu/packages/commencement.scm68
1 files changed, 41 insertions, 27 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 52696d39826..d6825a9627e 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -3178,33 +3178,47 @@ exec " gcc "/bin/" program
3178 #:guile ,%bootstrap-guile 3178 #:guile ,%bootstrap-guile
3179 ;; The build system assumes we have made a mistake when time_t is 32-bit 3179 ;; The build system assumes we have made a mistake when time_t is 32-bit
3180 ;; on a 64-bit system. Ignore that for our bootstrap toolchain. 3180 ;; on a 64-bit system. Ignore that for our bootstrap toolchain.
3181 ,@(substitute-keyword-arguments (package-arguments findutils) 3181 #:configure-flags
3182 ((#:configure-flags flags ''()) 3182 (list ,@(if (target-x86-64?)
3183 `(append 3183 '("TIME_T_32_BIT_OK=yes")
3184 ,(if (target-x86-64?) 3184 '())
3185 ''("TIME_T_32_BIT_OK=yes") 3185 ;; XXX: 32-bit Hurd platforms don't support 64bit time_t
3186 ''()) 3186 ,@(if (target-hurd32?)
3187 ,flags)) 3187 '("--disable-year2038")
3188 ((#:phases phases '%standard-phases) 3188 '())
3189 `(modify-phases ,phases 3189 ;; Tell 'updatedb' to write to /var.
3190 (add-before 'check 'skip-problematic-tests 3190 "--localstatedir=/var")
3191 (lambda _ 3191 #:phases
3192 ,(match (%current-system) 3192 (modify-phases %standard-phases
3193 ;; 'test-fnmatch' fails when using a glibc version earlier 3193 (add-before 'check 'adjust-test-shebangs
3194 ;; than 2.25 (or so), due to incorrect handling of the 3194 (lambda _
3195 ;; [:alpha:] regexp character class. Ignore it. 3195 (substitute* '("tests/xargs/verbose-quote.sh"
3196 ((or "x86_64-linux" "i686-linux" "armhf-linux") 3196 "tests/find/exec-plus-last-file.sh")
3197 '(substitute* "gnulib-tests/Makefile" 3197 (("#!/bin/sh")
3198 (("^XFAIL_TESTS =") 3198 (string-append "#!" (which "sh"))))))
3199 "XFAIL_TESTS = test-fnmatch "))) 3199 (add-before 'check 'skip-problematic-tests
3200 ("riscv64-linux" 3200 (lambda _
3201 '(substitute* "gnulib-tests/Makefile" 3201 ,(match (%current-system)
3202 ;; These tests fails non-deterministically. 3202 ;; 'test-fnmatch' fails when using a glibc version earlier
3203 (("test-hard-locale\\$\\(EXEEXT\\)") "") 3203 ;; than 2.25 (or so), due to incorrect handling of the
3204 (("test-sigprocmask\\$\\(EXEEXT\\)") "") 3204 ;; [:alpha:] regexp character class. Ignore it.
3205 (("test-setlocale_null-mt-all\\$\\(EXEEXT\\)") "") 3205 ((or "x86_64-linux" "i686-linux" "armhf-linux")
3206 (("test-pthread_sigmask1\\$\\(EXEEXT\\)") ""))) 3206 '(substitute* "gnulib-tests/Makefile"
3207 (_ #t))))))))))) 3207 (("^XFAIL_TESTS =")
3208 "XFAIL_TESTS = test-fnmatch ")))
3209 ("riscv64-linux"
3210 '(substitute* "gnulib-tests/Makefile"
3211 ;; These tests fails non-deterministically.
3212 (("test-hard-locale\\$\\(EXEEXT\\)") "")
3213 (("test-sigprocmask\\$\\(EXEEXT\\)") "")
3214 (("test-setlocale_null-mt-all\\$\\(EXEEXT\\)") "")
3215 (("test-pthread_sigmask1\\$\\(EXEEXT\\)") "")))
3216 ((or "i586-gnu" "x86_64-gnu")
3217 '(substitute* "gnulib-tests/test-strerror_r.c"
3218 ;; This test fails non-deterministically.
3219 (("(^| )main *\\(.*" all)
3220 (string-append all "{\n exit (77);//"))))
3221 (_ #t)))))))))
3208 3222
3209(define file 3223(define file
3210 (package 3224 (package