==> Installing hhvm from hhvm/hhvm
==> Downloading http://dl.hhvm.com/source/hhvm-3.15.2.tar.bz2
Already downloaded: /Users/crodas/Library/Caches/Homebrew/hhvm-3.15.2.tar.bz2
==> cmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/hhvm/3.15.2_1 -DDEFAULT_CONFIG_DIR=/usr/local/etc/hhvm -DCMAKE_CXX_COMPILER=/usr/local/opt/llvm/bin/clang++ -DCM
==> make
Last 15 lines from /Users/crodas/Library/Logs/Homebrew/hhvm/02.make:
[ 54%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/base/mem-file.cpp.o
[ 54%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/base/memory-manager.cpp.o
[ 54%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/base/mixed-array.cpp.o
[ 54%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/base/object-data.cpp.o
[ 54%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/base/output-file.cpp.o
In file included from /tmp/hhvm-20161109-67005-cwgjeg/hhvm-3.15.2/hphp/runtime/base/object-data.cpp:32:
In file included from /tmp/hhvm-20161109-67005-cwgjeg/hhvm-3.15.2/hphp/runtime/ext/simplexml/ext_simplexml.h:22:
/tmp/hhvm-20161109-67005-cwgjeg/hhvm-3.15.2/hphp/runtime/ext/libxml/ext_libxml.h:23:10: fatal error: 'libxml/parser.h' file not found
#include <libxml/parser.h>
^
1 error generated.
make[2]: *** [hphp/runtime/CMakeFiles/hphp_runtime_static.dir/base/object-data.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [hphp/runtime/CMakeFiles/hphp_runtime_static.dir/all] Error 2
make: *** [all] Error 2
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/hhvm/homebrew-hhvm/issues
These open issues may also help:
brew install failure for hhvm 3.15.1, build target folly https://github.com/hhvm/homebrew-hhvm/issues/58
Context and Logs
Output of clang -v: