summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorJan Nieuwenhuizen <janneke@gnu.org>2019-11-22 20:49:50 +0100
committerJan Nieuwenhuizen <janneke@gnu.org>2020-02-17 23:16:43 +0100
commite6c7d14ab32a0cf54885fab0ccb026ffbfa5734c (patch)
tree356bbf8b5161e705f05bfca35dc7deb909e96e0a /gnu
parente7c7326873b9d4f9c45d77cf4ad2ec370d4f00da (diff)
downloadguix-e6c7d14ab32a0cf54885fab0ccb026ffbfa5734c.tar.gz
gnu: commencement: Add coreutils-mesboot0.
* gnu/packages/commencement.scm (coreutils-mesboot0): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/commencement.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index eb43356665..85ce6d6599 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -1757,6 +1757,37 @@ ac_cv_c_float_format='IEEE (little-endian)'
                  (setenv "CONFIG_SHELL" shell)
                  #t)))))))))
 
+(define coreutils-mesboot0
+  (package
+    (inherit coreutils)
+    (name "coreutils-mesboot0")
+    ;; The latest .gz release of Coreutils is 8.13; which does not build with gcc-2.95.3:
+    ;; randperm.c: In function `sparse_swap':
+    ;; randperm.c:117: invalid lvalue in unary `&'
+    (version "5.0")                     ; 2003-04
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnu/coreutils/coreutils-"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "10wq6k66i8adr4k08p0xmg87ff4ypiazvwzlmi7myib27xgffz62"))))
+    (native-inputs (%boot-mesboot0-inputs))
+    (supported-systems '("i686-linux" "x86_64-linux"))
+    (inputs '())
+    (propagated-inputs '())
+    (arguments
+     `(#:implicit-inputs? #f
+       #:tests? #f                      ; WARNING: `perl' is needed, ...
+       #:parallel-build? #f
+       #:strip-binaries? #f   ; strip: unrecognized option `--only-keep-debug'
+       #:guile ,%bootstrap-guile
+       #:configure-flags
+       '("--disable-doc"
+         "LIBS=-lc -lnss_files -lnss_dns -lresolv"
+         "ac_cv_func_gethostbyname=no"
+         "gl_cv_func_rename_dest_works=yes")))))
+
 (define binutils-mesboot
   (package
     (inherit binutils-mesboot0)