Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-20003

unable to build mariadb 10.4

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: In Progress (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.4
    • Fix Version/s: 10.4
    • Component/s: Compiling, wsrep
    • Labels:
      None
    • Environment:
      cmake --version
      cmake version 3.14.3

      Description

      using the same build environment as for maria 10.3 compilation just stops with "Error 2":
      [..]
      WARNING: Target "mroonga" requests linking to directory "/usr/lib64". Targets may link only to libraries. CMake is dropping the item.
      WARNING: Target "suggest" requests linking to directory "/usr/lib64". Targets may link only to libraries. CMake is dropping the item.
      WARNING: Target "tsv_query_expander" requests linking to directory "/usr/lib64". Targets may link only to libraries. CMake is dropping the item.
      [..]
      [ 3%] Linking C static library libstrings.a
      cd /tmp/mariadb/BUILD/mariadb-10.4.6/build/strings && /usr/bin/cmake -P CMakeFiles/strings.dir/cmake_clean_target.cmake
      cd /tmp/mariadb/BUILD/mariadb-10.4.6/build/strings && /usr/bin/cmake -E cmake_link_script CMakeFiles/strings.dir/link.txt --verbose=1
      /bin/ar qc libstrings.a CMakeFiles/strings.dir/bchange.c.o CMakeFiles/strings.dir/bmove_upp.c.o CMakeFiles/strings.dir/ctype-big5.c.o CMakeFiles/strings.dir/ctype-bin.c.o CMakeFiles/strings.dir/ctype-cp932.c.o CMakeFiles/strings.dir/ctype-czech.c.o CMakeFiles/strings.dir/ctype-euc_kr.c.o CMakeFiles/strings.dir/ctype-eucjpms.c.o CMakeFiles/strings.dir/ctype-extra.c.o CMakeFiles/strings.dir/ctype-gb2312.c.o CMakeFiles/strings.dir/ctype-gbk.c.o CMakeFiles/strings.dir/ctype-latin1.c.o CMakeFiles/strings.dir/ctype-mb.c.o CMakeFiles/strings.dir/ctype-simple.c.o CMakeFiles/strings.dir/ctype-sjis.c.o CMakeFiles/strings.dir/ctype-tis620.c.o CMakeFiles/strings.dir/ctype-uca.c.o CMakeFiles/strings.dir/ctype-ucs2.c.o CMakeFiles/strings.dir/ctype-ujis.c.o CMakeFiles/strings.dir/ctype-utf8.c.o CMakeFiles/strings.dir/ctype-win1250ch.c.o CMakeFiles/strings.dir/ctype.c.o CMakeFiles/strings.dir/decimal.c.o CMakeFiles/strings.dir/dtoa.c.o CMakeFiles/strings.dir/int2str.c.o CMakeFiles/strings.dir/is_prefix.c.o CMakeFiles/strings.dir/llstr.c.o CMakeFiles/strings.dir/longlong2str.c.o CMakeFiles/strings.dir/my_strtoll10.c.o CMakeFiles/strings.dir/my_vsnprintf.c.o CMakeFiles/strings.dir/str2int.c.o CMakeFiles/strings.dir/strcend.c.o CMakeFiles/strings.dir/strend.c.o CMakeFiles/strings.dir/strfill.c.o CMakeFiles/strings.dir/strmake.c.o CMakeFiles/strings.dir/strmov.c.o CMakeFiles/strings.dir/strnmov.c.o CMakeFiles/strings.dir/strxmov.c.o CMakeFiles/strings.dir/strxnmov.c.o CMakeFiles/strings.dir/xml.c.o CMakeFiles/strings.dir/strmov_overlapp.c.o CMakeFiles/strings.dir/my_strchr.c.o CMakeFiles/strings.dir/strcont.c.o CMakeFiles/strings.dir/strappend.c.o CMakeFiles/strings.dir/json_lib.c.o
      /bin/ranlib libstrings.a
      make[2]: Leaving directory '/tmp/mariadb/BUILD/mariadb-10.4.6/build'
      make[1]: Entering directory '/tmp/mariadb/BUILD/mariadb-10.4.6/build'
      [ 3%] Built target strings
      make[1]: Leaving directory '/tmp/mariadb/BUILD/mariadb-10.4.6/build'
      make: *** [Makefile:166: all] Error 2

      Looking at the make process I encounter some warnings e.g.
      CMake Warning (dev) at cmake/dtrace.cmake:150 (GET_TARGET_PROPERTY):
      Policy CMP0026 is not set: Disallow use of the LOCATION target property.
      Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
      command to set the policy and suppress this warning.

      CMake Warning (dev) at storage/mroonga/vendor/groonga/vendor/plugins/groonga-normalizer-mysql/CMakeLists.txt:28 (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.

        Attachments

          Activity

            People

            Assignee:
            sysprg Julius Goryavsky
            Reporter:
            mokraemer Marc
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: