Shepherd does not (correctly) depend on guile-fibers

  • Open
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Tomas Volf
Owner
unassigned
Submitted by
Tomas Volf
Severity
normal

Debbugs page

Tomas Volf wrote 1 months ago
(address . bug-guix@gnu.org)
87y0yyhid4.fsf@wolfsden.cz
Toggle snippet (36 lines)
$ guix shell guile shepherd -- guile -c '(use-modules (shepherd service timer))'
Backtrace:
In ice-9/boot-9.scm:
3564:26 19 (_)
In unknown file:
18 (primitive-load-path "shepherd/service/timer" #<procedu…>)
In ice-9/boot-9.scm:
3923:23 17 (_)
3411:4 16 (define-module* _ #:filename _ #:pure _ #:version _ # _ …)
2595:24 15 (call-with-deferred-observers _)
3424:24 14 (_)
222:17 13 (map1 (((shepherd service)) ((shepherd support)) ((…)) …))
3327:17 12 (resolve-interface (shepherd service) #:select _ #:hide …)
In ice-9/threads.scm:
390:8 11 (_ _)
In ice-9/boot-9.scm:
3253:13 10 (_)
In ice-9/threads.scm:
390:8 9 (_ _)
In ice-9/boot-9.scm:
3544:20 8 (_)
2836:4 7 (save-module-excursion _)
3564:26 6 (_)
In unknown file:
5 (primitive-load-path "shepherd/service" #<procedure 7fa…>)
In ice-9/boot-9.scm:
3923:23 4 (_)
3411:4 3 (define-module* _ #:filename _ #:pure _ #:version _ # _ …)
3424:24 2 (_)
222:17 1 (map1 (((fibers) #:hide (sleep)) ((fibers channels)) # …))
3330:6 0 (resolve-interface (fibers) #:select _ #:hide _ #:prefix …)

ice-9/boot-9.scm:3330:6: In procedure resolve-interface:
no code for module (fibers)

Adding guile-fibers to the list of packages for guix shell is enough to
get rid of the error, so I assume dependencies are not configured
correctly for the shepherd package.

Interesting is however that the dependency is listed in guix search:

Toggle snippet (4 lines)
$ guix search shepherd | head -n 20 | grep dependencies
dependencies: guile-fibers@1.3.1 guile@3.0.9 gzip@1.13 pkg-config@0.29.2

So, something is wrong, but not fully sure what.

Tomas

--
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.
-----BEGIN PGP SIGNATURE-----

iQJCBAEBCgAsFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmeVKccOHH5Ad29sZnNk
ZW4uY3oACgkQL7/ufbZ/wam8lA//Xm2q7ET3fbNHXmr3W1QgE+s3sK650n2xzx+T
B9+psqXzYHzWKk3uc1X+yAvNbBPgLojwCK9NjELkmXuM1/8VUNSWCOJtsPnJMydE
KiiSZLDU4uJMikxbCr4CirDZBgxtewTRO+cZFrK3Nw84gQ7o86BGI8n93mWyAkAh
ED4Djb4dhUVvLJyYviM1v/EWMAZjIrnKACIj0VHys28JFcx1byjTjZ4r5O1pqR/Y
HQVQBVOQkcSWT/SQpjJBvWWEJmDZr4Qq/0zUBR7xoye2U43Uh+9u66EGtCN7VbGH
g6iOPHIolks56XO5IhwbQ8n8iJK7PM1KUj5IhLjllM8hgaI0O1/duDr2Pblc2UFP
6VyMyFxCGX7K7Z5Wv5uiMAyAZ0hNrvPx03K8UCJBIYP0eLns+eBTZKAtW9fB6sOV
jSFmHt25nFM/RagCLjTNkhh3YZ5New85vr3F+bBjmVdqRfVp/9mHCT+VCrfeCcDO
22yzXakHMD5kqu5959Fbn89m5gkpdIuKS8yJj+9FRo9H49meBWw4jZvwkDUdf5Yg
mqbkl5iTLmBhRkJ0XBjP1rKNxkovjKCtVE4/A8DejTUVFgR7ZHpG1dRzMZ1+/Il8
Tk9tSuT/orqT3G8jtlyuBjSa2sfZ6lppi5O9kL4Bcq708O5DtBM+eV5zPpxTmlhV
KZ5wBCY=
=qUiI
-----END PGP SIGNATURE-----

Ludovic Courtès wrote 1 months ago
(name . Tomas Volf)(address . ~@wolfsden.cz)(address . 75833@debbugs.gnu.org)
87wme4ae9l.fsf@gnu.org
Tomas Volf <~@wolfsden.cz> skribis:

Toggle quote (2 lines)
> $ guix shell guile shepherd -- guile -c '(use-modules (shepherd service timer))'

[...]

Toggle quote (3 lines)
> ice-9/boot-9.scm:3330:6: In procedure resolve-interface:
> no code for module (fibers)

Hi! I believe the bug here is that ‘guile-fibers’ should be moved from
‘inputs’ to ‘propagated-inputs’ in the package.

Ludo’.
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 75833@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 75833
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help