[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: crash if HOME is unset
From: |
Simon Josefsson |
Subject: |
Re: crash if HOME is unset |
Date: |
Wed, 25 Dec 2024 17:05:42 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Thanks for the patch! I don't have a way to easy way to test things
until there is a new gash release included into Guix, but I worked
around this particular bug by setting HOME=/ and then I got another
crash when trying to start /bin/gash. See backtrace below. Any ideas?
Btw, should I expect the combination of gash & gash-utils from Guix to
be able to work as a /bin/sh and be able to successfully run ./configure
from, say, GNU hello?
/Simon
jas@kaka:~/src/guix-container$ podman run -it -e HOME=/ --entrypoint=/bin/gash
registry.gitlab.com/debdistutils/guix/container:gash
Backtrace:
In ice-9/boot-9.scm:
1752:10 6 (with-exception-handler _ _ #:unwind? _ # _)
In unknown file:
5 (apply-smob/0 #<thunk 7f945d44b300>)
In ice-9/boot-9.scm:
724:2 4 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
In ice-9/eval.scm:
619:8 3 (_ #(#(#<directory (guile-user) 7f945d44ec80>)))
In gash/gash.scm:
141:18 2 (main _)
125:58 1 (thunk)
In unknown file:
0 (string-append "\x01" "\x1b" "[01;32m" "\x02" #f "@" "?" ?)
ERROR: In procedure string-append:
In procedure string-append: Wrong type (expecting string): #f
jas@kaka:~/src/guix-container$
signature.asc
Description: PGP signature