Skip to content

Instantly share code, notes, and snippets.

@jubos
Created November 6, 2017 17:28
Show Gist options
  • Save jubos/96cea61d4d45e0ea74d95404b738fce9 to your computer and use it in GitHub Desktop.
Save jubos/96cea61d4d45e0ea74d95404b738fce9 to your computer and use it in GitHub Desktop.
opam install lambda-term
The following actions will be performed:
∗ install lambda-term 1.12.0
=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[lambda-term] Archive in cache
=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[ERROR] The compilation of lambda-term failed at "jbuilder build -p lambda-term -j 4".
#=== ERROR while installing lambda-term.1.12.0 ================================#
# opam-version 1.2.2
# os linux
# command jbuilder build -p lambda-term -j 4
# path /home/curtis/.opam/4.02.3/build/lambda-term.1.12.0
# compiler 4.02.3
# exit-code 1
# env-file /home/curtis/.opam/4.02.3/build/lambda-term.1.12.0/lambda-term-14824-1872ec.env
# stdout-file /home/curtis/.opam/4.02.3/build/lambda-term.1.12.0/lambda-term-14824-1872ec.out
# stderr-file /home/curtis/.opam/4.02.3/build/lambda-term.1.12.0/lambda-term-14824-1872ec.err
### stderr ###
# Warning 3: deprecated: Lwt_unix.execute_job
# [...]
# ocamlc src/lTerm.{cmi,cmti}
# ocamlc src/lTerm_draw.{cmo,cmt}
# ocamlopt src/lTerm_resource_lexer.{cmx,o}
# ocamlmklib src/dlllambda_term_stubs.so,src/liblambda_term_stubs.a
# ocamlc src/lTerm_unix.{cmo,cmt} (exit 2)
# (cd _build/default && /home/curtis/.opam/4.02.3/bin/ocamlc.opt -w -40 -safe-string -g -bin-annot -I /home/curtis/.opam/4.02.3/lib/bytes -I /home/curtis/.opam/4.02.3/lib/camomile -I /home/curtis/.opam/4.02.3/lib/lwt -I /home/curtis/.opam/4.
02.3/lib/lwt_react -I /home/curtis/.opam/4.02.3/lib/ocaml -I /home/curtis/.opam/4.02.3/lib/react -I /home/curtis/.opam/4.02.3/lib/result -I /home/curtis/.opam/4.02.3/lib/zed -no-alias-deps -I src -o src/lTerm_unix.cmo -c -impl src/lTerm_unix.ml)
# File "src/lTerm_unix.ml", line 342, characters 32-51:
# Error: This expression has type bytes but an expression was expected of type
# string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment