Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-8228

dev-db/mariadb-10.4.15 and 10.5.6 fail to configure

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • None
    • emerge -a1 dev-db/mariadb
    • cmake specification problem?
    • Hide
      dev-db/mariadb-10.4.15:10.4/18
      dev-libs/openssl-1.1.1k:0/1.1.1k
      dev-util/cmake-3.20.0:0
      Show
      dev-db/mariadb-10.4.15:10.4/18 dev-libs/openssl-1.1.1k:0/1.1.1k dev-util/cmake-3.20.0:0

      In the wake of the openssl update, something indirectly put mariadb on the @preserved-rebuild list.

      !!! existing preserved libs:
      >>> package: sys-libs/binutils-libs-2.36.1
       *  - /usr/lib64/libbfd-2.32.0.gentoo-sys-libs-binutils-libs-st-def.so
       *      used by /usr/bin/mariabackup (dev-db/mariadb-10.4.15)
       *      used by /usr/bin/mysqltest (dev-db/mariadb-10.4.15)
       *      used by /usr/lib64/binutils/x86_64-pc-linux-gnu/2.36.1/libctf.so.0.0.0 (sys-devel/binutils-2.36.1)
       *      used by 2 other files
      Use emerge @preserved-rebuild to rebuild packages using these libraries
      

      During the configure stage:

      <snip>
      == Configuring MariaDB Connector/C
      CMake Deprecation Warning at libmariadb/CMakeLists.txt:5 (CMAKE_MINIMUM_REQUIRED):
        Compatibility with CMake < 2.8.12 will be removed from a future version of
        CMake.
      
        Update the VERSION argument <min> value or use a ...<max> suffix to tell
        CMake that the project does not need compatibility with older versions.
      
      
      <snip>
      -- Looking for pthread_getspecific in pthread - found
      -- Looking for gethostbyname_r
      -- Looking for gethostbyname_r - found
      -- Looking for setsockopt
      -- Looking for setsockopt - found
      -- TLS library/version: OpenSSL 1.1.1k
      -- SYSTEM_LIBS /usr/lib/libz.so;dl;m;pthread;pthread;dl;m;/usr/lib64/libssl.so;/usr/lib64/libcrypto.so
      -- SYSTEM processor: x86_64
      CMake Error at libmariadb/cmake/ConnectorName.cmake:30 (ENDMACRO):
        Flow control statements are not properly nested.
      Call Stack (most recent call first):
        libmariadb/CMakeLists.txt:434 (INCLUDE)
      
      
      -- Configuring incomplete, errors occurred!
      See also "/var/tmp/portage/dev-db/mariadb-10.4.15/work/mariadb-10.4.15_build/CMakeFiles/CMakeOutput.log".
      See also "/var/tmp/portage/dev-db/mariadb-10.4.15/work/mariadb-10.4.15_build/CMakeFiles/CMakeError.log".
       * ERROR: dev-db/mariadb-10.4.15::core-server-kit failed (configure phase):
       *   cmake failed
       * 
       * Call stack:
       *     ebuild.sh, line   93:  Called src_configure
       *   environment, line 5461:  Called cmake_src_configure
       *   environment, line 1447:  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/mariadb-10.4.15::core-server-kit'`,
       * the complete build log and the output of `emerge -pqv '=dev-db/mariadb-10.4.15::core-server-kit'`.
      !!! When you file a bug report, please include the following information:
      GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
      JAVACFLAGS="" COMPILER=""
      and of course, the output of emerge --info =mariadb-10.4.15
       * The complete build log is located at '/var/tmp/portage/dev-db/mariadb-10.4.15/temp/build.log'.
       * The ebuild environment file is located at '/var/tmp/portage/dev-db/mariadb-10.4.15/temp/environment'.
       * Working directory: '/var/tmp/portage/dev-db/mariadb-10.4.15/work/mariadb-10.4.15_build'
       * S: '/var/tmp/portage/dev-db/mariadb-10.4.15/work/mysql'
      

      I have also tried mariadb 10.5.6, but it fails in the same place.

            s4uliu5 s4uliu5
            klipkyle klipkyle
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: