EduardoRFS / reason-mobile

MIT License
175 stars 10 forks source link

Building for simulator #4

Closed jfrolich closed 3 years ago

jfrolich commented 3 years ago

Everything works until this command:

esy @ios.simulator.x86_64

With the last number of lines being:

    Warning: we are not using the native binary ocamlc.opt because it is older than the bytecode binary ocamlc; you should silence this warning by either removing ocamlc.opt or rebuilding it (or `touch`-ing it) if you want it used.
    Warning: we are not using the native binary ocamlopt.opt because it is older than the bytecode binary ocamlopt; you should silence this warning by either removing ocamlopt.opt or rebuilding it (or `touch`-ing it) if you want it used.
    Warning: we are not using the native binary lex/ocamllex.opt because it is older than the bytecode binary lex/ocamllex; you should silence this warning by either removing lex/ocamllex.opt or rebuilding it (or `touch`-ing it) if you want it used.
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -absname -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats  raw_spacetime_lib.mli
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/btype.cmx dynlink_compilerlibs/btype.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/cmi_format.cmx dynlink_compilerlibs/cmi_format.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -absname -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats  raw_spacetime_lib.ml
    /Users/Jaap/.esy/3____________________________________________________________________/i/ocaml-4.10.1002-9eedf9f1/bin/..//bin/ocamlrun ../../tools/ocamlmklib -o raw_spacetime_lib -oc raw_spacetime_lib -ocamlc '/Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper' -linkall \
                raw_spacetime_lib.cmo 
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/persistent_env.cmx dynlink_compilerlibs/persistent_env.ml
    Warning: we are not using the native binary ocamlc.opt because it is older than the bytecode binary ocamlc; you should silence this warning by either removing ocamlc.opt or rebuilding it (or `touch`-ing it) if you want it used.
    Warning: we are not using the native binary ocamlopt.opt because it is older than the bytecode binary ocamlopt; you should silence this warning by either removing ocamlopt.opt or rebuilding it (or `touch`-ing it) if you want it used.
    Warning: we are not using the native binary lex/ocamllex.opt because it is older than the bytecode binary lex/ocamllex; you should silence this warning by either removing lex/ocamllex.opt or rebuilding it (or `touch`-ing it) if you want it used.
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -w +33..39 -warn-error A -g -bin-annot -safe-string thread.mli
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -w +33..39 -warn-error A -g -bin-annot -safe-string mutex.mli
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -w +33..39 -warn-error A -g -bin-annot -safe-string event.mli
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -w +33..39 -warn-error A -g -bin-annot -safe-string threadUnix.mli
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -w +33..39 -warn-error A -g -bin-annot -safe-string mutex.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -w +33..39 -warn-error A -g -bin-annot -safe-string condition.mli
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -w +33..39 -warn-error A -g -bin-annot -safe-string thread.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -w +33..39 -warn-error A -g -bin-annot -safe-string threadUnix.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -w +33..39 -warn-error A -g -bin-annot -safe-string condition.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -w +33..39 -warn-error A -g -bin-annot -safe-string event.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/subst.cmx dynlink_compilerlibs/subst.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/predef.cmx dynlink_compilerlibs/predef.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/datarepr.cmx dynlink_compilerlibs/datarepr.ml
    /Users/Jaap/.esy/3____________________________________________________________________/i/ocaml-4.10.1002-9eedf9f1/bin/..//bin/ocamlrun ../../tools/ocamlmklib -o threads -ocamlc '/Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper' -cclib -lunix -linkall \
         -cclib -lpthread thread.cmo mutex.cmo condition.cmo event.cmo threadUnix.cmo
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/env.cmx dynlink_compilerlibs/env.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/lambda.cmx dynlink_compilerlibs/lambda.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/instruct.cmx dynlink_compilerlibs/instruct.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/cmo_format.cmx dynlink_compilerlibs/cmo_format.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/meta.cmx dynlink_compilerlibs/meta.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/symtable.cmx dynlink_compilerlibs/symtable.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte  -I native -pack -o native/dynlink_compilerlibs.cmx dynlink_compilerlibs/config.cmx dynlink_compilerlibs/build_path_prefix_map.cmx dynlink_compilerlibs/misc.cmx dynlink_compilerlibs/identifiable.cmx dynlink_compilerlibs/numbers.cmx dynlink_compilerlibs/arg_helper.cmx dynlink_compilerlibs/clflags.cmx dynlink_compilerlibs/profile.cmx dynlink_compilerlibs/consistbl.cmx dynlink_compilerlibs/terminfo.cmx dynlink_compilerlibs/warnings.cmx dynlink_compilerlibs/load_path.cmx dynlink_compilerlibs/location.cmx dynlink_compilerlibs/longident.cmx dynlink_compilerlibs/docstrings.cmx dynlink_compilerlibs/syntaxerr.cmx dynlink_compilerlibs/ast_helper.cmx dynlink_compilerlibs/ast_mapper.cmx dynlink_compilerlibs/attr_helper.cmx dynlink_compilerlibs/builtin_attributes.cmx dynlink_compilerlibs/ident.cmx dynlink_compilerlibs/path.cmx dynlink_compilerlibs/primitive.cmx dynlink_compilerlibs/type_immediacy.cmx dynlink_compilerlibs/types.cmx dynlink_compilerlibs/btype.cmx dynlink_compilerlibs/subst.cmx dynlink_compilerlibs/predef.cmx dynlink_compilerlibs/datarepr.cmx dynlink_compilerlibs/cmi_format.cmx dynlink_compilerlibs/persistent_env.cmx dynlink_compilerlibs/env.cmx dynlink_compilerlibs/lambda.cmx dynlink_compilerlibs/runtimedef.cmx dynlink_compilerlibs/instruct.cmx dynlink_compilerlibs/opcodes.cmx dynlink_compilerlibs/bytesections.cmx dynlink_compilerlibs/dll.cmx dynlink_compilerlibs/meta.cmx dynlink_compilerlibs/symtable.cmx dynlink_compilerlibs/asttypes.cmx dynlink_compilerlibs/parsetree.cmx dynlink_compilerlibs/outcometree.cmx dynlink_compilerlibs/cmo_format.cmx dynlink_compilerlibs/cmxs_format.cmx
    ld: building for iOS Simulator, but linking in object file built for macOS, file '/tmp/camlDynlink_compilerlibs__28409f.o' for architecture x86_64
    File "/Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/otherlibs/dynlink/native/dynlink_compilerlibs.cmx", line 1:
    Error: Error during partial linking
    make[2]: *** [native/dynlink_compilerlibs.cmx] Error 2
    make[1]: *** [allopt] Error 2
    make: *** [otherlibrariesopt] Error 2
    error: command failed: 'sh' 'make.cross.sh' (exited with 2)
    esy-build-package: exiting with errors above...

  building @_ios.simulator.x86_64/ocaml@path:.mocks/25be08e8/esy.json
