Comments (23)
Not sure what causes it, but this is the relevant bit:
In file included from /tmp/hhvm20160413-43677-735yzb/hhvm-3.12.1/third-party/squangle/squangle/mysql_client/AsyncConnectionPool.cpp:11:
In file included from /tmp/hhvm20160413-43677-735yzb/hhvm-3.12.1/third-party/squangle/src/squangle/mysql_client/AsyncConnectionPool.h:38:
/tmp/hhvm20160413-43677-735yzb/hhvm-3.12.1/third-party/squangle/src/squangle/mysql_client/AsyncMysqlClient.h:554:12: error: use of undeclared identifier 'mysql_get_ssl_session_reused'
return mysql_get_ssl_session_reused(mysql_connection_->mysql());
^
/tmp/hhvm20160413-43677-735yzb/hhvm-3.12.1/third-party/squangle/squangle/mysql_client/AsyncConnectionPool.cpp:707:11: warning: format specifies type 'unsigned long' but the argument has type 'unsigned long long' [-Wformat]
num_open,
^~~~~~~~
/tmp/hhvm20160413-43677-735yzb/hhvm-3.12.1/third-party/squangle/squangle/mysql_client/AsyncConnectionPool.cpp:708:11: warning: format specifies type 'unsigned long' but the argument has type 'unsigned long long' [-Wformat]
num_opening,
^~~~~~~~~~~
/tmp/hhvm20160413-43677-735yzb/hhvm-3.12.1/third-party/squangle/squangle/mysql_client/AsyncConnectionPool.cpp:730:7: error: use of undeclared identifier 'mysql_get_file_descriptor'
mysql_get_file_descriptor(mysql_conn->mysql()));
^
2 warnings and 2 errors generated.
make[2]: *** [third-party/squangle/CMakeFiles/squangle.dir/squangle/mysql_client/AsyncConnectionPool.cpp.o] Error 1
make[1]: *** [third-party/squangle/CMakeFiles/squangle.dir/all] Error 2
from homebrew-hhvm.
I get this error during make:
[ 97%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/write-lease.cpp.o [ 97%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/verifier/cfg.cpp.o [ 97%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/verifier/check-func.cpp.o [ 98%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/verifier/check-unit.cpp.o [ 98%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/verifier/pretty.cpp.o [ 98%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/verifier/util.cpp.o [ 98%] Building C object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/vtune/jitprofiling.c.o [ 98%] Building ASM object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/base/mixed-array-x64.S.o [ 98%] Building ASM object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/translator-asm-helpers.S.o 19 warnings generated. [ 98%] Linking CXX static library libhphp_runtime.a /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libhphp_runtime.a(mixed-array-x64.S.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libhphp_runtime.a(mixed-array-x64.S.o) has no symbols [ 98%] Built target hphp_runtime_static make: *** [all] Error 2
from homebrew-hhvm.
same here. Kept failing with no luck.
Here is my ENV:
[ 46%] Built target hphp_analysis
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: 8e42077a8eeb827c3ffcdf08195239c8f82cb588
Last commit: 9 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 8c4ab75df9e3b70574a0517c8c9effdd9b4a98ec
Core tap last commit: 6 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: N/A
Clang: 7.3 build 703
X11: 2.7.8 => /opt/X11
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_45
==> 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: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/libxml2:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/apache2:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks
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
HOMEBREW_SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
ACLOCAL_PATH: /usr/local/opt/gettext/share/aclocal:/usr/local/share/aclocal
from homebrew-hhvm.
so what would be the step to solve this? Uninstall X11 Quartz?
from homebrew-hhvm.
☁ ~ ss 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:
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-3e6055.cpp
clang-3.6: note: diagnostic msg: /var/folders/ww/glqy1cfd14b58vfmwdnfkjqm0000gn/T/store-elim-3e6055.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/brew):
https://github.com/hhvm/homebrew-hhvm/issues
These open issues may also help:
brew install hhvm #30
hhvm make fail #29
from homebrew-hhvm.
@imcom and @Denniskevin -- I really have no idea what @denji is talking about. There has been some report of an incompatibility with XQuartz but I've never repro'd it myself (and I've built successfully on machines with it installed). There definitely is an incompatibility with MacPorts at /opt/local
, but you haven't provided enough information here for me to see what's going on. brew gist-logs
is the most useful, but a pastebin of the full output of brew install hhvm --verbose
is better than nothing.
You might also be better off opening a new issue, in case there is a separate root cause. This bug is about a specific mysql failure.
from homebrew-hhvm.
hi @jwatzman I think the #30 contains all related info. I will keep my eyes on that thread instead.
Thanks for your reply.
from homebrew-hhvm.
@imcom yes thanks, it's a different root cause so good to have two issues.
from homebrew-hhvm.
@Denniskevin @huangtao800 to keep this thread clean, I've removed your comments since there isn't any useful debug information in them. Please feel free to link to a pastebin with the FULL output of brew install hhvm --verbose
. (Filing a new issue might be a good idea, there are at least two disparate root causes reported so far.) The clips that brew shows by default are completely useless.
from homebrew-hhvm.
brew install complete output is here https://gist.github.com/huangtao800/7fab6276fe063780a8a41a5b116b5dd2
It complains the same thing.(Please manually paste the url if you cannot see the page.)
from homebrew-hhvm.
@huangtao800 your error is actually #30.
from homebrew-hhvm.
Same error here:
==> 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/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:
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/wb/mm4hf06d07140gbgt_g9s_8r0000gn/T/store-elim-751303.cpp
clang-3.6: note: diagnostic msg: /var/folders/wb/mm4hf06d07140gbgt_g9s_8r0000gn/T/store-elim-751303.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/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
from homebrew-hhvm.
@craigcarnell The default brew output is useless here. Please attach brew gist-logs hhvm
.
from homebrew-hhvm.
If you are posting on this thread because you think you have the same issue, please attach brew gist-logs hhvm
! The default output is truncated and completely useless.
(I really don't want to lock this thread but it's starting to get very messy.)
from homebrew-hhvm.
@jwatzman https://gist.github.com/craigcarnell/d637a729f4fca7df2e4a0570fb16bb51
from homebrew-hhvm.
@craigcarnell your issue is unrelated to this one, you actually managed to trip an assert in clang (see the bottom of your main output), and should report it to them. (Make sure you do brew update && brew upgrade
first just in case.)
from homebrew-hhvm.
@jwatzman Done thanks facebook/hhvm#7021
from homebrew-hhvm.
@jwatzman If you still need a log: https://gist.github.com/anonymous/f1396bd71a043455e45cc70507522404
from homebrew-hhvm.
@iangcarroll your issue is facebook/hhvm#7040
from homebrew-hhvm.
It looks like I have a new error here. https://gist.github.com/huangtao800/c6ae69e0274fdfe6dd1327221a50b0d9
from homebrew-hhvm.
@huangtao800 your error is also facebook/hhvm#7040
from homebrew-hhvm.
This issue is locked to prevent random unrelated errors being posted here and clogging up the thread. Homebrew is incorrectly suggesting that this issue may be related to what you're seeing but it probably isn't. If you are having a problem, please feel free to open a new issue.
from homebrew-hhvm.
I haven't gotten a repro of this or seen any other reports, so I'm going to close this, as it still appears at the bottom of every build error log for whatever silly reason brew
insists it's related to everything when it's not. Please continue to feel free to file new issues if you have build problems, and we'll triage as appropriate.
from homebrew-hhvm.
Related Issues (20)
- nightlies broken by implicit dependency on low-ptr-def.h
- segfaults with latest PCRE
- brew updated boost, new version gives linker errors. Rebuild needed
- HHVM 3.24 removed HOT 4
- HHVM 4.4 is not in formula directory
- (postgres) configure: error: header file <perl.h> is required for Perl HOT 1
- Broken Night Build: Merge Conflict
- [REQ] Fresh bottle for [email protected] HOT 4
- Drop support for MacOS High Sierra, add support for MacOS Catalina HOT 1
- Detect when rebuilds are needed
- Builds broken by MacOS SDK update HOT 4
- Brew upgrade leads to confusing hhvm state HOT 4
- Can not find libelf/libdwarf when attempting to install into a custom prefix HOT 7
- HHVM Compile Fail: imagemagick/gd? HOT 1
- failed to install hhvm 4.110 on Mojave HOT 3
- dyld: Symbol not found while installing 3.27-lts on 10.14.6 HOT 3
- Unable to install hhvm using brew install command on ubuntu v22 HOT 2
- Can not find LibNuma when attempting to install into a custom prefix HOT 1
- Install Build Errors on MacOSX12 M1 chip HOT 2
- Error when install hack HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-hhvm.