Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-26756

Build fails with boost v1.62.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 3.2.10
    • Fix Version/s: None
    • Component/s: Build
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL

      Description

      As per Gentoo Linux bug https://bugs.gentoo.org/show_bug.cgi?id=596222

      We are currently maintaining a patch for this which would be good to be dropped on future releases of mongodb (once you upgrade your vendor copy of boost for instance !)

      The patch to fix this is here : https://596222.bugs.gentoo.org/attachment.cgi?id=450918

      Build fails with:

      /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/include/g++-v5/bits/stl_pair.h:227:5: note: template argument deduction/substitution failed:
      src/mongo/db/fts/unicode/string.cpp:277:96: note: mismatched types 'const std::pair<_T1, _T2>' and 'mongo::StringData::const_iterator

      Unknown macro: {aka const char*}

      '
      haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end();

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: