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

Missing include for r3.3.24 on NetBSD pkgsrc after boost upgrade

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 3.4.24
    • Component/s: None
    • None
    • Environment:
      NetBSD pkgsrc
    • Server Triage

      After bumping boost version, shared_ptr in durop.h errors. Fixed by adding include of <memory>.

       

      --- src/mongo/db/storage/mmap_v1/durop.h.orig 2020-01-08 16:30:41.000000000 +0000
      +++ src/mongo/db/storage/mmap_v1/durop.h
      @@ -30,6 +30,7 @@
       
       #pragma once
       
      +#include <memory>
       
       #include "mongo/db/storage/mmap_v1/dur_journalformat.h"
       #include "mongo/db/storage/paths.h"
      
      

      NetBSD pkgsrc is currently carrying a patch to fix this.

       

      https://github.com/NetBSD/pkgsrc/blob/trunk/databases/mongodb3/patches/patch-src_mongo_db_storage_mmap__v1_durop.h

            Assignee:
            backlog-server-triage [HELP ONLY] Backlog - Triage Team
            Reporter:
            stixpjr@gmail.com Paul Ripke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: