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

fails to build with Boost-1.81 (fedora 39)

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • 5.6.5
    • N/A
    • Build
    • None

    Description

      Fails to compile on Fedora 39 (boost-1.81):

      Function may be gone:

      $ grep -r next_prime /usr/include/boost/
      /usr/include/boost/math/differentiation/lanczos_smoothing.hpp:    Real next_prime()
      /usr/include/boost/math/differentiation/lanczos_smoothing.hpp:        dlp.next_prime();
      /usr/include/boost/math/differentiation/lanczos_smoothing.hpp:        coeffs[l] = dlp.next_prime()/ dlp.norm_sq(l);
      /usr/include/boost/math/differentiation/lanczos_smoothing.hpp:        coeffs[l] = dlp.next_prime()/ dlp.norm_sq(l);
      

      columnstore/columnstore/versioning/BRM/extentmap.cpp:450:59: error: ‘next_prime’ is not a member of ‘boost::unordered::detail’
        450 |     const auto bucketCapacity = boost::unordered::detail::next_prime(partitionsSize + 1);
            |                                                           ^~~~~~~~~~
      
      

      Attachments

        Issue Links

          Activity

            drrtuy Roman added a comment -

            Sorry danblack but with high probability we won't fix this in the version that MDB 10.5 uses b/c we need to make MCS release so that you can reference it.
            This issue has been fixed for MDB starting from 10.6 and I suggest to use MCS refs if you need to fix the build on fedora.

            drrtuy Roman added a comment - Sorry danblack but with high probability we won't fix this in the version that MDB 10.5 uses b/c we need to make MCS release so that you can reference it. This issue has been fixed for MDB starting from 10.6 and I suggest to use MCS refs if you need to fix the build on fedora.
            drrtuy Roman added a comment -

            I reconsidered this.
            I need more info on this case b/c according with my research boost 1.81 delivers next_prime function in the header used in MCS code. This might be something fc39 specific.

            boost-lib/include/boost/math/differentiation/lanczos_smoothing.hpp
            boost-lib/include/boost/unordered/detail/implementation.hpp
            src/external_boost/boost/math/differentiation/lanczos_smoothing.hpp
            src/external_boost/boost/unordered/detail/implementation.hpp
            src/external_boost/libs/math/test/lanczos_smoothing_test.cpp
            src/external_boost/libs/unordered/test/unordered/detail_tests.cpp
            

            drrtuy Roman added a comment - I reconsidered this. I need more info on this case b/c according with my research boost 1.81 delivers next_prime function in the header used in MCS code. This might be something fc39 specific. boost-lib/include/boost/math/differentiation/lanczos_smoothing.hpp boost-lib/include/boost/unordered/detail/implementation.hpp src/external_boost/boost/math/differentiation/lanczos_smoothing.hpp src/external_boost/boost/unordered/detail/implementation.hpp src/external_boost/libs/math/test/lanczos_smoothing_test.cpp src/external_boost/libs/unordered/test/unordered/detail_tests.cpp
            danblack Daniel Black added a comment -

            https://github.com/boostorg/unordered/blob/boost-1.81.0/include/boost/unordered/detail/implementation.hpp - can't see it (or locally on fc39).

            I looked around https://src.fedoraproject.org/rpms/boost/blob/f39/f/boost.spec and nothing especially invasive.

            lanczos_smoothing still has it. Would need to create the object and use next_prime as a method there.

            danblack Daniel Black added a comment - https://github.com/boostorg/unordered/blob/boost-1.81.0/include/boost/unordered/detail/implementation.hpp - can't see it (or locally on fc39). I looked around https://src.fedoraproject.org/rpms/boost/blob/f39/f/boost.spec and nothing especially invasive. lanczos_smoothing still has it. Would need to create the object and use next_prime as a method there.
            danblack Daniel Black added a comment -

            Closing due to resources.

            MariaDB versions above 10.5 unaffected.

            danblack Daniel Black added a comment - Closing due to resources. MariaDB versions above 10.5 unaffected.

            People

              drrtuy Roman
              danblack Daniel Black
              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.