-
-
Notifications
You must be signed in to change notification settings - Fork 226
Open
Description
Hi,
I tried to install Lem using docker but I got this problem
❯ git clone git@github.com:lem-project/lem.git
Cloning into 'lem'...
X11 forwarding request failed
remote: Enumerating objects: 59803, done.
remote: Counting objects: 100% (25/25), done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 59803 (delta 11), reused 8 (delta 8), pack-reused 59778 (from 3)
Receiving objects: 100% (59803/59803), 96.24 MiB | 22.30 MiB/s, done.
Resolving deltas: 100% (43192/43192), done.
Updating files: 100% (724/724), done.
❯ cd lem
❯ docker --debug build -t lem .
[+] Building 531.9s (13/13) FINISHED docker:desktop-linux
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 642B 0.0s
=> [internal] load metadata for docker.io/library/alpine:latest 1.6s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [1/8] FROM docker.io/library/alpine:latest@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1 0.0s
=> => resolve docker.io/library/alpine:latest@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1 0.0s
=> [internal] load build context 0.1s
=> => transferring context: 62.09kB 0.1s
=> CACHED [2/8] WORKDIR /app 0.0s
=> [3/8] COPY . . 3.4s
=> [4/8] RUN apk add --no-cache curl bash build-base ncurses-dev sbcl git xdg-utils 12.0s
=> [5/8] RUN curl -o quicklisp.lisp https://beta.quicklisp.org/quicklisp.lisp 1.0s
=> [6/8] RUN sbcl --noinform --no-userinit --no-sysinit --non-interactive --load quicklisp.lisp --eval "(quicklisp-quickstar 5.3s
=> [7/8] RUN curl -L https://qlot.tech/installer | bash 119.4s
=> [8/8] RUN qlot install && qlot exec sbcl --noinform --load scripts/build-ncurses.lisp 306.0s
=> exporting to image 82.5s
=> => exporting layers 49.2s
=> => exporting manifest sha256:577a78a2b05be47568de4d492e5391331fe019ef0339a822e10cba229ebf3d01 0.0s
=> => exporting config sha256:a4e2dc67ef95a6eca5c6e76845e2afa25ed12b8bcff1c3aaf956c94f2236b204 0.0s
=> => exporting attestation manifest sha256:d322033d1aced8e2521b68052b1c93f0655ce8b26b8613d269a61620c1bba6dd 0.0s
=> => exporting manifest list sha256:2c5772a499cb1e69241beb0f9ba8610a3864a94a4c8b8d6f1c022ea32cf441f1 0.0s
=> => naming to docker.io/library/lem:latest 0.0s
=> => unpacking to docker.io/library/lem:latest 32.9s
1 warning found:
- JSONArgsRecommended: JSON arguments recommended for ENTRYPOINT to prevent unintended behavior related to OS signals (line 17)
JSON arguments recommended for ENTRYPOINT/CMD to prevent unintended behavior related to OS signals
More info: https://docs.docker.com/go/dockerfile/rule/json-args-recommended/
Dockerfile:17
--------------------
15 | qlot exec sbcl --noinform --load scripts/build-ncurses.lisp
16 |
17 | >>> ENTRYPOINT qlot exec sbcl --noinform --eval "(ql:quickload :lem)" --eval "(lem:lem)" --quit
18 |
--------------------
View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/mu01vj9ck5c1uv7mmyp8k7eoc
❯ docker run --rm -it -v .:/shared lem
zsh: correct '.:/shared' to './shared' [nyae]? n
To load "lem":
Load 1 ASDF system:
lem
; Loading "lem"
..................................................
[package float-features]..........................
[package webview].
debugger invoked on a LOAD-FOREIGN-LIBRARY-ERROR in thread
#<THREAD tid=1 "main thread" RUNNING {1203FA81D3}>:
Unable to load foreign library (LIBWEBVIEW).
Error opening shared object "/app/.qlot/dists/webview/software/webview-ref-607daff93e9e716a76c5dbd08c48b5233c96b9a3/lib/linux/x64/libwebview.so.0.12.0":
Error loading shared library libwebkit2gtk-4.1.so.0: No such file or directory (needed by /app/.qlot/dists/webview/software/webview-ref-607daff93e9e716a76c5dbd08c48b5233c96b9a3/lib/linux/x64/libwebview.so.0.12.0).
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: [TRY-RECOMPILING ] Recompile webview and try loading it again
3: [RETRY ] Retry
loading FASL for #<CL-SOURCE-FILE "webview" "webview">.
4: [ACCEPT ] Continue, treating
loading FASL for #<CL-SOURCE-FILE "webview" "webview">
as having been successful.
5: Retry ASDF operation.
6: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the
configuration.
7: Retry ASDF operation.
8: Retry ASDF operation after resetting the
configuration.
9: [ABORT ] Give up on "lem"
10: [REGISTER-LOCAL-PROJECTS ] Register local projects and try again.
11: [CONTINUE ] Ignore runtime option --eval "(ql:quickload :lem)".
12: Skip rest of --eval and --load options.
13: Skip to toplevel READ/EVAL/PRINT loop.
14: [EXIT ] Exit SBCL (calling #'EXIT, killing the process).
(CFFI::FL-ERROR "Unable to load foreign library (~A).~% ~A" LIBWEBVIEW #<(SIMPLE-BASE-STRING 368) Error opening shared object "/app/.qlot/dists/webview/software/webview-ref-607daff93e9e716a76c5dbd08c48b5233c96b9a3/lib/linux/x64/libwebview.so.0.12.0":
Error loading shared library libwebkit2gtk-4.... {1203D5A28F}>)
source: (ERROR 'LOAD-FOREIGN-LIBRARY-ERROR :FORMAT-CONTROL CONTROL
:FORMAT-ARGUMENTS ARGUMENTS)
0]
Thanks for your help.
Metadata
Metadata
Assignees
Labels
No labels