bug#74450: [PATCH core-updates 1/2] utils: Handle "env -S CMD" forms in `patch-shebang'.

2025-03-29 Thread aurtzy
Fixes . * guix/build/utils.scm (patch-shebang): Match an additional second potential argument with regexp to be checked for the "env -S CMD" form. Change-Id: Ib6f8528a83721dd3ceef34e7fceacf6274b857e5 --- guix/build/utils.scm | 84 ++-

bug#74450: [PATCH core-updates 2/2] tests: Add tests for `patch-shebang'.

2025-03-29 Thread aurtzy
* tests/build-utils.scm (call-after-patch-shebang): New procedure. ("patch-shebang: with simple shebang") ("patch-shebang: with \"env CMD\" form") ("patch-shebang: with \"env -S CMD\" form") ("patch-shebang: handle whitespace") ("patch-shebang: fail when no binary found") ("patch-shebang: fail with

bug#74450: [PATCH core-updates 0/2] Support "env -S CMD" forms in `patch-shebang'.

2025-03-29 Thread aurtzy
Hello! I have devised a patch. Notable findings/details/concerns regarding the implementation are provided below. * Shebangs and length limits Substituting /two/ commands (i.e. "env" and the interpreter it calls) in addition to appending other arguments has a high likelihood to exceed 127 chara

bug#77373: [shepherd] Deadlock between service-controller and service-builtin-logger

2025-03-29 Thread nathan via Bug reports for GNU Guix
I definitely have a deadlock problem with Shepherd and I do believe I've found it. shepherd 1.0.3 This is in service-controller when the service has been stopped: (when logger (put-message logger 'terminate)) But in service-builtin-logger, this is called every time a line is read: (or pid

bug#77365: no error handling on activation scripts

2025-03-29 Thread Maxim Cournoyer
Hi, Currently, every activation gexp added to the activation-service-type ends up in a script loaded via primitive-load of the main activation script, which is in turn loaded by the boot script entry point. This means that raising an exception in the activation scripts may abort the boot script a

bug#77119: [PATCH] gnu: Fix guix system vm --share argument error.

2025-03-29 Thread tumashu
From: Feng Shu * gnu/system/vm.scm (common-qemu-options): Fix guix system vm --share argument error. Change-Id: I4182e2dbe1b54e6eec2fb6ca53f9345f6d396f14 --- gnu/system/vm.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm index