Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-6069

ColumnStore | error: ‘int64_t’ has not been declared

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 23.10.3
    • 23.10.5
    • N/A
    • None
    • fedora42
    • 2025-5, 2025-6

    Description

      Environment:

      • Fedora 42
      • gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)

      Blocks: Releasing MariaDB Server >= 11.4 on Fedora 42

      Reproduce:

      docker run -it --rm quay.io/rvarzaru/test:fedora42-bb bash
      git clone --branch 11.4 --depth 1 https://github.com/MariaDB/server.git
      cd server
      git submodule update --init --recursive
      cmake . -DBUILD_CONFIG=mysql_release -DRPM=fedora42
      make -j$(nproc)
      

      Issue:

      In file included from /server/storage/columnstore/columnstore/external/thrift/src/external_thrift/lib/cpp/src/thrift/transport/TServerSocket.h:23,
                       from /server/storage/columnstore/columnstore/external/thrift/src/external_thrift/lib/cpp/src/thrift/transport/TSSLServerSocket.h:23,
                       from /server/storage/columnstore/columnstore/external/thrift/src/external_thrift/lib/cpp/src/thrift/transport/TSSLServerSocket.cpp:21:
      /server/storage/columnstore/columnstore/external/thrift/src/external_thrift/lib/cpp/src/thrift/concurrency/Mutex.h:47:26: error: ‘int64_t’ has not been declared
         47 |   virtual bool timedlock(int64_t milliseconds) const;
            |                          ^~~~~~~
      /server/storage/columnstore/columnstore/external/thrift/src/external_thrift/lib/cpp/src/thrift/concurrency/Mutex.h:25:1: note: ‘int64_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
         24 | #include <thrift/TNonCopyable.h>
        +++ |+#include <cstdint>
         25 | 
      /server/storage/columnstore/columnstore/external/thrift/src/external_thrift/lib/cpp/src/thrift/concurrency/Mutex.h:60:29: error: ‘int64_t’ has not been declared
         60 |   Guard(const Mutex& value, int64_t timeout = 0) : mutex_(&value) {
            |                             ^~~~~~~
      /server/storage/columnstore/columnstore/external/thrift/src/external_thrift/lib/cpp/src/thrift/concurrency/Mutex.h:60:29: note: ‘int64_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
      make[5]: *** [lib/cpp/CMakeFiles/thrift.dir/build.make:583: lib/cpp/CMakeFiles/thrift.dir/src/thrift/transport/TSSLServerSocket.cpp.o] Error 1
      make[4]: *** [CMakeFiles/Makefile2:297: lib/cpp/CMakeFiles/thrift.dir/all] Error 2
      make[3]: *** [Makefile:156: all] Error 2
      make[2]: *** [storage/columnstore/columnstore/CMakeFiles/external_thrift.dir/build.make:86: storage/columnstore/columnstore/external/thrift/src/external_thrift-stamp/external_thrift-build] Error 2
      make[1]: *** [CMakeFiles/Makefile2:8524: storage/columnstore/columnstore/CMakeFiles/external_thrift.dir/all] Error 2
      make[1]: *** Waiting for unfinished jobs....
      

      Attachments

        Issue Links

          Activity

            People

              leonid.fedorov Leonid Fedorov
              rvarzaru Varzaru Razvan-Liviu
              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.