Created
February 29, 2012 21:47
-
-
Save terinjokes/1944688 to your computer and use it in GitHub Desktop.
Homebrew MariaDB 5.3.5 error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> make install | |
Making install in . | |
make abi_headers="include/mysql.h include/mysql/client_plugin.h include/mysql/plugin_auth.h" do_abi_check | |
set -ex; \ | |
for file in include/mysql.h include/mysql/client_plugin.h include/mysql/plugin_auth.h; do \ | |
/usr/bin/clang -E -nostdinc -dI -DMYSQL_ABI_CHECK \ | |
-I./include \ | |
-I./include/mysql \ | |
-I./sql \ | |
-I./include \ | |
-I./include/mysql \ | |
-I./sql \ | |
$file 2>/dev/null | \ | |
/usr/bin/sed -e '/^# /d' \ | |
-e '/^[ ]*$/d' \ | |
-e '/^#pragma GCC set_debug_pwd/d' \ | |
-e '/^#ident/d' > \ | |
./abi_check.out; \ | |
/usr/bin/diff -w $file.pp ./abi_check.out; \ | |
/bin/rm ./abi_check.out; \ | |
done | |
+ for file in include/mysql.h include/mysql/client_plugin.h include/mysql/plugin_auth.h | |
+ /usr/bin/clang -E -nostdinc -dI -DMYSQL_ABI_CHECK -I./include -I./include/mysql -I./sql -I./include -I./include/mysql -I./sql include/mysql.h | |
+ /usr/bin/sed -e '/^# /d' -e '/^[ ]*$/d' -e '/^#pragma GCC set_debug_pwd/d' -e '/^#ident/d' | |
+ /usr/bin/diff -w include/mysql.h.pp ./abi_check.out | |
3,4d2 | |
< #include "mysql_version.h" | |
< #include "mysql_com.h" | |
147d144 | |
< #include "mysql_time.h" | |
160d156 | |
< #include "my_list.h" | |
201,202d196 | |
< #include "typelib.h" | |
< #include "my_alloc.h" | |
242d235 | |
< #include "my_alloc.h" | |
make[2]: *** [do_abi_check] Error 1 | |
make[1]: *** [abi_check] Error 2 | |
make: *** [install-recursive] Error 1 | |
==> Exit Status: 2 | |
http://github.com/mxcl/homebrew/blob/master/Library/Formula/mariadb.rb#L54 | |
==> Environment | |
HOMEBREW_VERSION: 0.8.1 | |
HEAD: a595a6af939f014ca7810e9636a7ba63cae0c4f2 | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar | |
Hardware: quad-core 64-bit arrandale | |
OS X: 10.7.3 | |
Kernel Architecture: x86_64 | |
Xcode: 4.3 | |
GCC-4.0: N/A | |
GCC-4.2: N/A | |
LLVM: build 2336 | |
Clang: 3.1 build 318 | |
MacPorts or Fink? false | |
X11: /usr/X11 | |
System Ruby: 1.8.7-249 | |
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby | |
Which Perl: /usr/bin/perl | |
Which Python: /usr/bin/python | |
Which Ruby: /Users/terin/.rvm/rubies/ruby-1.9.3-p0/bin/ruby | |
==> Build Flags | |
CC: /usr/bin/clang | |
CXX: /usr/bin/clang++ => /usr/bin/clang | |
LD: /usr/bin/clang | |
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments | |
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments | |
CPPFLAGS: -I/usr/local/Cellar/readline/6.2.2/include | |
LDFLAGS: -L/usr/local/Cellar/readline/6.2.2/lib | |
MAKEFLAGS: -j4 | |
HOMEBREW_BUILD_FROM_SOURCE: TRUE | |
Error: Failed executing: make install | |
If `brew doctor' does not help diagnose the issue, please report the bug: | |
https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue |
If you're using homebrew, the solution right now is to do 'brew install mariadb --use-llvm'.
The discussion on the MariaDB mailing list is that Clang is saying that it's GCC ABI compatible, but it's not acting as such. It's probably a bug upstream, and I'll be taking it up with them.
Thread on the mariadb-developer list regarding this: https://lists.launchpad.net/maria-developers/msg04621.html
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm having this same error on a new Macbook Pro. If you got this resolved, can you please let me know? I haven't been able to figure it out!