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

duckdb fails to compile f44 - gcc 16.1.1 Wsfinae-incomplete=2

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Cannot Reproduce
    • 11.8
    • N/A
    • None
    • Fedora 44 / gcc 16.1.1
    • Not for Release Notes
    • Q3/2026 Server Maintenance

    Description

      https://buildbot.mariadb.org/#/builders/1259/builds/10

       
       
      n file included from /home/buildbot/aarch64-fedora-44-rpm-autobake/build/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/storage/duckdb/third_parties/duckdb/src/include/duckdb/storage/table/column_segment.hpp:14,
                       from /home/buildbot/aarch64-fedora-44-rpm-autobake/build/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/storage/duckdb/third_parties/duckdb/src/include/duckdb/storage/table/column_segment_tree.hpp:12,
                       from /home/buildbot/aarch64-fedora-44-rpm-autobake/build/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/storage/duckdb/third_parties/duckdb/src/include/duckdb/storage/table/column_data.hpp:16,
                       from /home/buildbot/aarch64-fedora-44-rpm-autobake/build/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/storage/duckdb/third_parties/duckdb/src/include/duckdb/storage/table_storage_info.hpp:13,
                       from /home/buildbot/aarch64-fedora-44-rpm-autobake/build/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/storage/duckdb/third_parties/duckdb/src/include/duckdb/storage/index.hpp:14,
                       from /home/buildbot/aarch64-fedora-44-rpm-autobake/build/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/storage/duckdb/third_parties/duckdb/src/include/duckdb/storage/data_table.hpp:14,
                       from /home/buildbot/aarch64-fedora-44-rpm-autobake/build/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/storage/duckdb/third_parties/duckdb/src/include/duckdb/optimizer/filter_combiner.hpp:18,
                       from /home/buildbot/aarch64-fedora-44-rpm-autobake/build/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/storage/duckdb/third_parties/duckdb/src/include/duckdb/common/hive_partitioning.hpp:13,
                       from /home/buildbot/aarch64-fedora-44-rpm-autobake/build/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/storage/duckdb/third_parties/duckdb/src/include/duckdb/common/multi_file/multi_file_options.hpp:12,
                       from /home/buildbot/aarch64-fedora-44-rpm-autobake/build/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/storage/duckdb/third_parties/duckdb/src/include/duckdb/execution/operator/csv_scanner/csv_reader_options.hpp:19,
                       from /home/buildbot/aarch64-fedora-44-rpm-autobake/build/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/storage/duckdb/third_parties/duckdb/src/include/duckdb/common/serializer/deserializer.hpp:19,
                       from /home/buildbot/aarch64-fedora-44-rpm-autobake/build/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/storage/duckdb/third_parties/duckdb/src/include/duckdb/main/secret/secret.hpp:13,
                       from /home/buildbot/aarch64-fedora-44-rpm-autobake/build/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/storage/duckdb/third_parties/duckdb/src/include/duckdb/main/extension/extension_loader.hpp:14,
                       from /home/buildbot/aarch64-fedora-44-rpm-autobake/build/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/storage/duckdb/third_parties/duckdb/src/include/duckdb/main/database.hpp:16,
                       from /home/buildbot/aarch64-fedora-44-rpm-autobake/build/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/storage/duckdb/third_parties/duckdb/src/include/duckdb.hpp:12,
                       from /home/buildbot/aarch64-fedora-44-rpm-autobake/build/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/storage/duckdb/third_parties/duckdb/tools/utils/plan_serializer.cpp:2:
      /home/buildbot/aarch64-fedora-44-rpm-autobake/build/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/storage/duckdb/third_parties/duckdb/src/include/duckdb/function/compression_function.hpp:37:7: warning: defining ‘duckdb::CompressionInfo’, which previously failed to be complete in a SFINAE context [-Wsfinae-incomplete=]
         37 | class CompressionInfo {
            |       ^~~~~~~~~~~~~~~
      In file included from /usr/include/c++/16/bits/shared_ptr_base.h:57,
                       from /usr/include/c++/16/bits/shared_ptr.h:53,
                       from /usr/include/c++/16/memory:82,
                       from /home/buildbot/aarch64-fedora-44-rpm-autobake/build/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/storage/duckdb/third_parties/duckdb/src/include/duckdb/common/constants.hpp:11,
                       from /home/buildbot/aarch64-fedora-44-rpm-autobake/build/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/storage/duckdb/third_parties/duckdb/src/include/duckdb/common/enums/profiler_format.hpp:11,
                       from /home/buildbot/aarch64-fedora-44-rpm-autobake/build/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/storage/duckdb/third_parties/duckdb/src/include/duckdb/main/connection.hpp:11,
                       from /home/buildbot/aarch64-fedora-44-rpm-autobake/build/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/storage/duckdb/third_parties/duckdb/src/include/duckdb.hpp:11:
      /usr/include/c++/16/bits/refwrap.h:227:12: note: here.  Use ‘-Wsfinae-incomplete=2’ for a diagnostic at that point
        227 |     struct _Reference_wrapper_base
            |            ^~~~~~~~~~~~~~~~~~~~~~~
      In file included from /home/buildbot/aarch64-fedora-44-rpm-autobake/build/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/storage/duckdb/third_parties/duckdb/src/include/duckdb/storage/table/table_index_list.hpp:12,
                       from /home/buildbot/aarch64-fedora-44-rpm-autobake/build/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/storage/duckdb/third_parties/duckdb/src/include/duckdb/storage/table/data_table_info.hpp:11,
                       from /home/buildbot/aarch64-fedora-44-rpm-autobake/build/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/storage/duckdb/third_parties/duckdb/src/include/duckdb/storage/data_table.hpp:17:
      /home/buildbot/aarch64-fedora-44-rpm-autobake/build/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/storage/duckdb/third_parties/duckdb/src/include/duckdb/execution/index/bound_index.hpp:60:7: warning: defining ‘duckdb::BoundIndex’, which previously failed to be complete in a SFINAE context [-Wsfinae-incomplete=]
         60 | class BoundIndex : public Index {
            |       ^~~~~~~~~~
      /usr/include/c++/16/bits/refwrap.h:227:12: note: here.  Use ‘-Wsfinae-incomplete=2’ for a diagnostic at that point
        227 |     struct _Reference_wrapper_base
            |            ^~~~~~~~~~~~~~~~~~~~~~~
      In file included from /home/buildbot/aarch64-fedora-44-rpm-autobake/build/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/storage/duckdb/third_parties/duckdb/src/include/duckdb/storage/data_table.hpp:20:
      /home/buildbot/aarch64-fedora-44-rpm-autobake/build/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/storage/duckdb/third_parties/duckdb/src/include/duckdb/storage/table/row_group_collection.hpp:44:7: warning: defining ‘duckdb::RowGroupCollection’, which previously failed to be complete in a SFINAE context [-Wsfinae-incomplete=]
         44 | class RowGroupCollection {
            |       ^~~~~~~~~~~~~~~~~~
      /usr/include/c++/16/bits/refwrap.h:227:12: note: here.  Use ‘-Wsfinae-incomplete=2’ for a diagnostic at that point
        227 |     struct _Reference_wrapper_base
            |            ^~~~~~~~~~~~~~~~~~~~~~~
      /home/buildbot/aarch64-fedora-44-rpm-autobake/build/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/storage/duckdb/third_parties/duckdb/src/include/duckdb/storage/data_table.hpp:54:7: warning: defining ‘duckdb::DataTable’, which previously failed to be complete in a SFINAE context [-Wsfinae-incomplete=]
         54 | class DataTable : public enable_shared_from_this<DataTable> {
            |       ^~~~~~~~~
      /usr/include/c++/16/bits/refwrap.h:227:12: note: here.  Use ‘-Wsfinae-incomplete=2’ for a diagnostic at that point
        227 |     struct _Reference_wrapper_base
            |            ^~~~~~~~~~~~~~~~~~~~~~~
      /home/buildbot/aarch64-fedora-44-rpm-autobake/build/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/storage/duckdb/third_parties/duckdb/src/include/duckdb/main/database.hpp:39:7: warning: defining ‘duckdb::DatabaseInstance’, which previously failed to be complete in a SFINAE context [-Wsfinae-incomplete=]
         39 | class DatabaseInstance : public enable_shared_from_this<DatabaseInstance> {
            |       ^~~~~~~~~~~~~~~~
      /usr/include/c++/16/bits/refwrap.h:227:12: note: here.  Use ‘-Wsfinae-incomplete=2’ for a diagnostic at that point
        227 |     struct _Reference_wrapper_base
            |            ^~~~~~~~~~~~~~~~~~~~~~~
      

      Note the CI systems of Fedora 44 start at 11.8 due their packaged MariaDB version. An earlier fix may be desired.

      Attachments

        Activity

          People

            drrtuy Roman
            danblack Daniel Black
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1d 4h 14m
                1d 4h 14m
                Remaining:
                0d
                Logged:
                Time Not Required
                Not Specified

                Git Integration

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