summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2026-02-16 09:08:27 +0100
committerJanneke Nieuwenhuizen <janneke@gnu.org>2026-02-16 09:08:43 +0100
commitcec8b0b50523ab23b75903e2832ff130f41f1db2 (patch)
tree0d14939e8073e2aae96931d2e701fe0dedb4ba91
parent47c51690c397720b6a351de2f5020fdf1c174ac4 (diff)
Revert "gnu: stage0-posix: Update to 1.9.1."
1.9.1 introduces the wait4 initialization problem that causes mescc: failed: M1 --little-endian --architecture riscv64 -f ../lib/riscv64-mes/riscv64.M1 -f lib-mes-fdungetc.s -o lib-mes-fdungetc.o which will be fixed in Mes 461b48f35f49126f5831aa1af3a89f42286ec70f lib: linux: Fix uninitialized variable in wait4. This reverts commit cc336942644a59e65f922b687dfc1235c51c5d5a. Change-Id: I5a93e79f348eb24d52c833254266cdedfbd8851b
-rw-r--r--gnu/packages/commencement.scm11
1 files changed, 5 insertions, 6 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 26d327a0da3..bf9780589c0 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -361,7 +361,7 @@ pure Scheme to Tar and decompression in one easy step.")
361 ;; `bootstrap-seeds, for x86 a 190 byte binary seed: `x86/hex0-seed'. 361 ;; `bootstrap-seeds, for x86 a 190 byte binary seed: `x86/hex0-seed'.
362 (package 362 (package
363 (name "stage0-posix") 363 (name "stage0-posix")
364 (version "1.9.1") 364 (version "1.7.0")
365 (source (origin 365 (source (origin
366 (method url-fetch) 366 (method url-fetch)
367 (uri (string-append "https://github.com/oriansj/stage0-posix/" 367 (uri (string-append "https://github.com/oriansj/stage0-posix/"
@@ -369,7 +369,7 @@ pure Scheme to Tar and decompression in one easy step.")
369 "/stage0-posix-" version ".tar.gz")) 369 "/stage0-posix-" version ".tar.gz"))
370 (sha256 370 (sha256
371 (base32 371 (base32
372 "0vr24kr4bl955mf0x3ig6wyipxnzrm1yyrrlzlsb02p9bmkxmzgl")))) 372 "10c79z2c62gvrvpshvj94zz2hczdq1p4g1v0dakx1jiz2fx32vvn"))))
373 (supported-systems '("i686-linux" "x86_64-linux" 373 (supported-systems '("i686-linux" "x86_64-linux"
374 "aarch64-linux" 374 "aarch64-linux"
375 "riscv64-linux")) 375 "riscv64-linux"))
@@ -393,9 +393,6 @@ pure Scheme to Tar and decompression in one easy step.")
393 #$(%current-system))) 393 #$(%current-system)))
394 (stage0-cpu 394 (stage0-cpu
395 (cond 395 (cond
396 ;; Not enough of the other packages support x86_64.
397 #;(#$(target-x86-64?)
398 "AMD64")
399 ((or #$(target-x86-64?) #$(target-x86-32?)) 396 ((or #$(target-x86-64?) #$(target-x86-32?))
400 "x86") 397 "x86")
401 (#$(target-aarch64?) 398 (#$(target-aarch64?)
@@ -412,7 +409,9 @@ pure Scheme to Tar and decompression in one easy step.")
412 (invoke "tar" "xvf" source) 409 (invoke "tar" "xvf" source)
413 (chdir (string-append "stage0-posix-" #$version)) 410 (chdir (string-append "stage0-posix-" #$version))
414 (mkdir-p bindir) 411 (mkdir-p bindir)
415 (invoke kaem (string-append "kaem." (string-downcase stage0-cpu))) 412 ;; Keep the same capitalization between the file name and the folder.
413 (rename-file "kaem.aarch64" "kaem.AArch64")
414 (invoke kaem (string-append "kaem." stage0-cpu))
416 (with-directory-excursion (string-append stage0-cpu "/bin") 415 (with-directory-excursion (string-append stage0-cpu "/bin")
417 (install-file "hex2" bindir) 416 (install-file "hex2" bindir)
418 (install-file "M1" bindir) 417 (install-file "M1" bindir)