stumpwm won't load libraries

  • Open
  • quality assurance status badge
Details
2 participants
  • Guillaume Le Vaillant
  • Einar Largenius
Owner
unassigned
Submitted by
Einar Largenius
Severity
normal
E
E
Einar Largenius wrote on 6 Mar 2022 21:00
(address . bug-guix@gnu.org)
87k0d6pnk1.fsf@lysator.liu.se
Hello!

I have an issue where I can't get slynk to load inside stumpwm with Guix
as the package manager. I have no issue loading slynk with either nyxt
or when running a sbcl-repl even without modifying
asdf:*central-registry*. These are the packages I have in my profile:

glibc-locales 2.33 out /gnu/store/nrr24nvf6548if5wdpvxhlvjif3x9jjp-glibc-locales-2.33
nyxt 2.2.4 out /gnu/store/rf5aamdsdd039mhn4c3vsx5zgzzmnzdx-nyxt-2.2.4
sbcl 2.2.2 out /gnu/store/129g8pcc2ybs1p81ak28lj44i0wkyiqj-sbcl-2.2.2
cl-slynk 1.0.43-5.0470c02 out /gnu/store/zc8h7xy78k6ybfq74k4wvx0yhg4pz6ln-cl-slynk-1.0.43-5.0470c02
stumpwm 20.11 out /gnu/store/y88ghx13yv9b6a2sa7b8hnxgcnw8x3ka-stumpwm-20.11

If I just try to load slynk directly asdf doesn't seem to find it at
all. If I try to add the *.asd files that Guix provides:

(push (uiop:subpathname* (user-homedir-pathname) ".guix-profile/share/common-lisp/systems/") asdf:*central-registry*)

And then try to load, I still get an error:

Don't know how to REQUIRE SB-CLTL2

stumpwm itself works without issue.

--
With kind regards Einar
G
G
Guillaume Le Vaillant wrote on 11 Mar 2022 09:24
(name . Einar Largenius)(address . jaadu@lysator.liu.se)(address . 54280@debbugs.gnu.org)
87y21gc23q.fsf@kitej
Einar Largenius <jaadu@lysator.liu.se> skribis:

Toggle quote (24 lines)
> Hello!
>
> I have an issue where I can't get slynk to load inside stumpwm with Guix
> as the package manager. I have no issue loading slynk with either nyxt
> or when running a sbcl-repl even without modifying
> asdf:*central-registry*. These are the packages I have in my profile:
>
> glibc-locales 2.33 out /gnu/store/nrr24nvf6548if5wdpvxhlvjif3x9jjp-glibc-locales-2.33
> nyxt 2.2.4 out /gnu/store/rf5aamdsdd039mhn4c3vsx5zgzzmnzdx-nyxt-2.2.4
> sbcl 2.2.2 out /gnu/store/129g8pcc2ybs1p81ak28lj44i0wkyiqj-sbcl-2.2.2
> cl-slynk 1.0.43-5.0470c02 out /gnu/store/zc8h7xy78k6ybfq74k4wvx0yhg4pz6ln-cl-slynk-1.0.43-5.0470c02
> stumpwm 20.11 out /gnu/store/y88ghx13yv9b6a2sa7b8hnxgcnw8x3ka-stumpwm-20.11
>
> If I just try to load slynk directly asdf doesn't seem to find it at
> all. If I try to add the *.asd files that Guix provides:
>
> (push (uiop:subpathname* (user-homedir-pathname) ".guix-profile/share/common-lisp/systems/") asdf:*central-registry*)
>
> And then try to load, I still get an error:
>
> Don't know how to REQUIRE SB-CLTL2
>
> stumpwm itself works without issue.

Hi,

There's a stumpwm-with-slynk package that you could use instead of the
stumpwm package. I guess it should do what you want.

If not, you could also try installing the sbcl-slynk package (which
has the compiled files for sbcl) instead of the cl-slynk one (sources
only). I think the stumpwm binary can only compile code using the
libraries that were available when it was built, and I guess sb-cltl2
isn't one of them.
-----BEGIN PGP SIGNATURE-----

iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYisLWQ8cZ2x2QHBvc3Rl
by5uZXQACgkQa+ggit8h/j8vqwD+JfZ7xjrNAmTQ2vScMcFdhQGlEtq4lQOxvPSb
jTskyGUBAI9AZFO4qRBvlzSpOntkuA44m0YL8TBHl32KX6jfRMle
=3zun
-----END PGP SIGNATURE-----

?
Your comment

Commenting via the web interface is currently disabled.

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

To respond to this issue using the mumi CLI, first switch to it
mumi current 54280
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