metapp icon indicating copy to clipboard operation
metapp copied to clipboard

Failure to build metapp.0.4.4

Open benbellick opened this issue 10 months ago β€’ 3 comments

Hi, thanks for this package (and the million other awesome packages you've made).

I seem to encounter a sporadic error both locally and on CI/CD with a project that uses metapp. Really it uses override which depends on metapp.

System Info:

  • OCaml Version: 4.12.1
  • OS: MacOS 14.0
  • Chip: M2 Max
⬇ retrieved metapp.0.4.4  (cached)
[ERROR] The compilation of metapp.0.4.4 failed at "dune build -p metapp -j 11
        @install".

#=== ERROR while compiling metapp.0.4.4 =======================================#
# context     2.1.5 | macos/arm64 |  | https://opam.ocaml.org#901bbe31
# path        ~/work/imandra-venue-py/_opam/.opam-switch/build/metapp.0.4.4
# command     ~/.opam/opam-init/hooks/sandbox.sh build dune build -p metapp -j 11 @install
# exit-code   1
# env-file    ~/.opam/log/metapp-64548-b7b73a.env
# output-file ~/.opam/log/metapp-64548-b7b73a.out
### output ###
# [...]
# 3 |   (preprocess (pps metapp.ppx))
#                   ^^^^^^^^^^^^^^^^
# (cd _build/default && .ppx/e7c203cacf1cd3bb02e6242329effa31/ppx.exe --cookie 'library-name="metapp"' -o metapp/metapp.pp.ml --impl metapp/metapp.ml -corrected-suffix .ppx-corrected -diff-cmd - -dump-ast)
# findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /Users/benjaminbellick/work/imandra-venue-py/_opam/lib/ocaml, /Users/benjaminbellick/work/imandra-venue-py/_opam/lib/ocaml/compiler-libs
# File "_none_", line 1:
# Warning 58 [no-cmx-file]: no cmx file was found in path for module Metapp_api, and its interface was not compiled with -opaque
# File "_none_", line 1:
# Warning 58 [no-cmx-file]: no cmx file was found in path for module Metapp_preutils, and its interface was not compiled with -opaque
# File "_none_", line 1:
# Warning 58 [no-cmx-file]: no cmx file was found in path for module Metapp_version_info, and its interface was not compiled with -opaque
# ld: warning: -undefined suppress is deprecated
# ld: warning: -undefined suppress is deprecated



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><>  🐫
β”Œβ”€ The following actions failed
β”‚ Ξ» build metapp 0.4.4
└─
╢─ No changes have been performed
# Run eval $(opam env) to update the current shell environment
make: *** [opam-install-deps] Error 31

benbellick avatar Apr 04 '24 20:04 benbellick