* Package: dev-db/mysql-connector-c++-8.0.15 * Repository: gentoo * Maintainer: mysql-bugs@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux legacy libressl userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking mysql-connector-c++-8.0.15-src.tar.gz to /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work >>> Source unpacked in /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work >>> Preparing source in /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15-src ... * Applying mysql-connector-c++-8.0.15-fix-build.patch ... patching file CMakeLists.txt patching file cdk/cmake/install_macros.cmake patching file cdk/cmake/libutils.cmake patching file cdk/cmake/protobuf.cmake patching file cdk/protocol/mysqlx/crud.cc patching file jdbc.cmake [ ok ] * Hardcoded definition(s) removed in CMakeLists.txt: * set(CMAKE_INSTALL_PREFIX "" CACHE PATH "Install location") * set(CMAKE_INSTALL_PREFIX "${install_home}/MySQL/MySQL Connector C++ ${CON * set(CMAKE_INSTALL_PREFIX "/usr/local/mysql/connector-c++-${CONCPP_PACKAGE * Hardcoded definition(s) removed in jdbc/examples/CMakeLists.txt: * SET(CMAKE_VERBOSE_MAKEFILE 0) >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15-src ... >>> Working in BUILD_DIR: "/var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build" cmake -C /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DWITH_SSL=system -DWITH_JDBC=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/gentoo_toolchain.cmake /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15-src loading initial cache file /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/gentoo_common_config.cmake CMake Deprecation Warning at CMakeLists.txt:33 (cmake_policy): The OLD behavior for policy CMP0023 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. -- The C compiler identification is GNU 9.2.0 -- The CXX compiler identification is GNU 9.2.0 -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done Building on system: Linux-5.3.13 (x86_64) Using cmake generator: Unix Makefiles Using 64bit generator Building version 8.0.15 CMake Warning (dev) at CMakeLists.txt:135 (set): implicitly converting 'BOOLEAN' to 'STRING' type. This warning is for project developers. Use -Wno-dev to suppress it. Building shared connector library CMake Deprecation Warning at cdk/CMakeLists.txt:34 (cmake_policy): The OLD behavior for policy CMP0023 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Configuring CDK as part of MySQL_CONCPP project WITH_TESTS: OFF CMake Warning (dev) at cdk/SubProject.cmake:47 (OPTION): Policy CMP0077 is not set: option() honors normal variables. Run "cmake --help-policy CMP0077" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, option is clearing the normal variable 'WITH_CDK_DOC'. Call Stack (most recent call first): cdk/CMakeLists.txt:50 (INCLUDE) This warning is for project developers. Use -Wno-dev to suppress it. CDK include path: /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15-src/cdk/include;/var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/cdk/include -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian CMake Warning (dev) at cdk/cmake/config.cmake:55 (set): implicitly converting 'INERNAL' to 'STRING' type. Call Stack (most recent call first): cdk/CMakeLists.txt:142 (add_config) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at cdk/CMakeLists.txt:177 (option): Policy CMP0077 is not set: option() honors normal variables. Run "cmake --help-policy CMP0077" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, option is clearing the normal variable 'WITH_PIC'. This warning is for project developers. Use -Wno-dev to suppress it. WITH_SSL: system -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "2.0.0") CMake Error at cdk/cmake/ssl.cmake:255 (message): OpenSSL version 1.x is required but version 2.0.0 was found Call Stack (most recent call first): cdk/CMakeLists.txt:222 (MYSQL_CHECK_SSL) -- OPENSSL_INCLUDE_DIR: /usr/include -- OPENSSL_LIBRARY: /usr/lib64/libssl.so -- CRYPTO_LIBRARY: /usr/lib64/libcrypto.so -- Looking for SHA512_DIGEST_LENGTH -- Looking for SHA512_DIGEST_LENGTH - found CMake Warning (dev) at cdk/cmake/config.cmake:61 (set): implicitly converting 'INERNAL' to 'STRING' type. Call Stack (most recent call first): cdk/CMakeLists.txt:223 (add_config) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at cdk/cmake/config.cmake:61 (set): implicitly converting 'INERNAL' to 'STRING' type. Call Stack (most recent call first): cdk/CMakeLists.txt:224 (add_config) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at cdk/cmake/config.cmake:61 (set): implicitly converting 'INERNAL' to 'STRING' type. Call Stack (most recent call first): cdk/CMakeLists.txt:236 (ADD_CONFIG) This warning is for project developers. Use -Wno-dev to suppress it. -- Found Protobuf: /usr/lib64/libprotobuf.so;-lpthread (found version "3.9.2") -- Performing Test HAVE_STATIC_ASSERT -- Performing Test HAVE_STATIC_ASSERT - Success CMake Warning (dev) at cdk/cmake/config.cmake:61 (set): implicitly converting 'INERNAL' to 'STRING' type. Call Stack (most recent call first): cdk/include/mysql/cdk/foundation/CMakeLists.txt:45 (ADD_CONFIG) This warning is for project developers. Use -Wno-dev to suppress it. -- Performing Test HAVE_IS_SAME -- Performing Test HAVE_IS_SAME - Failed CMake Warning (dev) at cdk/cmake/config.cmake:61 (set): implicitly converting 'INERNAL' to 'STRING' type. Call Stack (most recent call first): cdk/include/mysql/cdk/foundation/CMakeLists.txt:50 (ADD_CONFIG) This warning is for project developers. Use -Wno-dev to suppress it. -- Performing Test HAVE_SHARED_PTR -- Performing Test HAVE_SHARED_PTR - Success CMake Warning (dev) at cdk/cmake/config.cmake:61 (set): implicitly converting 'INERNAL' to 'STRING' type. Call Stack (most recent call first): cdk/foundation/CMakeLists.txt:45 (ADD_CONFIG) This warning is for project developers. Use -Wno-dev to suppress it. -- Performing Test HAVE_SYSTEM_ERROR -- Performing Test HAVE_SYSTEM_ERROR - Success CMake Warning (dev) at cdk/cmake/config.cmake:61 (set): implicitly converting 'INERNAL' to 'STRING' type. Call Stack (most recent call first): cdk/foundation/CMakeLists.txt:59 (ADD_CONFIG) This warning is for project developers. Use -Wno-dev to suppress it. -- Performing Test HAVE_CODECVT_UTF8 -- Performing Test HAVE_CODECVT_UTF8 - Success CMake Warning (dev) at cdk/cmake/config.cmake:61 (set): implicitly converting 'INERNAL' to 'STRING' type. Call Stack (most recent call first): cdk/foundation/CMakeLists.txt:73 (ADD_CONFIG) This warning is for project developers. Use -Wno-dev to suppress it. -- Looking for sys/endian.h -- Looking for sys/endian.h - not found CMake Warning (dev) at cdk/cmake/config.cmake:61 (set): implicitly converting 'INERNAL' to 'STRING' type. Call Stack (most recent call first): cdk/protocol/mysqlx/CMakeLists.txt:33 (ADD_CONFIG) This warning is for project developers. Use -Wno-dev to suppress it. -- Looking for sys/byteorder.h -- Looking for sys/byteorder.h - not found CMake Warning (dev) at cdk/cmake/config.cmake:61 (set): implicitly converting 'INERNAL' to 'STRING' type. Call Stack (most recent call first): cdk/protocol/mysqlx/CMakeLists.txt:36 (ADD_CONFIG) This warning is for project developers. Use -Wno-dev to suppress it. CMake Deprecation Warning at cdk/core/CMakeLists.txt:32 (cmake_policy): The OLD behavior for policy CMP0023 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. CMake Warning (dev) at cdk/cmake/libutils.cmake:207 (get_target_property): Policy CMP0045 is not set: Error on non-existent target in get_target_property. Run "cmake --help-policy CMP0045" for policy details. Use the cmake_policy command to set the policy and suppress this warning. get_target_property() called with non-existent target "protobuf-lite". Call Stack (most recent call first): cdk/core/CMakeLists.txt:56 (add_library_ex) This warning is for project developers. Use -Wno-dev to suppress it. -adding static library: cdk_mysqlx_objs -adding static library: cdk_proto_mysqlx_objs -adding static library: cdk_foundation_objs -adding static library: cdk_parser_objs Wrote configuration header: /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/cdk/include/mysql/cdk/config.h == Configuring legacy connector build using cmake generator: Unix Makefiles -- Boost version: 1.71.0 -- The C compiler identification is GNU 9.2.0 -- The CXX compiler identification is GNU 9.2.0 -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Boost version: 1.71.0 -- BOOST_INCLUDE_DIRS=/usr/include -- You will link dynamically to the MySQL client library (set with -DMYSQLCLIENT_STATIC_LINKING=) -- Searching for dynamic libraries with the base name(s) "mysqlclient_r mysqlclient" -- mysql_config was found /usr/bin/mysql_config -- MYSQL_LIB_DIR_LIST = -- MySQL client environment/cmake variables set that the user can override -- MYSQL_DIR : -- MYSQL_INCLUDE_DIR : /usr/include/mysql -- MYSQL_LIB_DIR : /usr/lib64 -- MYSQL_CONFIG_EXECUTABLE : /usr/bin/mysql_config -- MYSQL_CXX_LINKAGE : 1 -- MYSQL_CFLAGS : -I/usr/include/mysql -- MYSQL_CXXFLAGS : -I/usr/include/mysql -- MYSQLCLIENT_STATIC_LINKING : OFF -- MYSQLCLIENT_NO_THREADS : -- MySQL client optional environment/cmake variables set by the user -- MYSQL_EXTRA_LIBRARIES : -- MYSQL_LINK_FLAGS : -- MySQL client settings that the user can't override -- MYSQL_VERSION : 8.0.17 -- MYSQL_VERSION_ID : 80017 -- MYSQL_LIB : /usr/lib64/libmysqlclient.so -- MYSQL_LIBRARIES : mysqlclient;pthread;z;m;rt;ssl;crypto;dl CMake Warning at CMakeLists.txt:356 (MESSAGE): libmysqlclient and connector compilers mismatch: libmysqlclient: connector: GNU 9.2.0. -- USE_SERVER_FLAGS : ON -- Environment compile flags: -DNDEBUG -I/usr/include/mysql -O2 -pipe -march=native -- Environment link flags: -Wl,-O1 -Wl,--as-needed -- Installation path is: /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/jdbc/install (overwrite with -DCMAKE_INSTALL_PREFIX=/your/path) -- Looking for include file stdint.h -- Looking for include file stdint.h - found -- Looking for include file inttypes.h -- Looking for include file inttypes.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of int8_t -- Check size of int8_t - done -- Check size of uint8_t -- Check size of uint8_t - done -- Check size of int16_t -- Check size of int16_t - done -- Check size of uint16_t -- Check size of uint16_t - done -- Check size of int32_t -- Check size of int32_t - done -- Check size of uint32_t -- Check size of uint32_t - done -- Check size of int64_t -- Check size of int64_t - done -- Check size of uint64_t -- Check size of uint64_t - done -- Check size of __int8 -- Check size of __int8 - failed -- Check size of unsigned __int8 -- Check size of unsigned __int8 - failed -- Check size of __int16 -- Check size of __int16 - failed -- Check size of unsigned __int16 -- Check size of unsigned __int16 - failed -- Check size of __int32 -- Check size of __int32 - failed -- Check size of unsigned __int32 -- Check size of unsigned __int32 - failed -- Check size of __int64 -- Check size of __int64 - failed -- Check size of unsigned __int64 -- Check size of unsigned __int64 - failed -- Looking for strtold -- Looking for strtold - found -- Looking for strtol -- Looking for strtol - found -- Looking for strtoll -- Looking for strtoll - found -- Looking for strtoul -- Looking for strtoul - found -- Looking for strtoull -- Looking for strtoull - found -- Looking for strtoimax -- Looking for strtoimax - found -- Looking for strtoumax -- Looking for strtoumax - found -- Using static libmysql binding -- DT_RPATH will not be set -- Configuring driver -- Configuring done -- Generating done -- Build files have been written to: /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/jdbc jdbc installing: /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/jdbc/driver/libmysqlcppconn.so.7.8.0.15 == legacy connector build configured -- Skipping deb packaging on unsupported platform . Connector library name: mysqlcppconn8 Building version 8.0.15 Generating INFO_SRC Generating INFO_BIN Install location: /usr Connector libraries will be installed at: lib64 -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -O2 -pipe -march=native C++ -std=c++11 -O2 -pipe -march=native Linker flags: Executable -Wl,-O1 -Wl,--as-needed Module -Wl,-O1 -Wl,--as-needed Shared -Wl,-O1 -Wl,--as-needed -- Configuring incomplete, errors occurred! See also "/var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeOutput.log". See also "/var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeError.log". * ERROR: dev-db/mysql-connector-c++-8.0.15::gentoo failed (configure phase): * cmake failed * * Call stack: * ebuild.sh, line 125: Called src_configure * environment, line 2039: Called cmake-utils_src_configure * environment, line 894: Called die * The specific snippet of code: * "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed"; * * If you need support, post the output of `emerge --info '=dev-db/mysql-connector-c++-8.0.15::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-db/mysql-connector-c++-8.0.15::gentoo'`. * The complete build log is located at '/var/log/portage/dev-db:mysql-connector-c++-8.0.15:20191127-233118.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/temp/environment'. * Working directory: '/var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build' * S: '/var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15-src'