Skip to content

Instantly share code, notes, and snippets.

@ramlev
Created July 27, 2012 09:03
Show Gist options
  • Save ramlev/3186936 to your computer and use it in GitHub Desktop.
Save ramlev/3186936 to your computer and use it in GitHub Desktop.
brew upgrade mariadb
> brew upgrade
==> Upgrading mariadb
==> Downloading http://ftp.osuosl.org/pub/mariadb/mariadb-5.3.7/kvm-tarbake-jaunty-x86/mariadb-5.3.7.tar.gz
Already downloaded: /Library/Caches/Homebrew/mariadb-5.3.7.tar.gz
==> ./configure --without-docs --without-debug --prefix=/usr/local/Cellar/mariadb/5.3.7 --localstatedir=/usr/local/var/mysql --sys
==> 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/local/bin/gsed -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/local/bin/gsed -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
config.log was copied to /Users/ramlev/Library/Logs/Homebrew
==> Build Environment
HOMEBREW_VERSION: 0.9.2
HEAD: e8db4125244445993ebc4aad8126b14bfdc84aae
CPU: quad-core 64-bit sandybridge
OS X: 10.8-x86_64
Xcode: 4.4
CLT: 4.4.0.0.1.1249367152
X11: 2.7.2 @ /opt/X11
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 -fno-omit-frame-pointer -felide-constructors
CPPFLAGS: -I/usr/local/Cellar/readline/6.2.4/include -isystem /usr/local/include
LDFLAGS: -L/usr/local/Cellar/readline/6.2.4/lib -L/usr/local/lib
MACOSX_DEPLOYMENT_TARGET: 10.8
MAKEFLAGS: -j4
Error: Failed executing: make install (mariadb.rb:55)
This may help you fix or report the issue if `brew doctor` does not:
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment