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

Build fails with boost v1.62.0

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.2.10
    • Component/s: Build
    • Fully Compatible
    • ALL

      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();

            Assignee:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            ultrabug Ultrabug
            Votes:
            2 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: