ocaml / opam-repository

Main public package repository for opam, the source package manager of OCaml.
https://opam.ocaml.org
Creative Commons Zero v1.0 Universal
518 stars 1.13k forks source link

lambda-term.1.12.0 doesn't compile on 4.02.3 #10635

Closed jjd27 closed 4 years ago

jjd27 commented 6 years ago
# opam-version 1.2.2
# os           linux
# command      jbuilder build -p lambda-term -j 4
# path         /home/jonathandav/.opam/4.02.3/build/lambda-term.1.12.0
# compiler     4.02.3
# exit-code    1
# env-file     /home/jonathandav/.opam/4.02.3/build/lambda-term.1.12.0/lambda-term-23227-c266f8.env
# stdout-file  /home/jonathandav/.opam/4.02.3/build/lambda-term.1.12.0/lambda-term-23227-c266f8.out
# stderr-file  /home/jonathandav/.opam/4.02.3/build/lambda-term.1.12.0/lambda-term-23227-c266f8.err
### stderr ###
# Warning 3: deprecated: Lwt_unix.execute_job
# [...]
#     ocamlopt src/lTerm_resource_lexer.{cmx,o}
#     ocamlopt src/lTerm_mouse.{cmx,o}
#       ocamlc src/lTerm.{cmi,cmti}
#       ocamlc src/lTerm_draw.{cmo,cmt}
#       ocamlc src/lTerm_unix.{cmo,cmt} (exit 2)
# (cd _build/default && /home/jonathandav/.opam/4.02.3/bin/ocamlc.opt -w -40 -safe-string -g -bin-annot -I /home/jonathandav/.opam/4.02.3/lib/bytes -I /home/jonathandav/.opam/4.02.3/lib/camomile -I /home/jonathandav/.opam/4.02.3/lib/lwt -I /home/jonathandav/.opam/4.02.3/lib/lwt_react -I /home/jonathandav/.opam/4.02.3/lib/ocaml -I /home/jonathandav/.opam/4.02.3/lib/react -I /home/jonathandav/.opam/4.02.3/lib/result -I /home/jonathandav/.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
dbuenzli commented 6 years ago

/cc @diml the maintainer of the lambda-term package.

yuwen-math commented 6 years ago

I got the same error; I ended up doing opam install lambda-term.1.11, then opam install utop, and that seem to have worked.

bratan05 commented 6 years ago

Same issue there. Solved by what yuyube23 suggested.

ncihnegn commented 6 years ago

This has been fixed in 1.13 release.

github-actions[bot] commented 4 years ago

This issue is stale because it has been open 90 days with no activity. Remove the stale label, or comment, or this will be closed in 15 days.