В sbcl 2.0.4 на x86_64 отломана загрузка модулей из contrib (таких как asdf, sb-posix, и т.д.) Причина (при трассировке с помощью strace): stat("/usr/bin/contrib", 0x7f46ee5af810) = -1 ENOENT (No such file or directory) stat("/usr/bin/../lib/sbcl/contrib", 0x7f46ee5af830) = -1 ENOENT (No such file or directory) stat("/home/smirnovdv/tmp/2020-05-24/./contrib", 0x7f46ee5af830) = -1 ENOENT (No such file or directory) stat("/usr/bin/sbcl", {st_mode=S_IFREG|0755, st_size=307928, ...}) = 0 stat("/usr/bin/contrib", 0x7f46ee5af830) = -1 ENOENT (No such file or directory) stat("/usr/bin/../lib/sbcl/contrib", 0x7f46ee5af850) = -1 ENOENT (No such file or directory) Т.е. модули ищутся в /usr/lib вместо /usr/lib64. Ошибка возникла из-за того, что где-то некорректно определяется переменная sbcl_home (раньше она устанавливалась в sbcl-1.4.2-runtime.patch). В консоли sbcl набрать (require :asdf) Способ обхода: SBCL_HOME=/usr/lib64/sbcl sbcl
Посмотрю.
c253 ~ # sbcl This is SBCL 2.0.4-alt1, an implementation of ANSI Common Lisp. More information about SBCL is available at <http://www.sbcl.org/>. SBCL is free software, provided as is, with absolutely no warranty. It is mostly in the public domain; some portions are provided under BSD-style licenses. See the CREDITS and COPYING files in the distribution for more information. * :asdf :ASDF * Это нормально? Патч sbcl-2.0.4-runtime.patch применяется для aarch64 и x86_64.
Наткнулся, вероятно, на тот же баг: $ sbcl --load '/usr/local/share/quicklisp/quicklisp.lisp' This is SBCL 2.0.4-alt1, an implementation of ANSI Common Lisp. More information about SBCL is available at <http://www.sbcl.org/>. SBCL is free software, provided as is, with absolutely no warranty. It is mostly in the public domain; some portions are provided under BSD-style licenses. See the CREDITS and COPYING files in the distribution for more information. While evaluating the form starting at line 314, column 0 of #P"/usr/local/share/quicklisp/quicklisp.lisp": debugger invoked on a SB-INT:EXTENSION-FAILURE in thread #<THREAD "main thread" RUNNING {1000518083}>: Don't know how to REQUIRE SB-BSD-SOCKETS. See also: The SBCL Manual, Variable SB-EXT:*MODULE-PROVIDER-FUNCTIONS* The SBCL Manual, Function REQUIRE Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL. restarts (invokable by number or by possibly-abbreviated name): 0: [RETRY ] Retry EVAL of current toplevel form. 1: [CONTINUE] Ignore error and continue loading file "/usr/local/share/quicklisp/quicklisp.lisp". 2: [ABORT ] Abort loading file "/usr/local/share/quicklisp/quicklisp.lisp". 3: Ignore runtime option --load "/usr/local/share/quicklisp/quicklisp.lisp". 4: Skip rest of --eval and --load options. 5: Skip to toplevel READ/EVAL/PRINT loop. 6: [EXIT ] Exit SBCL (calling #'EXIT, killing the process). (REQUIRE SB-BSD-SOCKETS NIL) 0]
sbcl-2.3.3-alt1 -> sisyphus: Fri Mar 31 2023 Andrey Cherepanov <cas@altlinux> 2.3.3-alt1 - 2.3.3 (ALT #44041) - Moved to /usr/lib (ALT #38529).