New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arch Linux: stumpwm, sbcl installed from distros repo, error in stumpwm ("cannot create directory /build") #1045
Comments
Thank you for reporting this problem; I have encountered similar error messages, when attempting to load swank. I have contacted the maintainer, although my hopes are low, due to the wide variety of packages for which he is also responsible. |
How were you restarting the window manager? |
I'm not gonna blame anyone, because they all move quickly and the world is so fucking fragile. What I discovered, so far:
|
I think a lot of us who are actively developing compile and run stumpwm directly, rather than through the packages in whatever linux distro we're running. Any help with reproducing the issue would be very helpful. @adlai I appreciate your frustration. We're all doing this in our spare time as a passion project. We might make mistakes, but everyone contributing is acting with good intent. |
One of my favorite tricks is making projects fail automated distribution; obviously, that would be overkill for this one. |
Yo, downstream maintainer here. I've just added Any issues, let me know via the bug tracker (link above), or this issue. |
This is what I ended up doing. |
Thank you for making the new package.
Looking at the current situation, it seems to me that all the optional dependencies of |
That’s a really good point, actually. I dare say that the current optional dependencies of stumpwm were added prior to the -contrib split. I’ll create a bug issue on our tracker and look into this after the new year. edit: downstream report. |
stumpwm-contrib is a wild west mish-mash of all kinds of things. Its dependencies will be greater than stumpwm dependencies. Forgive my ignorance of how distro package dependencies are managed, but doesn't our stumpwm.asd file define our dependencies? |
Forgiven! The tip of the iceberg is plain-text files containing configuration variables and script snippets, although naturally, the devil is in the details. If you wish help choosing which link is relevant: the latter link is mainly relevant for folks working towards making packages that can be adopted by the official distributors, while the former covers what is relevant for independant management of personal systems and lone wolf packs.
Thank you for not including a link to the moving target; it currently includes not much about the contribs, although I imagine that the mechanics for defining and loading them are still referenced from the main system. There does not appear to be any separate definition file for the broken-out stumpwm-contrib sister repo, and I am no ASDF wizard. I hope the above information is more helpful than verbose. |
i installed both after a large amount of flailing around, i cloned the
which all ran fine. i then put the path to the when i came back up, i was able to i then quit i noticed something: when the
which makes me wonder if somehow the location at which the binary is hth. |
and, i did another test, though the results are negative. i that completed, then i then i pointed my |
@greg-minshall Any way you could post the whole backtrace? Lisp puts weird stuff in weird places and breaks when the assumptions are invalidated. This is probably a problem with how sbcl creates binaries but the fix may not be straightforward. |
@dmb2 apologies, but now when i run /usr/bin/stumpwm (the one straight out of the package), even after re-booting, i have no problem with and, i can't explain the behaivor i described above. one possibility is -- well, okay, one is that i was totally confused (possible). another is that some bit of my configuration has changed over the past several days, allowing a third possibility is that between loading the two packages ( |
ok. i re-created the error. something like this (from a system with stumpwm and stumpwm-contrib installed via pacman).
|
note line 18 of the backtrace
after the above was not working, then, i
then i rebooted. then, when the system came up, stumpwm worked just fine. |
i've got the same error |
Exact steps to reproduce? Is it in arch? DavidOn Dec 10, 2023, at 9:33 PM, Konstantin ***@***.***> wrote:
i've got the same error
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
yes, it's on a arch-based distro, artix. |
see? this is exactly the same what happens here, even if you explicitly state that the module folder is located at " /usr/share/stumpwm/contrib/" it stills fails to load any module, and here rebooting didnt solved anything. |
@KonstantinDjairo could you run
and then post the output? |
of course |
@KonstantinDjairo thanks. sorry i didn't say but, the
certainly seems the same problem. are you certain that the version of stumpwm you are running that gave that error is the one you built from AUR? (i was hoping only the pre-built official Arch stumpwm package would give that result.) maybe, in stumpish, enter |
it's the binary version the git version doesn't compile at all. the output of stumpish is as follows:
edit: im now compiling sbcl from source, to see if it fixes this weird behavior. but since i have to delete the old version of sbcl from my machine, im using clisp to compile sbcl.
|
without much sucess, stumpwm itself doesn't compiled i clone stumpwm from git, and compiled sbcl as i said above edit: also found that patch in the AUR |
thanks. btw, using the |
the error was caused by the quicklisp from the package manager. i could compile stumpwm from scratch (directly from git) after uninstalling all clisp-related tools that I've installed with pacman, including quicklisp. this is to say: a clean install from scratch without a package manager. then everything worked. edit: for anyone who wants to compile stumpwm in arch linux, remember to uninstall quicklisp and all packages related to lisp, let only sbcl, and then do as follows:
then you can compile stumpwm as it's stated in the readme |
Please report this downstream to Arch's package maintainers. |
I installed StumpWM and SBCL from my distros repository and when I try to restart StumpWM it has this error:
Error loading /home/yaslam/.stumpwm.d/init.lisp: Can't create directory /build.
I'll try and build StumpWM andd SBCL from source and see if the error goes away.
The text was updated successfully, but these errors were encountered: