Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1041359: missing daemonize causes failed to connect to `/var/guix/daemon-socket/socket'

123 views
Skip to first unread message

Simon Josefsson

unread,
Jul 17, 2023, 7:10:04 PM7/17/23
to
Package: guix
Version: 1.4.0-3

Hi. I was trying to build guile-gnutls via guix in a debian12
container, and the sequence below happened. Is there a missing
dependency on daemonize?

/Simon

$ sudo podman run -it --rm --privileged debian:12-slim
# apt-get update
# apt-get install guix git
# git clone https://gitlab.com/gnutls/guile.git
# cd guile/
# guix build -f guix.scm
guix build: error: failed to connect to `/var/guix/daemon-socket/socket': No such file or directory
# /etc/init.d/guix-daemon start
/etc/init.d/guix-daemon: line 35: daemonize: command not found
# service guix-daemon start
/etc/init.d/guix-daemon: line 35: daemonize: command not found
# apt-get install daemonize
# service guix-daemon start
# guix build -f guix.scm
updating checkout of '/guile'...
...
successfully built /gnu/store/wza4ydc3hcalql66m3w8f6xr2s4sm6vf-guile-gnutls-3.7.12-git.drv
/gnu/store/jq6zvcadd1wnv1yirhp3xr378l6g9n8c-guile-gnutls-3.7.12-git
#
signature.asc

Vagrant Cascadian

unread,
Jul 17, 2023, 7:30:05 PM7/17/23
to
On 2023-07-18, Simon Josefsson wrote:
> Hi. I was trying to build guile-gnutls via guix in a debian12
> container, and the sequence below happened. Is there a missing
> dependency on daemonize?
...
> # guix build -f guix.scm
> guix build: error: failed to connect to `/var/guix/daemon-socket/socket': No such file or directory
> # /etc/init.d/guix-daemon start
> /etc/init.d/guix-daemon: line 35: daemonize: command not found
> # service guix-daemon start
> /etc/init.d/guix-daemon: line 35: daemonize: command not found
> # apt-get install daemonize
> # service guix-daemon start
> # guix build -f guix.scm
> updating checkout of '/guile'...
> ...
> successfully built /gnu/store/wza4ydc3hcalql66m3w8f6xr2s4sm6vf-guile-gnutls-3.7.12-git.drv
> /gnu/store/jq6zvcadd1wnv1yirhp3xr378l6g9n8c-guile-gnutls-3.7.12-git

It is mentioned in /usr/share/doc/guix/README.Debian.

I am of mixed mind on doing more than that... with the debian defaults,
it is not needed, so it seems a bit much to add it to Depends or even
Recommends. Suggests is hardly used much, but might make it a little
more visible than the README.Debian?

I guess I could add:

Recommends: systemd-somethingorother | daemonize

But I think recommends with | sometimes behave a little oddly...


live well,
vagrant
signature.asc
0 new messages