From cec8b0b50523ab23b75903e2832ff130f41f1db2 Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Mon, 16 Feb 2026 09:08:27 +0100 Subject: [PATCH] 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 --- gnu/packages/commencement.scm | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 26d327a0da..bf9780589c 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.") ;; `bootstrap-seeds, for x86 a 190 byte binary seed: `x86/hex0-seed'. (package (name "stage0-posix") - (version "1.9.1") + (version "1.7.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/oriansj/stage0-posix/" @@ -369,7 +369,7 @@ pure Scheme to Tar and decompression in one easy step.") "/stage0-posix-" version ".tar.gz")) (sha256 (base32 - "0vr24kr4bl955mf0x3ig6wyipxnzrm1yyrrlzlsb02p9bmkxmzgl")))) + "10c79z2c62gvrvpshvj94zz2hczdq1p4g1v0dakx1jiz2fx32vvn")))) (supported-systems '("i686-linux" "x86_64-linux" "aarch64-linux" "riscv64-linux")) @@ -393,9 +393,6 @@ pure Scheme to Tar and decompression in one easy step.") #$(%current-system))) (stage0-cpu (cond - ;; Not enough of the other packages support x86_64. - #;(#$(target-x86-64?) - "AMD64") ((or #$(target-x86-64?) #$(target-x86-32?)) "x86") (#$(target-aarch64?) @@ -412,7 +409,9 @@ pure Scheme to Tar and decompression in one easy step.") (invoke "tar" "xvf" source) (chdir (string-append "stage0-posix-" #$version)) (mkdir-p bindir) - (invoke kaem (string-append "kaem." (string-downcase stage0-cpu))) + ;; Keep the same capitalization between the file name and the folder. + (rename-file "kaem.aarch64" "kaem.AArch64") + (invoke kaem (string-append "kaem." stage0-cpu)) (with-directory-excursion (string-append stage0-cpu "/bin") (install-file "hex2" bindir) (install-file "M1" bindir)