all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Failed to autoload read-substitute-urls in (guix scripts discover)
@ 2023-06-08  0:27 Philip McGrath
  2023-06-09 18:43 ` Vagrant Cascadian
  0 siblings, 1 reply; 8+ messages in thread
From: Philip McGrath @ 2023-06-08  0:27 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 2384 bytes --]

On a Debian Bookworm system, most Guix commands are failing for me with errors like the following unless I supply --no-substitutes:
```
philip@avalon:~$ guix build hello
substitute: ;;; Failed to autoload read-substitute-urls in (guix scripts discover):
substitute: ;;; no code for module (guix scripts discover)
substitute: Backtrace:
substitute: In ice-9/boot-9.scm:
substitute:   1752:10 15 (with-exception-handler _ _ #:unwind? _ # _)
substitute: In unknown file:
substitute:           14 (apply-smob/0 #<thunk 7f6408f132e0>)
substitute: In ice-9/boot-9.scm:
substitute:     724:2 13 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
substitute: In ice-9/eval.scm:
substitute:     619:8 12 (_ #(#(#<directory (guile-user) 7f6408f18c80>)))
substitute: In guix/ui.scm:
substitute:    2275:7 11 (run-guix . _)
substitute:    2217:7 10 (run-guix-command substitute "--query")
substitute: In ice-9/boot-9.scm:
substitute:   1747:15  9 (with-exception-handler #<procedure 7f6400cb93f0 at ic…> …)
substitute:   3327:17  8 (resolve-interface (guix scripts substitute) #:select _ …)
substitute: In ice-9/threads.scm:
substitute:     390:8  7 (_ _)
substitute: In ice-9/boot-9.scm:
substitute:   3253:13  6 (_)
substitute: In ice-9/threads.scm:
substitute:     390:8  5 (_ _)
substitute: In ice-9/boot-9.scm:
substitute:   3544:20  4 (_)
substitute:    2836:4  3 (save-module-excursion _)
substitute:   3564:26  2 (_)
substitute: In unknown file:
substitute:            1 (primitive-load-path "guix/scripts/substitute" #<proced…>)
substitute: In guix/scripts/substitute.scm:
substitute:    753:33  0 (_)
substitute: 
substitute: guix/scripts/substitute.scm:753:33: error: read-substitute-urls: unbound variable
guix build: error: `/usr/bin/guix substitute' died unexpectedly
philip@avalon:~$ command -v guix
/home/philip/.config/guix/current/bin/guix
```

Trying `guix pull --no-substitutes` works, but with the obvious downsides.

It seems like there's something wrong with the Guile load path, but I don't understand what. I've attached the environment variables in effect, if that helps.

It's possible that this could be somehow related to <https://lists.gnu.org/archive/html/guix-devel/2023-05/msg00235.html>, but I've applied the same workaround I use on a Kubuntu 22.10 system that doesn't have this problem.

-Philip

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: env.log --]
[-- Type: text/x-log; name="env.log", Size: 6623 bytes --]

SHELL=/bin/bash
SESSION_MANAGER=local/avalon:@/tmp/.ICE-unix/1715,unix/avalon:/tmp/.ICE-unix/1715
WINDOWID=2
QT_ACCESSIBILITY=1
COLORTERM=truecolor
XDG_CONFIG_DIRS=/home/philip/.config/kdedefaults:/home/philip/.guix-home/profile/etc/xdg:/etc/xdg
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
XDG_LOG_HOME=/home/philip/.local/var/log
LANGUAGE=
GUIX_PYTHONPATH=/home/philip/.guix-home/profile/lib/python3.9/site-packages:/home/philip/.guix-home/profile/lib/python3.9/site-packages
BASH_LOADABLES_PATH=/home/philip/.guix-home/profile/lib/bash:/home/philip/.guix-home/profile/lib/bash:/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:.
SSH_AUTH_SOCK=/tmp/ssh-XXXXXXz14RIx/agent.1592
EMACSNATIVELOADPATH=/home/philip/.guix-home/profile/lib/emacs/native-site-lisp:/home/philip/.guix-home/profile/lib/emacs/native-site-lisp
XDG_DATA_HOME=/home/philip/.local/share
SHELL_SESSION_ID=7652ff11dafa45269753d19fa4c2f931
XDG_CONFIG_HOME=/home/philip/.config
XCURSOR_PATH=/home/philip/.guix-home/profile/share/icons::/usr/share/icons:/usr/share/pixmaps
DESKTOP_SESSION=plasmawayland
SSH_AGENT_PID=1593
GTK_RC_FILES=/etc/gtk/gtkrc:/home/philip/.gtkrc:/home/philip/.config/gtkrc
XCURSOR_SIZE=24
EDITOR=/bin/editor
GTK_MODULES=gail:atk-bridge
XDG_SEAT=seat0
PWD=/home/philip
XDG_SESSION_DESKTOP=KDE
LOGNAME=philip
XDG_SESSION_TYPE=wayland
MANPATH=/home/philip/.guix-home/profile/share/man:
NIX_PATH=nixpkgs=/nix/var/nix/profiles/per-user/philip/channels/nixpkgs:/nix/var/nix/profiles/per-user/philip/channels
SYSTEMD_EXEC_PID=3245
GUILE_LOAD_PATH=/home/philip/.guix-home/profile/share/guile/site/3.0:/home/philip/.guix-home/profile/share/guile/site/3.0
XAUTHORITY=/run/user/1000/xauth_qEcTaz
XKB_DEFAULT_MODEL=pc105
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/philip/.gtkrc-2.0:/home/philip/.config/gtkrc-2.0
GIT_EXEC_PATH=/home/philip/.guix-home/profile/libexec/git-core
HOME=/home/philip
GIT_SSL_CAINFO=/home/philip/.guix-home/profile/etc/ssl/certs/ca-certificates.crt
LANG=en_US.UTF-8
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:
XDG_CURRENT_DESKTOP=KDE
KONSOLE_DBUS_SERVICE=:1.51
WAYLAND_DISPLAY=wayland-0
SSL_CERT_DIR=/home/philip/.guix-home/profile/etc/ssl/certs
KONSOLE_DBUS_SESSION=/Sessions/4
PROFILEHOME=
CMAKE_PREFIX_PATH=/home/philip/.guix-home/profile/:/home/philip/.guix-home/profile/
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
QTWEBENGINE_DICTIONARIES_PATH=/usr/share/hunspell-bdic/
INVOCATION_ID=48729cdc0f8f4da488f6b8b484c66ed7
GUILE_LOAD_COMPILED_PATH=/home/philip/.guix-home/profile/lib/guile/3.0/site-ccache:/home/philip/.guix-home/profile/share/guile/site/3.0:/home/philip/.guix-home/profile/lib/guile/3.0/site-ccache:/home/philip/.guix-home/profile/share/guile/site/3.0
KONSOLE_VERSION=221203
MANAGERPID=1532
KDE_SESSION_UID=1000
XDG_CACHE_HOME=/home/philip/.cache
INFOPATH=/home/philip/.guix-home/profile/share/info:/home/philip/.guix-home/profile/share/info:/home/philip/.config/guix/current/share/info:
XKB_DEFAULT_LAYOUT=us
XDG_ACTIVATION_TOKEN=kwin-2
LESSCLOSE=/usr/bin/lesspipe %s %s
XDG_SESSION_CLASS=user
TERM=xterm-256color
CPLUS_INCLUDE_PATH=/home/philip/.guix-home/profile/include/c++:/home/philip/.guix-home/profile/include:/home/philip/.guix-home/profile/include/c++:/home/philip/.guix-home/profile/include
LESSOPEN=| /usr/bin/lesspipe %s
USER=philip
LIBRARY_PATH=/home/philip/.guix-home/profile/lib:/home/philip/.guix-home/profile/lib
COLORFGBG=15;0
PLASMA_USE_QT_SCALING=1
KDE_SESSION_VERSION=5
PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket
QT_WAYLAND_FORCE_DPI=96
DISPLAY=:1
SHLVL=1
GUIX_LOCPATH=/home/philip/.guix-home/profile/lib/locale
XDG_VTNR=1
XDG_SESSION_ID=3
XDG_STATE_HOME=/home/philip/.local/state
NIX_REMOTE=daemon
XDG_RUNTIME_DIR=/run/user/1000
SSL_CERT_FILE=/home/philip/.guix-home/profile/etc/ssl/certs/ca-certificates.crt
QT_AUTO_SCREEN_SCALE_FACTOR=0
JOURNAL_STREAM=8:42690
XCURSOR_THEME=breeze_cursors
XDG_DATA_DIRS=/home/philip/.guix-home/profile/share:/home/philip/.guix-home/profile/share:/usr/local/share/:/usr/share/
KDE_FULL_SESSION=true
PATH=/home/philip/.guix-home/profile/bin:/home/philip/.guix-home/profile/sbin:/home/philip/.guix-home/profile/bin:/home/philip/.guix-home/profile/sbin:/home/philip/.config/guix/current/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
GHC_PACKAGE_PATH=/home/philip/.guix-home/profile/lib/ghc-9.2.5/nixfmt-0.5.0.conf.d:/home/philip/.guix-home/profile/lib/ghc-9.2.5/package.conf.d:/home/philip/.guix-home/profile/lib/ghc-9.2.5/nixfmt-0.5.0.conf.d:/home/philip/.guix-home/profile/lib/ghc-9.2.5/package.conf.d
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
KDE_APPLICATIONS_AS_SCOPE=1
C_INCLUDE_PATH=/home/philip/.guix-home/profile/include:/home/philip/.guix-home/profile/include
EMACSLOADPATH=/home/philip/.guix-home/profile/share/emacs/site-lisp:/home/philip/.guix-home/profile/share/emacs/site-lisp
KONSOLE_DBUS_WINDOW=/Windows/1
_=/usr/bin/env

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Failed to autoload read-substitute-urls in (guix scripts discover)
  2023-06-08  0:27 Failed to autoload read-substitute-urls in (guix scripts discover) Philip McGrath
@ 2023-06-09 18:43 ` Vagrant Cascadian
  2023-06-22  1:23   ` Philip McGrath
  0 siblings, 1 reply; 8+ messages in thread
From: Vagrant Cascadian @ 2023-06-09 18:43 UTC (permalink / raw)
  To: Philip McGrath, help-guix

[-- Attachment #1: Type: text/plain, Size: 1418 bytes --]

On 2023-06-07, Philip McGrath wrote:
> On a Debian Bookworm system, most Guix commands are failing for me with errors like the following unless I supply --no-substitutes:
> ```
> philip@avalon:~$ guix build hello
> substitute: ;;; Failed to autoload read-substitute-urls in (guix scripts discover):
...
> substitute: In unknown file:
> substitute:            1 (primitive-load-path "guix/scripts/substitute" #<proced…>)
> substitute: In guix/scripts/substitute.scm:
> substitute:    753:33  0 (_)
> substitute: 
> substitute: guix/scripts/substitute.scm:753:33: error: read-substitute-urls: unbound variable
> guix build: error: `/usr/bin/guix substitute' died unexpectedly
> philip@avalon:~$ command -v guix
> /home/philip/.config/guix/current/bin/guix
> ```

I don't seem to have this problem on Debian bookworm with guix
1.4.0-3. I also uploaded 1.4.0-4 with possibly related fixes, but that
is stuck in sid/unstable for now...

Not sure if it matters, but I am not using guix home...


> It's possible that this could be somehow related to
> <https://lists.gnu.org/archive/html/guix-devel/2023-05/msg00235.html>,
> but I've applied the same workaround I use on a Kubuntu 22.10 system
> that doesn't have this problem.

Does it work at all *without* the workaround (presumably logging out and
back in again, etc.)?

Do older guix pull generations work?


live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Failed to autoload read-substitute-urls in (guix scripts discover)
  2023-06-09 18:43 ` Vagrant Cascadian
@ 2023-06-22  1:23   ` Philip McGrath
  2023-06-22 16:44     ` Vagrant Cascadian
  0 siblings, 1 reply; 8+ messages in thread
From: Philip McGrath @ 2023-06-22  1:23 UTC (permalink / raw)
  To: Vagrant Cascadian, Guix Help

Hi,

On Fri, Jun 9, 2023, at 2:43 PM, Vagrant Cascadian wrote:
> On 2023-06-07, Philip McGrath wrote:
>> On a Debian Bookworm system, most Guix commands are failing for me with errors like the following unless I supply --no-substitutes:
>> ```
>> philip@avalon:~$ guix build hello
>> substitute: ;;; Failed to autoload read-substitute-urls in (guix scripts discover):
> ...
>> substitute: In unknown file:
>> substitute:            1 (primitive-load-path "guix/scripts/substitute" #<proced…>)
>> substitute: In guix/scripts/substitute.scm:
>> substitute:    753:33  0 (_)
>> substitute: 
>> substitute: guix/scripts/substitute.scm:753:33: error: read-substitute-urls: unbound variable
>> guix build: error: `/usr/bin/guix substitute' died unexpectedly
>> philip@avalon:~$ command -v guix
>> /home/philip/.config/guix/current/bin/guix
>> ```
>
> I don't seem to have this problem on Debian bookworm with guix
> 1.4.0-3. I also uploaded 1.4.0-4 with possibly related fixes, but that
> is stuck in sid/unstable for now...
>
> Not sure if it matters, but I am not using guix home...
>
>
>> It's possible that this could be somehow related to
>> <https://lists.gnu.org/archive/html/guix-devel/2023-05/msg00235.html>,
>> but I've applied the same workaround I use on a Kubuntu 22.10 system
>> that doesn't have this problem.
>
> Does it work at all *without* the workaround (presumably logging out and
> back in again, etc.)?
>
> Do older guix pull generations work?
>

I forgot earlier that I had used `sudo systemctl edit guix-daemon.service` to add `--discover` to the command line for `/usr/bin/guix-daemon` on the broken machine, but not on the working machine. Removing that option got things working again!

I think there is actually a Debian bug, though, because it looks like the Debian package really doesn't have code for the module `(guix scripts discover)`, and running with `--discover` ought to be supported. Vagrant, I haven't come up with a minimum reproducible example yet, but I can open a report now if you like, or feel free to do it yourself.

-Philip


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Failed to autoload read-substitute-urls in (guix scripts discover)
  2023-06-22  1:23   ` Philip McGrath
@ 2023-06-22 16:44     ` Vagrant Cascadian
  2023-06-23  4:53       ` Philip McGrath
  0 siblings, 1 reply; 8+ messages in thread
From: Vagrant Cascadian @ 2023-06-22 16:44 UTC (permalink / raw)
  To: Philip McGrath, Guix Help

[-- Attachment #1: Type: text/plain, Size: 922 bytes --]

On 2023-06-21, Philip McGrath wrote:
> On Fri, Jun 9, 2023, at 2:43 PM, Vagrant Cascadian wrote:
>> On 2023-06-07, Philip McGrath wrote:
> I forgot earlier that I had used `sudo systemctl edit
> guix-daemon.service` to add `--discover` to the command line for
> `/usr/bin/guix-daemon` on the broken machine, but not on the working
> machine. Removing that option got things working again!

> I think there is actually a Debian bug, though, because it looks like
> the Debian package really doesn't have code for the module `(guix
> scripts discover)`, and running with `--discover` ought to be
> supported. Vagrant, I haven't come up with a minimum reproducible
> example yet, but I can open a report now if you like, or feel free to
> do it yourself.

Yes, please file a bug at bugs.debian.org ... if this bug has been fixed
in newer commits on upstream guix, that would be helpful information! :)


live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Failed to autoload read-substitute-urls in (guix scripts discover)
  2023-06-22 16:44     ` Vagrant Cascadian
@ 2023-06-23  4:53       ` Philip McGrath
  2023-06-23  6:50         ` Vagrant Cascadian
  0 siblings, 1 reply; 8+ messages in thread
From: Philip McGrath @ 2023-06-23  4:53 UTC (permalink / raw)
  To: Vagrant Cascadian, Guix Help

On Thu, Jun 22, 2023, at 12:44 PM, Vagrant Cascadian wrote:
> On 2023-06-21, Philip McGrath wrote:
>> On Fri, Jun 9, 2023, at 2:43 PM, Vagrant Cascadian wrote:
>>> On 2023-06-07, Philip McGrath wrote:
>> I forgot earlier that I had used `sudo systemctl edit
>> guix-daemon.service` to add `--discover` to the command line for
>> `/usr/bin/guix-daemon` on the broken machine, but not on the working
>> machine. Removing that option got things working again!
>
>> I think there is actually a Debian bug, though, because it looks like
>> the Debian package really doesn't have code for the module `(guix
>> scripts discover)`, and running with `--discover` ought to be
>> supported. Vagrant, I haven't come up with a minimum reproducible
>> example yet, but I can open a report now if you like, or feel free to
>> do it yourself.
>
> Yes, please file a bug at bugs.debian.org ... if this bug has been fixed
> in newer commits on upstream guix, that would be helpful information! :)
>

Reported as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1038916


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Failed to autoload read-substitute-urls in (guix scripts discover)
  2023-06-23  4:53       ` Philip McGrath
@ 2023-06-23  6:50         ` Vagrant Cascadian
  2023-06-23  6:56           ` Philip McGrath
  0 siblings, 1 reply; 8+ messages in thread
From: Vagrant Cascadian @ 2023-06-23  6:50 UTC (permalink / raw)
  To: Philip McGrath, Guix Help

[-- Attachment #1: Type: text/plain, Size: 1379 bytes --]

On 2023-06-23, Philip McGrath wrote:
> On Thu, Jun 22, 2023, at 12:44 PM, Vagrant Cascadian wrote:
>> On 2023-06-21, Philip McGrath wrote:
>>> On Fri, Jun 9, 2023, at 2:43 PM, Vagrant Cascadian wrote:
>>>> On 2023-06-07, Philip McGrath wrote:
>>> I forgot earlier that I had used `sudo systemctl edit
>>> guix-daemon.service` to add `--discover` to the command line for
>>> `/usr/bin/guix-daemon` on the broken machine, but not on the working
>>> machine. Removing that option got things working again!
>>
>>> I think there is actually a Debian bug, though, because it looks like
>>> the Debian package really doesn't have code for the module `(guix
>>> scripts discover)`, and running with `--discover` ought to be
>>> supported. Vagrant, I haven't come up with a minimum reproducible
>>> example yet, but I can open a report now if you like, or feel free to
>>> do it yourself.
>>
>> Yes, please file a bug at bugs.debian.org ... if this bug has been fixed
>> in newer commits on upstream guix, that would be helpful information! :)
>>
>
> Reported as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1038916

Well, that got me looking in the right place!

guile-avahi is not packaged for Debian and somewhere along the way was
added as a dependency for guix, presumably for this (and possibly other)
feature(s).

At least, that is my working theory :)


live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Failed to autoload read-substitute-urls in (guix scripts discover)
  2023-06-23  6:50         ` Vagrant Cascadian
@ 2023-06-23  6:56           ` Philip McGrath
  2023-06-23 18:44             ` Vagrant Cascadian
  0 siblings, 1 reply; 8+ messages in thread
From: Philip McGrath @ 2023-06-23  6:56 UTC (permalink / raw)
  To: Vagrant Cascadian, Guix Help

On Fri, Jun 23, 2023, at 2:50 AM, Vagrant Cascadian wrote:
> On 2023-06-23, Philip McGrath wrote:
>> On Thu, Jun 22, 2023, at 12:44 PM, Vagrant Cascadian wrote:
>>> On 2023-06-21, Philip McGrath wrote:
>>>> On Fri, Jun 9, 2023, at 2:43 PM, Vagrant Cascadian wrote:
>>>>> On 2023-06-07, Philip McGrath wrote:
>>>> I forgot earlier that I had used `sudo systemctl edit
>>>> guix-daemon.service` to add `--discover` to the command line for
>>>> `/usr/bin/guix-daemon` on the broken machine, but not on the working
>>>> machine. Removing that option got things working again!
>>>
>>>> I think there is actually a Debian bug, though, because it looks like
>>>> the Debian package really doesn't have code for the module `(guix
>>>> scripts discover)`, and running with `--discover` ought to be
>>>> supported. Vagrant, I haven't come up with a minimum reproducible
>>>> example yet, but I can open a report now if you like, or feel free to
>>>> do it yourself.
>>>
>>> Yes, please file a bug at bugs.debian.org ... if this bug has been fixed
>>> in newer commits on upstream guix, that would be helpful information! :)
>>>
>>
>> Reported as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1038916
>
> Well, that got me looking in the right place!
>
> guile-avahi is not packaged for Debian and somewhere along the way was
> added as a dependency for guix, presumably for this (and possibly other)
> feature(s).
>
> At least, that is my working theory :)
>

On the Guix side, it seems like either guile-avahi should be a mandatory dependency or guix-daemon should fail much more gracefully without it.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Failed to autoload read-substitute-urls in (guix scripts discover)
  2023-06-23  6:56           ` Philip McGrath
@ 2023-06-23 18:44             ` Vagrant Cascadian
  0 siblings, 0 replies; 8+ messages in thread
From: Vagrant Cascadian @ 2023-06-23 18:44 UTC (permalink / raw)
  To: Philip McGrath, Guix Help

[-- Attachment #1: Type: text/plain, Size: 1740 bytes --]

On 2023-06-23, Philip McGrath wrote:
> On Fri, Jun 23, 2023, at 2:50 AM, Vagrant Cascadian wrote:
>> On 2023-06-23, Philip McGrath wrote:
>>> On Thu, Jun 22, 2023, at 12:44 PM, Vagrant Cascadian wrote:
>>>> On 2023-06-21, Philip McGrath wrote:
>>>>> On Fri, Jun 9, 2023, at 2:43 PM, Vagrant Cascadian wrote:
>>>>>> On 2023-06-07, Philip McGrath wrote:
>>>>> I forgot earlier that I had used `sudo systemctl edit
>>>>> guix-daemon.service` to add `--discover` to the command line for
>>>>> `/usr/bin/guix-daemon` on the broken machine, but not on the working
>>>>> machine. Removing that option got things working again!
>>>>
>>>>> I think there is actually a Debian bug, though, because it looks like
>>>>> the Debian package really doesn't have code for the module `(guix
>>>>> scripts discover)`, and running with `--discover` ought to be
>>>>> supported. Vagrant, I haven't come up with a minimum reproducible
>>>>> example yet, but I can open a report now if you like, or feel free to
>>>>> do it yourself.
>>>>
>>>> Yes, please file a bug at bugs.debian.org ... if this bug has been fixed
>>>> in newer commits on upstream guix, that would be helpful information! :)
>>>>
>>>
>>> Reported as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1038916
>>
>> Well, that got me looking in the right place!
>>
>> guile-avahi is not packaged for Debian and somewhere along the way was
>> added as a dependency for guix, presumably for this (and possibly other)
>> feature(s).
>>
>> At least, that is my working theory :)
>>
>
> On the Guix side, it seems like either guile-avahi should be a mandatory dependency or guix-daemon should fail much more gracefully without it.

Sounds like a bug report for upstream too! :)

live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-06-23 18:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-08  0:27 Failed to autoload read-substitute-urls in (guix scripts discover) Philip McGrath
2023-06-09 18:43 ` Vagrant Cascadian
2023-06-22  1:23   ` Philip McGrath
2023-06-22 16:44     ` Vagrant Cascadian
2023-06-23  4:53       ` Philip McGrath
2023-06-23  6:50         ` Vagrant Cascadian
2023-06-23  6:56           ` Philip McGrath
2023-06-23 18:44             ` Vagrant Cascadian

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.