civodul pushed a commit to branch master
in repository guix.
commit e8ed95ddf884d1b958eed0da37d5b843c5e40dfe
Author: Ludovic Courtès <[email protected]>
AuthorDate: Wed Aug 3 15:33:32 2022 +0200
gnu: xscreensaver: Don't read /proc/interrupts at configure time.
Fixes a bug whereby, on some machines, ./configure would fail with:
Warning: Checking of /proc/interrupts was requested, but it's bogus.
* gnu/packages/xdisorg.scm (xscreensaver)[arguments]: Pass
'--without-proc-interrupts'.
---
gnu/packages/xdisorg.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 1ce0886c2f..7d0c4d3482 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -1655,7 +1655,13 @@ less if you are working in front of the screen at
night.")
(("@GTK_DATADIR@") "@datadir@")
(("@PO_DATADIR@") "@datadir@"))
#t)))
- #:configure-flags '("--with-pam" "--with-proc-interrupts"
+ #:configure-flags '("--with-pam"
+
+ ;; Don't check /proc/interrupts in the build
+ ;; environment to avoid non-deterministic failures
+ ;; of the 'configure' script.
+ "--without-proc-interrupts"
+
"--without-readdisplay")
#:make-flags (list (string-append "AD_DIR="
(assoc-ref %outputs "out")