[SERVER-47172] Missing include for r3.3.24 on NetBSD pkgsrc after boost upgrade Created: 27/Mar/20  Updated: 06/Dec/22  Resolved: 31/Mar/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 3.4.24
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Paul Ripke Assignee: Backlog - Triage Team
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

NetBSD pkgsrc


Assigned Teams:
Server Triage
Participants:

 Description   

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



 Comments   
Comment by Carl Champain (Inactive) [ 31/Mar/20 ]

Hi stixpjr@gmail.com,

MongoDB 3.4 is already end-of-lifed, which means it is unsupported by us. We strongly recommend you upgrade to a supported version.  If you need assistance troubleshooting, I encourage you to ask our community by posting on the MongoDB Community Forums or on Stack Overflow with the mongodb tag.

Kind regards,
Carl
 

Comment by Alexander Gorrod [ 29/Mar/20 ]

Thanks for the heads up stixpjr@gmail.com - I've moved the ticket into the right JIRA project, so that it can be triaged by the right team at MongoDB.

Generated at Thu Feb 08 05:13:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.