esy: exiting due to errors above
jfrolich commented 3 years ago

This is on macOS Big Sur and XCode 12.0 (12A7208)

EduardoRFS commented 3 years ago

Thank you, didn't tried it yet on macOS Big Sur, but the problem related to XCode 12 was solved.

Also because of this a lot of warnings were solved. If the error still persist, feel free to reopen it

jfrolich commented 3 years ago

Hey I still have the same error:

bsname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/load_path.cmo dynlink_compilerlibs/load_path.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/location.cmo dynlink_compilerlibs/location.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/longident.cmo dynlink_compilerlibs/longident.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/docstrings.cmo dynlink_compilerlibs/docstrings.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/syntaxerr.cmo dynlink_compilerlibs/syntaxerr.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/ast_helper.cmo dynlink_compilerlibs/ast_helper.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/ast_mapper.cmo dynlink_compilerlibs/ast_mapper.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/attr_helper.cmo dynlink_compilerlibs/attr_helper.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/builtin_attributes.cmo dynlink_compilerlibs/builtin_attributes.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/clflags.cmx dynlink_compilerlibs/clflags.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/ident.cmo dynlink_compilerlibs/ident.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/path.cmo dynlink_compilerlibs/path.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/primitive.cmo dynlink_compilerlibs/primitive.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/type_immediacy.cmo dynlink_compilerlibs/type_immediacy.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/types.cmo dynlink_compilerlibs/types.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/btype.cmo dynlink_compilerlibs/btype.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/subst.cmo dynlink_compilerlibs/subst.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/predef.cmo dynlink_compilerlibs/predef.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/datarepr.cmo dynlink_compilerlibs/datarepr.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/cmi_format.cmo dynlink_compilerlibs/cmi_format.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/persistent_env.cmo dynlink_compilerlibs/persistent_env.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/env.cmo dynlink_compilerlibs/env.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/lambda.cmo dynlink_compilerlibs/lambda.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/runtimedef.cmo dynlink_compilerlibs/runtimedef.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/instruct.cmo dynlink_compilerlibs/instruct.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/opcodes.cmo dynlink_compilerlibs/opcodes.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/bytesections.cmo dynlink_compilerlibs/bytesections.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/dll.cmo dynlink_compilerlibs/dll.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/meta.cmo dynlink_compilerlibs/meta.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/symtable.cmo dynlink_compilerlibs/symtable.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/asttypes.cmo dynlink_compilerlibs/asttypes.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/parsetree.cmo dynlink_compilerlibs/parsetree.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/outcometree.cmo dynlink_compilerlibs/outcometree.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/cmo_format.cmo dynlink_compilerlibs/cmo_format.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
              -I dynlink_compilerlibs -o dynlink_compilerlibs/cmxs_format.cmo dynlink_compilerlibs/cmxs_format.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte dynlink_types.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte dynlink_platform_intf.ml
    cp dynlink.cmi dynlink.mli byte/
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/location.cmx dynlink_compilerlibs/location.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/ident.cmx dynlink_compilerlibs/ident.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte -pack -o byte/dynlink_compilerlibs.cmo dynlink_compilerlibs/config.cmo dynlink_compilerlibs/build_path_prefix_map.cmo dynlink_compilerlibs/misc.cmo dynlink_compilerlibs/identifiable.cmo dynlink_compilerlibs/numbers.cmo dynlink_compilerlibs/arg_helper.cmo dynlink_compilerlibs/clflags.cmo dynlink_compilerlibs/profile.cmo dynlink_compilerlibs/consistbl.cmo dynlink_compilerlibs/terminfo.cmo dynlink_compilerlibs/warnings.cmo dynlink_compilerlibs/load_path.cmo dynlink_compilerlibs/location.cmo dynlink_compilerlibs/longident.cmo dynlink_compilerlibs/docstrings.cmo dynlink_compilerlibs/syntaxerr.cmo dynlink_compilerlibs/ast_helper.cmo dynlink_compilerlibs/ast_mapper.cmo dynlink_compilerlibs/attr_helper.cmo dynlink_compilerlibs/builtin_attributes.cmo dynlink_compilerlibs/ident.cmo dynlink_compilerlibs/path.cmo dynlink_compilerlibs/primitive.cmo dynlink_compilerlibs/type_immediacy.cmo dynlink_compilerlibs/types.cmo dynlink_compilerlibs/btype.cmo dynlink_compilerlibs/subst.cmo dynlink_compilerlibs/predef.cmo dynlink_compilerlibs/datarepr.cmo dynlink_compilerlibs/cmi_format.cmo dynlink_compilerlibs/persistent_env.cmo dynlink_compilerlibs/env.cmo dynlink_compilerlibs/lambda.cmo dynlink_compilerlibs/runtimedef.cmo dynlink_compilerlibs/instruct.cmo dynlink_compilerlibs/opcodes.cmo dynlink_compilerlibs/bytesections.cmo dynlink_compilerlibs/dll.cmo dynlink_compilerlibs/meta.cmo dynlink_compilerlibs/symtable.cmo dynlink_compilerlibs/asttypes.cmo dynlink_compilerlibs/parsetree.cmo dynlink_compilerlibs/outcometree.cmo dynlink_compilerlibs/cmo_format.cmo dynlink_compilerlibs/cmxs_format.cmo
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/path.cmx dynlink_compilerlibs/path.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte dynlink_common.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte byte/dynlink.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte extract_crc.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/asttypes.cmx dynlink_compilerlibs/asttypes.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/syntaxerr.cmx dynlink_compilerlibs/syntaxerr.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte -ccopt "" -a -I byte -o dynlink.cma byte/dynlink_compilerlibs.cmo dynlink_types.cmo dynlink_platform_intf.cmo dynlink_common.cmo byte/dynlink.cmo
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/parsetree.cmx dynlink_compilerlibs/parsetree.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -o extract_crc dynlink.cma byte/dynlink_compilerlibs.cmo extract_crc.cmo
    Warning: we are not using the native binary ocamlc.opt because it is older than the bytecode binary ocamlc; you should silence this warning by either removing ocamlc.opt or rebuilding it (or `touch`-ing it) if you want it used.
    Warning: we are not using the native binary ocamlopt.opt because it is older than the bytecode binary ocamlopt; you should silence this warning by either removing ocamlopt.opt or rebuilding it (or `touch`-ing it) if you want it used.
    Warning: we are not using the native binary lex/ocamllex.opt because it is older than the bytecode binary lex/ocamllex; you should silence this warning by either removing lex/ocamllex.opt or rebuilding it (or `touch`-ing it) if you want it used.
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -absname -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats -nolabels unix.mli
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/docstrings.cmx dynlink_compilerlibs/docstrings.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/attr_helper.cmx dynlink_compilerlibs/attr_helper.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/builtin_attributes.cmx dynlink_compilerlibs/builtin_attributes.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -absname -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats -nolabels unix.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -absname -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats -nolabels unixLabels.mli
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -absname -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats -nolabels unixLabels.ml
    /Users/Jaap/.esy/3____________________________________________________________________/i/ocaml-4.10.1002-9eedf9f1/bin/..//bin/ocamlrun ../../tools/ocamlmklib -o unix -oc unix -ocamlc '/Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper' -linkall \
                unix.cmo unixLabels.cmo 
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/ast_helper.cmx dynlink_compilerlibs/ast_helper.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/type_immediacy.cmx dynlink_compilerlibs/type_immediacy.ml
    Warning: we are not using the native binary ocamlc.opt because it is older than the bytecode binary ocamlc; you should silence this warning by either removing ocamlc.opt or rebuilding it (or `touch`-ing it) if you want it used.
    Warning: we are not using the native binary ocamlopt.opt because it is older than the bytecode binary ocamlopt; you should silence this warning by either removing ocamlopt.opt or rebuilding it (or `touch`-ing it) if you want it used.
    Warning: we are not using the native binary lex/ocamllex.opt because it is older than the bytecode binary lex/ocamllex; you should silence this warning by either removing lex/ocamllex.opt or rebuilding it (or `touch`-ing it) if you want it used.
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -absname -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats  bigarray.mli
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -absname -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats  bigarray.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/outcometree.cmx dynlink_compilerlibs/outcometree.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -o bigarray.cma -a -linkall bigarray.cmo 
    Warning: we are not using the native binary ocamlc.opt because it is older than the bytecode binary ocamlc; you should silence this warning by either removing ocamlc.opt or rebuilding it (or `touch`-ing it) if you want it used.
    Warning: we are not using the native binary ocamlopt.opt because it is older than the bytecode binary ocamlopt; you should silence this warning by either removing ocamlopt.opt or rebuilding it (or `touch`-ing it) if you want it used.
    Warning: we are not using the native binary lex/ocamllex.opt because it is older than the bytecode binary lex/ocamllex; you should silence this warning by either removing lex/ocamllex.opt or rebuilding it (or `touch`-ing it) if you want it used.
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -absname -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats  str.mli
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -absname -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats  str.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/primitive.cmx dynlink_compilerlibs/primitive.ml
    /Users/Jaap/.esy/3____________________________________________________________________/i/ocaml-4.10.1002-9eedf9f1/bin/..//bin/ocamlrun ../../tools/ocamlmklib -o str -oc camlstr -ocamlc '/Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper' -linkall \
                str.cmo 
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/ast_mapper.cmx dynlink_compilerlibs/ast_mapper.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/types.cmx dynlink_compilerlibs/types.ml
    Warning: we are not using the native binary ocamlc.opt because it is older than the bytecode binary ocamlc; you should silence this warning by either removing ocamlc.opt or rebuilding it (or `touch`-ing it) if you want it used.
    Warning: we are not using the native binary ocamlopt.opt because it is older than the bytecode binary ocamlopt; you should silence this warning by either removing ocamlopt.opt or rebuilding it (or `touch`-ing it) if you want it used.
    Warning: we are not using the native binary lex/ocamllex.opt because it is older than the bytecode binary lex/ocamllex; you should silence this warning by either removing lex/ocamllex.opt or rebuilding it (or `touch`-ing it) if you want it used.
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -absname -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats  raw_spacetime_lib.mli
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -absname -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats  raw_spacetime_lib.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/btype.cmx dynlink_compilerlibs/btype.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/cmi_format.cmx dynlink_compilerlibs/cmi_format.ml
    /Users/Jaap/.esy/3____________________________________________________________________/i/ocaml-4.10.1002-9eedf9f1/bin/..//bin/ocamlrun ../../tools/ocamlmklib -o raw_spacetime_lib -oc raw_spacetime_lib -ocamlc '/Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper' -linkall \
                raw_spacetime_lib.cmo 
    Warning: we are not using the native binary ocamlc.opt because it is older than the bytecode binary ocamlc; you should silence this warning by either removing ocamlc.opt or rebuilding it (or `touch`-ing it) if you want it used.
    Warning: we are not using the native binary ocamlopt.opt because it is older than the bytecode binary ocamlopt; you should silence this warning by either removing ocamlopt.opt or rebuilding it (or `touch`-ing it) if you want it used.
    Warning: we are not using the native binary lex/ocamllex.opt because it is older than the bytecode binary lex/ocamllex; you should silence this warning by either removing lex/ocamllex.opt or rebuilding it (or `touch`-ing it) if you want it used.
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -w +33..39 -warn-error A -g -bin-annot -safe-string thread.mli
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -w +33..39 -warn-error A -g -bin-annot -safe-string mutex.mli
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -w +33..39 -warn-error A -g -bin-annot -safe-string event.mli
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -w +33..39 -warn-error A -g -bin-annot -safe-string threadUnix.mli
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -w +33..39 -warn-error A -g -bin-annot -safe-string mutex.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -w +33..39 -warn-error A -g -bin-annot -safe-string condition.mli
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -w +33..39 -warn-error A -g -bin-annot -safe-string thread.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -w +33..39 -warn-error A -g -bin-annot -safe-string threadUnix.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/persistent_env.cmx dynlink_compilerlibs/persistent_env.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -w +33..39 -warn-error A -g -bin-annot -safe-string condition.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper -c -w +33..39 -warn-error A -g -bin-annot -safe-string event.ml
    /Users/Jaap/.esy/3____________________________________________________________________/i/ocaml-4.10.1002-9eedf9f1/bin/..//bin/ocamlrun ../../tools/ocamlmklib -o threads -ocamlc '/Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlc.wrapper' -cclib -lunix -linkall \
         -cclib -lpthread thread.cmo mutex.cmo condition.cmo event.cmo threadUnix.cmo
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/subst.cmx dynlink_compilerlibs/subst.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/predef.cmx dynlink_compilerlibs/predef.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/datarepr.cmx dynlink_compilerlibs/datarepr.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/env.cmx dynlink_compilerlibs/env.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/lambda.cmx dynlink_compilerlibs/lambda.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/instruct.cmx dynlink_compilerlibs/instruct.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/cmo_format.cmx dynlink_compilerlibs/cmo_format.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/meta.cmx dynlink_compilerlibs/meta.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -c -for-pack Dynlink_compilerlibs -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte \
               -I native -I dynlink_compilerlibs -o dynlink_compilerlibs/symtable.cmx dynlink_compilerlibs/symtable.ml
    /Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/ocamlopt.wrapper -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 -warn-error A -bin-annot -safe-string -strict-formats -I byte  -I native -pack -o native/dynlink_compilerlibs.cmx dynlink_compilerlibs/config.cmx dynlink_compilerlibs/build_path_prefix_map.cmx dynlink_compilerlibs/misc.cmx dynlink_compilerlibs/identifiable.cmx dynlink_compilerlibs/numbers.cmx dynlink_compilerlibs/arg_helper.cmx dynlink_compilerlibs/clflags.cmx dynlink_compilerlibs/profile.cmx dynlink_compilerlibs/consistbl.cmx dynlink_compilerlibs/terminfo.cmx dynlink_compilerlibs/warnings.cmx dynlink_compilerlibs/load_path.cmx dynlink_compilerlibs/location.cmx dynlink_compilerlibs/longident.cmx dynlink_compilerlibs/docstrings.cmx dynlink_compilerlibs/syntaxerr.cmx dynlink_compilerlibs/ast_helper.cmx dynlink_compilerlibs/ast_mapper.cmx dynlink_compilerlibs/attr_helper.cmx dynlink_compilerlibs/builtin_attributes.cmx dynlink_compilerlibs/ident.cmx dynlink_compilerlibs/path.cmx dynlink_compilerlibs/primitive.cmx dynlink_compilerlibs/type_immediacy.cmx dynlink_compilerlibs/types.cmx dynlink_compilerlibs/btype.cmx dynlink_compilerlibs/subst.cmx dynlink_compilerlibs/predef.cmx dynlink_compilerlibs/datarepr.cmx dynlink_compilerlibs/cmi_format.cmx dynlink_compilerlibs/persistent_env.cmx dynlink_compilerlibs/env.cmx dynlink_compilerlibs/lambda.cmx dynlink_compilerlibs/runtimedef.cmx dynlink_compilerlibs/instruct.cmx dynlink_compilerlibs/opcodes.cmx dynlink_compilerlibs/bytesections.cmx dynlink_compilerlibs/dll.cmx dynlink_compilerlibs/meta.cmx dynlink_compilerlibs/symtable.cmx dynlink_compilerlibs/asttypes.cmx dynlink_compilerlibs/parsetree.cmx dynlink_compilerlibs/outcometree.cmx dynlink_compilerlibs/cmo_format.cmx dynlink_compilerlibs/cmxs_format.cmx
    ld: building for iOS Simulator, but linking in object file built for macOS, file '/tmp/camlDynlink_compilerlibs__d85ff3.o' for architecture x86_64
    File "/Users/Jaap/.esy/3/b/__ios.simulator.x86__64__s__ocaml-0fe642f8/otherlibs/dynlink/native/dynlink_compilerlibs.cmx", line 1:
    Error: Error during partial linking
    make[2]: *** [native/dynlink_compilerlibs.cmx] Error 2
    make[1]: *** [allopt] Error 2
    make: *** [otherlibrariesopt] Error 2
    error: command failed: 'sh' 'make.cross.sh' (exited with 2)
    esy-build-package: exiting with errors above...

  building @_ios.simulator.x86_64/ocaml@path:.mocks/25be08e8/esy.json
esy: exiting due to errors above

For some reason there are some files linked that are not compiled for the simulator

jfrolich commented 3 years ago

Thanks for the troubleshooting. The generate dependency didn't update correctly, and now it works!