[MacPorts] #48503: [Update] Update mongodb to 3.0.5
#48503: [Update] Update mongodb to 3.0.5 --------------------+-------------------------------- Reporter: mark@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: mongodb --------------------+-------------------------------- 3.0.5 has been released: http://docs.mongodb.org/master/release-notes/3.0/ -- Ticket URL: <https://trac.macports.org/ticket/48503> MacPorts <https://www.macports.org/> Ports system for OS X
#48503: mongodb: update to 3.0.5 ----------------------+-------------------------- Reporter: mark@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: mongodb | ----------------------+-------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => ryandesign@… * cc: ryandesign@… (removed) * status: new => assigned Comment: I'm aware of this. It did not build so I filed a bug report: https://jira.mongodb.org/browse/SERVER-19661 It seems mongodb 3.0.5 now uses C++11, which means it will no longer build for default installations on OS X 10.7 and 10.8. Will need to discuss this with the developers and make sure they're aware of the inconvenience this will cause. -- Ticket URL: <https://trac.macports.org/ticket/48503#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#48503: mongodb: update to 3.0.5 ----------------------+-------------------------- Reporter: mark@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: mongodb | ----------------------+-------------------------- Comment (by ryandesign@…): Replying to [comment:1 ryandesign@…]:
It seems mongodb 3.0.5 now uses C++11, which means it will no longer build for default installations on OS X 10.7 and 10.8.
Or: it could mean that. I'd like to test it on 10.7 and 10.8 first. -- Ticket URL: <https://trac.macports.org/ticket/48503#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#48503: mongodb: update to 3.0.5 ----------------------+-------------------------- Reporter: mark@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: mongodb | ----------------------+-------------------------- Comment (by mark@…): Thanks. Looks like they are going to require C++11 from here on out as Mongo 3.x is now allowing code from that version into its codebase: https://jira.mongodb.org/browse/SERVER-19755 -- Ticket URL: <https://trac.macports.org/ticket/48503#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#48503: mongodb: update to 3.0.5 ----------------------+-------------------------- Reporter: mark@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: mongodb | ----------------------+-------------------------- Comment (by ryandesign@…): I updated the port to 3.0.5 in r139173. I'll check the [https://build.macports.org buildbot] to see what happens on 10.8. -- Ticket URL: <https://trac.macports.org/ticket/48503#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#48503: mongodb: update to 3.0.5 ----------------------+-------------------------- Reporter: mark@… | Owner: ryandesign@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: mongodb | ----------------------+-------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: Looks like mongodb checks for this: {{{ Checking if we are using libstdc++... yes Checking for libstdc++ 4.6.0 or better... no Detected libstdc++ is too old to support C++11 mode Try building with --libc++ and --osx-version-min=10.7 or higher }}} Using libc++ instead of libstdc++ is something the user can do, but it has to be done for MacPorts as a whole; we can't just do it for mongodb. See LibcxxOnOlderSystems. In r139174 I added the cxx11 1.0 portgroup to the mongodb port so that the user will now be informed of this: {{{ Error: mongodb does not support your selected MacPorts C++ runtime. libc++ must be selected and C++-based ports built against it. Error: Please follow the instructions on https://trac.macports.org/wiki/LibcxxOnOlderSystems. Error: After adding the required options to macports.conf, essentially reinstall all ports like you would when switching OS X versions. Error: Follow step 3 on https://trac.macports.org/wiki/Migration in order to do this. Error: org.macports.configure for port mongodb returned: libstdc++ unsupported. }}} -- Ticket URL: <https://trac.macports.org/ticket/48503#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#48503: mongodb: update to 3.0.5 ----------------------+-------------------------- Reporter: mark@… | Owner: ryandesign@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: mongodb | ----------------------+-------------------------- Comment (by mark@…): Ouch. Thanks for looking into this. Hopefully there aren't many conflicts if I switch over to libc++. -- Ticket URL: <https://trac.macports.org/ticket/48503#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts