Comments (8)
@ephemer4l it means that a patch to cl-webkit
is required. The first step is to discover where the shared objects live in Gentoo. Then patch here.
from nyxt.
@aadcg I edited the related cl-webkit file to have the following:
(glib::at-init ()
(define-foreign-library libwebkit2
(:darwin (:or
"libwebkit2gtk-4.1.dylib"
"libwebkit2gtk-4.0.37.39.3.dylib"
"libwebkit2gtk-4.0.37.dylib"
"libwebkit2gtk-4.0.dylib"))
(:unix (:or
"/usr/lib/libwebkit2gtk-4.1.so"
"/usr/lib/libwebkit2gtk-4.1.so.0.8.4"
"libwebkit2gtk-4.0.so"
;; Fedora only has this one?
"libwebkit2gtk-4.0.so.37")))
(use-foreign-library libwebkit2))
Yet I'm getting the same error (with file names changed accordingly). I do have the file in the specified directory as:
$ ls /usr/lib/ | grep webkit
lrwxrwxrwx 22 root 25 Jul 17:24 libwebkit2gtk-4.1.so -> libwebkit2gtk-4.1.so.0*
lrwxrwxrwx 26 root 25 Jul 17:24 libwebkit2gtk-4.1.so.0 -> libwebkit2gtk-4.1.so.0.8.4*
.rwxr-xr-x 67M root 25 Jul 17:24 libwebkit2gtk-4.1.so.0.8.4*
drwxr-xr-x - root 5 Jul 17:43 webkit2gtk-4.1/
from nyxt.
Your patch looks good to me. Could you paste the output after applying the patch?
from nyxt.
@aadcg Here it is:
sbcl --dynamic-space-size 3072 --no-userinit --non-interactive --eval '(require "asdf")' --eval '(when (string= "true" "true") (setf asdf:*default-source-registries* (list (quote asdf/source-registry:environment-source-registry))) (asdf:clear-configuration) (asdf:load-asd "/home/piney/downloads/nyxt-3.5.0-source-with-submodules.tar//libraries/nasdf/nasdf.asd") (asdf:load-asd "/home/piney/downloads/nyxt-3.5.0-source-with-submodules.tar//nyxt.asd") (asdf:load-system :nyxt/submodules))' --eval '(asdf:load-asd "/home/piney/downloads/nyxt-3.5.0-source-with-submodules.tar//libraries/nasdf/nasdf.asd")' --eval '(asdf:load-asd "/home/piney/downloads/nyxt-3.5.0-source-with-submodules.tar//nyxt.asd")' --eval '(format t "~&; NASDF ~a: ~a~&" (asdf:component-version (asdf:find-system :nasdf)) (nth-value 2 (asdf:locate-system :nasdf)))' --eval '(when (find-package :ql) (funcall (read-from-string "ql:quickload") :cffi))' --eval '(when (and (find-package :cffi) (uiop:getenv "GUIX_ENVIRONMENT")) (pushnew (pathname (format nil "~a/lib/" (uiop:getenv "GUIX_ENVIRONMENT"))) (symbol-value (read-from-string "cffi:*foreign-library-directories*" )) :test (quote equal)))' --eval '(asdf:load-system :nyxt/gi-gtk-application)' \
--eval '(asdf:make :nyxt/gi-gtk-application)' \
--eval '(uiop:quit)' || (printf "\n%s\n%s\n" "Compilation failed, see the above stacktrace." && exit 1)
This is SBCL 2.3.5, 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.
; running ("git" "-C"
"/home/piney/downloads/nyxt-3.5.0-source-with-submodules.tar/"
"submodule" "update" "--init" "--force" "--jobs" "4")
fatal: not a git repository (or any of the parent directories): .git
; CL_SOURCE_REGISTRY: "/home/piney/downloads/nyxt-3.5.0-source-with-submodules.tar/libraries/nasdf/:/home/piney/downloads/nyxt-3.5.0-source-with-submodules.tar/_build//:/home/piney/downloads/nyxt-3.5.0-source-with-submodules.tar/:/home/piney/downloads/nyxt-3.5.0-source-with-submodules.tar/libraries/nasdf/:"
; NASDF 0.1.6: /home/piney/downloads/nyxt-3.5.0-source-with-submodules.tar/libraries/nasdf/nasdf.asd
WARNING: System definition file #P"/home/piney/downloads/nyxt-3.5.0-source-with-submodules.tar/_build/trivial-garbage/trivial-garbage.asd" contains definition for system "trivial-garbage-tests". Please only define "trivial-garbage" and secondary systems with a name starting with "trivial-garbage/" (e.g. "trivial-garbage/test") in that file.
WARNING: System definition file #P"/home/piney/downloads/nyxt-3.5.0-source-with-submodules.tar/_build/calispel/calispel.asd" contains definition for system "calispel-test". Please only define "calispel" and secondary systems with a name starting with "calispel/" (e.g. "calispel/test") in that file.
WARNING: System definition file #P"/home/piney/downloads/nyxt-3.5.0-source-with-submodules.tar/_build/flexi-streams/flexi-streams.asd" contains definition for system "flexi-streams-test". Please only define "flexi-streams" and secondary systems with a name starting with "flexi-streams/" (e.g. "flexi-streams/test") in that file.
WARNING: System definition file #P"/home/piney/downloads/nyxt-3.5.0-source-with-submodules.tar/_build/cl-json/cl-json.asd" contains definition for system "cl-json.test". Please only define "cl-json" and secondary systems with a name starting with "cl-json/" (e.g. "cl-json/test") in that file.
WARNING: System definition file #P"/home/piney/downloads/nyxt-3.5.0-source-with-submodules.tar/_build/cl-ppcre/cl-ppcre-unicode.asd" contains definition for system "cl-ppcre-unicode-test". Please only define "cl-ppcre-unicode" and secondary systems with a name starting with "cl-ppcre-unicode/" (e.g. "cl-ppcre-unicode/test") in that file.
WARNING: System definition file #P"/home/piney/downloads/nyxt-3.5.0-source-with-submodules.tar/_build/s-xml/s-xml.asd" contains definition for system "s-xml.test". Please only define "s-xml" and secondary systems with a name starting with "s-xml/" (e.g. "s-xml/test") in that file.
WARNING: System definition file #P"/home/piney/downloads/nyxt-3.5.0-source-with-submodules.tar/_build/s-xml/s-xml.asd" contains definition for system "s-xml.examples". Please only define "s-xml" and secondary systems with a name starting with "s-xml/" (e.g. "s-xml/test") in that file.
WARNING: The CL-Containers system would enjoy having asdf-system-connections around. See
http://www.cliki.net/asdf-system-connections for details and download
instructions.
WARNING: System definition file #P"/home/piney/downloads/nyxt-3.5.0-source-with-submodules.tar/_build/montezuma/montezuma.asd" contains definition for system "montezuma-tests". Please only define "montezuma" and secondary systems with a name starting with "montezuma/" (e.g. "montezuma/test") in that file.
WARNING: System definition file #P"/home/piney/downloads/nyxt-3.5.0-source-with-submodules.tar/_build/cl-fad/cl-fad.asd" contains definition for system "cl-fad-test". Please only define "cl-fad" and secondary systems with a name starting with "cl-fad/" (e.g. "cl-fad/test") in that file.
Unhandled LOAD-FOREIGN-LIBRARY-ERROR in thread #<SB-THREAD:THREAD tid=18944 "main thread" RUNNING
{100ABE0073}>:
Unable to load any of the alternatives:
("/usr/lib/libwebkit2gtk-4.1.so" "/usr/lib/libwebkit2gtk-4.1.so.0.8.4"
"libwebkit2gtk-4.0.so" "libwebkit2gtk-4.0.so.37")
Backtrace for: #<SB-THREAD:THREAD tid=18944 "main thread" RUNNING {100ABE0073}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<LOAD-FOREIGN-LIBRARY-ERROR "Unable to load any of the alternatives:~% ~S" {100A696013}> #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK SB-EXT:*INVOKE-DEBUGGER-HOOK* #<LOAD-FOREIGN-LIBRARY-ERROR "Unable to load any of the alternatives:~% ~S" {100A696013}>)
2: (INVOKE-DEBUGGER #<LOAD-FOREIGN-LIBRARY-ERROR "Unable to load any of the alternatives:~% ~S" {100A696013}>)
3: (ERROR LOAD-FOREIGN-LIBRARY-ERROR :FORMAT-CONTROL "Unable to load any of the alternatives:~% ~S" :FORMAT-ARGUMENTS (("/usr/lib/libwebkit2gtk-4.1.so" "/usr/lib/libwebkit2gtk-4.1.so.0.8.4" "libwebkit2gtk-4.0.so" "libwebkit2gtk-4.0.so.37")))
4: (CFFI::FL-ERROR "Unable to load any of the alternatives:~% ~S" ("/usr/lib/libwebkit2gtk-4.1.so" "/usr/lib/libwebkit2gtk-4.1.so.0.8.4" "libwebkit2gtk-4.0.so" "libwebkit2gtk-4.0.so.37"))
5: ((FLET CFFI::%DO-LOAD :IN CFFI::%DO-LOAD-FOREIGN-LIBRARY) #<FOREIGN-LIBRARY LIBWEBKIT2> LIBWEBKIT2 (:OR "/usr/lib/libwebkit2gtk-4.1.so" "/usr/lib/libwebkit2gtk-4.1.so.0.8.4" "libwebkit2gtk-4.0.so" "libwebkit2gtk-4.0.so.37"))
6: (LOAD-FOREIGN-LIBRARY LIBWEBKIT2 :SEARCH-PATH NIL)
7: ((SB-C::TOP-LEVEL-FORM (SETQ *PACKAGE* (SB-INT:FIND-UNDELETED-PACKAGE-OR-LOSE "WEBKIT2")))) [toplevel]
8: (SB-FASL::LOAD-FASL-GROUP #S(SB-FASL::FASL-INPUT :STREAM #<SB-SYS:FD-STREAM for "file /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/downloads/nyxt-3.5.0-source-with-submodules.tar/_build/cl-webkit/webkit2/webkit2.init.fasl" {100A68ED43}> :TABLE #(68 #1="/home/piney/downloads/nyxt-3.5.0-source-with-submodules.tar/_build/cl-webkit/webkit2/webkit2.init.lisp" LAMBDA :IN (LAMBDA NIL :IN #1#) FUNCTION * (FUNCTION NIL *) #<PACKAGE "CFFI"> CFFI::REGISTER-FOREIGN-LIBRARY LOAD-FOREIGN-LIBRARY #<PACKAGE "CL-WEBKIT2"> ...) :STACK #(0 #<FUNCTION (SB-C::TOP-LEVEL-FORM (SETQ *PACKAGE* (SB-INT:FIND-UNDELETED-PACKAGE-OR-LOSE #2="WEBKIT2"))) {10073D6CEB}> NIL NIL (SB-INT:SFUNCTION NIL NULL) #<SB-KERNEL:FDEFN SB-INT:FIND-UNDELETED-PACKAGE-OR-LOSE> #<SB-KERNEL:FDEFN GLIB::REGISTER-INITIALIZER> #<SB-KERNEL:FDEFN CFFI::REGISTER-FOREIGN-LIBRARY> #<SB-KERNEL:FDEFN LOAD-FOREIGN-LIBRARY> #2# *PACKAGE* ((DEFINE-FOREIGN-LIBRARY LIBWEBKIT2 (:DARWIN #) (:UNIX #)) (USE-FOREIGN-LIBRARY LIBWEBKIT2)) ...) :NAME-BUFFER #("" "USE-FOREIGN-LIBRARYARY-OR-LOSE") :PRINT NIL :PARTIAL-SOURCE-INFO #S(SB-C::DEBUG-SOURCE :NAMESTRING #1# :CREATED 3899433554 :START-POSITIONS NIL :PLIST NIL)))
9: ((LAMBDA NIL :IN SB-FASL::LOAD-AS-FASL))
10: (SB-IMPL::CALL-WITH-LOADER-PACKAGE-NAMES #<FUNCTION (LAMBDA NIL :IN SB-FASL::LOAD-AS-FASL) {100A692A6B}>)
11: (SB-FASL::LOAD-AS-FASL #<SB-SYS:FD-STREAM for "file /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/downloads/nyxt-3.5.0-source-with-submodules.tar/_build/cl-webkit/webkit2/webkit2.init.fasl" {100A68ED43}> NIL NIL)
12: ((LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) #<SB-SYS:FD-STREAM for "file /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/downloads/nyxt-3.5.0-source-with-submodules.tar/_build/cl-webkit/webkit2/webkit2.init.fasl" {100A68ED43}> T)
13: (SB-FASL::CALL-WITH-LOAD-BINDINGS #<FUNCTION (LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) {7FDA57E4678B}> #<SB-SYS:FD-STREAM for "file /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/downloads/nyxt-3.5.0-source-with-submodules.tar/_build/cl-webkit/webkit2/webkit2.init.fasl" {100A68ED43}> T #<SB-SYS:FD-STREAM for "file /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/downloads/nyxt-3.5.0-source-with-submodules.tar/_build/cl-webkit/webkit2/webkit2.init.fasl" {100A68ED43}>)
14: (LOAD #P"/home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/downloads/nyxt-3.5.0-source-with-submodules.tar/_build/cl-webkit/webkit2/webkit2.init.fasl" :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST :ERROR :EXTERNAL-FORMAT :DEFAULT)
15: (UIOP/UTILITY:CALL-WITH-MUFFLED-CONDITIONS #<FUNCTION (LAMBDA NIL :IN UIOP/LISP-BUILD:LOAD*) {100A68E55B}> ("Overwriting already existing readtable ~S." #(#:FINALIZERS-OFF-WARNING :ASDF-FINALIZERS)))
16: ((SB-PCL::EMF ASDF/ACTION:PERFORM) #<unused argument> #<unused argument> #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "cl-webkit2" "webkit2.init">)
17: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
18: ((:METHOD ASDF/ACTION:PERFORM-WITH-RESTARTS (ASDF/LISP-ACTION:LOAD-OP ASDF/LISP-ACTION:CL-SOURCE-FILE)) #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "cl-webkit2" "webkit2.init">) [fast-method]
19: ((:METHOD ASDF/ACTION:PERFORM-WITH-RESTARTS :AROUND (T T)) #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "cl-webkit2" "webkit2.init">) [fast-method]
20: ((:METHOD ASDF/PLAN:PERFORM-PLAN (T)) #<ASDF/PLAN:SEQUENTIAL-PLAN {100999B723}>) [fast-method]
21: ((FLET SB-C::WITH-IT :IN SB-C::%WITH-COMPILATION-UNIT))
22: ((:METHOD ASDF/PLAN:PERFORM-PLAN :AROUND (T)) #<ASDF/PLAN:SEQUENTIAL-PLAN {100999B723}>) [fast-method]
23: ((:METHOD ASDF/OPERATE:OPERATE (ASDF/OPERATION:OPERATION ASDF/COMPONENT:COMPONENT)) #<ASDF/LISP-ACTION:LOAD-OP > #<NASDF:NASDF-SYSTEM "nyxt/gi-gtk-application"> :PLAN-CLASS NIL :PLAN-OPTIONS NIL) [fast-method]
24: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> #<ASDF/LISP-ACTION:LOAD-OP > #<NASDF:NASDF-SYSTEM "nyxt/gi-gtk-application">)
25: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
26: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) #<ASDF/LISP-ACTION:LOAD-OP > #<NASDF:NASDF-SYSTEM "nyxt/gi-gtk-application">) [fast-method]
27: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> ASDF/LISP-ACTION:LOAD-OP :NYXT/GI-GTK-APPLICATION)
28: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
29: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/LISP-ACTION:LOAD-OP :NYXT/GI-GTK-APPLICATION) [fast-method]
30: (ASDF/SESSION:CALL-WITH-ASDF-SESSION #<FUNCTION (LAMBDA NIL :IN ASDF/OPERATE:OPERATE) {100996434B}> :OVERRIDE T :KEY NIL :OVERRIDE-CACHE T :OVERRIDE-FORCING NIL)
31: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
32: (ASDF/SESSION:CALL-WITH-ASDF-SESSION #<FUNCTION (LAMBDA NIL :IN ASDF/OPERATE:OPERATE) {100993534B}> :OVERRIDE NIL :KEY NIL :OVERRIDE-CACHE NIL :OVERRIDE-FORCING NIL)
33: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/LISP-ACTION:LOAD-OP :NYXT/GI-GTK-APPLICATION) [fast-method]
34: (ASDF/OPERATE:LOAD-SYSTEM :NYXT/GI-GTK-APPLICATION)
35: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ASDF/OPERATE:LOAD-SYSTEM :NYXT/GI-GTK-APPLICATION) #<NULL-LEXENV>)
36: (EVAL (ASDF/OPERATE:LOAD-SYSTEM :NYXT/GI-GTK-APPLICATION))
37: (SB-IMPL::PROCESS-EVAL/LOAD-OPTIONS ((:EVAL . "(require \"asdf\")") (:EVAL . #<(SIMPLE-ARRAY CHARACTER (390)) (when (string= "true" "true") (setf asdf:*default-source-registries* (list (quote asdf/source-registry:environment-source-registry))) (asdf:clear-configuration) (asdf:load-asd "/home/piney/downloads/n... {100AC6715F}>) (:EVAL . "(asdf:load-asd \"/home/piney/downloads/nyxt-3.5.0-source-with-submodules.tar//libraries/nasdf/nasdf.asd\")") (:EVAL . "(asdf:load-asd \"/home/piney/downloads/nyxt-3.5.0-source-with-submodules.tar//nyxt.asd\")") (:EVAL . "(format t \"~&; NASDF ~a: ~a~&\" (asdf:component-version (asdf:find-system :nasdf)) (nth-value 2 (asdf:locate-system :nasdf)))") (:EVAL . "(when (find-package :ql) (funcall (read-from-string \"ql:quickload\") :cffi))") (:EVAL . #<(SIMPLE-ARRAY CHARACTER (235)) (when (and (find-package :cffi) (uiop:getenv "GUIX_ENVIRONMENT")) (pushnew (pathname (format nil "~a/lib/" (uiop:getenv "GUIX_ENVIRONMENT"))) (symbol-value (read-from-string "cffi:*foreign-library-dir... {100ACB000F}>) (:EVAL . "(asdf:load-system :nyxt/gi-gtk-application)") (:EVAL . "(asdf:make :nyxt/gi-gtk-application)") (:EVAL . "(uiop:quit)") (:QUIT)))
38: (SB-IMPL::TOPLEVEL-INIT)
39: ((FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP))
40: ((FLET "WITHOUT-INTERRUPTS-BODY-3" :IN SB-IMPL::START-LISP))
41: (SB-IMPL::%START-LISP)
unhandled condition in --disable-debugger mode, quitting
;
; compilation unit aborted
; caught 1 fatal ERROR condition
Compilation failed, see the above stacktrace.
make: *** [makefile:54: nyxt] Error 1
from nyxt.
@ephemer4l Interesting. Let's try something.
Copy all folders inside of /home/piney/downloads/nyxt-3.5.0-source-with-submodules.tar/_build/
to ~/common-lisp/
(create it if needed). Then, in a shell process, what's the output of the following?
$ sbcl
* (require 'asdf)
* (asdf:load-system :cffi)
* (cffi:load-foreign-library "/usr/lib/libwebkit2gtk-4.1.so")
from nyxt.
@aadcg This is the full output:
$ sbcl
This is SBCL 2.3.5, 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.
* (require 'asdf)
NIL
* (asdf:load-system :cffi)
; compiling file "/home/piney/common-lisp/alexandria/alexandria-1/package.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/alexandria/alexandria-1/package-tmpGHU3ALSV.fasl
; compilation finished in 0:00:00.003
; compiling file "/home/piney/common-lisp/alexandria/alexandria-1/definitions.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/alexandria/alexandria-1/definitions-tmpAAURSO1.fasl
; compilation finished in 0:00:00.013
; compiling file "/home/piney/common-lisp/alexandria/alexandria-1/binding.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/alexandria/alexandria-1/binding-tmp5GEXGEG5.fasl
; compilation finished in 0:00:00.016
; compiling file "/home/piney/common-lisp/alexandria/alexandria-1/strings.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/alexandria/alexandria-1/strings-tmpAR3FSGEY.fasl
; compilation finished in 0:00:00.000
; compiling file "/home/piney/common-lisp/alexandria/alexandria-1/conditions.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/alexandria/alexandria-1/conditions-tmpJAIDFZTC.fasl
; compilation finished in 0:00:00.023
; compiling file "/home/piney/common-lisp/alexandria/alexandria-1/symbols.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/alexandria/alexandria-1/symbols-tmp8V3J6PE9.fasl
; compilation finished in 0:00:00.026
; compiling file "/home/piney/common-lisp/alexandria/alexandria-1/macros.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/alexandria/alexandria-1/macros-tmp9V47YWQF.fasl
; compilation finished in 0:00:00.080
; compiling file "/home/piney/common-lisp/alexandria/alexandria-1/functions.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/alexandria/alexandria-1/functions-tmp9BN22RMA.fasl
; compilation finished in 0:00:00.049
; compiling file "/home/piney/common-lisp/alexandria/alexandria-1/lists.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/alexandria/alexandria-1/lists-tmp1CXFJSK9.fasl
; compilation finished in 0:00:00.113
; compiling file "/home/piney/common-lisp/alexandria/alexandria-1/types.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/alexandria/alexandria-1/types-tmpX4BRKI0R.fasl
; compilation finished in 0:00:00.106
; compiling file "/home/piney/common-lisp/alexandria/alexandria-1/io.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/alexandria/alexandria-1/io-tmpQ371UGST.fasl
; compilation finished in 0:00:00.076
; compiling file "/home/piney/common-lisp/alexandria/alexandria-1/hash-tables.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/alexandria/alexandria-1/hash-tables-tmp2OWI3Q7U.fasl
; compilation finished in 0:00:00.036
; compiling file "/home/piney/common-lisp/alexandria/alexandria-1/control-flow.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/alexandria/alexandria-1/control-flow-tmp9KKTJMYV.fasl
; compilation finished in 0:00:00.046
; compiling file "/home/piney/common-lisp/alexandria/alexandria-1/arrays.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/alexandria/alexandria-1/arrays-tmpJU0JWO19.fasl
; compilation finished in 0:00:00.006
; compiling file "/home/piney/common-lisp/alexandria/alexandria-1/sequences.lisp" (written 27 JUL 2023 11:46:34 AM):
; file: /home/piney/common-lisp/alexandria/alexandria-1/sequences.lisp
; in: DEFUN LENGTH=
; (LENGTH FIRST)
;
; note: unable to
; optimize
; due to type uncertainty:
; The first argument is a SEQUENCE, not a VECTOR.
; in: DEFUN MAP-DERANGEMENTS
; (DEFUN ALEXANDRIA:MAP-DERANGEMENTS
; (FUNCTION SEQUENCE
; &KEY (ALEXANDRIA::START 0) ALEXANDRIA::END (ALEXANDRIA::COPY T))
; #<(SIMPLE-ARRAY CHARACTER
; (374)) Calls FUNCTION with each derangement of the subsequence of SEQUENCE denoted
; by the bounding index designators START and END. Derangement is a permutation
; of the sequence where no element remains in pl... {1001B30E4F}>
; (LET* ((ALEXANDRIA::END (OR ALEXANDRIA::END #))
; (ALEXANDRIA::SIZE (- ALEXANDRIA::END ALEXANDRIA::START))
; (ALEXANDRIA::DERANGEMENT (SUBSEQ SEQUENCE 0 ALEXANDRIA::SIZE))
; (ALEXANDRIA::MASK
; (MAKE-ARRAY ALEXANDRIA::SIZE :ELEMENT-TYPE 'BIT :INITIAL-ELEMENT
; 0)))
; (DECLARE (DYNAMIC-EXTENT ALEXANDRIA::MASK))
; (LABELS ((ALEXANDRIA::DERANGE #
; #))
; (ALEXANDRIA::DERANGE ALEXANDRIA::START ALEXANDRIA::SIZE)
; SEQUENCE)))
; ==>
; (SB-IMPL::%DEFUN 'ALEXANDRIA:MAP-DERANGEMENTS
; (SB-INT:NAMED-LAMBDA ALEXANDRIA:MAP-DERANGEMENTS
; (FUNCTION SEQUENCE &KEY (ALEXANDRIA::START 0)
; ALEXANDRIA::END (ALEXANDRIA::COPY T))
; (DECLARE (SB-C::TOP-LEVEL-FORM))
; #<(SIMPLE-ARRAY CHARACTER
; (374)) Calls FUNCTION with each derangement of the subsequence of SEQUENCE denoted
; by the bounding index designators START and END. Derangement is a permutation
; of the sequence where no element remains in pl... {1001B30E4F}>
; (BLOCK ALEXANDRIA:MAP-DERANGEMENTS
; (LET* (# # # #)
; (DECLARE #)
; (LABELS #
; #
; SEQUENCE)))))
;
; note: Could not safely stack allocate the result of
; (MAKE-ARRAY SIZE :ELEMENT-TYPE 'BIT :INITIAL-ELEMENT 0), as it might
; silently overflow the stack. The vector must fit in a page of memory.
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/alexandria/alexandria-1/sequences-tmpZX2WN8N4.fasl
; compilation finished in 0:00:00.143
; compiling file "/home/piney/common-lisp/alexandria/alexandria-1/numbers.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/alexandria/alexandria-1/numbers-tmpOU81XRV0.fasl
; compilation finished in 0:00:00.100
; compiling file "/home/piney/common-lisp/alexandria/alexandria-1/features.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/alexandria/alexandria-1/features-tmpY2ML9CFA.fasl
; compilation finished in 0:00:00.013
; compiling file "/home/piney/common-lisp/alexandria/alexandria-2/package.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/alexandria/alexandria-2/package-tmpX2JYJDQE.fasl
; compilation finished in 0:00:00.006
; compiling file "/home/piney/common-lisp/alexandria/alexandria-2/control-flow.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/alexandria/alexandria-2/control-flow-tmpOPCILR65.fasl
; compilation finished in 0:00:00.006
; compiling file "/home/piney/common-lisp/alexandria/alexandria-2/sequences.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/alexandria/alexandria-2/sequences-tmpRV9F8A9A.fasl
; compilation finished in 0:00:00.000
; compiling file "/home/piney/common-lisp/alexandria/alexandria-2/lists.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/alexandria/alexandria-2/lists-tmpK2ZAJT4I.fasl
; compilation finished in 0:00:00.003
; compiling file "/home/piney/common-lisp/trivial-features/src/tf-sbcl.lisp" (written 27 JUL 2023 11:46:35 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/trivial-features/src/tf-sbcl-tmpUX5S4ADN.fasl
; compilation finished in 0:00:00.003
; compiling file "/home/piney/common-lisp/babel/src/packages.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/babel/src/packages-tmp10401X32.fasl
; compilation finished in 0:00:00.003
; compiling file "/home/piney/common-lisp/babel/src/encodings.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/babel/src/encodings-tmpZ7CBRM0G.fasl
; compilation finished in 0:00:00.159
; compiling file "/home/piney/common-lisp/babel/src/enc-ascii.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/babel/src/enc-ascii-tmp9OZEQ0G2.fasl
; compilation finished in 0:00:00.010
; compiling file "/home/piney/common-lisp/babel/src/enc-ebcdic.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/babel/src/enc-ebcdic-tmpB2JTL1W9.fasl
; compilation finished in 0:00:00.023
; compiling file "/home/piney/common-lisp/babel/src/enc-ebcdic-int.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/babel/src/enc-ebcdic-int-tmpP3BI68WQ.fasl
; compilation finished in 0:00:00.010
; compiling file "/home/piney/common-lisp/babel/src/enc-iso-8859.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/babel/src/enc-iso-8859-tmpQDARA81Z.fasl
; compilation finished in 0:00:00.106
; compiling file "/home/piney/common-lisp/babel/src/enc-unicode.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/babel/src/enc-unicode-tmpYEMMM7SE.fasl
; compilation finished in 0:00:00.173
; compiling file "/home/piney/common-lisp/babel/src/enc-cp1251.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/babel/src/enc-cp1251-tmp73HU0RPK.fasl
; compilation finished in 0:00:00.010
; compiling file "/home/piney/common-lisp/babel/src/enc-cp1252.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/babel/src/enc-cp1252-tmpIO5N7K88.fasl
; compilation finished in 0:00:00.010
; compiling file "/home/piney/common-lisp/babel/src/jpn-table.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/babel/src/jpn-table-tmpCM21U60Z.fasl
; compilation finished in 0:00:00.093
; compiling file "/home/piney/common-lisp/babel/src/enc-jpn.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/babel/src/enc-jpn-tmp9DT7SEFG.fasl
; compilation finished in 0:00:00.046
; compiling file "/home/piney/common-lisp/babel/src/enc-gbk.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/babel/src/enc-gbk-tmp8065ESJT.fasl
; compilation finished in 0:00:00.016
; compiling file "/home/piney/common-lisp/babel/src/enc-koi8.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/babel/src/enc-koi8-tmp7S8Z6FGF.fasl
; compilation finished in 0:00:00.023
; compiling file "/home/piney/common-lisp/babel/src/external-format.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/babel/src/external-format-tmpSIT3QPKP.fasl
; compilation finished in 0:00:00.026
; compiling file "/home/piney/common-lisp/babel/src/strings.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/babel/src/strings-tmpE0PA0714.fasl
; compilation finished in 0:00:02.536
; compiling file "/home/piney/common-lisp/babel/src/gbk-map.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/babel/src/gbk-map-tmpJRWHHVG0.fasl
; compilation finished in 0:00:00.103
; compiling file "/home/piney/common-lisp/babel/src/sharp-backslash.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/babel/src/sharp-backslash-tmp4WZVROCX.fasl
; compilation finished in 0:00:00.006
; compiling file "/home/piney/common-lisp/cffi/src/cffi-sbcl.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/cffi/src/cffi-sbcl-tmpA0I3UKX8.fasl
; compilation finished in 0:00:00.213
; compiling file "/home/piney/common-lisp/cffi/src/package.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/cffi/src/package-tmp267Y2N80.fasl
; compilation finished in 0:00:00.003
; compiling file "/home/piney/common-lisp/cffi/src/utils.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/cffi/src/utils-tmpOUPE5FSJ.fasl
; compilation finished in 0:00:00.019
; compiling file "/home/piney/common-lisp/cffi/src/libraries.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/cffi/src/libraries-tmpIGHCU6ZA.fasl
; compilation finished in 0:00:00.166
; compiling file "/home/piney/common-lisp/cffi/src/early-types.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/cffi/src/early-types-tmpBO0TUGLK.fasl
; compilation finished in 0:00:00.253
; compiling file "/home/piney/common-lisp/cffi/src/types.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/cffi/src/types-tmpIIXPIQNW.fasl
; compilation finished in 0:00:00.523
; compiling file "/home/piney/common-lisp/cffi/src/enum.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/cffi/src/enum-tmpOHM494YR.fasl
; compilation finished in 0:00:00.130
; compiling file "/home/piney/common-lisp/cffi/src/strings.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/cffi/src/strings-tmpOVFB07XF.fasl
; compilation finished in 0:00:02.016
; compiling file "/home/piney/common-lisp/cffi/src/structures.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/cffi/src/structures-tmpG6VFGMYP.fasl
; compilation finished in 0:00:00.036
; compiling file "/home/piney/common-lisp/cffi/src/functions.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/cffi/src/functions-tmp4QIPRMOF.fasl
; compilation finished in 0:00:00.133
; compiling file "/home/piney/common-lisp/cffi/src/foreign-vars.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/cffi/src/foreign-vars-tmpGW0QV22K.fasl
; compilation finished in 0:00:00.023
; compiling file "/home/piney/common-lisp/cffi/src/features.lisp" (written 27 JUL 2023 11:46:34 AM):
; wrote /home/piney/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/piney/common-lisp/cffi/src/features-tmp2K9J0HSR.fasl
; compilation finished in 0:00:00.076
;
; compilation unit finished
; printed 2 notes
T
* (cffi:load-foreign-library "/usr/lib/libwebkit2gtk-4.1.so")
debugger invoked on a CFFI:LOAD-FOREIGN-LIBRARY-ERROR in thread
#<THREAD tid=21391 "main thread" RUNNING {10012A8073}>:
Unable to load foreign library (LIBWEBKIT2GTK-4.1.SO-230).
Error opening shared object "/usr/lib/libwebkit2gtk-4.1.so":
Error relocating /usr/lib/libwebkit2gtk-4.1.so: _ZNSt15basic_streambufIcSt11char_traitsIcEE6xsputnEPKcl: initial-exec TLS resolves to dynamic definition in /usr/lib/libwebkit2gtk-4.1.so.
Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [RETRY ] Try loading the foreign library again.
1: [USE-VALUE] Use another library instead.
2: [ABORT ] Exit debugger, returning to top level.
(CFFI::FL-ERROR "Unable to load foreign library (~A).~% ~A" #:LIBWEBKIT2GTK-4.1.SO-230 #<(SIMPLE-BASE-STRING 249) Error opening shared object "/usr/lib/libwebkit2gtk-4.1.so":
Error relocating /usr/lib/libwebkit2gtk-4.1.so: _ZNSt15basic_streambufIcSt11char_traitsIcEE6xsputnEPKcl: initial-exec TLS resolves to dyn... {10013CC20F}>)
source: (ERROR 'LOAD-FOREIGN-LIBRARY-ERROR :FORMAT-CONTROL CONTROL
:FORMAT-ARGUMENTS ARGUMENTS)
0]
from nyxt.
@ephemer4l Thanks. As I've expected, something interesting is going on. I don't much about musl, but that seems to be the culprit (in a very broad sense). I think the best we can do is to report the output you have shared above at https://github.com/cffi/cffi/issues, mentioning that you're running musl.
from nyxt.
@aadcg Alright thanks!
from nyxt.
Related Issues (20)
- Memory corruption with webkit 2.44.0 HOT 3
- fatal ERROR condition on nyxt electron HOT 4
- Clarify meaning of "deeply integrated AI and semantic document tools" in FAQ HOT 3
- This is in the wrong place but its close. HOT 2
- Open new URL from the command line HOT 10
- Crash when deleting the last buffer if setting vi-normal keybindings in document-mode. HOT 2
- Nyxt website should prominently link to Nyxt github HOT 1
- GitHub Sponsors? HOT 1
- Duplicate nyxt website should be consolidated to one canonical version through 301 redirects HOT 1
- Nyxt crashes when changing buffers repeatedly HOT 13
- Running from source: `Component "swank/exts" not found` HOT 4
- minor typo in `assets/nyxt.metainfo.xml` (commit 655588b) HOT 1
- Gemini not always rendering as expected HOT 3
- Blank Page upon startup HOT 8
- Screen flickering on wayland and nvidia drivers HOT 1
- Broken clipboard commands on WSL (using Guix) HOT 6
- Links to nx-router and nx-tailor in EXTENSIONS.org are broken. HOT 3
- Consistent Hang With `search-auto-complete t` HOT 8
- Unable to navigate to gmail.com HOT 4
- Unable to login to gemini sites that require a self cert HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nyxt.