Giter Site home page Giter Site logo

homebrew-hhvm's People

Contributors

aorenste avatar atry avatar cpease2010 avatar denji avatar elgenie avatar facebook-github-bot avatar fredemmott avatar hhvm-homebrew-bot avatar jjergus avatar jwatzman avatar mofarrell avatar orvid avatar oyamauchi avatar paulbiss avatar raeesbhatti avatar thanedar avatar viatsko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebrew-hhvm's Issues

brew install hhvm fails

Description

fails during installation

Context and Logs

$ make

[[deprecated("Please use one of the cast family of functions instead.")]]
^
In file included from /tmp/hhvm-20160905-69751-bvhwal/hhvm-3.14.5/hphp/runtime/base/runtime-option.cpp:46:
In file included from /tmp/hhvm-20160905-69751-bvhwal/hhvm-3.14.5/hphp/runtime/server/satellite-server.h:21:
In file included from /tmp/hhvm-20160905-69751-bvhwal/hhvm-3.14.5/hphp/runtime/base/ini-setting.h:20:
In file included from /tmp/hhvm-20160905-69751-bvhwal/hhvm-3.14.5/hphp/runtime/base/type-variant.h:26:
/tmp/hhvm-20160905-69751-bvhwal/hhvm-3.14.5/hphp/runtime/base/type-resource.h:132:5: warning: use of the 'deprecated' attribute is a C++14 extension [-Wc++14-extensions]
[[deprecated("Please use one of the cast family of functions instead.")]]
^
2 warnings generated.
4 warnings generated.
4 warnings generated.
4 warnings generated.
make[1]: *** [hphp/runtime/CMakeFiles/hphp_runtime_static.dir/all] Error 2
make: *** [all] Error 2

Parameter Value
OS X Version: EL Capitan - 10.11.6 (15G31)
Homebrew Version: Homebrew 0.9.9 (git revision efd29e; last commit 2016-09-05) Homebrew/homebrew-core (git revision f248; last commit 2016-09-04)
Xcode Version: Xcode 7.3.1 Build version 7D1014

Output of clang -v:
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Build logs:

Warning: use of the 'deprecated' attribute is a C++14 extension [-Wc++14-extensions]

Description

HHVM does not build:

$ brew install hhvm
==> Installing hhvm from hhvm/hhvm
==> Downloading http://dl.hhvm.com/source/hhvm-3.14.5.tar.bz2
Already downloaded: /Users/kix/Library/Caches/Homebrew/hhvm-3.14.5.tar.bz2
==> cmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/hhvm/3.14.5 -DDEFAULT_CONFIG_DIR=/usr/local/etc/hhvm -DCMAKE_CXX_COMPILER=/usr/local/opt/llvm/bin/clang++ -DCMAKE_C_COMPILER=/usr/local/opt/llvm/bin/clang -DCMAKE_ASM_COMPILER=/usr/local/
==> make
Last 15 lines from /Users/kix/Library/Logs/Homebrew/hhvm/02.make:
In file included from /tmp/hhvm-20160831-41967-192o7s3/hhvm-3.14.5/hphp/runtime/base/type-variant.h:25:
/tmp/hhvm-20160831-41967-192o7s3/hhvm-3.14.5/hphp/runtime/base/type-object.h:139:5: warning: use of the 'deprecated' attribute is a C++14 extension [-Wc++14-extensions]
  [[deprecated("Please use one of the cast family of functions instead.")]]
    ^
In file included from /tmp/hhvm-20160831-41967-192o7s3/hhvm-3.14.5/hphp/runtime/base/repo-auth-type.cpp:22:
In file included from /tmp/hhvm-20160831-41967-192o7s3/hhvm-3.14.5/hphp/runtime/base/array-data-defs.h:25:
In file included from /tmp/hhvm-20160831-41967-192o7s3/hhvm-3.14.5/hphp/runtime/base/type-variant.h:26:
/tmp/hhvm-20160831-41967-192o7s3/hhvm-3.14.5/hphp/runtime/base/type-resource.h:132:5: warning: use of the 'deprecated' attribute is a C++14 extension [-Wc++14-extensions]
  [[deprecated("Please use one of the cast family of functions instead.")]]
    ^
2 warnings generated.
4 warnings generated.
4 warnings generated.
make[1]: *** [hphp/runtime/CMakeFiles/hphp_runtime_static.dir/all] Error 2
make: *** [all] Error 2

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
  https://github.com/hhvm/homebrew-hhvm/issues

These open issues may also help:
hhvm make fail due to missing mysql_get_ssl_session_reused / mysql_get_file_descriptor https://github.com/hhvm/homebrew-hhvm/issues/29

Context and Logs

Parameter Value
OS X Version: 10.11.6 (15G31)
Homebrew Version: Homebrew 0.9.9 (git revision 1b690; last commit 2016-08-30), Homebrew/homebrew-core (git revision 85505; last commit 2016-08-31)
Xcode Version: 7.3.1 (7D1014)

Output of clang -v:

Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Build logs: https://gist.github.com/b44b0b591c7f56291498d9ff3682e4b7

hhvm make fail due to missing mysql_get_ssl_session_reused / mysql_get_file_descriptor

verbose logs at https://gist.github.com/anonymous/e5d605efda542460f9084049cf45f02a

