ITADN

Docker Image build fails.

#1Openjakobgetz 创建于 2023-08-23
J
jakobgetzcommented
Hey there I am trying to build the Docker image of this project. Sadly the build fails on command 14 `RUN opam install --yes .` when trying to install wassail. Output: ``` ... => ERROR [14/21] RUN opam install --yes . 14.4s ------ > [14/21] RUN opam install --yes .: #18 0.625 [WARNING] Running as root is not recommended #18 1.901 [wassail.~dev] no changes from git+file:///home/toughcall/tools/wassail#master #18 9.218 The following actions will be performed: #18 9.218 - install wassail ~dev* #18 9.220 #18 9.220 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> #18 14.03 [ERROR] The compilation of wassail failed at "/root/.opam/system/bin/dune build -p wassail -j 3". #18 14.03 #18 14.03 #=== ERROR while compiling wassail.~dev =======================================# #18 14.03 # context 2.0.5 | linux/x86_64 | ocaml-base-compiler.4.14.1 | pinned(git+file:///home/toughcall/tools/wassail#master#a45f6e03) #18 14.03 # path ~/.opam/system/.opam-switch/build/wassail.~dev #18 14.03 # command ~/.opam/system/bin/dune build -p wassail -j 3 #18 14.03 # exit-code 1 #18 14.03 # env-file ~/.opam/log/wassail-8-c743ac.env #18 14.03 # output-file ~/.opam/log/wassail-8-c743ac.out #18 14.03 ### output ### #18 14.03 # (cd _build/default && /root/.opam/system/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.wassail.objs/byte -I /root/.opam/system/lib/apron -I /root/.opam/system/lib/base -I /root/.opam/system/lib/base/base_internalhash_types -I /root/.opam/system/lib/base/caml -I /root/.opam/system/lib/base/md5 -I /root/.opam/system/lib/base/shadow_stdlib -I /root/.opam/system/lib/base_bigstring -I /root/.opam/sy[...] #18 14.03 # File "lib/test.ml", line 28, characters 19-25: #18 14.03 # 28 | let diff = T.diff actual expected in #18 14.03 # ^^^^^^ #18 14.03 # Error: Unbound value T.diff #18 14.03 #18 14.03 #18 14.03 #18 14.03 <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> #18 14.03 +- The following actions failed #18 14.03 | - build wassail ~dev #18 14.03 +- #18 14.03 - No changes have been performed #18 14.03 # Run eval $(opam env) to update the current shell environment ------ executor failed running [/bin/sh -c opam install --yes .]: exit code: 31 ```
7 条评论