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

10.2 build fails on Ubuntu 23.10

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Won't Fix
    • 10.2.44
    • 10.2.44
    • Compiling
    • None
    • Ubuntu 23.10 (Mantic Minotaur)

    Description

      10.2 build fails on Ubuntu 23.10.

      Repro
      ------

      git clone --recurse-submodules https://github.com/MariaDB/server -b 10.2 10.2
      cmake . -DWITH_SSL=bundled -DBUILD_CONFIG=mysql_release -DWITH_UNIT_TESTS=0 -DWITH_TOKUDB=0 -DWITH_JEMALLOC=no -DFEATURE_SET=community -DDEBUG_EXTNAME=OFF -DWITH_EMBEDDED_SERVER=0 -DENABLE_DOWNLOADS=1 -DDOWNLOAD_BOOST=1 -DWITH_BOOST=/tmp/boost_839921 -DENABLED_LOCAL_INFILE=1 -DENABLE_DTRACE=0 -DWITH_{SAFEMALLOC,NUMA}=OFF -DWITH_UNIT_TESTS=OFF -DCONC_WITH_{UNITTEST,SSL}=OFF -DPLUGIN_PERFSCHEMA=YES -DWITH_DBUG_TRACE=OFF -DWITH_ZLIB=bundled -DWITH_ROCKSDB=1 -DWITH_PAM=ON -DWITH_MARIABACKUP=0 -DFORCE_INSOURCE_BUILD=1 -DWITHOUT_GROUP_REPLICATION=1 -DMYSQL_MAINTAINER_MODE=OFF -DWARNING_AS_ERROR='' -DCMAKE_BUILD_TYPE=RelWithDebInfo
      /usr/bin/cmake --build . --target "preinstall"
      ...
      [ 56%] Building CXX object storage/rocksdb/CMakeFiles/rocksdblib.dir/rocksdb/db/range_del_aggregator.cc.o
      In file included from /test/10.2/storage/rocksdb/rocksdb/db/range_del_aggregator.h:16,
                       from /test/10.2/storage/rocksdb/rocksdb/db/range_del_aggregator.cc:6:
      /test/10.2/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h:23:3: error: ‘uint64_t’ does not name a type
         23 |   uint64_t total_filter_time = 0;
            |   ^~~~~~~~
      /test/10.2/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h:9:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
          8 | #include "rocksdb/rocksdb_namespace.h"
        +++ |+#include <cstdint>
          9 | 
      /test/10.2/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h:28:3: error: ‘uint64_t’ does not name a type
         28 |   uint64_t num_input_records = 0;
            |   ^~~~~~~~
      /test/10.2/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h:28:3: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
      /test/10.2/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h:29:3: error: ‘uint64_t’ does not name a type
         29 |   uint64_t num_input_deletion_records = 0;
            |   ^~~~~~~~
      /test/10.2/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h:29:3: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
      /test/10.2/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h:30:3: error: ‘uint64_t’ does not name a type
         30 |   uint64_t num_input_corrupt_records = 0;
            |   ^~~~~~~~
      /test/10.2/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h:30:3: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
      /test/10.2/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h:31:3: error: ‘uint64_t’ does not name a type
         31 |   uint64_t total_input_raw_key_bytes = 0;
            |   ^~~~~~~~
      /test/10.2/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h:31:3: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
      /test/10.2/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h:32:3: error: ‘uint64_t’ does not name a type
         32 |   uint64_t total_input_raw_value_bytes = 0;
            |   ^~~~~~~~
      /test/10.2/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h:32:3: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
      /test/10.2/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h:35:3: error: ‘uint64_t’ does not name a type
         35 |   uint64_t num_single_del_fallthru = 0;
            |   ^~~~~~~~
      /test/10.2/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h:35:3: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
      /test/10.2/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h:36:3: error: ‘uint64_t’ does not name a type
         36 |   uint64_t num_single_del_mismatch = 0;
            |   ^~~~~~~~
      /test/10.2/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h:36:3: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
      gmake[2]: *** [storage/rocksdb/CMakeFiles/rocksdblib.dir/build.make:734: storage/rocksdb/CMakeFiles/rocksdblib.dir/rocksdb/db/range_del_aggregator.cc.o] Error 1
      gmake[1]: *** [CMakeFiles/Makefile2:4243: storage/rocksdb/CMakeFiles/rocksdblib.dir/all] Error 2
      gmake: *** [Makefile:156: all] Error 2
      
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            susil.behera Susil Behera
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.