Estoy intentando instalar mysql a través de puertos mac y no tengo suerte:
/sites $ sudo port install mysql5
Password:
---> Computing dependencies for mysql5
---> Building mysql5
Error: org.macports.build for port mysql5 returned: command execution failed
Please see the log file for port mysql5 for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_distfiles.macports.org_ports_databases_mysql5/mysql5/main.log
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port mysql5 failed
A continuación se muestra la parte de compilación del puerto mysql / main.log. Parece que está fallando al ejecutar make, pero tengo problemas para entender por qué ...
:notice:build ---> Building mysql5
:debug:build Executing org.macports.build (mysql5)
:debug:build Environment:
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_databases_mysql5/mysql5/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.9'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_databases_mysql5/mysql5/work/mysql-5.1.72" && /usr/bin/make -j8 -w all'
:debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_databases_mysql5/mysql5/work/mysql-5.1.72" && /usr/bin/make -j8 -w all
:info:build make: Entering directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_databases_mysql5/mysql5/work/mysql-5.1.72'
:info:build Making all in .
:info:build make[1]: Entering directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_databases_mysql5/mysql5/work/mysql-5.1.72'
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make abi_headers="include/mysql/plugin.h include/mysql.h" do_abi_check
:info:build make[2]: Entering directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_databases_mysql5/mysql5/work/mysql-5.1.72'
:info:build set -ex; \
:info:build for file in include/mysql/plugin.h include/mysql.h; do \
:info:build /usr/bin/cc -E -nostdinc -dI -DMYSQL_ABI_CHECK \
:info:build -I./include \
:info:build -I./include/mysql \
:info:build -I./sql \
:info:build -I./include \
:info:build -I./include/mysql \
:info:build -I./sql \
:info:build $file 2>/dev/null | \
:info:build /usr/bin/sed -e '/^# /d' \
:info:build -e '/^[ ]*$/d' \
:info:build -e '/^#pragma GCC set_debug_pwd/d' \
:info:build -e '/^#ident/d' > \
:info:build ./abi_check.out; \
:info:build /usr/bin/diff -w $file.pp ./abi_check.out; \
:info:build /bin/rm ./abi_check.out; \
:info:build done
:info:build + for file in include/mysql/plugin.h include/mysql.h
:info:build + /usr/bin/cc -E -nostdinc -dI -DMYSQL_ABI_CHECK -I./include -I./include/mysql -I./sql -I./include -I./include/mysql -I./sql include/mysql/plugin.h
:info:build + /usr/bin/sed -e '/^# /d' -e '/^[ ]*$/d' -e '/^#pragma GCC set_debug_pwd/d' -e '/^#ident/d'
:info:build + /usr/bin/diff -w include/mysql/plugin.h.pp ./abi_check.out
:info:build + /bin/rm ./abi_check.out
:info:build + for file in include/mysql/plugin.h include/mysql.h
:info:build + /usr/bin/cc -E -nostdinc -dI -DMYSQL_ABI_CHECK -I./include -I./include/mysql -I./sql -I./include -I./include/mysql -I./sql include/mysql.h
:info:build + /usr/bin/sed -e '/^# /d' -e '/^[ ]*$/d' -e '/^#pragma GCC set_debug_pwd/d' -e '/^#ident/d'
:info:build + /usr/bin/diff -w include/mysql.h.pp ./abi_check.out
:info:build 3,4d2
:info:build < #include "mysql_version.h"
:info:build < #include "mysql_com.h"
:info:build 148d145
:info:build < #include "mysql_time.h"
:info:build 161d157
:info:build < #include "my_list.h"
:info:build 202,203d197
:info:build < #include "typelib.h"
:info:build < #include "my_alloc.h"
:info:build 241d234
:info:build < #include "my_alloc.h"
:info:build make[2]: *** [do_abi_check] Error 1
:info:build make[2]: Leaving directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_databases_mysql5/mysql5/work/mysql-5.1.72'
:info:build make[1]: *** [abi_check] Error 2
:info:build make[1]: Leaving directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_databases_mysql5/mysql5/work/mysql-5.1.72'
:info:build make: *** [all-recursive] Error 1
:info:build make: Leaving directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_databases_mysql5/mysql5/work/mysql-5.1.72'
:info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_databases_mysql5/mysql5/work/mysql-5.1.72" && /usr/bin/make -j8 -w all
:info:build Exit code: 2
:error:build org.macports.build for port mysql5 returned: command execution failed
:debug:build Error code: CHILDSTATUS 84950 2
:debug:build Backtrace: command execution failed
while executing
"system -nice 0 $fullcmdstring"
("eval" body line 1)
invoked from within
"eval system $notty $nice \$fullcmdstring"
invoked from within
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"portbuild::build_main org.macports.build"
("eval" body line 1)
invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for mysql5: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port mysql5 for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_distfiles.macports.org_ports_databases_mysql5/mysql5/main.log
(END)