➜  brew install hhvm
==> Installing hhvm from hhvm/hhvm
==> Downloading http://dl.hhvm.com/source/hhvm-3.12.1.tar.bz2
Already downloaded: /opt/boxen/cache/homebrew/hhvm-3.12.1.tar.bz2
==> cmake -DCMAKE_INSTALL_PREFIX=/opt/boxen/homebrew/Cellar/hhvm/3.12.1 -DDEFAULT_CONFIG_DIR=/opt/boxen/homebrew/etc/hhvm -DCMAKE_CXX_COMPILER=/opt/boxen/homebrew/opt/llvm/bin/clang++ -DCMAKE_C_COMPILER=/opt/box
==> make
Last 15 lines from /Users/xuanjili/Library/Logs/Homebrew/hhvm/02.make:
1 warning generated.
[ 28%] Building CXX object third-party/wangle/CMakeFiles/wangle.dir/src/wangle/concurrent/IOThreadPoolExecutor.cpp.o
[ 28%] Building CXX object third-party/wangle/CMakeFiles/wangle.dir/src/wangle/concurrent/ThreadPoolExecutor.cpp.o
1 warning generated.
[ 28%] Building CXX object third-party/wangle/CMakeFiles/wangle.dir/src/wangle/deprecated/rx/Dummy.cpp.o
[ 29%] Building CXX object third-party/wangle/CMakeFiles/wangle.dir/src/wangle/ssl/PasswordInFile.cpp.o
[ 29%] Building CXX object third-party/wangle/CMakeFiles/wangle.dir/src/wangle/ssl/SSLContextManager.cpp.o
[ 29%] Building CXX object third-party/wangle/CMakeFiles/wangle.dir/src/wangle/ssl/SSLSessionCacheManager.cpp.o
[ 29%] Building CXX object third-party/wangle/CMakeFiles/wangle.dir/src/wangle/ssl/SSLUtil.cpp.o
[ 29%] Building CXX object third-party/wangle/CMakeFiles/wangle.dir/src/wangle/ssl/TLSTicketKeyManager.cpp.o
[ 29%] Linking CXX static library libwangle.a
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libwangle.a(Dummy.cpp.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libwangle.a(Dummy.cpp.o) has no symbols
[ 29%] Built target wangle
make: *** [all] Error 2

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/hhvm/homebrew-hhvm/issues

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:353:in `open_http': 422 Unprocessable Entity (GitHub::Error)
Validation Failed
    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:709:in `buffer_open'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:210:in `block in open_loop'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:208:in `catch'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:208:in `open_loop'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:149:in `open_uri'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:689:in `open'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:30:in `open'
    from /opt/boxen/homebrew/Library/Homebrew/utils.rb:555:in `open'
    from /opt/boxen/homebrew/Library/Homebrew/utils.rb:586:in `issues_matching'
    from /opt/boxen/homebrew/Library/Homebrew/utils.rb:618:in `issues_for_formula'
    from /opt/boxen/homebrew/Library/Homebrew/exceptions.rb:222:in `fetch_issues'
    from /opt/boxen/homebrew/Library/Homebrew/exceptions.rb:218:in `issues'
    from /opt/boxen/homebrew/Library/Homebrew/exceptions.rb:263:in `dump'
    from /opt/boxen/homebrew/Library/brew.rb:132:in `rescue in <main>'
    from /opt/boxen/homebrew/Library/brew.rb:28:in `<main>'

HHVM don't create config files

I yesterday installed hhvm with brew "brew install hhvm" but dont have .plist, php.ini and hhvm.ini files :(
you are planning to add these files soon?

Fails to build on 10.10.5, maybe march=native issue?

==> cmake -DENABLE_MCROUTER=OFF -DENABLE_EXTENSION_MCROUTER=OFF -DMYSQL_UNIX_SOCK_ADDR=/tmp/mysql.sock -DCMAKE_C_FLAGS=-I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -DCMAKE_CXX_FLAGS=-I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -DCMAKE
==> make

********************
make[3]: *** [third-party/folly/CMakeFiles/folly.dir/src/folly/Checksum.cpp.o] Error 70
make[2]: *** [third-party/folly/CMakeFiles/folly.dir/all] Error 2
make[1]: *** [all] Error 2

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/hhvm/homebrew-hhvm/issues

make: *** [/usr/local/bin/hhvm] Error 1

onig: error: unknown type name 'UChar'

==> Installing hhvm from hhvm/hhvm
==> Downloading http://dl.hhvm.com/source/hhvm-3.14.5.tar.bz2
Already downloaded: /Users/ccarnell/Library/Caches/Homebrew/hhvm-3.14.5.tar.bz2
==> cmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/hhvm/3.14.5 -DDEFAULT_CONFIG_DIR=/usr/local/etc/hhvm -DCMAKE_CXX_COMPILER=/usr/local/opt/llvm/bin/clang++ -DCMAKE_C_COMPILER=/usr/local/opt/llvm/bin/clang -DCMAKE_ASM_COMPILER=/usr/local/opt/llvm/bin/clang -DENABLE_MCROUTER=OFF -DENABLE_EXTENSION_MCROUTER=OFF -DEN
==> make
Last 15 lines from /Users/ccarnell/Library/Logs/Homebrew/hhvm/02.make:
In file included from /tmp/hhvm-20160830-15373-srozyo/hhvm-3.14.5/hphp/runtime/base/memory-manager.h:28:
In file included from /tmp/hhvm-20160830-15373-srozyo/hhvm-3.14.5/hphp/util/alloc.h:27:
In file included from /tmp/hhvm-20160830-15373-srozyo/hhvm-3.14.5/hphp/util/exception.h:24:
In file included from /tmp/hhvm-20160830-15373-srozyo/hhvm-3.14.5/hphp/util/stack-trace.h:26:
In file included from /tmp/hhvm-20160830-15373-srozyo/hhvm-3.14.5/hphp/util/compatibility.h:24:
In file included from /tmp/hhvm-20160830-15373-srozyo/hhvm-3.14.5/third-party/folly/folly/Singleton.h:112:
In file included from /tmp/hhvm-20160830-15373-srozyo/hhvm-3.14.5/third-party/folly/folly/experimental/ReadMostlySharedPtr.h:21:
In file included from /tmp/hhvm-20160830-15373-srozyo/hhvm-3.14.5/third-party/folly/folly/experimental/TLRefCount.h:18:
/tmp/hhvm-20160830-15373-srozyo/hhvm-3.14.5/third-party/folly/folly/ThreadLocal.h:205:21: warning: initialized lambda captures are a C++14 extension [-Wc++14-extensions]
    auto deleter = [delegate = source.get_deleter()](
                    ^
2 warnings generated.
4 warnings generated.
make[1]: *** [hphp/runtime/CMakeFiles/hphp_runtime_static.dir/all] Error 2
make: *** [all] Error 2

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
  https://github.com/hhvm/homebrew-hhvm/issues

These open issues may also help:
hhvm make fail due to missing mysql_get_ssl_session_reused / mysql_get_file_descriptor https://github.com/hhvm/homebrew-hhvm/issues/29

HHVM giving segfault on Mac OS X

Hey gals and guys,

Everytime I call hhvm from the terminal I get a segmentation fault. Here's an example:

 ✘ evo@Evo  ~/tmp$ hhvm -a
[1]    14493 segmentation fault  hhvm -a

This happens on Mac OS X 10.11. Here is my brew info hhvm:

evo@Evo  ~/tmp$ brew info hhvm
hhvm/hhvm/hhvm: stable 3.13.1, HEAD
JIT compiler and runtime for the PHP and Hack languages
http://hhvm.com/
/usr/local/Cellar/hhvm/3.9.1_2 (2,839 files, 79M) *
  Built from source

hhvm --version also leads to a segfault:

 evo@Evo ~/tmux/tmux $ hhvm --version
[1]    17042 segmentation fault  hhvm --version

Any ideas ?

Daemon mode works, but hhvm crashes

I did a brew update, deleted the Homebrew cache and HHVM compiled without problems.
I then installed Nginx through brew and set it up with working configs from one of our production servers.

I tried to call a simple php file which only does an echo 'test'; but HHVM crashes right away.

Process:               hhvm [18890]
Path:                  /usr/local/Cellar/hhvm/3.9.1_1/bin/hhvm
Identifier:            hhvm
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           iTerm [1066]
User ID:               501

Date/Time:             2015-09-03 10:33:31.880 +0200
OS Version:            Mac OS X 10.10.5 (14F27)
Report Version:        11
Anonymous UUID:        67FEBE9C-0B61-5294-CB40-2FC3FDA1C3B9

Sleep/Wake UUID:       DDE908FA-1520-4681-928B-43B0939584BE

Time Awake Since Boot: 7800 seconds
Time Since Wake:       5300 seconds

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGSEGV)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Application Specific Information:
crashed on child side of fork pre-exec

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fff83e7b136 __psynch_cvwait + 10
1   hhvm                            0x000000000824f813 HPHP::HttpServer::runOrExitProcess() + 627
2   hhvm                            0x0000000008121c4d HPHP::execute_program_impl(int, char**) + 17165
3   hhvm                            0x000000000811d79f HPHP::execute_program(int, char**) + 31
4   hhvm                            0x0000000007fdea52 main + 466
5   libdyld.dylib                   0x00007fff8af0e5c9 start + 1

Thread 1:
0   libsystem_kernel.dylib          0x00007fff83e7c21a kevent + 10
1   libevent-2.0.5.dylib            0x000000000cacb3e6 event_base_loop + 932
2   hhvm                            0x000000000917286d folly::EventBase::loopBody(int) + 637
3   hhvm                            0x0000000009173342 folly::EventBase::loopForever() + 66
4   hhvm                            0x0000000008f42575 proxygen::WorkerThread::runLoop() + 197
5   hhvm                            0x0000000008f42a9f void* std::__1::__thread_proxy<std::__1::tuple<proxygen::WorkerThread::start()::$_0> >(void*) + 111
6   libsystem_pthread.dylib         0x00007fff8f7a905a _pthread_body + 131
7   libsystem_pthread.dylib         0x00007fff8f7a8fd7 _pthread_start + 176
8   libsystem_pthread.dylib         0x00007fff8f7a63ed thread_start + 13

Thread 2:
0   libdispatch.dylib               0x00007fff900f65d2 _dispatch_queue_wakeup_with_qos_slow + 525
1   libdispatch.dylib               0x00007fff900e7a8e _dispatch_resume_slow + 14
2   hhvm                            0x000000000813a037 HPHP::RequestTimer::setTimeout(int) + 295
3   hhvm                            0x000000000824c0f0 HPHP::HttpRequestHandler::handleRequest(HPHP::Transport*) + 2992
4   hhvm                            0x0000000008297137 HPHP::ServerWorker<std::__1::shared_ptr<HPHP::FastCGIJob>, HPHP::FastCGITransportTraits>::doJobImpl(std::__1::shared_ptr<HPHP::FastCGIJob>, bool) + 663
5   hhvm                            0x0000000008296ae8 HPHP::ServerWorker<std::__1::shared_ptr<HPHP::FastCGIJob>, HPHP::FastCGITransportTraits>::doJob(std::__1::shared_ptr<HPHP::FastCGIJob>) + 56
6   hhvm                            0x00000000082960fe HPHP::JobQueueWorker<std::__1::shared_ptr<HPHP::FastCGIJob>, HPHP::Server*, true, false, HPHP::JobQueueDropVMStack>::start() + 350
7   hhvm                            0x0000000008d49164 HPHP::AsyncFuncImpl::threadFuncImpl() + 68
8   hhvm                            0x0000000008d49108 HPHP::AsyncFuncImpl::ThreadFunc(void*) + 40
9   libsystem_pthread.dylib         0x00007fff8f7a905a _pthread_body + 131
10  libsystem_pthread.dylib         0x00007fff8f7a8fd7 _pthread_start + 176
11  libsystem_pthread.dylib         0x00007fff8f7a63ed thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000104  rbx: 0x0000000000000000  rcx: 0x00007fff57c30108  rdx: 0x0000000000000000
  rdi: 0x00000000118240f0  rsi: 0x0000010100000200  rbp: 0x00007fff57c301c0  rsp: 0x00007fff57c30108
   r8: 0x0000000000000000   r9: 0x0000000000010068  r10: 0x0000000000000000  r11: 0x0000000000000202
  r12: 0x0000000000000001  r13: 0x00000000118240b0  r14: 0x0000010100000200  r15: 0x00007fff7302c300
  rip: 0x00007fff83e7b136  rfl: 0x0000000000000203  cr2: 0x000000010f1b0000

Logical CPU:     0
Error Code:      0x02000131
Trap Number:     133


Binary Images:
         0x7fcf000 -          0x9bd5fc7 +hhvm (0) <5619B4C4-BF6B-38D0-82A7-DC6269F7723A> /usr/local/bin/hhvm
         0xa82d000 -          0xa895ff7 +libgmp.10.dylib (0) <C86A25BD-4708-38B0-8B5A-7C5E4811B054> /usr/local/lib/libgmp.10.dylib
         0xa8a5000 -          0xa992ff7 +libMagickWand-6.Q16.2.dylib (0) <C7C4EB64-1175-34F2-9982-05FF6AA72376> /usr/local/lib/libMagickWand-6.Q16.2.dylib
         0xa9ab000 -          0xab10ff7 +libMagickCore-6.Q16.2.dylib (0) <9E889E48-71BB-3413-A519-C0F021CFB0ED> /usr/local/lib/libMagickCore-6.Q16.2.dylib
         0xab47000 -          0xab65ff7 +libmcrypt.4.dylib (0) <D7D90A58-3F93-3AB7-91A1-3BBB5AFAA123> /usr/local/lib/libmcrypt.4.dylib
         0xab7b000 -          0xab9efff +libmemcached.11.dylib (0) <8FFFF0D8-6365-3834-BA09-502DC2EE31B4> /usr/local/lib/libmemcached.11.dylib
         0xabad000 -          0xabfffff +libodbc.2.dylib (0) <F35C8A46-F594-35FB-9DC7-863672565B7F> /usr/local/lib/libodbc.2.dylib
         0xac16000 -          0xac42fff +libjpeg.8.dylib (0) <7A528846-854A-370E-AE9A-EEA0842EEC9C> /usr/local/lib/libjpeg.8.dylib
         0xac4d000 -          0xac6ffff +libpng16.16.dylib (0) <44DDF5E0-CCCA-39E6-9AAD-0A16FB1686C8> /usr/local/lib/libpng16.16.dylib
         0xac7d000 -          0xacecff7 +libfreetype.6.dylib (0) <143F83CB-D091-3CA5-B25D-CB69117DF45B> /usr/local/lib/libfreetype.6.dylib
         0xad09000 -          0xad60ff7 +libonig.2.dylib (0) <2D05009C-26AF-39A6-B254-7D60AB5DBC48> /usr/local/lib/libonig.2.dylib
         0xad6d000 -          0xc622fff +libicudata.55.1.dylib (0) <9C5E5937-CC18-3C08-BFA1-C4AC4FCA4B46> /usr/local/opt/icu4c/lib/libicudata.55.1.dylib
         0xc628000 -          0xc776ff7 +libicui18n.55.dylib (0) <1ED89E86-D520-372C-9E61-0C64648765B0> /usr/local/opt/icu4c/lib/libicui18n.55.dylib
         0xc850000 -          0xc945fff +libicuuc.55.dylib (0) <244D9F68-F90A-3782-BF79-DEA8BA616995> /usr/local/opt/icu4c/lib/libicuuc.55.dylib
         0xc9ac000 -          0xc9b5fff +libintl.8.dylib (0) <0C1B2F3A-05F7-3EBB-921D-F69ADB2096B9> /usr/local/opt/gettext/lib/libintl.8.dylib
         0xc9be000 -          0xc9d4ff7 +libtbb.dylib (0) <B9E7EDD1-A5E5-3AD0-AB87-1DAA013B01AC> /usr/local/lib/libtbb.dylib
         0xc9ea000 -          0xca85fff +libsqlite3.0.dylib (0) <71E230ED-FF2E-3E2A-B8C6-89D65E052B01> /usr/local/opt/sqlite/lib/libsqlite3.0.dylib
         0xcaa3000 -          0xcaaffff +liblz4.1.dylib (0) <3FACCE6D-1831-376A-9983-D91651B59F9D> /usr/local/lib/liblz4.1.dylib
         0xcab5000 -          0xcac0fff +libzip.2.dylib (0) <DDDB38F6-0500-3AE4-9A7C-B63E0C926B38> /usr/local/lib/libzip.2.dylib
         0xcac8000 -          0xcaf0ff7 +libevent-2.0.5.dylib (0) <C1B544F2-35D7-371B-A607-3B8D1092FBFB> /usr/local/lib/libevent-2.0.5.dylib
         0xcb01000 -          0xcb1ffff  libedit.3.dylib (40) <6049084C-478A-3A89-A9A1-E641B5F8C1A7> /usr/lib/libedit.3.dylib
         0xcb30000 -          0xcb6efff +libssl.1.0.0.dylib (0) <782F3DA1-E630-3220-A243-652B6E186C20> /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
         0xcb8f000 -          0xcd00487 +libcrypto.1.0.0.dylib (0) <AF424CA2-8DBA-3B77-B5A1-A96DA39378E1> /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib
         0xcd77000 -          0xcd79ffb +libboost_system-mt.dylib (0) <D9FD7144-20A6-3EED-990D-BDD0E8C7598C> /usr/local/lib/libboost_system-mt.dylib
         0xcd7e000 -          0xcdbaff7 +libboost_program_options-mt.dylib (0) <7227045B-426D-38C5-9697-95378DE4D9CC> /usr/local/lib/libboost_program_options-mt.dylib
         0xce1b000 -          0xce29ff7 +libboost_filesystem-mt.dylib (0) <8C1F98B1-B3E7-3483-BEB8-C3BF53D6BD6E> /usr/local/lib/libboost_filesystem-mt.dylib
         0xce3d000 -          0xced5ff3 +libboost_regex-mt.dylib (0) <9F9CA272-3FF0-306B-8D36-3C43E265824B> /usr/local/lib/libboost_regex-mt.dylib
         0xcf60000 -          0xcf9dfc7 +libjemalloc.1.dylib (0) <16C5A61E-88FA-3E5F-935C-99DBE6280DD4> /usr/local/lib/libjemalloc.1.dylib
         0xcfae000 -          0xcfb2f0f +libboost_context-mt.dylib (0) <739BB691-B18C-3E8F-80B5-29B4307D503B> /usr/local/lib/libboost_context-mt.dylib
         0xcfbf000 -          0xcfd0ff7 +libglog.0.dylib (0) <20F031E2-1E32-318A-A1F1-52DA3223308F> /usr/local/lib/libglog.0.dylib
         0xcff1000 -          0xcffeff3 +libboost_thread-mt.dylib (0) <27E862DD-2199-3FF2-9D14-7A3E172BB604> /usr/local/lib/libboost_thread-mt.dylib
         0xd01c000 -          0xd038ff7 +liblzma.5.dylib (0) <8CD2A0DF-4B4E-3C7B-AF46-B8C07555596B> /usr/local/lib/liblzma.5.dylib
         0xd03e000 -          0xd043ff7 +libltdl.7.dylib (0) <08FB6764-102A-3403-A22D-EBF7A74CE866> /usr/local/lib/libltdl.7.dylib
         0xd04e000 -          0xd050fff +libboost_chrono-mt.dylib (0) <72EB006E-CFE8-32DF-99CB-3517FE2DDB1C> /usr/local/lib/libboost_chrono-mt.dylib
         0xd057000 -          0xd06efff +libgflags.2.dylib (0) <06C007A4-E1BB-3537-8EA4-903BCBC8A4ED> /usr/local/lib/libgflags.2.dylib
         0xd0a6000 -          0xd0affff +libtbbmalloc.dylib (0) <DEFCE4C9-E6C2-33F9-99F9-83859260A6D2> /usr/local/lib/libtbbmalloc.dylib
    0x7fff695de000 -     0x7fff69614887  dyld (353.2.3) <B1B370A5-479F-3533-8AD7-97B687D4F989> /usr/lib/dyld
    0x7fff80c19000 -     0x7fff80c29ff7  libbsm.0.dylib (34) <A3A2E56C-2B65-37C7-B43A-A1F926E1A0BB> /usr/lib/libbsm.0.dylib
    0x7fff80cdc000 -     0x7fff80cdcff7  libunc.dylib (29) <5676F7EA-C1DF-329F-B006-D2C3022B7D70> /usr/lib/system/libunc.dylib
    0x7fff80d4e000 -     0x7fff80e42fff  libFontParser.dylib (134.7) <C49EDC56-A82A-39EF-9F20-C2342E4188ED> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
    0x7fff80e43000 -     0x7fff80e5dff7  libextension.dylib (55.2) <3BB019CA-199A-36AC-AA22-14B562138545> /usr/lib/libextension.dylib
    0x7fff80eac000 -     0x7fff80ed7ff7  com.apple.DictionaryServices (1.2 - 229.1) <62EC3E1B-5A28-3252-90FF-C2E9999C2A2A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
    0x7fff813af000 -     0x7fff81421fff  com.apple.framework.IOKit (2.0.2 - 1050.20.2) <09C0518C-90DF-3FC3-96D6-34D35F72C8EF> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x7fff815aa000 -     0x7fff815abff3  libSystem.B.dylib (1213) <1866C519-C5F3-3D09-8C17-A8F703664521> /usr/lib/libSystem.B.dylib
    0x7fff816f0000 -     0x7fff816f6ff7  libsystem_networkextension.dylib (167.40.3) <BA58B30B-8377-3B0A-8AE3-4F84021D9D4E> /usr/lib/system/libsystem_networkextension.dylib
    0x7fff81854000 -     0x7fff818d2fff  com.apple.CoreServices.OSServices (640.4 - 640.4) <BE8DF749-84BA-3029-AE1D-32F3993A78A4> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
    0x7fff818d3000 -     0x7fff818f8fff  libPng.dylib (1239) <0F0DDDBD-E508-377D-859F-14D11D019705> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
    0x7fff81c83000 -     0x7fff81d21fff  com.apple.Metadata (10.7.0 - 917.36) <00C4CB5D-E723-3612-84E0-439098392CDD> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
    0x7fff81d22000 -     0x7fff81d26fff  libcache.dylib (69) <45E9A2E7-99C4-36B2-BEE3-0C4E11614AD1> /usr/lib/system/libcache.dylib
    0x7fff81d71000 -     0x7fff81d87ff7  libsystem_asl.dylib (267) <F153AC5B-0542-356E-88C8-20A62CA704E2> /usr/lib/system/libsystem_asl.dylib
    0x7fff81d8b000 -     0x7fff81dd1ff7  libauto.dylib (186) <A260789B-D4D8-316A-9490-254767B8A5F1> /usr/lib/libauto.dylib
    0x7fff81dd2000 -     0x7fff81dd7ff7  libunwind.dylib (35.3) <BE7E51A0-B6EA-3A54-9CCA-9D88F683A6D6> /usr/lib/system/libunwind.dylib
    0x7fff821f1000 -     0x7fff821f2fff  com.apple.TrustEvaluationAgent (2.0 - 25) <2D61A2C3-C83E-3A3F-8EC1-736DBEC250AB> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
    0x7fff821f3000 -     0x7fff8235affb  com.apple.audio.toolbox.AudioToolbox (1.12 - 1.12) <5678FC94-456A-3F5F-BA9A-10EB6E462997> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x7fff8235b000 -     0x7fff8236afff  com.apple.LangAnalysis (1.7.0 - 1.7.0) <D1E527E4-C561-352F-9457-E8C50232793C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
    0x7fff823a4000 -     0x7fff823b6ff7  libsasl2.2.dylib (194.1) <35371406-75EF-304A-A073-956C40373555> /usr/lib/libsasl2.2.dylib
    0x7fff823d7000 -     0x7fff823ddfff  libsystem_trace.dylib (72.20.1) <840F5301-B55A-3078-90B9-FEFFD6CD741A> /usr/lib/system/libsystem_trace.dylib
    0x7fff82b35000 -     0x7fff82b67ff3  com.apple.frameworks.CoreDaemon (1.3 - 1.3) <C6DB0A07-F8E4-3837-BCA9-225F460EDA81> /System/Library/PrivateFrameworks/CoreDaemon.framework/Versions/B/CoreDaemon
    0x7fff8301a000 -     0x7fff8301afff  com.apple.Accelerate.vecLib (3.10 - vecLib 3.10) <9D749502-A228-3BF1-B52F-A182DEEB2C4D> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
    0x7fff83688000 -     0x7fff836c8ff7  libGLImage.dylib (11.1.2) <9B05F3BF-D111-3B01-B7F8-C5EF7E02000B> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
    0x7fff83769000 -     0x7fff837f5fe7  libsystem_c.dylib (1044.40.1) <F0635E0F-FE4B-34DB-ACF9-A58C1E9070E9> /usr/lib/system/libsystem_c.dylib
    0x7fff837f6000 -     0x7fff83a06ff7  com.apple.CFNetwork (720.5.7 - 720.5.7) <A47D7DD2-5903-39D0-8D27-5A7E2D119D84> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
    0x7fff83a07000 -     0x7fff83a23ff7  libsystem_malloc.dylib (53.30.1) <DDA8928B-CC0D-3255-BD8A-3FEA0982B890> /usr/lib/system/libsystem_malloc.dylib
    0x7fff83a24000 -     0x7fff83a24ff7  libkeymgr.dylib (28) <77845842-DE70-3CC5-BD01-C3D14227CED5> /usr/lib/system/libkeymgr.dylib
    0x7fff83a25000 -     0x7fff83a9dff7  com.apple.SystemConfiguration (1.14.4 - 1.14) <3DFFD7F7-BD23-3F4C-A209-C4A0D99F6573> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
    0x7fff83a9e000 -     0x7fff83ae4ff7  libFontRegistry.dylib (134.1) <CE41D8C2-BEED-345C-BC4F-3775CC06C672> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
    0x7fff83df3000 -     0x7fff83e40ff7  com.apple.print.framework.PrintCore (10.3 - 451.1) <DE992474-0841-38A1-B4F6-46D653E454D5> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
    0x7fff83e65000 -     0x7fff83e82fff  libsystem_kernel.dylib (2782.40.9) <16AD15EF-3DAE-3F63-9D26-26CCE1920762> /usr/lib/system/libsystem_kernel.dylib
    0x7fff83ecf000 -     0x7fff83edbfff  com.apple.speech.synthesis.framework (5.3.11 - 5.3.11) <DFC7FD85-F1B0-317C-8513-722570CB8FB9> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
    0x7fff83eec000 -     0x7fff840d1ff7  libicucore.A.dylib (531.48) <3CD34752-B1F9-31D2-865D-B5B0F0BE3111> /usr/lib/libicucore.A.dylib
    0x7fff8496e000 -     0x7fff84973ffb  libheimdal-asn1.dylib (398.40.1) <7D2BE3DE-60F7-3A6E-A92E-DA0EF9D3417E> /usr/lib/libheimdal-asn1.dylib
    0x7fff84a84000 -     0x7fff84ab4fff  libsystem_m.dylib (3086.1) <1E12AB45-6D96-36D0-A226-F24D9FB0D9D6> /usr/lib/system/libsystem_m.dylib
    0x7fff84c11000 -     0x7fff84c16fff  com.apple.DiskArbitration (2.6 - 2.6) <0DFF4D9B-2AC3-3B82-B5C5-30F4EFBD2DB9> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x7fff84c21000 -     0x7fff84cc0e27  com.apple.AppleJPEG (1.0 - 1) <6627DDD9-A8FE-3968-B23A-B6A29AA3919A> /System/Library/PrivateFrameworks/AppleJPEG.framework/Versions/A/AppleJPEG
    0x7fff84e88000 -     0x7fff84eb8ff3  com.apple.GSS (4.0 - 2.0) <97F2A028-44CF-3188-B863-F4EEB39CBDBD> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
    0x7fff84ef7000 -     0x7fff84efefff  com.apple.NetFS (6.0 - 4.0) <C263C8F8-F284-3101-AC82-A97A81716063> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
    0x7fff84f2c000 -     0x7fff84f67fff  com.apple.QD (301 - 301) <C4D2AD03-B839-350A-AAF0-B4A08F8BED77> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
    0x7fff8505b000 -     0x7fff8516dff7  libvDSP.dylib (516) <151B3CCB-77D3-3715-A3D0-7C74CD5C7FFC> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
    0x7fff85238000 -     0x7fff8523cfff  libpam.2.dylib (20) <E805398D-9A92-31F8-8005-8DC188BD8B6E> /usr/lib/libpam.2.dylib
    0x7fff852c8000 -     0x7fff852c9ffb  libremovefile.dylib (35) <3485B5F4-6CE8-3C62-8DFD-8736ED6E8531> /usr/lib/system/libremovefile.dylib
    0x7fff85cec000 -     0x7fff85cf7fff  libcommonCrypto.dylib (60061.30.1) <E789748D-F9A7-3CFF-B317-90DF348B1E95> /usr/lib/system/libcommonCrypto.dylib
    0x7fff85cf8000 -     0x7fff8602bff7  libmecabra.dylib (666.7) <0ED8AE5E-7A5B-34A6-A2EE-2B852E60E1E2> /usr/lib/libmecabra.dylib
    0x7fff862cf000 -     0x7fff86329ff7  com.apple.LanguageModeling (1.0 - 1) <ACA93FE0-A0E3-333E-AE3C-8EB7DE5F362F> /System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling
    0x7fff8632a000 -     0x7fff8641cff3  libxml2.2.dylib (26.1) <3FBA890F-2850-3A45-87EA-DB6892BDEB60> /usr/lib/libxml2.2.dylib
    0x7fff8641d000 -     0x7fff8641eff7  libsystem_blocks.dylib (65) <9615D10A-FCA7-3BE4-AA1A-1B195DACE1A1> /usr/lib/system/libsystem_blocks.dylib
    0x7fff86871000 -     0x7fff868d0fff  com.apple.AE (681.5 - 681.7) <2BF39455-1CDD-392C-824A-9972C6B1FB57> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
    0x7fff8691a000 -     0x7fff8691efff  libCoreVMClient.dylib (79.1) <201EF6DF-5074-3CB7-A361-398CF957A264> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
    0x7fff8692b000 -     0x7fff8692bfff  com.apple.CoreServices (62 - 62) <C69DA8A7-B536-34BF-A93F-1C170E2C6D58> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x7fff8692c000 -     0x7fff86cc4ff7  com.apple.CoreFoundation (6.9 - 1153.18) <5C0892B8-9691-341F-9279-CA3A74D59AA0> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff86cf6000 -     0x7fff86cf8fff  libquarantine.dylib (76.20.1) <7AF90041-2768-378A-925A-D83161863642> /usr/lib/system/libquarantine.dylib
    0x7fff86cf9000 -     0x7fff86d24fff  libc++abi.dylib (125) <88A22A0F-87C6-3002-BFBA-AC0F2808B8B9> /usr/lib/libc++abi.dylib
    0x7fff86d3e000 -     0x7fff86d8dff7  libcurl.4.dylib (83.40.2) <AE97ED1E-A58F-3EF0-8E88-DDC6AD409BCE> /usr/lib/libcurl.4.dylib
    0x7fff87d52000 -     0x7fff87d52fff  com.apple.ApplicationServices (48 - 48) <5BF7910B-C328-3BF8-BA4F-CE52B574CE01> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
    0x7fff87d5a000 -     0x7fff87dceffb  com.apple.securityfoundation (6.0 - 55126) <AC8ED0BD-32F0-3EB8-B7B2-9AA14E07E8AB> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
    0x7fff87e9f000 -     0x7fff87ea0fff  libDiagnosticMessagesClient.dylib (100) <2EE8E436-5CDC-34C5-9959-5BA218D507FB> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fff87ea1000 -     0x7fff87eb9ff7  libexpat.1.dylib (12) <C5FE8836-E277-3162-9D15-6735321CB2C6> /usr/lib/libexpat.1.dylib
    0x7fff8814d000 -     0x7fff8816affb  libresolv.9.dylib (57) <26B38E61-298A-3C3A-82C1-3B5E98AD5E29> /usr/lib/libresolv.9.dylib
    0x7fff88ced000 -     0x7fff88cf2ff7  libmacho.dylib (862) <126CA2ED-DE91-308F-8881-B9DAEC3C63B6> /usr/lib/system/libmacho.dylib
    0x7fff88cf3000 -     0x7fff88cf7ff7  libGIF.dylib (1239) <FEC02C42-A490-3DBC-9D4E-5B4AAA62722C> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
    0x7fff88cf8000 -     0x7fff88d01ff3  com.apple.CommonAuth (4.0 - 2.0) <9A484EE6-0003-3AB1-AE4F-AA543BBBF53F> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
    0x7fff89235000 -     0x7fff8923fff7  com.apple.NetAuth (5.2 - 5.2) <2BBD749A-8E18-35B8-8E48-A90347C1CCA7> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
    0x7fff89240000 -     0x7fff89270ff7  libncurses.5.4.dylib (44) <F09809A4-53B9-3E91-A8FA-D3F584C03AA3> /usr/lib/libncurses.5.4.dylib
    0x7fff892cc000 -     0x7fff895fdfff  com.apple.Foundation (6.9 - 1154) <49EE64E1-9F53-35D1-A481-2EFE2789B254> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7fff89664000 -     0x7fff8985e46f  libobjc.A.dylib (647) <759E155D-BC42-3D4E-869B-6F57D477177C> /usr/lib/libobjc.A.dylib
    0x7fff89b34000 -     0x7fff89b5cfff  libsystem_info.dylib (459.40.1) <2E16C4B3-A327-3957-9C41-143911979A1E> /usr/lib/system/libsystem_info.dylib
    0x7fff89b5d000 -     0x7fff89e78fcf  com.apple.vImage (8.0 - 8.0) <1183FE6A-FDB6-3B3B-928D-50C7909F2308> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
    0x7fff89e79000 -     0x7fff89e82ff7  libsystem_notify.dylib (133.1.1) <61147800-F320-3DAA-850C-BADF33855F29> /usr/lib/system/libsystem_notify.dylib
    0x7fff89ef9000 -     0x7fff89f45ff7  libcups.2.dylib (408.2) <E8AD18F9-61E4-3791-B840-504468C25556> /usr/lib/libcups.2.dylib
    0x7fff89f46000 -     0x7fff8a787ff3  com.apple.CoreGraphics (1.600.0 - 788.3) <0AAD1F22-9823-3D31-A25B-F8C1D7915AC4> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    0x7fff8a7b0000 -     0x7fff8aa97ffb  com.apple.CoreServices.CarbonCore (1108.6 - 1108.6) <8953580E-7857-33B2-AA64-98296830D3A8> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
    0x7fff8aa98000 -     0x7fff8aa9aff7  libsystem_coreservices.dylib (9) <41B7C578-5A53-31C8-A96F-C73E030B0938> /usr/lib/system/libsystem_coreservices.dylib
    0x7fff8aa9b000 -     0x7fff8aad3fff  libsystem_network.dylib (412.20.3) <6105C134-6722-3C0A-A4CE-5E1261E2E1CC> /usr/lib/system/libsystem_network.dylib
    0x7fff8ab02000 -     0x7fff8ab13fff  libcmph.dylib (1) <46EC3997-DB5E-38AE-BBBB-A035A54AD3C0> /usr/lib/libcmph.dylib
    0x7fff8ab9a000 -     0x7fff8ae19ff7  com.apple.CoreData (111 - 526.3) <5A27E0D8-5E5A-335B-B3F6-2601C7B976FA> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    0x7fff8aefc000 -     0x7fff8aefcfff  libOpenScriptingUtil.dylib (162.2) <D6A2216D-ADB2-3F24-AD30-F6D00829F545> /usr/lib/libOpenScriptingUtil.dylib
    0x7fff8af0b000 -     0x7fff8af0eff7  libdyld.dylib (353.2.3) <CFBBE540-D503-3AFC-B5D6-644F1E69949B> /usr/lib/system/libdyld.dylib
    0x7fff8b232000 -     0x7fff8b232fff  com.apple.Accelerate (1.10 - Accelerate 1.10) <2C8AF258-4F11-3BEC-A826-22D7199B3975> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x7fff8b238000 -     0x7fff8b351ffb  com.apple.CoreText (352.0 - 454.10) <3293BF91-B587-3B49-A159-A04D58533F14> /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
    0x7fff8b352000 -     0x7fff8b35afff  libsystem_platform.dylib (63) <64E34079-D712-3D66-9CE2-418624A5C040> /usr/lib/system/libsystem_platform.dylib
    0x7fff8b35b000 -     0x7fff8b3f0ff7  com.apple.ColorSync (4.9.0 - 4.9.0) <9150C2B7-2E6E-3509-96EA-7B3F959F049E> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
    0x7fff8b5e2000 -     0x7fff8b651fff  com.apple.SearchKit (1.4.0 - 1.4.0) <80883BD1-C9BA-3794-A20E-476F94DD89A9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
    0x7fff8b82f000 -     0x7fff8b837fff  libsystem_dnssd.dylib (576.30.4) <0CEB5910-843F-315C-A1DE-5D955A48A045> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff8b83c000 -     0x7fff8b869fff  com.apple.CoreVideo (1.8 - 145.1) <18DB07E0-B927-3260-A234-636F298D1917> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x7fff8b8a5000 -     0x7fff8bb1bff7  com.apple.security (7.0 - 57031.40.6) <FCCCC4FD-043A-30CA-9997-4211CA0E9297> /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x7fff8bd90000 -     0x7fff8bd92fff  libCVMSPluginSupport.dylib (11.1.2) <1C5C1757-67F1-3C23-90EF-643619A0E7DC> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
    0x7fff8c0f1000 -     0x7fff8c237fef  libsqlite3.dylib (168.2) <53F6A294-15D7-3804-9ABF-47D35E15CDFB> /usr/lib/libsqlite3.dylib
    0x7fff8c238000 -     0x7fff8c243fff  libGL.dylib (11.1.2) <FD8B7B67-1532-32A1-B369-9D7A6C1EB3ED> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
    0x7fff8c244000 -     0x7fff8c26dffb  libxslt.1.dylib (13) <AED1143F-B848-3E73-81ED-71356F25F084> /usr/lib/libxslt.1.dylib
    0x7fff8c26e000 -     0x7fff8c3fcfff  libBLAS.dylib (1128) <497912C1-A98E-3281-BED7-E9C751552F61> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
    0x7fff8c407000 -     0x7fff8c4ebfff  libcrypto.0.9.8.dylib (52.40.1) <D123FC57-E2EB-3E08-A51B-6C317EA83EB5> /usr/lib/libcrypto.0.9.8.dylib
    0x7fff8c57e000 -     0x7fff8c597ff7  com.apple.CFOpenDirectory (10.10 - 187) <3FCEE6F7-A8C6-3222-B22D-8AD290E477E2> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
    0x7fff8c598000 -     0x7fff8c5ecfff  libc++.1.dylib (120) <1B9530FD-989B-3174-BB1C-BDC159501710> /usr/lib/libc++.1.dylib
    0x7fff8c64a000 -     0x7fff8c64ffff  libsystem_stats.dylib (163.30.2) <D0E96837-3CF6-323D-B711-6DF6F660E530> /usr/lib/system/libsystem_stats.dylib
    0x7fff8c66c000 -     0x7fff8c6adfff  libGLU.dylib (11.1.2) <2BA52A8D-ED35-3D86-B2D6-41479969C96D> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
    0x7fff8c742000 -     0x7fff8c866ff7  com.apple.LaunchServices (644.56 - 644.56) <20AABB1C-9319-3E4D-A024-51B0DD5FCD3B> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
    0x7fff8c8c9000 -     0x7fff8c8e3ff7  liblzma.5.dylib (7) <1D03E875-A7C0-3028-814C-3C27F7B7C079> /usr/lib/liblzma.5.dylib
    0x7fff8c8e4000 -     0x7fff8c8feff7  com.apple.Kerberos (3.0 - 1) <7760E0C2-A222-3709-B2A6-B692D900CEB1> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
    0x7fff8c8ff000 -     0x7fff8c96dff3  com.apple.Heimdal (4.0 - 2.0) <8D1667CF-D454-3E07-A58E-E15591B5A95E> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
    0x7fff8c9f1000 -     0x7fff8c9f3fff  libRadiance.dylib (1239) <594FD1C9-2041-3877-9AD2-0A977EBBB1D0> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
    0x7fff8c9f4000 -     0x7fff8c9f6fff  com.apple.loginsupport (1.0 - 1) <DAAD7013-A19D-3858-BFF7-DE1DAF664401> /System/Library/PrivateFrameworks/login.framework/Versions/A/Frameworks/loginsupport.framework/Versions/A/loginsupport
    0x7fff8ca88000 -     0x7fff8ca95ff7  libbz2.1.0.dylib (36) <2DF83FBC-5C08-39E1-94F5-C28653791B5F> /usr/lib/libbz2.1.0.dylib
    0x7fff8cad1000 -     0x7fff8cb4afe7  libcorecrypto.dylib (233.30.1) <5779FFA0-4D9A-3AD4-B7F2-618227621DC8> /usr/lib/system/libcorecrypto.dylib
    0x7fff8cb54000 -     0x7fff8cb74ff7  com.apple.MultitouchSupport.framework (264.6 - 264.6) <1539F1F6-6334-37F3-9C52-02EFFBF4835D> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
    0x7fff8cb8b000 -     0x7fff8cc7dff7  libiconv.2.dylib (42) <2A06D02F-8B76-3864-8D96-64EF5B40BC6C> /usr/lib/libiconv.2.dylib
    0x7fff8cf4e000 -     0x7fff8cfb5ffb  com.apple.datadetectorscore (6.0 - 396.1.2) <D04A8016-B2AD-33A2-8A8E-5793968A8370> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
    0x7fff8cfb6000 -     0x7fff8d065fe7  libvMisc.dylib (516) <6739E390-46E7-3BFA-9B69-B278562326E6> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
    0x7fff8d06b000 -     0x7fff8d0c6fe7  libTIFF.dylib (1239) <568B04C1-118C-3E22-87E5-E1FF7AAE589C> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
    0x7fff8d185000 -     0x7fff8d190ff7  libkxld.dylib (2782.40.9) <2ADAE067-78A0-371E-A5A8-1E7C892D193C> /usr/lib/system/libkxld.dylib
    0x7fff8d195000 -     0x7fff8d206ffb  com.apple.ApplicationServices.ATS (360 - 375.4) <A1BEBCF8-8FC8-345D-B91D-1DA5773AF5A3> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
    0x7fff8d207000 -     0x7fff8d20afff  com.apple.IOSurface (97.4 - 97.4) <AE11CFBC-4D46-30F3-BEEC-4C8131079391> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
    0x7fff8d600000 -     0x7fff8d602fff  libsystem_configuration.dylib (699.40.2) <56F94DCE-DBDE-3615-8F07-DE6270D9F8BE> /usr/lib/system/libsystem_configuration.dylib
    0x7fff8d7a2000 -     0x7fff8d7b3ff3  libsystem_coretls.dylib (35.40.1) <155DA0A9-2046-332E-BFA3-D7974A51F731> /usr/lib/system/libsystem_coretls.dylib
    0x7fff8d9bb000 -     0x7fff8d9dffef  libJPEG.dylib (1239) <75667D4A-9359-3178-9D3A-2AE5A60DE55F> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
    0x7fff8e27d000 -     0x7fff8e36dfef  libJP2.dylib (1239) <A2238936-B354-399A-B0C8-FB8A29AE9A82> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
    0x7fff8e431000 -     0x7fff8e433fff  libsystem_sandbox.dylib (358.20.5) <3F5E973F-C702-31AC-97BC-05F5C195683C> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff8e434000 -     0x7fff8e440ff7  com.apple.OpenDirectory (10.10 - 187) <D993F138-DAD1-3640-94DE-8C9FEFBF158D> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
    0x7fff8e491000 -     0x7fff8e499ff7  com.apple.AppleSRP (5.0 - 1) <68F0C577-ED96-34F2-B701-CE3023367D4D> /System/Library/PrivateFrameworks/AppleSRP.framework/Versions/A/AppleSRP
    0x7fff8ee01000 -     0x7fff8ee04fff  com.apple.xpc.ServiceManagement (1.0 - 1) <A95A15CD-3B21-3513-AFF8-1D7DE3DBFA12> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
    0x7fff8ee05000 -     0x7fff8ee30ff3  libarchive.2.dylib (30) <8CBB4416-EBE9-3574-8ADC-44655D245F39> /usr/lib/libarchive.2.dylib
    0x7fff8f01c000 -     0x7fff8f029fff  libxar.1.dylib (255) <7CD69BB5-97BA-3858-8A8B-2F33F129E6E7> /usr/lib/libxar.1.dylib
    0x7fff8f049000 -     0x7fff8f04dfff  com.apple.TCC (1.0 - 1) <CCA42EE2-3400-3444-9486-BC454E60D944> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
    0x7fff8f1e3000 -     0x7fff8f1fefff  com.apple.AppleVPAFramework (1.4.5 - 1.4.5) <A6421B0B-6D4D-3E64-AC61-DDB04ED7CFF0> /System/Library/PrivateFrameworks/AppleVPA.framework/Versions/A/AppleVPA
    0x7fff8f555000 -     0x7fff8f58cffb  com.apple.LDAPFramework (2.4.28 - 194.5) <CAFB9695-000F-34EA-8DF5-09996929C26A> /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
    0x7fff8f788000 -     0x7fff8f790ffb  libcopyfile.dylib (118.1.2) <0C68D3A6-ACDD-3EF3-991A-CC82C32AB836> /usr/lib/system/libcopyfile.dylib
    0x7fff8f791000 -     0x7fff8f791ff7  liblaunch.dylib (559.40.1) <4F81CA3A-D2CE-3030-A89D-42F3DAD7BA8F> /usr/lib/system/liblaunch.dylib
    0x7fff8f7a5000 -     0x7fff8f7aefff  libsystem_pthread.dylib (105.40.1) <ACE90967-ECD0-3251-AEEB-461E3C6414F7> /usr/lib/system/libsystem_pthread.dylib
    0x7fff8f7af000 -     0x7fff8f7b6ff7  libcompiler_rt.dylib (35) <BF8FC133-EE10-3DA6-9B90-92039E28678F> /usr/lib/system/libcompiler_rt.dylib
    0x7fff8f7d5000 -     0x7fff8f7ddff3  com.apple.CoreServices.FSEvents (1210.20.1 - 1210.20.1) <84F79D3E-7B5E-3C93-8479-35794A3F125E> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents
    0x7fff8f7de000 -     0x7fff8f828fff  com.apple.HIServices (1.22 - 523) <E2F3C5FF-8C50-3E4F-BE63-77A700466663> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
    0x7fff8f8ba000 -     0x7fff8f8c3fff  libGFXShared.dylib (11.1.2) <7F9F6175-E993-3014-8C9B-1F08CE7C75A2> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
    0x7fff8fa03000 -     0x7fff8fa11ff7  com.apple.opengl (11.1.2 - 11.1.2) <5F355713-4637-33CD-9CBA-4B4CA43FB0FE> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x7fff8fa12000 -     0x7fff8fb4cfff  com.apple.ImageIO.framework (3.3.0 - 1239) <6033D915-B9A2-3F21-8F35-2E18EF66CA6F> /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
    0x7fff8fc70000 -     0x7fff8fc98fff  libxpc.dylib (559.40.1) <5C829202-962E-3744-8B50-00D38CC88E84> /usr/lib/system/libxpc.dylib
    0x7fff8ff7e000 -     0x7fff8ff7ffff  liblangid.dylib (117) <B54A4AA0-2E53-3671-90F5-AFF711C0EB9E> /usr/lib/liblangid.dylib
    0x7fff8ff80000 -     0x7fff8ff9bff7  libCRFSuite.dylib (34) <D64842BE-7BD4-3D0C-9842-1D202F7C2A51> /usr/lib/libCRFSuite.dylib
    0x7fff8ffb9000 -     0x7fff8ffcaff7  libz.1.dylib (55) <88C7C7DE-04B8-316F-8B74-ACD9F3DE1AA1> /usr/lib/libz.1.dylib
    0x7fff90085000 -     0x7fff900d6fff  com.apple.audio.CoreAudio (4.3.0 - 4.3.0) <450293F7-DAE7-3DD0-8F7C-71FC2FD72627> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x7fff900d7000 -     0x7fff900e3ff7  libexslt.0.dylib (13) <9197981D-B0E9-39EB-9958-D4B181FB0B0E> /usr/lib/libexslt.0.dylib
    0x7fff900e4000 -     0x7fff9010eff7  libdispatch.dylib (442.1.4) <502CF32B-669B-3709-8862-08188225E4F0> /usr/lib/system/libdispatch.dylib
    0x7fff90295000 -     0x7fff902acff7  libLinearAlgebra.dylib (1128) <E78CCBAA-A999-3B65-8EC9-06DB15E67C37> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib
    0x7fff902ad000 -     0x7fff902aefff  libsystem_secinit.dylib (18) <581DAD0F-6B63-3A48-B63B-917AF799ABAA> /usr/lib/system/libsystem_secinit.dylib
    0x7fff902af000 -     0x7fff906bcff7  libLAPACK.dylib (1128) <F9201AE7-B031-36DB-BCF8-971E994EF7C1> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 86
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 32532
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=216.8M resident=213.2M(98%) swapped_out_or_unallocated=3784K(2%)
Writable regions: Total=490.2M written=33.6M(7%) resident=34.1M(7%) swapped_out=0K(0%) unallocated=456.1M(93%)

REGION TYPE                      VIRTUAL
===========                      =======
.text                                 4K
Dispatch continuations             16.0M
Kernel Alloc Once                     4K
MALLOC                             11.4M
MALLOC (admin)                       32K
SBRK (reserved)                    4096K        reserved VM address space (unallocated)
STACK GUARD                        56.0M
Stack                              9852K
VM_ALLOCATE                       444.2M
VM_ALLOCATE (reserved)             3584K        reserved VM address space (unallocated)
__DATA                             9180K
__LINKEDIT                         82.7M
__TEXT                            134.2M
__UNICODE                           552K
__text                             2128K
mapped file                        48.0M
shared memory                         4K
===========                      =======
TOTAL                             821.1M
TOTAL, minus reserved VM space    813.6M

Builtins unknown to typechecker on 3.13 and recent master builds

XHP-lib was reported broken in hhvm/xhp-lib#156 (comment)

Smaller repro:

cd $(mktemp -d)
echo '<?hh function foo(): Stringish { return "bar"; }' > foo.php
echo 'assume_php=false' > .hhconfig
hh_server --check $(pwd)

Output reported by @raeesiqbal and @ChrisReeves12:

[2016-04-21 02:27:42] Could not load config at /etc/hh.conf, using defaults
[2016-04-21 02:27:42] Indexing: 0.000037
[2016-04-21 02:27:42] Heap size: 576
[2016-04-21 02:27:42] Parsing: 0.013856
[2016-04-21 02:27:42] Loading mini-state: 0.000016
[2016-04-21 02:27:42] Heap size: 704
[2016-04-21 02:27:42] Naming: 0.000039
[2016-04-21 02:27:42] Heap size: 1024
[2016-04-21 02:27:42] Type-decl: 0.008825
[2016-04-21 02:27:42] Finding changed files: 0.000020
[2016-04-21 02:27:42] Heap size: 1024
[2016-04-21 02:27:42] Type-check: 0.000547
[2016-04-21 02:27:42] Dependency table load factor: 0 / 131072 (0.00)
[2016-04-21 02:27:42] Hashtable load factor: 10 / 262144 (0.00)
[2016-04-21 02:27:42] Waiting for daemon(s) to be ready...
[2016-04-21 02:27:42] Running in check mode
File "/private/var/folders/y_/tzwkgl3x5rs0kfk_tdks5vdh0000gn/T/tmp.iY1uCesK/foo.php", line 1, characters 22-30:
Unbound name: Stringish (an object type) (Naming[2049])

Output on Linux systems:

[[email protected] /tmp/tmp.4jVVmItYCI] hh_server --check $(pwd)
/etc/hh.conf:
use_watchman = true
use_mini_state = true
load_mini_script_timeout = 40
lazy_decl = false

[2016-04-20 14:29:46] Indexing: 0.000045
[2016-04-20 14:29:46] Heap size: 2268224
[2016-04-20 14:29:46] Parsing: 0.190780
[2016-04-20 14:29:46] Loading mini-state: 0.000020
[2016-04-20 14:29:46] Heap size: 3063360
[2016-04-20 14:29:46] Naming: 0.032890
[2016-04-20 14:29:46] Heap size: 6355264
[2016-04-20 14:29:46] Type-decl: 0.033876
[2016-04-20 14:29:46] Finding changed files: 0.000019
[2016-04-20 14:29:46] Heap size: 6355264
[2016-04-20 14:29:46] Type-check: 0.025085
[2016-04-20 14:29:47] Dependency table load factor: 0 / 67108864 (0.00)
[2016-04-20 14:29:48] Hashtable load factor: 18421 / 67108864 (0.00)
[2016-04-20 14:29:48] Waiting for daemon(s) to be ready...
[2016-04-20 14:29:48] Running in check mode
No errors!

Build fails due to "Trace/BPT trap" in webscalesql comp_err

Description

hhvm build fails with a C++14 warning and a problem with libwangle. This sounds similar to #51, but it's not quite the same:

==> Upgrading 1 outdated package, with result:
hhvm/hhvm/hhvm 3.14.5
==> Upgrading hhvm/hhvm/hhvm
==> Downloading http://dl.hhvm.com/source/hhvm-3.14.5.tar.bz2
Already downloaded: /Users/marcus/Library/Caches/Homebrew/hhvm-3.14.5.tar.bz2
==> cmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/hhvm/3.14.5 -DDEFAULT_CONFIG_DIR=/usr/local/etc/hhvm -DCMAKE_CXX_COMPILER=/usr/local/opt/llvm/bin/clang++ -
==> make
Last 15 lines from /Users/marcus/Library/Logs/Homebrew/hhvm/02.make:
      : singleton_([createFunc = std::move(createFunc)]() mutable {
                    ^
/tmp/hhvm-20160920-31835-gn8uyn/hhvm-3.14.5/third-party/folly/folly/SingletonThreadLocal.h:33:36: warning: initialized lambda captures are a C++14 extension [-Wc++14-extensions]
          return new ThreadLocalT([createFunc =
                                   ^
4 warnings generated.
4 warnings generated.
6 warnings generated.
4 warnings generated.
4 warnings generated.
[ 25%] Linking CXX static library libwangle.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libwangle.a(Dummy.cpp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libwangle.a(Dummy.cpp.o) has no symbols
[ 25%] Built target wangle
make: *** [all] Error 2

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
  https://github.com/hhvm/homebrew-hhvm/issues

These open issues may also help:
hhvm make fail due to missing mysql_get_ssl_session_reused / mysql_get_file_descriptor https://github.com/hhvm/homebrew-hhvm/issues/29

Context and Logs

Parameter Value
OS X Version: 10.11.6
Homebrew Version: 0.9.9
Xcode Version: 8.0

Output of clang -v:

Apple LLVM version 8.0.0 (clang-800.0.38)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Build logs: https://gist.github.com/Synchro/4ef9b64caa6fec0f9b4d9c4c4f627a40

Fails to build on 10.10.5 (dyld: Symbol not found: __ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev)

After my ocaml issue, here is another one:

[ 37%] Building CXX object hphp/tools/hfsort/CMakeFiles/hfsort.dir/hfutil.cpp.o
[ 38%] Linking CXX executable hfsort
[ 38%] Built target hfsort
Scanning dependencies of target jit_sort
[ 39%] Building CXX object hphp/tools/hfsort/CMakeFiles/jit_sort.dir/jitsort.cpp.o
[ 39%] Building CXX object hphp/tools/hfsort/CMakeFiles/jit_sort.dir/hfutil.cpp.o
[ 39%] Linking CXX static library libjit_sort.a
[ 39%] Built target jit_sort
Scanning dependencies of target version
[ 39%] Building CXX object hphp/tools/version/CMakeFiles/version.dir/version.cpp.o
[ 39%] Linking CXX executable version
[ 39%] Built target version
[ 39%] Generating class_map.cpp and constants.h
dyld: Symbol not found: __ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev
  Referenced from: /Users/thau/.local/lib/libglog.0.dylib
  Expected in: flat namespace
 in /Users/thau/.local/lib/libglog.0.dylib
/bin/sh: line 1: 45442 Trace/BPT trap: 5       ../tools/bootstrap/gen-class-map --system /tmp/hhvm20150903-36447-145ng7f/hhvm-3.9.1/hphp/system/class_map.cpp /tmp/hhvm20150903-36447-145ng7f/hhvm-3.9.1/hphp/system/constants.h /tmp/hhvm20150903-36447-145ng7f/hhvm-3.9.1/hphp/system/idl/constants.idl.json /tmp/hhvm20150903-36447-145ng7f/hhvm-3.9.1/hphp/runtime/ext/asio/../../../system/idl/asio.idl.json /tmp/hhvm20150903-36447-145ng7f/hhvm-3.9.1/hphp/runtime/ext/collections/../../../system/idl/collections.idl.json /tmp/hhvm20150903-36447-145ng7f/hhvm-3.9.1/hphp/runtime/ext/fb/../../../system/idl/fb.idl.json /tmp/hhvm20150903-36447-145ng7f/hhvm-3.9.1/hphp/runtime/ext/simplexml/../../../system/idl/simplexml.idl.json /tmp/hhvm20150903-36447-145ng7f/hhvm-3.9.1/hphp/system/idl/closure.idl.json
make[2]: *** [hphp/system/class_map.cpp] Error 133
make[1]: *** [hphp/system/CMakeFiles/hphp_system.dir/all] Error 2
make: *** [all] Error 2

==> Formula
Tap: hhvm/homebrew-hhvm
Path: /Users/thau/.local/Library/Taps/hhvm/homebrew-hhvm/hhvm.rb
==> Configuration
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew.git
HEAD: 6f4f74dc4ea040ccb17f2fecdd791a7e5b1eaa9b
Last commit: 3 hours ago
HOMEBREW_PREFIX: /Users/thau/.local
HOMEBREW_REPOSITORY: /Users/thau/.local
HOMEBREW_CELLAR: /Users/thau/.local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: quad-core 64-bit haswell
OS X: 10.10.5-x86_64
Xcode: 6.4
CLT: 6.4.0.0.1.1435007323
Clang: 6.1 build 602
X11: 2.7.7 => /opt/X11
System Ruby: 2.0.0-p481
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby
Java: 1.8.0_25
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j1
CMAKE_PREFIX_PATH: /Users/thau/.local/opt/llvm:/Users/thau/.local/opt/gettext:/Users/thau/.local/opt/icu4c:/Users/thau/.local/opt/openssl:/Users/thau/.local/opt/readline:/Users/thau/.local/opt/sqlite:/Users/thau/.local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /Users/thau/.local/opt/libelf/lib/pkgconfig:/Users/thau/.local/opt/libpng/lib/pkgconfig:/Users/thau/.local/opt/freetype/lib/pkgconfig:/Users/thau/.local/opt/fontconfig/lib/pkgconfig:/Users/thau/.local/opt/libtiff/lib/pkgconfig:/Users/thau/.local/opt/gd/lib/pkgconfig:/Users/thau/.local/opt/glog/lib/pkgconfig:/Users/thau/.local/opt/icu4c/lib/pkgconfig:/Users/thau/.local/opt/xz/lib/pkgconfig:/Users/thau/.local/opt/imagemagick/lib/pkgconfig:/Users/thau/.local/opt/openssl/lib/pkgconfig:/Users/thau/.local/opt/libevent/lib/pkgconfig:/Users/thau/.local/opt/libmemcached/lib/pkgconfig:/Users/thau/.local/opt/libzip/lib/pkgconfig:/Users/thau/.local/opt/lz4/lib/pkgconfig:/Users/thau/.local/opt/oniguruma/lib/pkgconfig:/Users/thau/.local/opt/sqlite/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/Users/thau/.local/Library/ENV/pkgconfig/10.10
HOMEBREW_MAKE_JOBS: 1
ACLOCAL_PATH: /Users/thau/.local/opt/gettext/share/aclocal:/Users/thau/.local/share/aclocal
PATH: /Users/thau/.local/Library/ENV/4.3:/Users/thau/.local/opt/llvm/bin:/Users/thau/.local/opt/autoconf/bin:/Users/thau/.local/opt/automake/bin:/Users/thau/.local/opt/cmake/bin:/Users/thau/.local/opt/dwarfutils/bin:/Users/thau/.local/opt/gawk/bin:/Users/thau/.local/opt/libtool/bin:/Users/thau/.local/opt/md5sha1sum/bin:/Users/thau/.local/opt/ocaml/bin:/Users/thau/.local/opt/pkg-config/bin:/Users/thau/.local/opt/libpng/bin:/Users/thau/.local/opt/freetype/bin:/Users/thau/.local/opt/fontconfig/bin:/Users/thau/.local/opt/jpeg/bin:/Users/thau/.local/opt/libtiff/bin:/Users/thau/.local/opt/gd/bin:/Users/thau/.local/opt/gettext/bin:/Users/thau/.local/opt/gflags/bin:/Users/thau/.local/opt/icu4c/bin:/Users/thau/.local/opt/xz/bin:/Users/thau/.local/opt/imagemagick/bin:/Users/thau/.local/opt/jemalloc/bin:/Users/thau/.local/opt/openssl/bin:/Users/thau/.local/opt/libevent/bin:/Users/thau/.local/opt/memcached/bin:/Users/thau/.local/opt/libmemcached/bin:/Users/thau/.local/opt/libzip/bin:/Users/thau/.local/opt/lz4/bin:/Users/thau/.local/opt/mcrypt/bin:/Users/thau/.local/opt/oniguruma/bin:/Users/thau/.local/opt/sqlite/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: hhvm/hhvm/hhvm 3.9.1 did not build

ld: can't open -sectcreate file

......
[ 99%] Building CXX object hphp/hhvm/CMakeFiles/hhvm.dir/process-init.cpp.o
[100%] Linking CXX executable hhvm
ld: can't open -sectcreate file: /tmp/hhvm20160314-14554-qsps0j/hphp/util/generated-compiler-id.txt
clang-3.6: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [hphp/hhvm/hhvm] Error 1
make[1]: *** [hphp/hhvm/CMakeFiles/hhvm.dir/all] Error 2
make: *** [all] Error 2

Bug reports:

Error using home brew to install hhvm for Mac Yosemite.
ld: can't open -sectcreate file: /tmp/hhvm20160314-14554-qsps0j/hphp/util/generated-compiler-id.txt
clang-3.6: error: linker command failed with exit code 1 (use -v to see invocation)

https://gist.github.com/8adae56ae4769c9cd5f4

Can't build hhvm: 422 Unprocessable Entity (GitHub::Error)

Description

I can't build hhvm on a MacBook Air mid 2012 using: "brew install hhvm"

Context and Logs

logs.zip

Parameter Value
OS X Version: 10.11.5
Homebrew Version: 0.9.5
Xcode Version: 7.2.1

Output of clang -v:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.6: note: diagnostic msg: /var/folders/wr/m6g4xqts74zd032vvv2_6skw0000gn/T/store-elim-704673.cpp
clang-3.6: note: diagnostic msg: /var/folders/wr/m6g4xqts74zd032vvv2_6skw0000gn/T/store-elim-704673.sh
clang-3.6: note: diagnostic msg:


make[2]: *** [hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/store-elim.cpp.o] Error 254
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [hphp/runtime/CMakeFiles/hphp_runtime_static.dir/all] Error 2
make: *** [all] Error 2

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/hhvm/hhvm/issues

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:353:in open_http': 422 Unprocessable Entity (GitHub::Error) from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:709:inbuffer_open'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:210:in block in open_loop' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:208:incatch'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:208:in open_loop' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:149:inopen_uri'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:689:in open' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:30:inopen'
from /usr/local/Library/Homebrew/utils.rb:500:in open' from /usr/local/Library/Homebrew/utils.rb:530:inissues_matching'
from /usr/local/Library/Homebrew/utils.rb:562:in issues_for_formula' from /usr/local/Library/Homebrew/exceptions.rb:222:infetch_issues'
from /usr/local/Library/Homebrew/exceptions.rb:218:in issues' from /usr/local/Library/Homebrew/exceptions.rb:261:indump'
from /usr/local/Library/brew.rb:186:in rescue in <main>' from /usr/local/Library/brew.rb:76:in

'

Build logs: https://gist.github.com/805107d63c3b5f5037d64fc55dae6c1a

Add an option to compile Hack TypeChecker only

Description

Like many others, I only use Hack TypeChecker on Mac OS, the HHVM is usually in the container or remote. It would be nice to have an option in the Home-Brew formula to only build the Hack Typechecker (hh_client and hh_server utilities) without the HHVM part. That will save A LOT of build time for people don't need HHVM locally.

[OS X 10.11.2] Reinstall hhvm --HEAD fails

Hi

==> make
Last 15 lines from /Users/romain/Library/Logs/Homebrew/hhvm/02.make:
[ 67%] Building C object hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/bcmath/raisemod.c.o
[ 67%] Building C object hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/bcmath/recmul.c.o
[ 67%] Building C object hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/bcmath/rmzero.c.o
[ 67%] Building C object hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/bcmath/rt.c.o
[ 67%] Building C object hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/bcmath/sqrt.c.o
[ 68%] Building C object hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/bcmath/str2num.c.o
[ 68%] Building C object hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/bcmath/sub.c.o
[ 68%] Building C object hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/bcmath/zero.c.o
[ 68%] Linking CXX static library libhphp_runtime_ext.a
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libhphp_runtime_ext.a(gd_arc_f_buggy.cpp.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libhphp_runtime_ext.a(ext_std_network-win.cpp.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libhphp_runtime_ext.a(gd_arc_f_buggy.cpp.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libhphp_runtime_ext.a(ext_std_network-win.cpp.o) has no symbols
[ 68%] Built target hphp_runtime_ext
make: *** [all] Error 2

好几次都是这样! help me!

brew install hhvm
[proxychains] config file found: /Users/meilunzhi/.proxychains/proxychains.conf
[proxychains] preloading /usr/local/Cellar/proxychains-ng/4.11/lib/libproxychains4.dylib
==> Installing hhvm from hhvm/hhvm
==> Downloading http://dl.hhvm.com/source/hhvm-3.13.1.tar.bz2
Already downloaded: /Library/Caches/Homebrew/hhvm-3.13.1.tar.bz2
==> cmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/hhvm/3.13.1 -DDEFAULT_CONFIG_DIR=/usr/local/etc/hhvm -DCMAKE_CXX_COMPILER=/usr/local/opt/llvm/bin/clang++ -DCMAKE_C_COMPILER=/usr/
==> make
Last 15 lines from /Users/meilunzhi/Library/Logs/Homebrew/hhvm/02.make:
[ 45%] Building CXX object hphp/compiler/CMakeFiles/hphp_analysis.dir/analysis/block_scope.cpp.o
[ 45%] Building CXX object hphp/compiler/CMakeFiles/hphp_analysis.dir/analysis/class_scope.cpp.o
[ 45%] Building CXX object hphp/compiler/CMakeFiles/hphp_analysis.dir/analysis/code_error.cpp.o
[ 46%] Building CXX object hphp/compiler/CMakeFiles/hphp_analysis.dir/analysis/constant_table.cpp.o
[ 46%] Building CXX object hphp/compiler/CMakeFiles/hphp_analysis.dir/analysis/emitter.cpp.o
[ 46%] Building CXX object hphp/compiler/CMakeFiles/hphp_analysis.dir/analysis/file_scope.cpp.o
[ 46%] Building CXX object hphp/compiler/CMakeFiles/hphp_analysis.dir/analysis/function_container.cpp.o
[ 46%] Building CXX object hphp/compiler/CMakeFiles/hphp_analysis.dir/analysis/function_scope.cpp.o
[ 46%] Building CXX object hphp/compiler/CMakeFiles/hphp_analysis.dir/analysis/lambda_names.cpp.o
[ 46%] Building CXX object hphp/compiler/CMakeFiles/hphp_analysis.dir/analysis/symbol_table.cpp.o
[ 46%] Building CXX object hphp/compiler/CMakeFiles/hphp_analysis.dir/analysis/variable_table.cpp.o
[ 46%] Building CXX object hphp/compiler/CMakeFiles/hphp_analysis.dir/parser/parser.cpp.o
[ 46%] Linking CXX static library libhphp_analysis.a
[ 46%] Built target hphp_analysis
make: *** [all] Error 2

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
https://github.com/hhvm/homebrew-hhvm/issues

These open issues may also help:
hhvm make fail due to missing mysql_get_ssl_session_reused / mysql_get_file_descriptor #29
☁ ~

hhvm failure due to mysql?

Description

I've been trying to compile hhvm on my OS X Server but for everything i try i get the same error
i have tried the normal brew install hhvm , brew install hhvm --with-system-mysql --with-maria-db --HEAD , and brew install hhvm --HEAD

and i get the same error following:

[ 5%] No install step for 'webscalesqlclient'
[ 5%] Completed 'webscalesqlclient'
[ 5%] Built target webscalesqlclient
make: *** [all] Error 2

and refers to check hhvm make fail due to missing mysql_get_ssl_session_reused / mysql_get_file_descriptor

from #29 which nothing from with in that helped

I have mysql installed already i tried with and without mysql installed to see what would happen and same output from above.

I also ran brew remove openssl and brew install hhvm to see if that could have caused an issue and same outcome. So i am not sure what is the issue.

Context and Logs

Parameter Value
OS X Version: 10.10.5
Homebrew Version: Homebrew 0.9.9
Xcode Version: Version 7.2.1 (7C1002)

Output of clang -v:

Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin14.5.0
Thread model: posix

Build logs:

Log Link
gist-log https://gist.github.com/8f51e436e9344a2c9878347ff61646f2
log with --verbose https://paste.ee/r/EWJIE

hhvm error during the installing

Description

I Tried to install hhvm by using this command in terminal:
brew install hhvm
but I got the below issue:

$ brew install hhvm
==> Installing hhvm from hhvm/hhvm
==> Downloading http://dl.hhvm.com/source/hhvm-3.13.1.tar.bz2
Already downloaded: /Users/hamidebadi/Library/Caches/Homebrew/hhvm-3.13.1.tar.bz2
==> Downloading facebook/hhvm@fead9b7c43b03f4b3d711019
Already downloaded: /Users/hamidebadi/Library/Caches/Homebrew/hhvm--patch-8245b7da1804d8afe8a24f3e079a46829927cdd1fcf7335b9147dabf3d60c92f.patch
==> Downloading facebook/hhvm@59d7d2885e21cfda51ea3d43
Already downloaded: /Users/hamidebadi/Library/Caches/Homebrew/hhvm--patch-e63e1a460ff8e62b8aa5cc90d5a155b2b159e67a7fe5e131f1dc4f69a5c825a6.patch
==> Downloading facebook/hhvm@57580d81e4b1da628c82d6d2
Already downloaded: /Users/hamidebadi/Library/Caches/Homebrew/hhvm--patch-9c1dfda6a3ca98b8ba7a3956a74bfd43b4a6a185b7503addd2c8fc6c6f0e9d0c.patch
==> Downloading facebook/hhvm@5e92f7701626ebd7eb3c5b8b
Already downloaded: /Users/hamidebadi/Library/Caches/Homebrew/hhvm--patch-a21ce61876099114b8310999d1de851fcd064bebf1eeea70d1f978d60ecdbd4d.patch
==> Downloading facebook/hhvm@9d3fff4b0f05b1ed568f93d4
Already downloaded: /Users/hamidebadi/Library/Caches/Homebrew/hhvm--patch-a09373467d2e9806a434c6b4407c36c14fb7f70e98b73da506a3d09ef9d0f4dc.patch
==> Downloading facebook/hhvm@21004b2dba474ea22cdd4a0d
Already downloaded: /Users/hamidebadi/Library/Caches/Homebrew/hhvm--patch-b9236638363c2a1dfd5d23f5f05da0ff80a42d016b8bf3bfe960b6f6e5778fd3.patch
==> Patching
==> Applying fead9b7c43b03f4b3d711019bc6395ef140f265c.patch
patching file hphp/hack/hhi/Makefile
==> Applying 59d7d2885e21cfda51ea3d436522807383d5bfff.patch
patching file hphp/hack/src/fsevents/fsevents_stubs.c
==> Applying 57580d81e4b1da628c82d6d28d257f483aaa7b14.patch
patching file hphp/hack/src/client/clientBuild.ml
patching file hphp/hack/src/client/clientCheck.ml
patching file hphp/hack/src/client/clientIde.ml
patching file hphp/hack/src/client/clientRestart.ml
patching file hphp/hack/src/client/clientStart.ml
patching file hphp/hack/src/client/clientStop.ml
patching file hphp/hack/src/monitor/serverMonitor.ml
patching file hphp/hack/src/procs/worker.ml
patching file hphp/hack/src/server/hhServerMonitor.ml
patching file hphp/hack/src/utils/exit_status.ml
patching file hphp/hack/src/utils/sys_utils.ml
==> Applying 5e92f7701626ebd7eb3c5b8bd57f186cb8e9e3b2.patch
patching file hphp/hack/src/_tags
==> Applying 9d3fff4b0f05b1ed568f93d4bbc9e0336baffbf0.patch
patching file hphp/hack/src/utils/lint.ml
patching file hphp/hack/src/utils/lint.mli
==> Applying 21004b2dba474ea22cdd4a0d0fa47a849ac14367.patch
patching file hphp/hack/src/_tags
==> cmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/hhvm/3.13.1_1 -DDEFAULT_CONFI
==> make
Last 15 lines from /Users/hamidebadi/Library/Logs/Homebrew/hhvm/02.make:
[ 56%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/base/mixed-array.cpp.o
[ 56%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/base/object-data.cpp.o
[ 57%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/base/output-file.cpp.o
In file included from /tmp/hhvm-20160626-30934-199nwfh/hhvm-3.13.1/hphp/runtime/base/object-data.cpp:33:
In file included from /tmp/hhvm-20160626-30934-199nwfh/hhvm-3.13.1/hphp/runtime/ext/simplexml/ext_simplexml.h:22:
/tmp/hhvm-20160626-30934-199nwfh/hhvm-3.13.1/hphp/runtime/ext/libxml/ext_libxml.h:23:10: fatal error: 'libxml/parser.h' file not found

include <libxml/parser.h>

     ^

[ 57%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/base/packed-array.cpp.o
[ 57%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/base/php-globals.cpp.o
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

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
https://github.com/hhvm/homebrew-hhvm/issues

Context and Logs

Parameter Value
OS X Version: 10.11Homebrew Version: Homebrew 0.9.9
Xcode Version: 7.3.1

Output of clang -v:
Apple LLVM version 7.3.0 (clang-703.0.31)

Build logs: https://gist.github.com/27e1cc0ae18600c9571c585e3f8720db`

make error on 10.9

(the formula says depends_on :macosx => :maverics so I'm assuming 10.9 should be supported.)

~$ brew install hhvm
==> Installing hhvm from hhvm/hhvm
==> Installing dependencies for hhvm/hhvm/hhvm: llvm, dwarfutils, libelf, boost, gflags, glog
==> Installing hhvm/hhvm/hhvm dependency: llvm
==> Downloading http://llvm.org/releases/3.6.2/llvm-3.6.2.src.tar.xz
Already downloaded: /Library/Caches/Homebrew/llvm-3.6.2.tar.xz
==> Downloading http://llvm.org/releases/3.6.2/cfe-3.6.2.src.tar.xz
Already downloaded: /Library/Caches/Homebrew/llvm--clang-3.6.2.tar.xz
==> cmake -G Unix Makefiles /private/tmp/llvm20151218-51218-d3tdvy/llvm-3.6.2.src -DCMAKE_C_FLAGS_RE
==> make
==> make install
==> Caveats
LLVM executables are installed in /usr/local/opt/llvm/bin.
Extra tools are installed in /usr/local/opt/llvm/share/llvm.

This formula is keg-only, which means it was not symlinked into /usr/local.

OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/llvm/lib
    CPPFLAGS: -I/usr/local/opt/llvm/include

==> Summary
🍺  /usr/local/Cellar/llvm/3.6.2: 1350 files, 426M, built in 9.4 minutes
==> Installing hhvm/hhvm/hhvm dependency: dwarfutils
==> Downloading https://homebrew.bintray.com/bottles/dwarfutils-20150507.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring dwarfutils-20150507.mavericks.bottle.tar.gz
🍺  /usr/local/Cellar/dwarfutils/20150507: 8 files, 1008K
==> Installing hhvm/hhvm/hhvm dependency: libelf
==> Downloading https://homebrew.bintray.com/bottles/libelf-0.8.13_1.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libelf-0.8.13_1.mavericks.bottle.tar.gz
🍺  /usr/local/Cellar/libelf/0.8.13_1: 11 files, 264K
==> Installing hhvm/hhvm/hhvm dependency: boost
==> Downloading https://homebrew.bintray.com/bottles/boost-1.59.0.mavericks.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring boost-1.59.0.mavericks.bottle.1.tar.gz
🍺  /usr/local/Cellar/boost/1.59.0: 10928 files, 434M
==> Installing hhvm/hhvm/hhvm dependency: gflags
==> Downloading https://homebrew.bintray.com/bottles/gflags-2.1.2.mavericks.bottle.2.tar.gz
######################################################################## 100.0%
==> Pouring gflags-2.1.2.mavericks.bottle.2.tar.gz
🍺  /usr/local/Cellar/gflags/2.1.2: 16 files, 388K
==> Installing hhvm/hhvm/hhvm dependency: glog
==> Downloading https://github.com/google/glog/archive/v0.3.4.tar.gz
==> Downloading from https://codeload.github.com/google/glog/tar.gz/v0.3.4
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/glog/0.3.4
==> make install
🍺  /usr/local/Cellar/glog/0.3.4: 23 files, 500K, built in 16 seconds
==> Installing hhvm/hhvm/hhvm dependency: imagemagick
==> Downloading https://homebrew.bintray.com/bottles/imagemagick-6.9.2-8.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring imagemagick-6.9.2-8.mavericks.bottle.tar.gz
🍺  /usr/local/Cellar/imagemagick/6.9.2-8: 1453 files, 22M
==> Installing hhvm/hhvm/hhvm dependency: jemalloc
==> Downloading https://homebrew.bintray.com/bottles/jemalloc-4.0.0.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring jemalloc-4.0.0.mavericks.bottle.tar.gz
🍺  /usr/local/Cellar/jemalloc/4.0.0: 14 files, 1.4M
==> Installing hhvm/hhvm/hhvm dependency: libevent
==> Downloading https://homebrew.bintray.com/bottles/libevent-2.0.22.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libevent-2.0.22.mavericks.bottle.tar.gz
🍺  /usr/local/Cellar/libevent/2.0.22: 48 files, 1.8M
==> Installing hhvm/hhvm/hhvm dependency: memcached
==> Downloading https://homebrew.bintray.com/bottles/memcached-1.4.24.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring memcached-1.4.24.mavericks.bottle.tar.gz
==> Caveats
To have launchd start memcached at login:
  ln -sfv /usr/local/opt/memcached/*.plist ~/Library/LaunchAgents
Then to load memcached now:
  launchctl load ~/Library/LaunchAgents/homebrew.mxcl.memcached.plist
Or, if you don't want/need launchctl, you can just run:
  /usr/local/opt/memcached/bin/memcached
==> Summary
🍺  /usr/local/Cellar/memcached/1.4.24: 10 files, 192K
==> Installing hhvm/hhvm/hhvm dependency: libmemcached
==> Downloading https://homebrew.bintray.com/bottles/libmemcached-1.0.18_1.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libmemcached-1.0.18_1.mavericks.bottle.tar.gz
🍺  /usr/local/Cellar/libmemcached/1.0.18_1: 227 files, 2.2M
==> Installing hhvm/hhvm/hhvm dependency: libzip
==> Downloading https://homebrew.bintray.com/bottles/libzip-1.0.1.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libzip-1.0.1.mavericks.bottle.tar.gz
🍺  /usr/local/Cellar/libzip/1.0.1: 118 files, 696K
==> Installing hhvm/hhvm/hhvm dependency: lz4
==> Downloading https://homebrew.bintray.com/bottles/lz4-r131.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring lz4-r131.mavericks.bottle.tar.gz
🍺  /usr/local/Cellar/lz4/r131: 12 files, 440K
==> Installing hhvm/hhvm/hhvm dependency: mhash
==> Downloading https://homebrew.bintray.com/bottles/mhash-0.9.9.9.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring mhash-0.9.9.9.mavericks.bottle.tar.gz
🍺  /usr/local/Cellar/mhash/0.9.9.9: 17 files, 508K
==> Installing hhvm/hhvm/hhvm dependency: mcrypt
==> Downloading https://homebrew.bintray.com/bottles/mcrypt-2.6.8.mavericks.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring mcrypt-2.6.8.mavericks.bottle.1.tar.gz
🍺  /usr/local/Cellar/mcrypt/2.6.8: 15 files, 452K
==> Installing hhvm/hhvm/hhvm dependency: oniguruma
==> Downloading https://homebrew.bintray.com/bottles/oniguruma-5.9.6.mavericks.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring oniguruma-5.9.6.mavericks.bottle.1.tar.gz
🍺  /usr/local/Cellar/oniguruma/5.9.6: 12 files, 1.1M
==> Installing hhvm/hhvm/hhvm
==> Downloading http://dl.hhvm.com/source/hhvm-3.11.0.tar.bz2
######################################################################## 100.0%
==> cmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/hhvm/3.11.0 -DDEFAULT_CONFIG_DIR=/usr/local/etc/hhvm -D
==> make
Last 15 lines from /Users/erik/Library/Logs/Homebrew/hhvm/02.make:
make[5]: *** [mysys_ssl/CMakeFiles/mysys_ssl.dir/my_aes.cc.o] Error 1
make[5]: *** [mysys_ssl/CMakeFiles/mysys_ssl.dir/my_md5.cc.o] Error 1
1 error generated.
make[5]: *** [mysys_ssl/CMakeFiles/mysys_ssl.dir/crypt_genhash_impl.cc.o] Error 1
1 error generated.
make[5]: *** [mysys_ssl/CMakeFiles/mysys_ssl.dir/my_rnd.cc.o] Error 1
1 error generated.
make[5]: *** [mysys_ssl/CMakeFiles/mysys_ssl.dir/my_default.cc.o] Error 1
1 error generated.
make[5]: *** [mysys_ssl/CMakeFiles/mysys_ssl.dir/my_getopt.cc.o] Error 1
make[4]: *** [mysys_ssl/CMakeFiles/mysys_ssl.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [third-party/webscalesqlclient/build/src/webscalesqlclient-stamp/webscalesqlclient-build] Error 2
make[1]: *** [third-party/webscalesqlclient/CMakeFiles/webscalesqlclient.dir/all] Error 2
make: *** [all] Error 2

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/hhvm/hhvm/issues 

Figure out how to use brew's libzip

Annoying workaround here: f48a97b

Just using opt_include like we do with the other dependencies doesn't work due to a missing zipconf.h, may be an issue with the upstream brew formula for libzip

Try not to pick up things from MacPorts /opt/local

Not everything is explicitly listed in the dependencies, and so you can sometimes accidentally pick things up from MacPorts in /opt/local. This is probably an uphill battle, but is worth a shot. cf. facebook/hhvm#6187

Log from someone in this configuration -- looking through here for references to /opt/local might hit places we miss.

2015-09-20 21:17:12 +0100

cmake
-DENABLE_MCROUTER=OFF
-DENABLE_EXTENSION_MCROUTER=OFF
-DENABLE_EXTENSION_IMAP=OFF
-DCCLIENT_INCLUDE_PATH=0
-DMYSQL_UNIX_SOCK_ADDR=/tmp/mysql.sock
-DCMAKE_C_FLAGS=-I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib
-DCMAKE_CXX_FLAGS=-I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib
-DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/hhvm/3.9.1_2
-DCMAKE_CXX_COMPILER=/usr/local/opt/llvm/bin/clang++
-DCMAKE_C_COMPILER=/usr/local/opt/llvm/bin/clang
-DCMAKE_ASM_COMPILER=/usr/local/opt/llvm/bin/clang
-DDEFAULT_CONFIG_DIR=/usr/local/etc/hhvm
-DLIBEVENT_INCLUDE_DIR=/usr/local/opt/libevent/include
-DLIBEVENT_LIB=/usr/local/opt/libevent/lib/libevent.dylib
-DICU_INCLUDE_DIR=/usr/local/opt/icu4c/include
-DICU_LIBRARY=/usr/local/opt/icu4c/lib/libicuuc.dylib
-DICU_I18N_LIBRARY=/usr/local/opt/icu4c/lib/libicui18n.dylib
-DICU_DATA_LIBRARY=/usr/local/opt/icu4c/lib/libicudata.dylib
-DREADLINE_INCLUDE_DIR=/usr/local/opt/readline/include
-DREADLINE_LIBRARY=/usr/local/opt/readline/lib/libreadline.dylib
-DBOOST_INCLUDEDIR=/usr/local/opt/boost/include
-DBOOST_LIBRARYDIR=/usr/local/opt/boost/lib
-DJEMALLOC_INCLUDE_DIR=/usr/local/opt/jemalloc/include
-DJEMALLOC_LIB=/usr/local/opt/jemalloc/lib/libjemalloc.dylib
-DLIBINTL_INCLUDE_DIR=/usr/local/opt/gettext/include
-DLIBINTL_LIBRARIES=/usr/local/opt/gettext/lib/libintl.dylib
-DLIBDWARF_INCLUDE_DIRS=/usr/local/opt/dwarfutils/include
-DLIBDWARF_LIBRARIES=/usr/local/opt/dwarfutils/lib/libdwarf.a
-DLIBMAGICKWAND_INCLUDE_DIRS=/usr/local/opt/imagemagick/include/ImageMagick-6
-DLIBMAGICKWAND_LIBRARIES=/usr/local/opt/imagemagick/lib/libMagickWand-6.Q16.dylib
-DFREETYPE_INCLUDE_DIRS=/usr/local/opt/freetype/include/freetype2
-DFREETYPE_LIBRARIES=/usr/local/opt/freetype/lib/libfreetype.dylib
-DLIBMEMCACHED_INCLUDE_DIR=/usr/local/opt/libmemcached/include
-DLIBMEMCACHED_LIBRARY=/usr/local/opt/libmemcached/lib/libmemcached.dylib
-DLIBELF_INCLUDE_DIRS=/usr/local/opt/libelf/include/libelf
-DLIBELF_LIBRARIES=/usr/local/opt/libelf/lib/libelf.a
-DLIBGLOG_INCLUDE_DIR=/usr/local/opt/glog/include
-DLIBGLOG_LIBRARY=/usr/local/opt/glog/lib/libglog.dylib
-DOPENSSL_INCLUDE_DIR=/usr/local/opt/openssl/include
-DOPENSSL_SSL_LIBRARY=/usr/local/opt/openssl/lib/libssl.dylib
-DOPENSSL_CRYPTO_LIBRARY=/usr/local/opt/openssl/lib/libcrypto.dylib
-DTBB_INSTALL_DIR=/usr/local/opt/tbb
-DLIBSQLITE3_INCLUDE_DIR=/usr/local/opt/sqlite/include
-DLIBSQLITE3_LIBRARY=/usr/local/opt/sqlite/lib/libsqlite3.dylib
-DLIBZIP_INCLUDE_DIR_ZIP=/usr/local/opt/libzip/include
-DLIBZIP_INCLUDE_DIR_ZIPCONF=/usr/local/opt/libzip/lib/libzip/include
-DLIBZIP_LIBRARY=/usr/local/opt/libzip/lib/libzip.dylib
-DLZ4_INCLUDE_DIR=/usr/local/opt/lz4/include
-DLZ4_LIBRARY=/usr/local/opt/lz4/lib/liblz4.dylib
-DPCRE_INCLUDE_DIR=/usr/local/opt/pcre/include
-DPCRE_LIBRARY=/usr/local/opt/pcre/lib/libpcre.dylib
-DSYSTEM_PCRE_HAS_JIT=1

-- The C compiler identification is Clang 3.6.2
-- The CXX compiler identification is Clang 3.6.2
-- The ASM compiler identification is unknown
-- Found assembler: /usr/local/opt/llvm/bin/clang
-- Check for working C compiler: /usr/local/opt/llvm/bin/clang
-- Check for working C compiler: /usr/local/opt/llvm/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/local/opt/llvm/bin/clang++
-- Check for working CXX compiler: /usr/local/opt/llvm/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Warning: Did not find file Compiler/-ASM
-- Performing Test IS_X64
-- Performing Test IS_X64 - Success
-- Performing Test IS_AARCH64
-- Performing Test IS_AARCH64 - Failed
-- Performing Test IS_PPC64
-- Performing Test IS_PPC64 - Failed
-- Performing Test PTHREAD_TIMEDLOCK
-- Performing Test PTHREAD_TIMEDLOCK - Failed
-- Build type not specified: cmake build type Release.
-- Found LibDL: /usr/lib/libdl.dylib  
-- Performing Test LIBDL_NEEDS_UNDERSCORE
-- Performing Test LIBDL_NEEDS_UNDERSCORE - Failed
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   system
--   program_options
--   filesystem
--   context
-- Could NOT find LIBINOTIFY (missing:  LIBINOTIFY_LIBRARY LIBINOTIFY_INCLUDE_DIR) 
-- Found LIBICONV: /opt/local/lib/libiconv.dylib  
-- Performing Test LIBICONV_CONST
-- Performing Test LIBICONV_CONST - Failed
-- Found libevent: /usr/local/opt/libevent/lib/libevent.dylib
-- Looking for evhttp_bind_socket_with_fd
-- Looking for evhttp_bind_socket_with_fd - not found
-- Found CURL: /opt/local/lib/libcurl.dylib (found version "7.43.0") 
-- Looking for curl_multi_select
-- Looking for curl_multi_select - not found
-- Looking for curl_multi_wait
-- Looking for curl_multi_wait - found
-- Found LibXml2: /opt/local/lib/libxml2.dylib (found version "2.9.0") 
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.28") 
-- Found LIBSQLITE3: /usr/local/opt/sqlite/lib/libsqlite3.dylib  
-- Found libsqlite3: /usr/local/opt/sqlite/lib/libsqlite3.dylib
-- Could NOT find DOUBLE_CONVERSION (missing:  DOUBLE_CONVERSION_LIBRARY DOUBLE_CONVERSION_INCLUDE_DIR) 
-- Using third-party bundled double-conversion
-- Found LZ4: /usr/local/opt/lz4/lib/liblz4.dylib  
-- Found LZ4: /usr/local/opt/lz4/lib/liblz4.dylib
-- Could NOT find FastLZ (missing:  FASTLZ_LIBRARY FASTLZ_INCLUDE_DIR) 
-- Using third-party bundled fastlz
-- Found LIBZIP: /usr/local/opt/libzip/lib/libzip.dylib  
-- Found libzip: /usr/local/opt/libzip/lib/libzip.dylib 0.11.2
-- Found ICU header files in /usr/local/opt/icu4c/include
-- Found ICU libraries: /usr/local/opt/icu4c/lib/libicuuc.dylib
-- Performing Test JEMALLOC_VERSION_MINIMUM
-- Performing Test JEMALLOC_VERSION_MINIMUM - Success
-- Found jemalloc: /usr/local/opt/jemalloc/lib/libjemalloc.dylib
-- Found Intel TBB
-- Found OpenSSL: /usr/local/opt/openssl/lib/libssl.dylib;/usr/local/opt/openssl/lib/libcrypto.dylib (found version "1.0.2d") 
-- Performing Test OPENSSL_HAVE_RAND_EGD
-- Performing Test OPENSSL_HAVE_RAND_EGD - Success
-- Found ZLIB: /opt/local/lib/libz.dylib (found version "1.2.8") 
-- Found ONIGURUMA: /opt/local/lib/libonig.dylib  
-- Found LIBPTHREAD: /usr/lib/libpthread.dylib  
-- Found Editline: /opt/local/lib/libedit.dylib  
-- Performing Test ELF_GETSHDRSTRNDX
-- Performing Test ELF_GETSHDRSTRNDX - Failed
-- Looking for dwarf_producer_init
-- Looking for dwarf_producer_init - found
-- Performing Test DW_CONST
-- Performing Test DW_CONST - Success
-- Looking for dwarf_producer_init_c
-- Looking for dwarf_producer_init_c - not found
-- libdwarf uses const char* type
-- libdwarf does not have dwarf_producer_init_c, using dwarf_producer_init
Generating Release build
-- Performing Test FOLLY_IFUNC
-- Performing Test FOLLY_IFUNC - Failed
-- Looking for clock_gettime
-- Looking for clock_gettime - not found
-- Looking for pthread_atfork
-- Looking for pthread_atfork - found
-- Looking for pthread_spin_lock
-- Looking for pthread_spin_lock - not found
-- Did not find system RE2
-- Building RE2 from third-party
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file locale.h
-- Looking for include file locale.h - found
-- Looking for include file limits.h
-- Looking for include file limits.h - found
-- Check size of int32_t
-- Check size of int32_t - done
-- Check size of uint32_t
-- Check size of uint32_t - done
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for atoll
-- Looking for atoll - found
-- Looking for strftime
-- Looking for strftime - found
-- Looking for setlocale
-- Looking for setlocale - found
-- Performing Test FOLLY_MALLOC
-- Performing Test FOLLY_MALLOC - Failed
-- Performing Test FOLLY_FUNCTEXCEPT
-- Performing Test FOLLY_FUNCTEXCEPT - Failed
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   system
--   program_options
--   filesystem
--   regex
--   context
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   system
--   thread
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   thread
--   system
CMake Warning (dev) at CMake/HPHPFunctions.cmake:21 (if):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "lib" will no longer be dereferenced when the policy
  is set to NEW.  Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
  third-party/thrift/CMakeLists.txt:5 (auto_sources)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   thread
--   system
-- Looking for arpa/inet.h
-- Looking for arpa/inet.h - found
-- Looking for netinet/in.h
-- Looking for netinet/in.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for string.h
-- Looking for string.h - found
-- Looking for sys/socket.h
-- Looking for sys/socket.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Check size of size_t
-- Check size of size_t - done
-- Check size of ssize_t
-- Check size of ssize_t - done
-- Check size of uint8_t
-- Check size of uint8_t - done
-- Looking for AF_LOCAL
-- Looking for AF_LOCAL - found
-- Looking for PF_LOCAL
-- Looking for PF_LOCAL - found
-- Looking for memset
-- Looking for memset - found
-- Looking for socket
-- Looking for socket - found
-- Looking for strerror
-- Looking for strerror - found
-- Found libevent: /usr/local/opt/libevent/lib/libevent.dylib
-- Looking for event_get_version_number
-- Looking for event_get_version_number - found
-- Performing Test HAVE_LIBEVENT_209
-- Performing Test HAVE_LIBEVENT_209 - Success
-- Found libevent 2.0.9+
-- Looking for include file stdio.h
-- Looking for include file stdio.h - found
-- Looking for include file assert.h
-- Looking for include file assert.h - found
-- Looking for include file memory.h
-- Looking for include file memory.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strchr
-- Looking for strchr - found
-- Build type not specified: cmake build type Release.
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   system
--   program_options
--   filesystem
--   context
-- Could NOT find LIBINOTIFY (missing:  LIBINOTIFY_LIBRARY LIBINOTIFY_INCLUDE_DIR) 
-- Found libevent: /usr/local/opt/libevent/lib/libevent.dylib
-- Found libsqlite3: /usr/local/opt/sqlite/lib/libsqlite3.dylib
-- Could NOT find DOUBLE_CONVERSION (missing:  DOUBLE_CONVERSION_LIBRARY DOUBLE_CONVERSION_INCLUDE_DIR) 
-- Using third-party bundled double-conversion
-- Found LZ4: /usr/local/opt/lz4/lib/liblz4.dylib
-- Could NOT find FastLZ (missing:  FASTLZ_LIBRARY FASTLZ_INCLUDE_DIR) 
-- Using third-party bundled fastlz
-- Found libzip: /usr/local/opt/libzip/lib/libzip.dylib 0.11.2
-- Found ICU header files in /usr/local/opt/icu4c/include
-- Found ICU libraries: /usr/local/opt/icu4c/lib/libicuuc.dylib
-- Found jemalloc: /usr/local/opt/jemalloc/lib/libjemalloc.dylib
-- Found Intel TBB
-- Looking for dwarf_producer_init
-- Looking for dwarf_producer_init - found
-- Performing Test DW_CONST
-- Performing Test DW_CONST - Success
-- Looking for dwarf_producer_init_c
-- Looking for dwarf_producer_init_c - not found
-- libdwarf uses const char* type
-- libdwarf does not have dwarf_producer_init_c, using dwarf_producer_init
Generating Release build
-- Warning: Did not find file Compiler/-ASM
-- Found ocamlc: /opt/local/bin/ocamlc
-- Found ocamlc.opt: /opt/local/bin/ocamlc.opt
-- Found LibJpeg: /opt/local/lib/libjpeg.dylib  
-- Found LibPng: /opt/local/lib/libpng.dylib  
-- Found LibVPX: /usr/local/lib/libvpx.a  
-- Found Freetype: /usr/local/opt/freetype/lib/libfreetype.dylib  
-- Using built-in JSON parser
-- Building the apache extension.
-- Building the apc extension.
-- Building the array extension.
-- Building the asio extension.
-- Building the Async MySQL extension.
-- Building the bcmath extension.
-- Found BZip2: /opt/local/lib/libbz2.dylib (found version "1.0.6") 
-- Looking for BZ2_bzCompressInit in /opt/local/lib/libbz2.dylib
-- Looking for BZ2_bzCompressInit in /opt/local/lib/libbz2.dylib - found
-- Found EXPAT: /opt/local/lib/libexpat.dylib (found version "2.1.0") 
-- Building the bz2 extension.
-- Building the closure extension.
-- Building the collections extension.
-- Building the ctype extension.
-- Building the curl extension.
-- Building the datetime extension.
-- Building the debugger extension.
-- Building the DOMDocument extension.
-- Building the enum extension.
-- Found ICU header files in /usr/local/opt/icu4c/include
-- Found ICU libraries: /usr/local/opt/icu4c/lib/libicuuc.dylib
-- Building the fb extension.
-- Found ICU header files in /usr/local/opt/icu4c/include
-- Found ICU libraries: /usr/local/opt/icu4c/lib/libicuuc.dylib
-- Building the fileinfo extension.
-- Building the filter extension.
-- GNU FriBidi not found
-- The fribidi extension was disabled because resolving the dependency 'libFribidi 0.19.6' failed.
Not building the fribidi extension.
-- Building the generator extension.
-- Found GMP: /opt/local/lib/libgmp.dylib  
-- Building the gmp extension.
-- Building the hash extension.
-- Building the hh extension.
-- Building the hh_client extension.
-- Building the Hot Profiler extension.
-- Building the iconv extension.
-- Found ICU header files in /usr/local/opt/icu4c/include
-- Found ICU libraries: /usr/local/opt/icu4c/lib/libicuuc.dylib
-- Building the icu extension.
-- Found ICU header files in /usr/local/opt/icu4c/include
-- Found ICU libraries: /usr/local/opt/icu4c/lib/libicuuc.dylib
-- Building the imagick extension.
-- Building the intervaltimer extension.
-- Building the ipc extension.
-- Building the json extension.
-- Found ldap: /usr/lib/libldap.dylib;/usr/lib/liblber.dylib
-- Building the ldap extension.
-- Building the libxml extension.
-- Building the mail extension.
-- Building the mailparse extension.
-- Building the mbstring extension.
Not building the mcrouter extension.
-- Found mcrypt: /opt/local/lib/libmcrypt.dylib
-- Building the mcrypt extension.
-- Found mcrypt: /opt/local/lib/libmcrypt.dylib
-- Building the memcache extension.
-- Building the memcached extension.
-- Building the MySQL extension.
-- Building the MySQLi extension.
-- Building the objprof extension.
-- Found LibUODBC: /usr/local/lib/libodbc.dylib  
-- Building the odbc extension.
-- Building the openssl extension.
-- Building the pcre extension.
-- Building the pdo extension.
-- Building the pdo_mysql extension.
-- Building the pdo_sqlite extension.
-- Building the phar extension.
-- Building the posix extension.
-- Building the process extension.
-- Building the readline extension.
-- Building the reflection extension.
-- Building the server extension.
-- Building the session extension.
-- Building the simplexml extension.
-- Building the soap extension.
-- Building the sockets extension.
-- Building the spl extension.
-- Building the sqlite3 extension.
-- Building the std extension.
-- Building the stream extension.
-- Building the string extension.
-- Building the thread extension.
-- Building the thrift extension.
-- Building the url extension.
-- Building the wddx extension.
-- Building the xdebug extension.
-- Building the xenon extension.
-- Building the xhprof extension.
-- Building the xml extension.
-- Building the xmlreader extension.
-- Building the xmlwriter extension.
-- Found LibXslt: /usr/lib/libxslt.dylib (found version "1.1.28") 
-- Building the xsl extension.
-- Building the zip extension.
-- Building the zlib extension.
-- Performing Test NOT_REQUIRE_ATOMIC_LINKER_FLAG
-- Performing Test NOT_REQUIRE_ATOMIC_LINKER_FLAG - Success
CMake Warning (dev) at CMake/HPHPFunctions.cmake:157 (get_target_property):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The LOCATION property should not be read from target "hhvm".  Use the
  target name directly with add_custom_command, or use the generator
  expression $<TARGET_FILE>, as appropriate.

Call Stack (most recent call first):
  hphp/hhvm/CMakeLists.txt:79 (HHVM_INSTALL)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    ENABLE_EXTENSION_IMAP


-- Build files have been written to: /tmp/hhvm20150920-80546-zpxkto/hhvm-3.9.1

Faild build due to missing libxml

Description

==> Installing hhvm/hhvm/hhvm
==> Downloading http://dl.hhvm.com/source/hhvm-3.14.5.tar.bz2
######################################################################## 100.0%
==> cmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/hhvm/3.14.5 -DDEFAULT_CONFIG_DIR=/usr/local/etc/hhvm -DCMAKE_CXX_COMPILER=/usr/local/opt/l
==> make
Last 15 lines from /Users/simonkuang/Library/Logs/Homebrew/hhvm/02.make:
/tmp/hhvm-20160905-19704-1wbiiir/hhvm-3.14.5/hphp/runtime/base/type-object.h:139:5: warning: use of the 'deprecated' attribute is a C++14 extension [-Wc++14-extensions]
  [[deprecated("Please use one of the cast family of functions instead.")]]
    ^
In file included from /tmp/hhvm-20160905-19704-1wbiiir/hhvm-3.14.5/hphp/runtime/base/packed-array.cpp:28:
In file included from /tmp/hhvm-20160905-19704-1wbiiir/hhvm-3.14.5/hphp/runtime/base/mixed-array-defs.h:22:
In file included from /tmp/hhvm-20160905-19704-1wbiiir/hhvm-3.14.5/hphp/runtime/base/array-iterator.h:23:
In file included from /tmp/hhvm-20160905-19704-1wbiiir/hhvm-3.14.5/hphp/runtime/base/array-data-defs.h:25:
In file included from /tmp/hhvm-20160905-19704-1wbiiir/hhvm-3.14.5/hphp/runtime/base/type-variant.h:26:
/tmp/hhvm-20160905-19704-1wbiiir/hhvm-3.14.5/hphp/runtime/base/type-resource.h:132:5: warning: use of the 'deprecated' attribute is a C++14 extension [-Wc++14-extensions]
  [[deprecated("Please use one of the cast family of functions instead.")]]
    ^
4 warnings generated.
4 warnings generated.
make[1]: *** [hphp/runtime/CMakeFiles/hphp_runtime_static.dir/all] Error 2
make: *** [all] Error 2    

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
  https://github.com/hhvm/homebrew-hhvm/issues    

These open issues may also help:
hhvm make fail due to missing mysql_get_ssl_session_reused / mysql_get_file_descriptor https://github.com/hhvm/homebrew-hhvm/issues/29

Context and Logs

Parameter Value
OS X Version: El Capitan
Homebrew Version: 0.9.9
Xcode Version: 7.3.1

Output of clang -v:
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Build logs:
https://gist.github.com/84a8a3e2cc940918d122e71194ca07de

Fails to link if boost is built with gcc

Hello,

I am still having issues installing Hack in my development environment. After checking previous issues, I tried to install the HEAD version but I am still getting erros. I attach the logs and the message.

brew install hhvm --HEAD
==> Installing hhvm from hhvm/homebrew-hhvm
==> Cloning https://github.com/facebook/hhvm.git
Updating /Library/Caches/Homebrew/hhvm--git
Synchronizing submodule url for 'folly/src'
Synchronizing submodule url for 'mcrouter/src'
Synchronizing submodule url for 'proxygen/src'
Synchronizing submodule url for 're2/src'
Synchronizing submodule url for 'squangle/src'
Synchronizing submodule url for 'thrift/src'
Synchronizing submodule url for 'wangle/src'
Synchronizing submodule url for 'webscalesqlclient/webscalesql-5.6'
==> Checking out branch master
==> cmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/hhvm/HEAD -DDEFAULT_CONFIG_
==> make
Last 15 lines from /Users/albertommr/Library/Logs/Homebrew/hhvm/02.make:
      ...
  "boost::program_options::value_semantic_codecvt_helper<char>::parse(boost::any&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, bool) const", referenced from:
      vtable for boost::program_options::typed_value<bool, char> in libhphp_runtime.a(program-functions.cpp.o)
      vtable for boost::program_options::typed_value<int, char> in libhphp_runtime.a(program-functions.cpp.o)
      vtable for boost::program_options::typed_value<std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >, char> in libhphp_runtime.a(program-functions.cpp.o)
      vtable for boost::program_options::typed_value<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, char> in libhphp_runtime.a(program-functions.cpp.o)
      vtable for boost::program_options::typed_value<int, char> in libhphp_analysis.a(compiler.cpp.o)
      vtable for boost::program_options::typed_value<bool, char> in libhphp_analysis.a(compiler.cpp.o)
      vtable for boost::program_options::typed_value<std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >, char> in libhphp_analysis.a(compiler.cpp.o)
      ...
ld: symbol(s) not found for architecture x86_64
clang-3.6: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [hphp/hhvm/hhvm] Error 1
make[1]: *** [hphp/hhvm/CMakeFiles/hhvm.dir/all] Error 2
make: *** [all] Error 2

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Home

oniguruma 6.1.0 and libonig.4.dylib

Missing libraries:
  /usr/local/opt/oniguruma/lib/libonig.3.dylib

Just a heads up that I just shipped oniguruma 6.1.0 (Homebrew/homebrew-core@79871f4) which will break the linkage of all hhvm homebrew installations as soon as people upgrade. Rebuilding against the latest oniguruma will fix the problem for you.

Crash on startup due to IMAP/gss issue

I copied over the php.ini and server.ini from one of our Ubuntu 14.04 servers and tried to start in daemon mode:

Started with command:

hhvm --mode daemon --config /etc/hhvm/php.ini --config /etc/hhvm/server.ini

php.ini

; php options
session.save_handler = files
session.save_path = /var/lib/hhvm/sessions
session.gc_maxlifetime = 1440

; hhvm specific
hhvm.log.level = Warning
hhvm.log.always_log_unhandled_exceptions = true
hhvm.log.runtime_error_reporting_level = 8191
hhvm.mysql.typed_results = false
hhvm.server.connection_timeout_seconds = 300
hhvm.server.request_timeout_seconds = 300

;SECURITY
expose_php=off

hhvm.ini

; php options

pid = /var/run/hhvm/pid

; hhvm specific

hhvm.server.port = 9000
hhvm.server.type = fastcgi
hhvm.server.default_document = index.php
hhvm.log.use_log_file = true
hhvm.log.file = /usr/local/var/log/hhvm.log
hhvm.repo.central.path = /var/run/hhvm/hhvm.hhbc
hhvm.enable_zend_sorting = true
hhvm.enable_zend_ini_compat = false
hhvm.server.connection_timeout_seconds = 300
hhvm.server.request_timeout_seconds = 300

The stacktrace is empty though:

cat /tmp/stacktrace.17338.log
PHP Stacktrace:

Darwin MacBook-Pro.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64

Installation failed with error "'libxml/parser.h' file not found"

Description

Installation failed with error 'libxml/parser.h' file not found
libxml2 is already installed.

 ~ brew install libxml2
Warning: libxml2-2.9.4 already installed
 ~ brew install hhvm
...
==> cmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/hhvm/3.13.1_1 -DDEFAULT_CONFIG_DIR=/usr/local/etc/hhvm -DCMAKE_CXX_COMPILER=/usr/local/opt/llvm/bin/clang++ -DCMAKE_C_COMPILER=
==> make
Last 15 lines from /Users/burakcalik/Library/Logs/Homebrew/hhvm/02.make:
[ 56%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/base/memory-manager.cpp.o
[ 56%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/base/mixed-array.cpp.o
[ 56%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/base/object-data.cpp.o
[ 57%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/base/output-file.cpp.o
In file included from /tmp/hhvm-20160613-13951-lmw9be/hhvm-3.13.1/hphp/runtime/base/object-data.cpp:33:
In file included from /tmp/hhvm-20160613-13951-lmw9be/hhvm-3.13.1/hphp/runtime/ext/simplexml/ext_simplexml.h:22:
/tmp/hhvm-20160613-13951-lmw9be/hhvm-3.13.1/hphp/runtime/ext/libxml/ext_libxml.h:23:10: fatal error: 'libxml/parser.h' file not found
#include <libxml/parser.h>
         ^
[ 57%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/base/packed-array.cpp.o
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

Context and Logs

Parameter Value
OS X Version: 10.11.5
Homebrew Version: 0.9.9
Xcode Version: 7.3.1 (7D1014)

Output of clang -v:

 ~ clang -v
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Build logs:
https://gist.github.com/34f0d1d638f8c080be9b5ac83c93ff5a

HHVM 3.14.5 build fails

Description

Installation of HHVM via brew install hhvm failed with following errors.

Last 15 lines from /Users/raees/Library/Logs/Homebrew/hhvm/02.make:
In file included from /tmp/hhvm-20160915-24740-clsp9i/hhvm-3.14.5/hphp/runtime/base/type-variant.h:25:
/tmp/hhvm-20160915-24740-clsp9i/hhvm-3.14.5/hphp/runtime/base/type-object.h:139:5: warning: use of the 'deprecated' attribute is a C++14 extension [-Wc++14-extensions]
  [[deprecated("Please use one of the cast family of functions instead.")]]
    ^
In file included from /tmp/hhvm-20160915-24740-clsp9i/hhvm-3.14.5/hphp/runtime/base/repo-auth-type.cpp:22:
In file included from /tmp/hhvm-20160915-24740-clsp9i/hhvm-3.14.5/hphp/runtime/base/array-data-defs.h:25:
In file included from /tmp/hhvm-20160915-24740-clsp9i/hhvm-3.14.5/hphp/runtime/base/type-variant.h:26:
/tmp/hhvm-20160915-24740-clsp9i/hhvm-3.14.5/hphp/runtime/base/type-resource.h:132:5: warning: use of the 'deprecated' attribute is a C++14 extension [-Wc++14-extensions]
  [[deprecated("Please use one of the cast family of functions instead.")]]
    ^
2 warnings generated.
4 warnings generated.
4 warnings generated.
make[1]: *** [hphp/runtime/CMakeFiles/hphp_runtime_static.dir/all] Error 2
make: *** [all] Error 2

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
  https://github.com/hhvm/homebrew-hhvm/issues

These open issues may also help:
hhvm make fail due to missing mysql_get_ssl_session_reused / mysql_get_file_descriptor https://github.com/hhvm/homebrew-hhvm/issues/29

Context and Logs

Parameter Value
OS X Version: 10.11.6
Homebrew Version: Homebrew 0.9.9 (git revision 0992; last commit 2016-09-15) Homebrew/homebrew-core (git revision d876; last commit 2016-09-14)
Xcode Version: package-id: com.apple.pkg.CLTools_Executables version: 7.3.1.0.1.1461711523

Output of clang -v:

Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Build logs: Link to build logs

Error installing HHVM 3.14.2 on OS X 10.11.5

Description

Error installing HHVM 3.14.2 on OS X 10.11.5

Context and Logs

brew install hhvm
==> Installing hhvm from hhvm/hhvm
==> Downloading http://dl.hhvm.com/source/hhvm-3.14.2.tar.bz2
######################################################################## 100.0%
==> Downloading https://github.com/facebook/hhvm/commit/39fc688e1aac618783af1aa8a499658dd4a8b09d.patch
######################################################################## 100.0%
==> Patching
==> Applying 39fc688e1aac618783af1aa8a499658dd4a8b09d.patch
patching file hphp/hack/scripts/gen_build_id.ml
patching file hphp/hack/scripts/utils.ml
==> cmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/hhvm/3.14.2_1 -DDEFAULT_CONFIG_DIR=/usr/local/etc/hhvm -DCMAKE_CXX_COMPILER=/usr/local/opt/llvm/bin/clang++ -DCMAKE_C_COMPILER=/usr/local/opt/llvm/bin/clang -DCMAKE_ASM_COMPILER=/usr/local/opt/llvm/bin/clang -DENABLE_MCROUTER=OFF -DENABLE_EXTENSION_MCROUTER=OFF -D
==> make
Last 15 lines from /Users/ccarnell/Library/Logs/Homebrew/hhvm/02.make:

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.6: note: diagnostic msg: /var/folders/wb/mm4hf06d07140gbgt_g9s_8r0000gn/T/store-elim-2cad50.cpp
clang-3.6: note: diagnostic msg: /var/folders/wb/mm4hf06d07140gbgt_g9s_8r0000gn/T/store-elim-2cad50.sh
clang-3.6: note: diagnostic msg: 

********************
make[2]: *** [hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/store-elim.cpp.o] Error 254
make[2]: *** Waiting for unfinished jobs....
2 warnings generated.
2 warnings generated.
2 warnings generated.
make[1]: *** [hphp/runtime/CMakeFiles/hphp_runtime_static.dir/all] Error 2
make: *** [all] Error 2

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
  https://github.com/hhvm/homebrew-hhvm/issues

These open issues may also help:
hhvm make fail due to missing mysql_get_ssl_session_reused / mysql_get_file_descriptor https://github.com/hhvm/homebrew-hhvm/issues/29
Parameter Value
OS X Version: 10.11.5
Homebrew Version: Homebrew 0.9.9 (git revision 3a12; last commit 2016-07-06)

Homebrew/homebrew-core (git revision 9577; last commit 2016-07-06)
Xcode Version: | 7.3 (7D175)

Output of clang -v:
Apple LLVM version 7.3.0 (clang-703.0.29)
Target: x86_64-apple-darwin15.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Build logs:
https://gist.github.com/264d0b444201ed7ad8afdc3311ccd39e

Brew fails after "Built target timelib"

I've just done an install and it's failed here:

Last 15 lines from /Users/michael-gall/Library/Logs/Homebrew/hhvm/02.make:
[  1%] Built target afdt
[  1%] Building CXX object third-party/double-conversion/CMakeFiles/double-conversion.dir/src/double-conversion/diy-fp.cc.o
[  1%] Building C object third-party/timelib/CMakeFiles/timelib.dir/parse_tz.c.o
[  1%] Building CXX object third-party/double-conversion/CMakeFiles/double-conversion.dir/src/double-conversion/double-conversion.cc.o
[  1%] Building CXX object third-party/double-conversion/CMakeFiles/double-conversion.dir/src/double-conversion/fast-dtoa.cc.o
[  1%] Building C object third-party/timelib/CMakeFiles/timelib.dir/timelib.c.o
[  1%] Building CXX object third-party/double-conversion/CMakeFiles/double-conversion.dir/src/double-conversion/fixed-dtoa.cc.o
[  2%] Building CXX object third-party/double-conversion/CMakeFiles/double-conversion.dir/src/double-conversion/strtod.cc.o
[  2%] Building C object third-party/timelib/CMakeFiles/timelib.dir/tm2unixtime.c.o
[  2%] Linking CXX static library libdouble-conversion.a
[  2%] Built target double-conversion
[  2%] Building C object third-party/timelib/CMakeFiles/timelib.dir/unixtime2tm.c.o
[  2%] Linking C static library libtimelib.a
[  2%] Built target timelib
make: *** [all] Error 2

I've done a brew gist-logs: https://gist.github.com/anonymous/27cb43a22f312f5bc587

I've not got the foggiest idea as to where to go from here.

brew install fails due to dependencies

I was trying to install hhvm on El Capitan after adding the tap and it failed due to missing cmake while installing llvm as the first dependency; but cmake is listed as a dependency later in the list of dependencies.

==> Installing dependencies for hhvm/hhvm/hhvm: llvm, automake, cmake, dwarfutils, gmp, mpfr, gawk, libelf, libtool, md5sha1sum, ocaml, ocamlbuild, pkg-config, homebrew/versions/boost160, freetype, fontconfig, libtiff, webp, gd, gettext, gflags, glog, icu4c, imagemagick, jemalloc, libevent, memcached, libmemcached, libzip, lz4, mhash, mcrypt, pcre, tbbz

Context and Logs

Log for brew install hhvm -dv is attached

error at 2016-08-08 12.24.23.txt

Parameter Value
OS X Version: 10.11.6
Homebrew Version: 0.9.9
Xcode Version: 7.3.1

Output of clang -v:
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Build logs:
brew gist-logs hhvm
ERROR: No logs.

brew install hhvm? what about ?

[ 95%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/store-elim.cpp.o
[ 95%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/target-cache.cpp.o
[ 95%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/target-profile.cpp.o
[ 95%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/tc-info.cpp.o
[ 95%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/timer.cpp.o
Assertion failed: ((data().DefaultedMoveConstructorIsDeleted || needsOverloadResolutionForMoveConstructor()) && "move constructor should not be deleted"), function setImplicitMoveConstructorIsDeleted, file /tmp/llvm20160112-57262-bcf1bf/llvm-3.6.2.src/tools/clang/include/clang/AST/DeclCXX.h, line 909.
0  clang-3.6                0x00000001017a9eb9 llvm::sys::PrintStackTrace(__sFILE*) + 57
1  clang-3.6                0x00000001017aa416 SignalHandler(int) + 218
2  libsystem_platform.dylib 0x00007fff8ddd152a _sigtramp + 26
3  libsystem_platform.dylib 0x7349726f74637572 _sigtramp + 3867566178
4  clang-3.6                0x00000001017aa2a4 abort + 22
5  clang-3.6                0x00000001017aa28e abort + 0
6  clang-3.6                0x000000010206af44 llvm::SmallVectorImpl<clang::Expr*>::reserve(unsigned long) + 0
7  clang-3.6                0x0000000102045afd clang::Sema::DeclareImplicitMoveConstructor(clang::CXXRecordDecl*) + 609
8  clang-3.6                0x000000010215caba clang::Sema::LookupConstructors(clang::CXXRecordDecl*) + 108
9  clang-3.6                0x000000010213f529 TryConstructorInitialization(clang::Sema&, clang::InitializedEntity const&, clang::InitializationKind const&, llvm::MutableArrayRef<clang::Expr*>, clang::QualType, clang::InitializationSequence&, bool) + 392
10 clang-3.6                0x000000010213d7db clang::InitializationSequence::InitializeFrom(clang::Sema&, clang::InitializedEntity const&, clang::InitializationKind const&, llvm::MutableArrayRef<clang::Expr*>, bool) + 1293
11 clang-3.6                0x000000010213d2bf clang::InitializationSequence::InitializationSequence(clang::Sema&, clang::InitializedEntity const&, clang::InitializationKind const&, llvm::MutableArrayRef<clang::Expr*>, bool) + 295
12 clang-3.6                0x000000010213e56c clang::InitializationSequence::InitializationSequence(clang::Sema&, clang::InitializedEntity const&, clang::InitializationKind const&, llvm::MutableArrayRef<clang::Expr*>, bool) + 20
13 clang-3.6                0x000000010203e856 CollectFieldInitializer(clang::Sema&, (anonymous namespace)::BaseAndFieldInfo&, clang::FieldDecl*, clang::IndirectFieldDecl*) + 2543
14 clang-3.6                0x000000010203d2df clang::Sema::SetCtorInitializers(clang::CXXConstructorDecl*, bool, llvm::ArrayRef<clang::CXXCtorInitializer*>) + 2267
15 clang-3.6                0x0000000102040030 clang::Sema::ActOnMemInitializers(clang::Decl*, clang::SourceLocation, llvm::ArrayRef<clang::CXXCtorInitializer*>, bool) + 2320
16 clang-3.6                0x0000000102269f86 clang::Sema::InstantiateMemInitializers(clang::CXXConstructorDecl*, clang::CXXConstructorDecl const*, clang::MultiLevelTemplateArgumentList const&) + 1588
17 clang-3.6                0x00000001022696b4 clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation, clang::FunctionDecl*, bool, bool) + 1870
18 clang-3.6                0x000000010226a1f4 clang::Sema::PerformPendingInstantiations(bool) + 320
19 clang-3.6                0x0000000101f8b46f clang::Sema::ActOnEndOfTranslationUnit() + 587
20 clang-3.6                0x0000000101ea7f32 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 188
21 clang-3.6                0x0000000101e4c336 clang::ParseAST(clang::Sema&, bool, bool) + 335
22 clang-3.6                0x000000010193c3b3 clang::FrontendAction::Execute() + 67
23 clang-3.6                0x0000000101919e3a clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 556
24 clang-3.6                0x0000000101967c5a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2942
25 clang-3.6                0x0000000100cbbd50 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 922
26 clang-3.6                0x0000000100cbb2d5 main + 8166
27 libdyld.dylib            0x00007fff8bdaf5ad start + 1
Stack dump:
0.  Program arguments: /usr/local/Cellar/llvm/3.6.2/bin/clang-3.6 -cc1 -triple x86_64-apple-macosx10.11.0 -emit-obj -disable-free -main-file-name store-elim.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-feature +sse4.2 -target-linker-version 253.9 -dwarf-column-info -coverage-file /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/store-elim.cpp.o -resource-dir /usr/local/Cellar/llvm/3.6.2/bin/../lib/clang/3.6.2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -D DEFAULT_CONFIG_DIR="/usr/local/etc/hhvm" -D ENABLE_FASTCGI=1 -D FOLLY_HAVE_PTHREAD_ATFORK=1 -D FOLLY_HAVE_SCHED_H=1 -D FOLLY_HAVE_VLA=1 -D FOLLY_HAVE_WEAK_SYMBOLS=1 -D FOLLY_NO_CONFIG=1 -D FOLLY_USE_LIBCPP=1 -D HAVE_BOOST1_49 -D HAVE_CURL_MULTI_WAIT -D HAVE_LIBDL -D HHVM -D HHVM_DYNAMIC_EXTENSION_DIR="/usr/local/Cellar/hhvm/3.13.1/lib/hhvm/extensions" -D HPHP_OSS=1 -D LIBDWARF_CONST_NAME -D MACOSX_DEPLOYMENT_TARGET=10.6 -D MAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_6 -D MBFL_STATIC -D NDEBUG -D NO_HARDWARE_COUNTERS=1 -D NO_LIB_GFLAGS -D NO_TCMALLOC=1 -D OPENSSL_NO_RAND_EGD -D PACKAGE=hhvm -D PACKAGE_VERSION=Release -D PHP_MYSQL_UNIX_SOCK_ADDR="/tmp/mysql.sock" -D RELEASE=1 -D SKIP_USER_CHANGE=1 -D THRIFT_MUTEX_EMULATE_PTHREAD_TIMEDLOCK -D USE_CMAKE -D USE_JEMALLOC=1 -D _PTHREADS=1 -D _REENTRANT=1 -D __STDC_FORMAT_MACROS -D NDEBUG -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1 -I /usr/local/opt/boost/include -I /usr/local/opt/glog/include -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/re2/src -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/squangle/src -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/webscalesqlclient/src/include -I /usr/local/opt/pcre/include -I /usr/local/opt/libevent/include -I /usr/include/libxml2 -I /usr/local/opt/lz4/include -I /usr/local/opt/libzip/include -I /usr/local/opt/libzip/lib/libzip/include -I /usr/local/opt/icu4c/include -I /usr/local/opt/jemalloc/include -I /usr/local/opt/tbb/include -I /usr/local/opt/openssl/include -I /usr/local/opt/oniguruma/include -I /usr/local/opt/readline/include -I /usr/local/opt/dwarfutils/include -I /usr/local/opt/libelf/include/libelf -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/hphp -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/double-conversion/src -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/fastlz -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/timelib -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/libafdt/src -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/libmbfl -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/libmbfl/mbfl -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/libmbfl/filters -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/proxygen/src -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/folly -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/folly/src -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/thrift/src -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/wangle/src -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/hphp/runtime/../runtime/ext_zend_compat/php-src -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/hphp/runtime/../runtime/ext_zend_compat/php-src/main -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/hphp/runtime/../runtime/ext_zend_compat/php-src/Zend -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/hphp/runtime/../runtime/ext_zend_compat/php-src/TSRM -I /usr/local/opt/readline/include -stdlib=libc++ -O3 -Wno-deprecated -Wno-strict-aliasing -Wno-write-strings -Wno-invalid-offsetof -Wno-error=array-bounds -Wno-error=switch -Wno-unused-result -Wno-sign-compare -Wno-attributes -Wno-maybe-uninitialized -Wno-unknown-warning-option -Wno-return-type-c-linkage -Wall -Woverloaded-virtual -Werror=format-security -std=gnu++11 -fdebug-compilation-dir /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/hphp/runtime -ferror-limit 19 -fmessage-length 0 -fno-operator-names -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.11.0 -fencode-extended-block-signature -fcxx-exceptions -fexceptions -fmax-type-align=16 -fdiagnostics-show-option -vectorize-loops -vectorize-slp -o CMakeFiles/hphp_runtime_static.dir/vm/jit/store-elim.cpp.o -x c++ /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/hphp/runtime/vm/jit/store-elim.cpp
1.  <eof> parser at end of file
2.  /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/folly/folly/Optional.h:97:3: instantiating function definition 'Optional'
clang-3.6: error: unable to execute command: Illegal instruction: 4
clang-3.6: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 3.6.2 (tags/RELEASE_362/final)
Target: x86_64-apple-darwin15.4.0
Thread model: posix
clang-3.6: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang-3.6: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.6: note: diagnostic msg: /var/folders/ww/glqy1cfd14b58vfmwdnfkjqm0000gn/T/store-elim-22e940.cpp
clang-3.6: note: diagnostic msg: /var/folders/ww/glqy1cfd14b58vfmwdnfkjqm0000gn/T/store-elim-22e940.sh
clang-3.6: note: diagnostic msg:

********************
make[2]: *** [hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/store-elim.cpp.o] Error 254
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [hphp/runtime/CMakeFiles/hphp_runtime_static.dir/all] Error 2
make: *** [all] Error 2
==> Formula
Tap: hhvm/hhvm
Path: /usr/local/Library/Taps/hhvm/homebrew-hhvm/hhvm.rb
==> Configuration
HOMEBREW_VERSION: 0.9.9
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 9378e46ffc2c17df4efc535744279ebfa28bcf30
Last commit: 20 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 1352e6b52c7c81477c2ffae3ae41a25e2aeee579
Core tap last commit: 3 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: quad-core 64-bit haswell
OS X: 10.11.4-x86_64
Xcode: 7.3
CLT: 7.3.0.0.1.1457485338
Clang: 7.3 build 703
X11: N/A
System Ruby: 2.0.0-p648
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/2.3.0/bin/ruby
Java: 1.8.0_66, 1.6.0_65-b14-468
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /usr/local/opt/llvm:/usr/local/opt/gettext:/usr/local/opt/icu4c:/usr/local/opt/openssl:/usr/local/opt/readline:/usr/local/opt/sqlite:/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
MACOSX_DEPLOYMENT_TARGET: 10.11
PKG_CONFIG_PATH: /usr/local/opt/libelf/lib/pkgconfig:/usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/freetype/lib/pkgconfig:/usr/local/opt/fontconfig/lib/pkgconfig:/usr/local/opt/libtiff/lib/pkgconfig:/usr/local/opt/gd/lib/pkgconfig:/usr/local/opt/glog/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/xz/lib/pkgconfig:/usr/local/opt/imagemagick/lib/pkgconfig:/usr/local/opt/jemalloc/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/libevent/lib/pkgconfig:/usr/local/opt/libmemcached/lib/pkgconfig:/usr/local/opt/libzip/lib/pkgconfig:/usr/local/opt/lz4/lib/pkgconfig:/usr/local/opt/oniguruma/lib/pkgconfig:/usr/local/opt/pcre/lib/pkgconfig:/usr/local/opt/sqlite/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.11
ACLOCAL_PATH: /usr/local/opt/gettext/share/aclocal:/usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/llvm/bin:/usr/local/opt/autoconf/bin:/usr/local/opt/automake/bin:/usr/local/opt/cmake/bin:/usr/local/opt/dwarfutils/bin:/usr/local/opt/gawk/bin:/usr/local/opt/libtool/bin:/usr/local/opt/md5sha1sum/bin:/usr/local/opt/ocaml/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/libpng/bin:/usr/local/opt/freetype/bin:/usr/local/opt/fontconfig/bin:/usr/local/opt/jpeg/bin:/usr/local/opt/libtiff/bin:/usr/local/opt/gd/bin:/usr/local/opt/gettext/bin:/usr/local/opt/gflags/bin:/usr/local/opt/icu4c/bin:/usr/local/opt/xz/bin:/usr/local/opt/imagemagick/bin:/usr/local/opt/jemalloc/bin:/usr/local/opt/openssl/bin:/usr/local/opt/libevent/bin:/usr/local/opt/memcached/bin:/usr/local/opt/libmemcached/bin:/usr/local/opt/libzip/bin:/usr/local/opt/lz4/bin:/usr/local/opt/mcrypt/bin:/usr/local/opt/oniguruma/bin:/usr/local/opt/pcre/bin:/usr/local/opt/sqlite/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: hhvm/hhvm/hhvm 3.13.1 did not build
Logs:
     /Users/meilunzhi/Library/Logs/Homebrew/hhvm/01.cmake
     /Users/meilunzhi/Library/Logs/Homebrew/hhvm/01.cmake.cc
     /Users/meilunzhi/Library/Logs/Homebrew/hhvm/02.make
     /Users/meilunzhi/Library/Logs/Homebrew/hhvm/02.make.cc
     /Users/meilunzhi/Library/Logs/Homebrew/hhvm/CMakeCache.txt

These open issues may also help:
hhvm make fail due to missing mysql_get_ssl_session_reused / mysql_get_file_descriptor https://github.com/hhvm/homebrew-hhvm/issues/29

Can not find typechecker location in hhvm on OS X

Description

I have installed hhvm by using brew install hhvm command! and for running hack files I need typecheker but Can not find it
It was not at /usr/bin/hh_client or /usr/bin/hh_server

what should I do?

Context and Logs

Parameter Value
OS X Version: 10.11
Homebrew Version: _Homebrew 0.9.9 _
Xcode Version: 7.3

Add homebrew bottle

Just building the LLVM build dependency takes age and that is even without building HHVM itself.

Having pre-build binaries would save users a lot of time.

hhvm failed to build on 10.10.4: lz4 issues

$ brew install hhvm/hhvm/hhvm
==> Installing hhvm from hhvm/homebrew-hhvm
==> Downloading http://dl.hhvm.com/source/hhvm-3.9.1.tar.bz2
Already downloaded: /Library/Caches/Homebrew/hhvm-3.9.1.tar.bz2
==> cmake -DENABLE_MCROUTER=OFF -DENABLE_EXTENSION_MCROUTER=OFF -DMYSQL_UNIX_SOC
==> make
[100%] Built target symlink_libwebscalesqlclient_r.a
[  7%] No install step for 'webscalesqlclient'
[  7%] Completed 'webscalesqlclient'
[  7%] Built target webscalesqlclient
make: *** [all] Error 2

Gist-log: https://gist.github.com/anonymous/f995fec2d7ec568ad37b

Fails to build with define error in thrift

☁ conf.d [master] ss brew install hhvm
==> Upgrading hhvm/hhvm/hhvm
==> Downloading http://dl.hhvm.com/source/hhvm-3.13.1.tar.bz2
Already downloaded: /Library/Caches/Homebrew/hhvm-3.13.1.tar.bz2
==> cmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/hhvm/3.13.1 -DDEFAULT_CONFIG_DIR=/usr/local/etc/hhvm -DCMAKE_CXX_COMPILER=/usr/local/opt/llvm/bin/clang++ -DCMAKE_C_COMPILER=/usr/
==> make
Last 15 lines from /Users/meilunzhi/Library/Logs/Homebrew/hhvm/02.make:
[ 46%] Building CXX object hphp/compiler/CMakeFiles/hphp_analysis.dir/analysis/block_scope.cpp.o
[ 46%] Building CXX object hphp/compiler/CMakeFiles/hphp_analysis.dir/analysis/class_scope.cpp.o
[ 46%] Building CXX object hphp/compiler/CMakeFiles/hphp_analysis.dir/analysis/code_error.cpp.o
[ 47%] Building CXX object hphp/compiler/CMakeFiles/hphp_analysis.dir/analysis/constant_table.cpp.o
[ 47%] Building CXX object hphp/compiler/CMakeFiles/hphp_analysis.dir/analysis/emitter.cpp.o
[ 47%] Building CXX object hphp/compiler/CMakeFiles/hphp_analysis.dir/analysis/file_scope.cpp.o
[ 47%] Building CXX object hphp/compiler/CMakeFiles/hphp_analysis.dir/analysis/function_container.cpp.o
[ 47%] Building CXX object hphp/compiler/CMakeFiles/hphp_analysis.dir/analysis/function_scope.cpp.o
[ 47%] Building CXX object hphp/compiler/CMakeFiles/hphp_analysis.dir/analysis/lambda_names.cpp.o
[ 47%] Building CXX object hphp/compiler/CMakeFiles/hphp_analysis.dir/analysis/symbol_table.cpp.o
[ 47%] Building CXX object hphp/compiler/CMakeFiles/hphp_analysis.dir/analysis/variable_table.cpp.o
[ 47%] Building CXX object hphp/compiler/CMakeFiles/hphp_analysis.dir/parser/parser.cpp.o
[ 47%] Linking CXX static library libhphp_analysis.a
[ 47%] Built target hphp_analysis
make: *** [all] Error 2

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
https://github.com/hhvm/homebrew-hhvm/issues

These open issues may also help:
hhvm make fail #29

hhvm make fail [el capitan]

$ brew install hhvm
==> Installing hhvm from hhvm/hhvm
==> Installing dependencies for hhvm/hhvm/hhvm: llvm, libelf, dwarfutils, gawk, md5sha1sum, gd, gflags, glog, gmp, jemalloc, libzip, lz4, oniguruma, tbb
...
...
...
==> Installing hhvm/hhvm/hhvm
==> Downloading http://dl.hhvm.com/source/hhvm-3.11.0.tar.bz2
######################################################################## 100.0%
==> cmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/hhvm/3.11.0 -DDEFAULT_CONFIG_DIR=/usr/local/etc/hhvm -DCMAKE_CXX_COMPILER=/usr/local/opt/llvm/bin/clang++ -DCMAKE_C_COM
==> make
Last 15 lines from /Users/burak/Library/Logs/Homebrew/hhvm/02.make:
1 error generated.
make[5]: *** [mysys_ssl/CMakeFiles/mysys_ssl.dir/crypt_genhash_impl.cc.o] Error 1
1 error generated.
make[5]: *** [mysys_ssl/CMakeFiles/mysys_ssl.dir/my_aes.cc.o] Error 1
1 error generated.
make[5]: *** [mysys_ssl/CMakeFiles/mysys_ssl.dir/my_rnd.cc.o] Error 1
1 error generated.
1 error generated.
make[5]: *** [mysys_ssl/CMakeFiles/mysys_ssl.dir/my_default.cc.o] Error 1
make[5]: *** [mysys_ssl/CMakeFiles/mysys_ssl.dir/my_getopt.cc.o] Error 1
make[4]: *** [mysys_ssl/CMakeFiles/mysys_ssl.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [third-party/webscalesqlclient/build/src/webscalesqlclient-stamp/webscalesqlclient-build] Error 2
make[1]: *** [third-party/webscalesqlclient/CMakeFiles/webscalesqlclient.dir/all] Error 2
make: *** [all] Error 2

mac book pro 10.11.5 xcode 7.3.1 brew install hhvm 95% is error help !

      ^~~
/tmp/hhvm-20160521-33994-sdb8if/hhvm-3.13.1/hphp/ppc64-asm/asm-ppc64.h:2378:7: warning: suggest braces around initialization of subobject [-Wmissing-braces]
      xo,
      ^~~
/tmp/hhvm-20160521-33994-sdb8if/hhvm-3.13.1/hphp/ppc64-asm/asm-ppc64.h:2402:29: warning: suggest braces around initialization of subobject [-Wmissing-braces]
                            rc,
                            ^~~
[ 95%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/smashable-instr-x64.cpp.o
[ 95%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/smashable-instr.cpp.o
19 warnings generated.
[ 95%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/srcdb.cpp.o
[ 95%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/ssa-tmp.cpp.o
[ 95%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/stack-overflow.cpp.o
[ 95%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/store-elim.cpp.o
[ 95%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/target-cache.cpp.o
[ 95%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/target-profile.cpp.o
[ 95%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/tc-info.cpp.o
[ 95%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/timer.cpp.o
Assertion failed: ((data().DefaultedMoveConstructorIsDeleted || needsOverloadResolutionForMoveConstructor()) && "move constructor should not be deleted"), function setImplicitMoveConstructorIsDeleted, file /tmp/llvm20160112-57262-bcf1bf/llvm-3.6.2.src/tools/clang/include/clang/AST/DeclCXX.h, line 909.
0  clang-3.6                0x0000000110294eb9 llvm::sys::PrintStackTrace(__sFILE*) + 57
1  clang-3.6                0x0000000110295416 SignalHandler(int) + 218
2  libsystem_platform.dylib 0x00007fff92a4852a _sigtramp + 26
3  libsystem_platform.dylib 0x0000000000000002 _sigtramp + 1834711794
4  clang-3.6                0x00000001102952a4 abort + 22
5  clang-3.6                0x000000011029528e abort + 0
6  clang-3.6                0x0000000110b55f44 llvm::SmallVectorImpl<clang::Expr*>::reserve(unsigned long) + 0
7  clang-3.6                0x0000000110b30afd clang::Sema::DeclareImplicitMoveConstructor(clang::CXXRecordDecl*) + 609
8  clang-3.6                0x0000000110c47aba clang::Sema::LookupConstructors(clang::CXXRecordDecl*) + 108
9  clang-3.6                0x0000000110c2a529 TryConstructorInitialization(clang::Sema&, clang::InitializedEntity const&, clang::InitializationKind const&, llvm::MutableArrayRef<clang::Expr*>, clang::QualType, clang::InitializationSequence&, bool) + 392
10 clang-3.6                0x0000000110c287db clang::InitializationSequence::InitializeFrom(clang::Sema&, clang::InitializedEntity const&, clang::InitializationKind const&, llvm::MutableArrayRef<clang::Expr*>, bool) + 1293
11 clang-3.6                0x0000000110c282bf clang::InitializationSequence::InitializationSequence(clang::Sema&, clang::InitializedEntity const&, clang::InitializationKind const&, llvm::MutableArrayRef<clang::Expr*>, bool) + 295
12 clang-3.6                0x0000000110c2956c clang::InitializationSequence::InitializationSequence(clang::Sema&, clang::InitializedEntity const&, clang::InitializationKind const&, llvm::MutableArrayRef<clang::Expr*>, bool) + 20
13 clang-3.6                0x0000000110b29856 CollectFieldInitializer(clang::Sema&, (anonymous namespace)::BaseAndFieldInfo&, clang::FieldDecl*, clang::IndirectFieldDecl*) + 2543
14 clang-3.6                0x0000000110b282df clang::Sema::SetCtorInitializers(clang::CXXConstructorDecl*, bool, llvm::ArrayRef<clang::CXXCtorInitializer*>) + 2267
15 clang-3.6                0x0000000110b2b030 clang::Sema::ActOnMemInitializers(clang::Decl*, clang::SourceLocation, llvm::ArrayRef<clang::CXXCtorInitializer*>, bool) + 2320
16 clang-3.6                0x0000000110d54f86 clang::Sema::InstantiateMemInitializers(clang::CXXConstructorDecl*, clang::CXXConstructorDecl const*, clang::MultiLevelTemplateArgumentList const&) + 1588
17 clang-3.6                0x0000000110d546b4 clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation, clang::FunctionDecl*, bool, bool) + 1870
18 clang-3.6                0x0000000110d551f4 clang::Sema::PerformPendingInstantiations(bool) + 320
19 clang-3.6                0x0000000110a7646f clang::Sema::ActOnEndOfTranslationUnit() + 587
20 clang-3.6                0x0000000110992f32 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 188
21 clang-3.6                0x0000000110937336 clang::ParseAST(clang::Sema&, bool, bool) + 335
22 clang-3.6                0x00000001104273b3 clang::FrontendAction::Execute() + 67
23 clang-3.6                0x0000000110404e3a clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 556
24 clang-3.6                0x0000000110452c5a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2942
25 clang-3.6                0x000000010f7a6d50 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 922
26 clang-3.6                0x000000010f7a62d5 main + 8166
27 libdyld.dylib            0x00007fff98ee45ad start + 1
28 libdyld.dylib            0x00000000000000dc start + 1729215280
Stack dump:
0.  Program arguments: /usr/local/Cellar/llvm/3.6.2/bin/clang-3.6 -cc1 -triple x86_64-apple-macosx10.11.0 -emit-obj -disable-free -main-file-name store-elim.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-feature +sse4.2 -target-linker-version 253.9 -dwarf-column-info -coverage-file /tmp/hhvm-20160521-33994-sdb8if/hhvm-3.13.1/hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/store-elim.cpp.o -resource-dir /usr/local/Cellar/llvm/3.6.2/bin/../lib/clang/3.6.2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -D DEFAULT_CONFIG_DIR="/usr/local/etc/hhvm" -D ENABLE_FASTCGI=1 -D FOLLY_HAVE_PTHREAD_ATFORK=1 -D FOLLY_HAVE_SCHED_H=1 -D FOLLY_HAVE_VLA=1 -D FOLLY_HAVE_WEAK_SYMBOLS=1 -D FOLLY_NO_CONFIG=1 -D FOLLY_USE_LIBCPP=1 -D HAVE_BOOST1_49 -D HAVE_CURL_MULTI_WAIT -D HAVE_LIBDL -D HHVM -D HHVM_DYNAMIC_EXTENSION_DIR="/usr/local/Cellar/hhvm/3.13.1_1/lib/hhvm/extensions" -D HPHP_OSS=1 -D LIBDWARF_CONST_NAME -D MACOSX_DEPLOYMENT_TARGET=10.6 -D MAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_6 -D MBFL_STATIC -D NDEBUG -D NO_HARDWARE_COUNTERS=1 -D NO_LIB_GFLAGS -D NO_TCMALLOC=1 -D OPENSSL_NO_RAND_EGD -D PACKAGE=hhvm -D PACKAGE_VERSION=Release -D PHP_MYSQL_UNIX_SOCK_ADDR="/tmp/mysql.sock" -D RELEASE=1 -D SKIP_USER_CHANGE=1 -D THRIFT_MUTEX_EMULATE_PTHREAD_TIMEDLOCK -D USE_CMAKE -D USE_JEMALLOC=1 -D _PTHREADS=1 -D _REENTRANT=1 -D __STDC_FORMAT_MACROS -D NDEBUG -I /tmp/hhvm-20160521-33994-sdb8if/hhvm-3.13.1 -I /usr/local/opt/boost/include -I /usr/local/opt/glog/include -I /tmp/hhvm-20160521-33994-sdb8if/hhvm-3.13.1/third-party/re2/src -I /tmp/hhvm-20160521-33994-sdb8if/hhvm-3.13.1/third-party/squangle/src -I /tmp/hhvm-20160521-33994-sdb8if/hhvm-3.13.1/third-party/webscalesqlclient/src/include -I /usr/local/opt/pcre/include -I /usr/local/opt/libevent/include -I /usr/include/libxml2 -I /usr/local/opt/lz4/include -I /usr/local/opt/libzip/include -I /usr/local/opt/libzip/lib/libzip/include -I /usr/local/opt/icu4c/include -I /usr/local/opt/jemalloc/include -I /usr/local/opt/tbb/include -I /usr/local/opt/openssl/include -I /usr/local/opt/oniguruma/include -I /usr/local/opt/readline/include -I /usr/local/opt/dwarfutils/include -I /usr/local/opt/libelf/include/libelf -I /tmp/hhvm-20160521-33994-sdb8if/hhvm-3.13.1/hphp -I /tmp/hhvm-20160521-33994-sdb8if/hhvm-3.13.1/third-party/double-conversion/src -I /tmp/hhvm-20160521-33994-sdb8if/hhvm-3.13.1/third-party/fastlz -I /tmp/hhvm-20160521-33994-sdb8if/hhvm-3.13.1/third-party/timelib -I /tmp/hhvm-20160521-33994-sdb8if/hhvm-3.13.1/third-party/libafdt/src -I /tmp/hhvm-20160521-33994-sdb8if/hhvm-3.13.1/third-party/libmbfl -I /tmp/hhvm-20160521-33994-sdb8if/hhvm-3.13.1/third-party/libmbfl/mbfl -I /tmp/hhvm-20160521-33994-sdb8if/hhvm-3.13.1/third-party/libmbfl/filters -I /tmp/hhvm-20160521-33994-sdb8if/hhvm-3.13.1/third-party/proxygen/src -I /tmp/hhvm-20160521-33994-sdb8if/hhvm-3.13.1/third-party/folly -I /tmp/hhvm-20160521-33994-sdb8if/hhvm-3.13.1/third-party/folly/src -I /tmp/hhvm-20160521-33994-sdb8if/hhvm-3.13.1/third-party/thrift/src -I /tmp/hhvm-20160521-33994-sdb8if/hhvm-3.13.1/third-party/wangle/src -I /tmp/hhvm-20160521-33994-sdb8if/hhvm-3.13.1/third-party -I /tmp/hhvm-20160521-33994-sdb8if/hhvm-3.13.1/hphp/runtime/../runtime/ext_zend_compat/php-src -I /tmp/hhvm-20160521-33994-sdb8if/hhvm-3.13.1/hphp/runtime/../runtime/ext_zend_compat/php-src/main -I /tmp/hhvm-20160521-33994-sdb8if/hhvm-3.13.1/hphp/runtime/../runtime/ext_zend_compat/php-src/Zend -I /tmp/hhvm-20160521-33994-sdb8if/hhvm-3.13.1/hphp/runtime/../runtime/ext_zend_compat/php-src/TSRM -I /usr/local/opt/readline/include -stdlib=libc++ -O3 -Wno-deprecated -Wno-strict-aliasing -Wno-write-strings -Wno-invalid-offsetof -Wno-error=array-bounds -Wno-error=switch -Wno-unused-result -Wno-sign-compare -Wno-attributes -Wno-maybe-uninitialized -Wno-unknown-warning-option -Wno-return-type-c-linkage -Wall -Woverloaded-virtual -Werror=format-security -std=gnu++11 -fdebug-compilation-dir /tmp/hhvm-20160521-33994-sdb8if/hhvm-3.13.1/hphp/runtime -ferror-limit 19 -fmessage-length 0 -fno-operator-names -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.11.0 -fencode-extended-block-signature -fcxx-exceptions -fexceptions -fmax-type-align=16 -fdiagnostics-show-option -vectorize-loops -vectorize-slp -o CMakeFiles/hphp_runtime_static.dir/vm/jit/store-elim.cpp.o -x c++ /tmp/hhvm-20160521-33994-sdb8if/hhvm-3.13.1/hphp/runtime/vm/jit/store-elim.cpp
1.  <eof> parser at end of file
2.  /tmp/hhvm-20160521-33994-sdb8if/hhvm-3.13.1/third-party/folly/folly/Optional.h:97:3: instantiating function definition 'Optional'
clang-3.6: error: unable to execute command: Illegal instruction: 4
clang-3.6: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 3.6.2 (tags/RELEASE_362/final)
Target: x86_64-apple-darwin15.5.0
Thread model: posix
clang-3.6: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang-3.6: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.6: note: diagnostic msg: /var/folders/ww/glqy1cfd14b58vfmwdnfkjqm0000gn/T/store-elim-c9c69f.cpp
clang-3.6: note: diagnostic msg: /var/folders/ww/glqy1cfd14b58vfmwdnfkjqm0000gn/T/store-elim-c9c69f.sh
clang-3.6: note: diagnostic msg:

********************
make[2]: *** [hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/store-elim.cpp.o] Error 254
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [hphp/runtime/CMakeFiles/hphp_runtime_static.dir/all] Error 2
make: *** [all] Error 2
==> Formula
Tap: hhvm/hhvm
Path: /usr/local/Library/Taps/hhvm/homebrew-hhvm/hhvm.rb
==> Configuration
HOMEBREW_VERSION: 0.9.9
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 0123e04faed98c06dc395a2ec0d7fa0de2f56d5d
Last commit: 10 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 89833243043754e669be26ea756cab12b150c9a4
Core tap last commit: 10 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: quad-core 64-bit haswell
Clang: 7.3 build 703
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/2.3.1/bin/ruby
Java: 1.8.0_66, 1.6.0_65-b14-468
System Ruby: 2.0.0-p648
OS X: 10.11.5-x86_64
Xcode: 7.3.1
CLT: 7.3.1.0.1.1461711523
X11: N/A
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /usr/local/opt/llvm:/usr/local/opt/gettext:/usr/local/opt/icu4c:/usr/local/opt/openssl:/usr/local/opt/readline:/usr/local/opt/sqlite:/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
MACOSX_DEPLOYMENT_TARGET: 10.11
PKG_CONFIG_PATH: /usr/local/opt/libelf/lib/pkgconfig:/usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/freetype/lib/pkgconfig:/usr/local/opt/fontconfig/lib/pkgconfig:/usr/local/opt/libtiff/lib/pkgconfig:/usr/local/opt/gd/lib/pkgconfig:/usr/local/opt/glog/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/xz/lib/pkgconfig:/usr/local/opt/imagemagick/lib/pkgconfig:/usr/local/opt/jemalloc/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/libevent/lib/pkgconfig:/usr/local/opt/libmemcached/lib/pkgconfig:/usr/local/opt/libzip/lib/pkgconfig:/usr/local/opt/lz4/lib/pkgconfig:/usr/local/opt/oniguruma/lib/pkgconfig:/usr/local/opt/pcre/lib/pkgconfig:/usr/local/opt/sqlite/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.11
ACLOCAL_PATH: /usr/local/opt/gettext/share/aclocal:/usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/llvm/bin:/usr/local/opt/autoconf/bin:/usr/local/opt/automake/bin:/usr/local/opt/cmake/bin:/usr/local/opt/dwarfutils/bin:/usr/local/opt/gawk/bin:/usr/local/opt/libtool/bin:/usr/local/opt/md5sha1sum/bin:/usr/local/opt/ocaml/bin:/usr/local/opt/ocamlbuild/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/libpng/bin:/usr/local/opt/freetype/bin:/usr/local/opt/fontconfig/bin:/usr/local/opt/jpeg/bin:/usr/local/opt/libtiff/bin:/usr/local/opt/gd/bin:/usr/local/opt/gettext/bin:/usr/local/opt/gflags/bin:/usr/local/opt/icu4c/bin:/usr/local/opt/xz/bin:/usr/local/opt/imagemagick/bin:/usr/local/opt/jemalloc/bin:/usr/local/opt/openssl/bin:/usr/local/opt/libevent/bin:/usr/local/opt/memcached/bin:/usr/local/opt/libmemcached/bin:/usr/local/opt/libzip/bin:/usr/local/opt/lz4/bin:/usr/local/opt/mcrypt/bin:/usr/local/opt/oniguruma/bin:/usr/local/opt/pcre/bin:/usr/local/opt/sqlite/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: hhvm/hhvm/hhvm 3.13.1 did not build
Logs:
     /Users/meilunzhi/Library/Logs/Homebrew/hhvm/01.cmake
     /Users/meilunzhi/Library/Logs/Homebrew/hhvm/01.cmake.cc
     /Users/meilunzhi/Library/Logs/Homebrew/hhvm/02.make
     /Users/meilunzhi/Library/Logs/Homebrew/hhvm/02.make.cc
     /Users/meilunzhi/Library/Logs/Homebrew/hhvm/CMakeCache.txt

These open issues may also help:
hhvm make fail due to missing mysql_get_ssl_session_reused / mysql_get_file_descriptor 

Fails to build on 10.10.5 (error: unknown type name 'uint32'; did you mean 'sint32'?)

Homebrew fails to build for me.
I had to reinstall ocaml, because the bottle is broken for me:

-- Found ocamlc: /Users/thau/.local/bin/ocamlc
Fatal error: unknown C primitive `acos_float'
CMake Error at CMake/FindOCaml.cmake:13 (message):
  OCaml version is too old to build the Hack typechecker, need at least 4.01.
  Directions at
  https://github.com/facebook/hhvm/wiki/Building-and-Installing-HHVM may have
  instructions how to get a newer version for your distro.
Call Stack (most recent call first):
  hphp/hack/CMakeLists.txt:1 (find_package)


-- Configuring incomplete, errors occurred!
See also "/tmp/hhvm20150902-47172-merqe3/hhvm-3.9.1/CMakeFiles/CMakeOutput.log".
See also "/tmp/hhvm20150902-47172-merqe3/hhvm-3.9.1/CMakeFiles/CMakeError.log".
==> Formula
Tap: hhvm/homebrew-hhvm
Path: /Users/thau/.local/Library/Taps/hhvm/homebrew-hhvm/hhvm.rb
==> Configuration
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew.git
HEAD: 4294a6e7eb0d839159a57fcb78b17c73a31e8bba
Last commit: 87 minutes ago
HOMEBREW_PREFIX: /Users/thau/.local
HOMEBREW_REPOSITORY: /Users/thau/.local
HOMEBREW_CELLAR: /Users/thau/.local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: quad-core 64-bit haswell
OS X: 10.10.5-x86_64
Xcode: 6.4
CLT: 6.4.0.0.1.1435007323
Clang: 6.1 build 602
X11: 2.7.7 => /opt/X11
System Ruby: 2.0.0-p481
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby
Java: 1.8.0_25
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /Users/thau/.local/opt/llvm:/Users/thau/.local/opt/gettext:/Users/thau/.local/opt/icu4c:/Users/thau/.local/opt/openssl:/Users/thau/.local/opt/readline:/Users/thau/.local/opt/sqlite:/Users/thau/.local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /Users/thau/.local/opt/libelf/lib/pkgconfig:/Users/thau/.local/opt/libpng/lib/pkgconfig:/Users/thau/.local/opt/freetype/lib/pkgconfig:/Users/thau/.local/opt/fontconfig/lib/pkgconfig:/Users/thau/.local/opt/libtiff/lib/pkgconfig:/Users/thau/.local/opt/gd/lib/pkgconfig:/Users/thau/.local/opt/glog/lib/pkgconfig:/Users/thau/.local/opt/icu4c/lib/pkgconfig:/Users/thau/.local/opt/xz/lib/pkgconfig:/Users/thau/.local/opt/imagemagick/lib/pkgconfig:/Users/thau/.local/opt/openssl/lib/pkgconfig:/Users/thau/.local/opt/libevent/lib/pkgconfig:/Users/thau/.local/opt/libmemcached/lib/pkgconfig:/Users/thau/.local/opt/libzip/lib/pkgconfig:/Users/thau/.local/opt/lz4/lib/pkgconfig:/Users/thau/.local/opt/oniguruma/lib/pkgconfig:/Users/thau/.local/opt/sqlite/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/Users/thau/.local/Library/ENV/pkgconfig/10.10
ACLOCAL_PATH: /Users/thau/.local/opt/gettext/share/aclocal:/Users/thau/.local/share/aclocal
PATH: /Users/thau/.local/Library/ENV/4.3:/Users/thau/.local/opt/llvm/bin:/Users/thau/.local/opt/autoconf/bin:/Users/thau/.local/opt/automake/bin:/Users/thau/.local/opt/cmake/bin:/Users/thau/.local/opt/dwarfutils/bin:/Users/thau/.local/opt/gawk/bin:/Users/thau/.local/opt/libtool/bin:/Users/thau/.local/opt/md5sha1sum/bin:/Users/thau/.local/opt/ocaml/bin:/Users/thau/.local/opt/pkg-config/bin:/Users/thau/.local/opt/libpng/bin:/Users/thau/.local/opt/freetype/bin:/Users/thau/.local/opt/fontconfig/bin:/Users/thau/.local/opt/jpeg/bin:/Users/thau/.local/opt/libtiff/bin:/Users/thau/.local/opt/gd/bin:/Users/thau/.local/opt/gettext/bin:/Users/thau/.local/opt/gflags/bin:/Users/thau/.local/opt/icu4c/bin:/Users/thau/.local/opt/xz/bin:/Users/thau/.local/opt/imagemagick/bin:/Users/thau/.local/opt/jemalloc/bin:/Users/thau/.local/opt/openssl/bin:/Users/thau/.local/opt/libevent/bin:/Users/thau/.local/opt/memcached/bin:/Users/thau/.local/opt/libmemcached/bin:/Users/thau/.local/opt/libzip/bin:/Users/thau/.local/opt/lz4/bin:/Users/thau/.local/opt/mcrypt/bin:/Users/thau/.local/opt/oniguruma/bin:/Users/thau/.local/opt/sqlite/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: hhvm/hhvm/hhvm 3.9.1 did not build
Logs:
     /Users/thau/Library/Logs/Homebrew/hhvm/01.cmake
     /Users/thau/Library/Logs/Homebrew/hhvm/01.cmake.cc
     /Users/thau/Library/Logs/Homebrew/hhvm/CMakeCache.txt


$ ocaml -v
Fatal error: unknown C primitive `acos_float'

I reinstalled it via brew reinstall ocaml --HEAD

Logs: https://gist.github.com/ThauEx/e4754f9f365cf0f6bfbd

HHVM fails to build on 10.9.5

Hello,

I tried to install the HHVM tap on my Macbook Pro Retina Late 2013 running OS X 10.9.5. This is the output. I can provide more details if needed.

brew install hhvm
==> Installing hhvm from hhvm/homebrew-hhvm
==> Downloading http://dl.hhvm.com/source/hhvm-3.9.1.tar.bz2
######################################################################## 100.0%
==> cmake -DENABLE_MCROUTER=OFF -DENABLE_EXTENSION_MCROUTER=OFF -DMYSQL_UNIX_SOCK_ADDR=/tmp/mysql.sock -DCMAKE_C_FLAGS=-I/usr/local/opt/readline/include -L/us
==> make
[ 86%] Building C object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/vtune/jitprofiling.c.o
[ 86%] Building ASM object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/translator-asm-helpers.S.o
[ 86%] Linking CXX static library libhphp_runtime.a
[ 86%] Built target hphp_runtime_static
make: *** [all] Error 2

Got undeclared identifier 'htonll' when building on Mac OS X 10.9

/tmp/hhvm20150831-52889-miidu8/hhvm-3.9.1/hphp/runtime/ext/fb/ext_fb.cpp:316:21: error: use of undeclared identifier 'htonll'; did you mean 'atoll'?
3241     uint64_t nval = htonll(kInt54Prefix | val);
3242                     ^~~~~~
3243                     atoll

Looks like need a check similar as in hphp/runtime/base/thrift-buffer.h:39-60 ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.