bsansouci / bsb-native

Build system for OCaml/Reason
Other
245 stars 10 forks source link

No mlast when building to native #46

Closed Schmavery closed 4 years ago

Schmavery commented 6 years ago
[1/1] Building lib.cmxa
FAILED: lib.cmxa
/Users/avery/git/translator/node_modules/bs-platform/lib/bsb_helper.exe  -add-ocaml-dependency bigarray -add-ocaml-dependency dynlink -add-ocaml-dependency nums -add-ocaml-dependency str -add-ocaml-dependency threads -add-ocaml-dependency unix -w -30-40+6+7+27+32..39+44+45+101  -bs-super-errors    -I /Users/avery/git/translator/node_modules/bs-platform/vendor/ocaml/lib/ocaml -I opal-0.1.1  opal-0.1.1/opal.cmx -pack-native-library
Fatal error: exception Sys_error("opal.mlast: No such file or directory")
ninja: build stopped: subcommand failed.

This might be my fault but I'm not sure what's going on. Testing out my package here, get this error when building to native but works fine in JS. Will play around some more but wanted to make note of the error.

bsansouci commented 6 years ago

I can't repro :/ The bsconfig doesn't contain anything for native, so maybe that caused some weird issue?

Schmavery commented 4 years ago

old