bug#42151: [PATCH v3 2/2] image: Do not set journal_model=WAL for the Hurd.

2020-07-10 Thread Jan (janneke) Nieuwenhuizen
U ;;; Copyright © 2017, 2019 Caleb Ristvedt ;;; Copyright © 2018, 2020 Ludovic Courtès +;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. ;;; @@ -20,6 +21,7 @@ (define-module (guix store database) #:use-module (sqlite3) #:use-module (guix config)

bug#42151: [PATCH v3 1/2] gnu: sqlite: Add locking-mode fix for the Hurd.

2020-07-10 Thread Jan (janneke) Nieuwenhuizen
/gnu/packages/sqlite.scm index 8468131ddf..eeb77749d8 100644 --- a/gnu/packages/sqlite.scm +++ b/gnu/packages/sqlite.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2017 Jelle Licht ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Alex Vong +;;; Copyright © 2020 Jan (janneke) Nieuw

bug#42151: [PATCH v2 2/4] gnu: guile-sqlite3: Use sqlite/hurd for locking on the Hurd.

2020-07-10 Thread Jan (janneke) Nieuwenhuizen
This fixes guix offload: error: exception occurred on remote host 'localhost': (%exception #>) * gnu/packages/guile.scm (guile-sqlite3)[inputs]: Use sqlite/hurd instead of sqlite. --- gnu/packages/guile.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/gui

bug#42151: [PATCH v2 1/4] gnu: Add sqlite/hurd with locking fix.

2020-07-10 Thread Jan (janneke) Nieuwenhuizen
ges/sqlite.scm index 8468131ddf..d5c44b0d0f 100644 --- a/gnu/packages/sqlite.scm +++ b/gnu/packages/sqlite.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2017 Jelle Licht ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Alex Vong +;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen ;;; ;;; Th

bug#42151: [PATCH v2 4/4] image: Do not set journal_model=WAL for the Hurd.

2020-07-10 Thread Jan (janneke) Nieuwenhuizen
U ;;; Copyright © 2017, 2019 Caleb Ristvedt ;;; Copyright © 2018, 2020 Ludovic Courtès +;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. ;;; @@ -20,6 +21,7 @@ (define-module (guix store database) #:use-module (sqlite3) #:use-module (guix config)

bug#42151: [PATCH v2 3/4] gnu: guix: Use sqlite/hurd for locking on the Hurd.

2020-07-10 Thread Jan (janneke) Nieuwenhuizen
* gnu/packages/package-management.scm (guix)[inputs]: Use sqlite/hurd. --- gnu/packages/package-management.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 9986976cc6..64c6931011 100644 --- a/gn

bug#42151: [PATCH 1/3] gnu: Add sqlite/hurd with locking fix.

2020-07-01 Thread Jan (janneke) Nieuwenhuizen
e.scm index 8468131ddf..d5c44b0d0f 100644 --- a/gnu/packages/sqlite.scm +++ b/gnu/packages/sqlite.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2017 Jelle Licht ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Alex Vong +;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen ;;; ;;; This f

bug#42151: [PATCH 2/3] gnu: guile-sqlite3: Use sqlite/hurd for locking on the Hurd.

2020-07-01 Thread Jan (janneke) Nieuwenhuizen
This fixes guix offload: error: exception occurred on remote host 'localhost': (%exception #>) * gnu/packages/guile.scm (guile-sqlite3)[inputs]: Use sqlite/hurd instead of sqlite. --- gnu/packages/guile.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/gui

bug#42151: [PATCH 3/3] gnu: guix: Use sqlite/hurd for locking on the Hurd.

2020-07-01 Thread Jan (janneke) Nieuwenhuizen
* gnu/packages/package-management.scm (guix)[inputs]: Use sqlite/hurd. --- gnu/packages/package-management.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 068d46566c..52c5a1e60d 100644 --- a/gn

bug#42151: [PATCH 0/3] offload to Childhurd fails: setting synchronous mode: locking protocol

2020-07-01 Thread Jan (janneke) Nieuwenhuizen
35 10)) (with-exception-handler ("ice-9/boot-9.scm" 1730 15)) (#f ("guix/repl.scm" 119 7))) --8<---cut here---end--->8--- Maybe we're missing some file_lock patch that Debian has? Where to look, glibc, hurd, ...? Id

bug#42047: [PATCH 3/3] guix: gc: Support for the Hurd.

2020-06-25 Thread Jan (janneke) Nieuwenhuizen
ot;etc/mtab"))) + (mkdir* (scope "etc")) + (symlink "/proc/mounts" (scope "etc/mtab"))) (define* (boot-hurd-system #:key (on-error 'debug)) diff --git a/guix/store/roots.scm b/guix/store/roots.scm index 58653507f8..9b4a05b149 100644 --- a/guix/store/roots

bug#42047: [PATCH 1/3] image: hurd: Create hurd-compatible ext2 file-system.

2020-06-25 Thread Jan (janneke) Nieuwenhuizen
(janneke) Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. ;;; @@ -66,6 +67,7 @@ (offset root-offset) (label root-label) (file-system "ext2") + (file-system-options '("-o" "hurd" "-O" "ext_attr"

bug#42047: [PATCH 2/3] image: hurd: Initialize root partition for the Hurd.

2020-06-25 Thread Jan (janneke) Nieuwenhuizen
This is a follow-up to commit b904b59ce592c89dfb4675a8c06757afed6738a0. * gnu/system/image.scm (hurd-initialize-root-partition): Move to ... * gnu/system/images/hurd.scm (hurd-initialize-root-partition): ... here. (hurd-disk-image): Use it. --- gnu/system/image.scm | 7 --- gnu/system/i

bug#42047: [PATCH 0/3] Running guix gc on the Hurd.

2020-06-25 Thread Jan (janneke) Nieuwenhuizen
truct): #f --8<---cut here---end--->8--- How sad! I'm a bit stuck on this, probably because I'm feeling somewhat discouraged. Any ideas what could have broken this, how to look into it, fix this? Greetings, Janneke Jan (janneke) Nieuwenhui

bug#41982: [PATCH 1/1] gnu: grub: Cross-build fix for system i686-linux.

2020-06-21 Thread Jan (janneke) Nieuwenhuizen
es cross-build for the Hurd, from i686-linux, +see <https://bugs.gnu.org/41982>. + +From 270667540146f8ef9ea7a44258a71b3837a7af4a Mon Sep 17 00:00:00 2001 +From: "Jan (janneke) Nieuwenhuizen" +Date: Sun, 21 Jun 2020 15:10:40 +0200 +Subject: [PATCH] grub-core: Build fixes for i386 +

bug#41855: [PATCH 1/2] hurd-boot: Create individual translators instead of running MAKEDEV.

2020-06-14 Thread Jan (janneke) Nieuwenhuizen
* gnu/build/hurd-boot.scm (make-hurd-device-nodes): Do not create dev/{null,zero,full,random,urandom} mount points. (setup-translator, xattr-translator, showtrans-translator?, translated?, set-hurd-device-translators): New procedures. (boot-hurd-system): Use them instead of running MAKEDEV. --- gn

bug#41855: [PATCH 2/2] hurd-boot: Use 'setxattr' instead of invoking settrans.

2020-06-14 Thread Jan (janneke) Nieuwenhuizen
Note: Using `getxattr' on the Hurd instead of running showtrans does not work (yet?). * gnu/build/hurd-boot.scm (setup-translator): Use 'setxattr' instead of invoking settrans. * gnu/system.scm (hurd-multiboot-modules): Add --x-xattr-translator-records to enable xattr-embebbing of translators. ---

bug#41855: [PATCH 0/2] hurd-boot: Cleanups: Remove MAKEDEV, then use setxattr (on the Hurd).

2020-06-14 Thread Jan (janneke) Nieuwenhuizen
only need hurd in PATH for settrans and gettrans. The second patch then switches to using setxattr instead of settrans; alas we still need gettrans as getxattr behaves "funny" on translated nodes. I suppose that would be a question for the bug-hurd? Greetings, Janneke Jan (janneke) Nie

bug#41541: [PATCH 1/8] system: Add 'hurd' field to .

2020-06-04 Thread Jan (janneke) Nieuwenhuizen
* gnu/system.scm ()[hurd]: New field. * doc/guix.texi (operating-system Reference): Document 'hurd'. --- doc/guix.texi | 13 ++--- gnu/system.scm | 3 +++ 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 056bf011f6..4776eacacd 100644 ---

bug#41541: [PATCH 3/8] system: Add 'multiboot-modules' field to .

2020-06-04 Thread Jan (janneke) Nieuwenhuizen
* gnu/system.scm ()[multiboot-modules]: New field. (read-boot-parameters): Initialize it. (operating-system-multiboot-modules, hurd-multiboot-modules): New procedure. (operating-system-boot-parameters): Cater for multiboot the Hurd and initialize it; avoid initrd in that case. (operating-system-ker

bug#41541: [PATCH 7/8] services: hurd: Add `hurd-etc-service'.

2020-06-04 Thread Jan (janneke) Nieuwenhuizen
/hurd.scm new file mode 100644 index 00..6e57b22810 --- /dev/null +++ b/gnu/services/hurd.scm @@ -0,0 +1,61 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software

bug#41541: [PATCH 5/8] system: Use 'hurd' package in label.

2020-06-04 Thread Jan (janneke) Nieuwenhuizen
* gnu/system.scm (kernel->boot-label): Add keyword parameter 'hurd'. If set, use it for label. (operating-system-default-label): Call with it with operating-system-hurd. --- gnu/system.scm | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/gnu/system.scm b/gnu/system.

bug#41541: [PATCH 2/8] bootloader: Extend `' for multiboot.

2020-06-04 Thread Jan (janneke) Nieuwenhuizen
Ludovic Courtès +;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. ;;; @@ -33,6 +34,9 @@ menu-entry-linux-arguments menu-entry-initrd menu-entry-device-mount-point +menu-entry-multiboot-kernel +

bug#41541: [PATCH 6/8] system: examples: Add bare-hurd.tmpl.

2020-06-04 Thread Jan (janneke) Nieuwenhuizen
7 +7,7 @@ # Copyright © 2017 Mathieu Othacehe # Copyright © 2017 Leo Famulari # Copyright © 2017 Ricardo Wurmus -# Copyright © 2017 Jan Nieuwenhuizen +# Copyright © 2017, 2020 Jan (janneke) Nieuwenhuizen # Copyright © 2017 Arun Isaac # Copyright © 2018 Nikita # Copyright © 2018 Julien Le

bug#41541: [PATCH 8/8] system: Add `hurd-activation'.

2020-06-04 Thread Jan (janneke) Nieuwenhuizen
* gnu/build/activation.scm (boot-time-system): Add #:kernel-command-line parameter. * gnu/build/activation.scm (activate-current-system): Likewise, and pass it. Change optional system parameter to #:system. * gnu/system.scm (gnu/linux-activation-script): Rename from activation-script. (activation-s

bug#41541: [PATCH 4/8] bootloader: grub: Add support for multiboot.

2020-06-04 Thread Jan (janneke) Nieuwenhuizen
* gnu/bootloader/grub.scm (grub-configuration-file): Add support for multiboot. --- gnu/bootloader.scm | 3 +- gnu/bootloader/grub.scm | 71 + 2 files changed, 46 insertions(+), 28 deletions(-) diff --git a/gnu/bootloader.scm b/gnu/bootloader.scm inde

bug#41541: [PATCH 0/9] Merge wip-hurd-vm "last review round"

2020-06-04 Thread Jan (janneke) Nieuwenhuizen
, mainly to see if it would fix the old vm-image, and make sure that it would not break anything. While I would still suggest to merge that work, I have removed it from wip-hurd-vm; the only supported way to build a VM image for the Hurd is by using the new disk-image. Thanks, Janneke Jan (jannek

bug#36882: Qemu 4.2.0 build for x86_64-linux fails

2020-03-03 Thread Jan (janneke) Nieuwenhuizen
Mathieu Othacehe writes: Hello! >> Yup, turned out patching GCC was too difficult. I'm experimenting a >> filter over inputs passed to set-path-environment-variable in set-paths. > > This is also quite tricky, because the "libc" input passed to set-paths > must not be removed from C_INCLUDE_PATH