Opened 10 years ago

Closed 10 years ago

#46318 closed defect (duplicate)

mysql51-server fails to install mysql51

Reported by: magill@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: pixilla (Bradley Giesbrecht)
Port: mysql51-server mysql51

Description

Installing on a headless Mac Mini via screen sharing

  Mac Mini (Late 2012)
  Model Name:	Mac mini 
  Model Identifier:	Macmini6,1
  Processor Name:	Intel Core i5
  Processor Speed:	2.5 GHz
  Number of Processors:	1
  Total Number of Cores:	2
  L2 Cache (per Core):	256 KB
  L3 Cache:	3 MB
  Memory:	4 GB

 Yosemite 10.10.1 + 12/23 security update
 Xcode 6.1 and Command Line tools 6.1

1- Attempting to follow MAMP -- Apache2 is now installed and working correctly

2- at step 3: "sudo port install mysql51-server" is failing.

The attached log file is AFTER cleaning and re-running:

 shianbrae> sudo port clean  mysql51-server
Password:
--->  Cleaning mysql51-server
[/Users/magill] magill 
 shianbrae> sudo port install mysql51-server
--->  Computing dependencies for mysql51-serverWarning: All compilers are either blacklisted or unavailable; defaulting to first fallback option

--->  Dependencies to be installed: mysql51
--->  Building mysql51
Error: org.macports.build for port mysql51 returned: command execution failed
Error: Failed to install mysql51
Please see the log file for port mysql51 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql51/mysql51/main.log
Error: The following dependencies were not installed: mysql51
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port mysql51-server failed

main.log

[/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql51/mysql51] magill 
 shianbrae> more main.log
version:1
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Executing org.macports.main (mysql51)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.archivefetch (mysql51)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (mysql51)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (mysql51)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (mysql51)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (mysql51)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (mysql51)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Wed Dec 24 05:34:30 EST 2014
:notice:build --->  Building mysql51
:debug:build Executing org.macports.build (mysql51)
:debug:build Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql51/mysql51/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql51/mysql51/work/mysql-5.1.72" && /usr/bin/make -j4 -w all'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql51/mysql51/work/mysql-5.1.72" && /usr/bin/make -j4 -w all 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql51/mysql51/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_rsync.macports.org_release_tarballs_ports_databases_mysql51/mysql51/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_rsync.macports.org_release_tarballs_ports_databases_mysql51/mysql51/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/clang -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                       /opt/local/bin/gsed -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/clang -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 + /opt/local/bin/gsed -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/clang -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 + /opt/local/bin/gsed -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_rsync.macports.org_release_tarballs_ports_databases_mysql51/mysql51/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_rsync.macports.org_release_tarballs_ports_databases_mysql51/mysql51/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_rsync.macports.org_release_tarballs_ports_databases_mysql51/mysql51/work/mysql-5.1.72'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql51/mysql51/work/mysql-5.1.72" && /usr/bin/make -j4 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port mysql51 returned: command execution failed
:debug:build Error code: CHILDSTATUS 70273 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 mysql51: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install mysql51
:debug:build Registry error: mysql51 not registered as installed & active.
    invoked from within
"registry_active $subport"
    invoked from within
"$workername eval registry_active \$subport"
:notice:build Please see the log file for port mysql51 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql51/mysql51/main.log


[/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql51/mysql51] magill 
 shianbrae> 

Change History (1)

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: openmaintainer@… removed
Resolution: duplicate
Status: newclosed

mysql51 is old. Please use a newer version or fork of MySQL, such as mysql55, mysql56, mariadb, mariadb-10.0, mariadb-10.1, or percona.

Duplicate of #45456.

Note: See TracTickets for help on using tickets.