Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure #8145

Closed
fangyi-zhou opened this issue Mar 6, 2018 · 3 comments
Closed

Build failure #8145

fangyi-zhou opened this issue Mar 6, 2018 · 3 comments

Comments

@fangyi-zhou
Copy link
Contributor

HHVM Version

master 6b4e664

Operating System and Version

macOS High Sierra 10.13.3 (17D102)
ocamlc 4.06.1
clang Apple LLVM version 9.0.0 (clang-900.0.39.2)

Error message

File "ppx/ppx_gen_hhi.ml", line 29, characters 29-30:
Error: This expression has type bytes but an expression was expected of type
         string
make[3]: *** [_build/ppx/ppx_gen_hhi] Error 2
make[2]: *** [hphp/hack/CMakeFiles/hack] Error 2
make[1]: *** [hphp/hack/CMakeFiles/hack.dir/all] Error 2
@fangyi-zhou
Copy link
Contributor Author

facebook/flow#5270
This may be related

@fredemmott
Copy link
Contributor

We only support 4.05 - and I just checked this works fine with current master. Try brew unlink ocaml; brew unlink ocamlbuild and try again, and HHVM's build process will build a suitable ocamlc.

Also, if you're not already, follow https://docs.hhvm.com/hhvm/installation/building-from-source#building-hhvm__macos

@fangyi-zhou
Copy link
Contributor Author

Thanks for the fast reply, it would be great if you can specify in the documentations which ocaml versions you're supporting

fredemmott added a commit to hhvm/user-documentation that referenced this issue Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants