[MacPorts] #57273: mysql57 fails install on macos mojave
MacPorts
noreply at macports.org
Mon Oct 8 05:47:14 UTC 2018
#57273: mysql57 fails install on macos mojave
--------------------------+----------------------
Reporter: danmurray2k | Owner: pixilla
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords:
Port: mysql57 |
--------------------------+----------------------
Comment (by danmurray2k):
Exact same steps...
{{{
sudo port -v install mysql57-server
}}}
Very quickly then....
{{{
---> Computing dependencies for mysql57-server..
The following dependencies will be installed: mysql57
Continue? [Y/n]: Y
---> Configuring mysql57
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work/build"
&& /opt/local/bin/cmake -DCMAKE_INSTALL_PREFIX='/opt/local'
-DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
-DCMAKE_C_COMPILER="$CC" -DCMAKE_COLOR_MAKEFILE=ON
-DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_FIND_FRAMEWORK=LAST
-DCMAKE_INSTALL_RPATH=/opt/local/lib
-DCMAKE_MODULE_PATH=/opt/local/share/cmake/Modules
-DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/opt/local;/usr"
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -Wno-dev
-DCMAKE_INSTALL_NAME_DIR:STRING=/opt/local/lib/mysql57/mysql
-DINSTALL_LAYOUT:STRING=MACPORTS -DSYSCONFDIR:PATH=/opt/local/etc/mysql57
-DMYSQL_UNIX_ADDR:PATH=/opt/local/var/run/mysql57/mysqld.sock
-DMYSQL_DATADIR:PATH=/opt/local/var/db/mysql57
-DDEFAULT_CHARSET:STRING=utf8 -DDEFAULT_COLLATION:STRING=utf8_general_ci
-DWITH_EMBEDDED_SERVER:BOOL=ON -DWITH_ZLIB:STRING=system
-DWITH_UNIT_TESTS:BOOL=ON -DENABLE_DOWNLOADS:BOOL=OFF
-DENABLE_GCOV:BOOL=OFF -DENABLE_DTRACE:BOOL=OFF -DWITH_LIBWRAP:BOOL=OFF
-DWITH_SSL:STRING=bundled -DWITH_INNODB_MEMCACHED=1
-DWITH_PARTITION_STORAGE_ENGINE=1 -DDOWNLOAD_BOOST=1
-DWITH_BOOST=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work/mysql-5.7.17/../boost_1_59_0
-DDOWNLOAD_BOOST_TIMEOUT=2400 -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG"
-DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_OSX_ARCHITECTURES="x86_64"
-DCMAKE_OSX_DEPLOYMENT_TARGET="10.14"
-DCMAKE_OSX_SYSROOT="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk"
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work/mysql-5.7.17
-- Running cmake version 3.12.3
-- Configuring with MAX_INDEXES = 64U
-- The C compiler identification is AppleClang 10.0.0.10001145
-- The CXX compiler identification is AppleClang 10.0.0.10001145
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- broken
CMake Error at
/opt/local/share/cmake-3.12/Modules/CMakeTestCCompiler.cmake:52 (message):
The C compiler
"/usr/bin/clang"
is not able to compile a simple test program.
It fails with the following output:
Change Dir:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_f7dab/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f
CMakeFiles/cmTC_f7dab.dir/build.make CMakeFiles/cmTC_f7dab.dir/build
Building C object CMakeFiles/cmTC_f7dab.dir/testCCompiler.c.o
/usr/bin/clang -pipe -Os
-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
-arch x86_64 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
-mmacosx-version-min=10.14 -o
CMakeFiles/cmTC_f7dab.dir/testCCompiler.c.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_f7dab
/opt/local/bin/cmake -E cmake_link_script
CMakeFiles/cmTC_f7dab.dir/link.txt --verbose=1
/usr/bin/clang -pipe -Os
-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
-arch x86_64 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
-mmacosx-version-min=10.14 -Wl,-search_paths_first
-Wl,-headerpad_max_install_names -L/opt/local/lib
-Wl,-headerpad_max_install_names
-Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
CMakeFiles/cmTC_f7dab.dir/testCCompiler.c.o -o cmTC_f7dab
ld: in
'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/system/libmacho.tbd',
file too small (length=0) for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[1]: *** [cmTC_f7dab] Error 1
make: *** [cmTC_f7dab/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:125 (PROJECT)
-- Configuring incomplete, errors occurred!
See also
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work/build/CMakeFiles/CMakeOutput.log".
See also
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work/build/CMakeFiles/CMakeError.log".
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work/build"
&& /opt/local/bin/cmake -DCMAKE_INSTALL_PREFIX='/opt/local'
-DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
-DCMAKE_C_COMPILER="$CC" -DCMAKE_COLOR_MAKEFILE=ON
-DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_FIND_FRAMEWORK=LAST
-DCMAKE_INSTALL_RPATH=/opt/local/lib
-DCMAKE_MODULE_PATH=/opt/local/share/cmake/Modules
-DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/opt/local;/usr"
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -Wno-dev
-DCMAKE_INSTALL_NAME_DIR:STRING=/opt/local/lib/mysql57/mysql
-DINSTALL_LAYOUT:STRING=MACPORTS -DSYSCONFDIR:PATH=/opt/local/etc/mysql57
-DMYSQL_UNIX_ADDR:PATH=/opt/local/var/run/mysql57/mysqld.sock
-DMYSQL_DATADIR:PATH=/opt/local/var/db/mysql57
-DDEFAULT_CHARSET:STRING=utf8 -DDEFAULT_COLLATION:STRING=utf8_general_ci
-DWITH_EMBEDDED_SERVER:BOOL=ON -DWITH_ZLIB:STRING=system
-DWITH_UNIT_TESTS:BOOL=ON -DENABLE_DOWNLOADS:BOOL=OFF
-DENABLE_GCOV:BOOL=OFF -DENABLE_DTRACE:BOOL=OFF -DWITH_LIBWRAP:BOOL=OFF
-DWITH_SSL:STRING=bundled -DWITH_INNODB_MEMCACHED=1
-DWITH_PARTITION_STORAGE_ENGINE=1 -DDOWNLOAD_BOOST=1
-DWITH_BOOST=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work/mysql-5.7.17/../boost_1_59_0
-DDOWNLOAD_BOOST_TIMEOUT=2400 -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG"
-DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_OSX_ARCHITECTURES="x86_64"
-DCMAKE_OSX_DEPLOYMENT_TARGET="10.14"
-DCMAKE_OSX_SYSROOT="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk"
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work/mysql-5.7.17
Exit code: 1
Error: Failed to configure mysql57: configure failure: command execution
failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port mysql57-server failed
}}}
And perhaps predictably...
{{{
port -v installed | grep mysql
}}}
Gives...
{{{
mysql_select @0.1.2_3 (active) platform='darwin 18' archs='noarch'
date='2018-10-06T22:31:26+0100'
}}}
--
Ticket URL: <https://trac.macports.org/ticket/57273#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list