ocaml-omake / omake

The new home of OMake - docs, downloads, mailing list etc. see:
http://projects.camlcity.org/projects/omake.html
GNU General Public License v2.0
67 stars 25 forks source link

Build braks with ocaml-4.05.0 and ocaml-4.12.0 #140

Closed yurivict closed 3 years ago

yurivict commented 3 years ago

Error with ocaml-4.05.0:

Error: Unbound constructor CommandSection
*** Error in directory /wrkdirs/usr/ports/devel/omake/work/omake-omake-0.10.3-54-g08b2a83/boot: Command failed: ocamlc -safe-string -strict-sequence -g -w -40  -c omake_env.ml
Command exited with error: ocaml '/wrkdirs/usr/ports/devel/omake/work/omake-omake-0.10.3-54-g08b2a83/make.ml' '-C' 'boot' 'omake' 'PREFERRED=.opt' 'OCAMLSUFFIX=.opt' 'OCAML=ocaml'
*** Error code 1

Error with ocaml-4.12.0:

File "lm_printf.ml", line 49, characters 34-35:
49 |          let i = Unix.read pid_fd s 0 10 in
                                       ^
Error: This expression has type string but an expression was expected of type
         bytes
*** Error code 2

omake-0.10.3-54-g08b2a83

OS: FreeBSD 13