Opened 12 years ago

Last modified 12 years ago

#34711 closed defect

cannot Install mysql5 — at Version 2

Reported by: yppah56@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: pixilla@…
Port: mysql5

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Can install mysql4. But, cannot install mysql5 already uninstall mysql4.

(In terminal)

[var/root] > install mysql5 +server
--->  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_rsync.macports.org_release_tarballs_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

(main.log)

version:1
:debug:clean epoch: in tree: 0 installed: 0
:debug:clean zlib 1.2.7_0 exists in the ports tree
:debug:clean zlib 1.2.7_0  is the latest installed
:debug:clean zlib 1.2.7_0  is active
:debug:clean Merging existing variants '' into variants
:debug:clean new fully merged portvariants: 
:debug:clean Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/zlib
:debug:clean OS darwin/11.4.0 (Mac OS X 10.7) arch i386
:debug:clean org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:clean org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:clean org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:clean Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/xcodeversion-1.0.tcl
:debug:clean adding the default universal variant
:debug:clean Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:clean No need to upgrade! zlib 1.2.7_0 >= zlib 1.2.7_0
:debug:clean epoch: in tree: 1 installed: 1
:debug:clean openssl 1.0.1c_0 exists in the ports tree
:debug:clean openssl 1.0.1c_0  is the latest installed
:debug:clean openssl 1.0.1c_0  is active
:debug:clean Merging existing variants '' into variants
:debug:clean new fully merged portvariants: 
:debug:clean Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/openssl
:debug:clean OS darwin/11.4.0 (Mac OS X 10.7) arch i386
:debug:clean org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:clean org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:clean org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:clean Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:clean Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:clean universal variant already exists, so not adding the default one
:debug:clean No need to upgrade! openssl 1.0.1c_0 >= openssl 1.0.1c_0
:debug:clean epoch: in tree: 0 installed: 0
:debug:clean readline 6.2.000_0 exists in the ports tree
:debug:clean readline 6.2.000_0  is the latest installed
:debug:clean readline 6.2.000_0  is active
:debug:clean Merging existing variants '' into variants
:debug:clean new fully merged portvariants: 
:debug:clean Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/readline
:debug:clean OS darwin/11.4.0 (Mac OS X 10.7) arch i386
:debug:clean org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:clean org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:clean org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:clean Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:clean Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:clean universal variant already exists, so not adding the default one
:debug:clean No need to upgrade! readline 6.2.000_0 >= readline 6.2.000_0
:debug:clean epoch: in tree: 0 installed: 0
:debug:clean ncurses 5.9_1 exists in the ports tree
:debug:clean ncurses 5.9_1  is the latest installed
:debug:clean ncurses 5.9_1  is active
:debug:clean Merging existing variants '' into variants
:debug:clean new fully merged portvariants: 
:debug:clean Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/ncurses
:debug:clean OS darwin/11.4.0 (Mac OS X 10.7) arch i386
:debug:clean org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:clean org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:clean org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:clean adding the default universal variant
:debug:clean Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:clean No need to upgrade! ncurses 5.9_1 >= ncurses 5.9_1
:msg:clean --->  Computing dependencies for mysql5:info:clean .:debug:clean Checking for conflicts against mysql5
:debug:clean Searching for dependency: mysql5-devel
:debug:clean Didn't find receipt, going to depspec regex for: mysql5-devel
:debug:clean Searching for dependency: mysql55
:debug:clean Didn't find receipt, going to depspec regex for: mysql55
:debug:clean Searching for dependency: mysql4
:debug:clean Didn't find receipt, going to depspec regex for: mysql4
:debug:clean Searching for dependency: mariadb
:debug:clean Didn't find receipt, going to depspec regex for: mariadb
:debug:clean Searching for dependency: zlib
:debug:clean Found Dependency: receipt exists for zlib
:debug:clean Searching for dependency: openssl
:debug:clean Found Dependency: receipt exists for openssl
:debug:clean Searching for dependency: readline
:debug:clean Found Dependency: receipt exists for readline
:msg:clean 
:debug:main Executing org.macports.main (mysql5)
: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 Skipping completed org.macports.archivefetch (mysql5)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (mysql5)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (mysql5)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (mysql5)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (mysql5)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (mysql5)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Fri Jun  1 21:49:28 CST 2012
:notice:build --->  Building mysql5
:debug:build Executing org.macports.build (mysql5)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.62" && /usr/bin/make -j2 -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_mysql5/mysql5/work/mysql-5.1.62" && /usr/bin/make -j2 -w all 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.62'
: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_mysql5/mysql5/work/mysql-5.1.62'
:info:build /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_mysql5/mysql5/work/mysql-5.1.62'
: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 	                  /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/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 + /opt/local/bin/gsed -e '/^# /d' -e '/^[ 	]*$/d' -e '/^#pragma GCC set_debug_pwd/d' -e '/^#ident/d'
:info:build /bin/sh: ./abi_check.out: Permission denied
: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_mysql5/mysql5/work/mysql-5.1.62'
: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_mysql5/mysql5/work/mysql-5.1.62'
: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_mysql5/mysql5/work/mysql-5.1.62'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.62" && /usr/bin/make -j2 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port mysql5 returned: command execution failed
:debug:build Error code: CHILDSTATUS 33504 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
"$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_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/main.log

Change History (3)

Changed 12 years ago by yppah56@…

Attachment: main.log added

Install report

comment:1 Changed 12 years ago by yppah56@…

Cc: yppah56@… added

Cc Me!

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: pixilla@… added; yppah56@… removed
Description: modified (diff)
Keywords: mysql mysql5 install removed
Owner: changed from macports-tickets@… to ryandesign@…
Port: mysql5 added
Priority: HighNormal

Please use WikiFormatting when writing in Trac.

install mysql5 +server

There is no such thing as a "server" variant in the mysql5 port. There was years ago, but not anymore. Now you can get what was in that variant by installing the separate port mysql5-server.

This was not a clean attempt. Please "sudo port clean mysql5", then try again, then attach the new main.log if it fails again.

You might also want to try the mysql51 or mysql55 port instead.

Note: See TracTickets for help on using tickets.