[SERVER-10748] Make macports port work without deactivating v8 Created: 11/Sep/13 Updated: 06/Dec/22 Resolved: 01/Oct/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build, Packaging |
| Affects Version/s: | 2.4.6 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Ernie Hershey | Assignee: | Backlog - Build Team (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | build-later, build-needs-definition | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
macports in osx |
||
| Assigned Teams: |
Build
|
| Operating System: | ALL |
| Participants: |
| Description |
|
From this page: http://widgetbook.blogspot.gr/2013/08/mongodb-and-macports-and-v8.html Installing mongodb via macports requires deactivating v8. We should at least understand this interaction with macports and investigate if we need to address it in some way. |
| Comments |
| Comment by Ryan Schmidt [ 14/Nov/15 ] |
|
mongodb uses v8, and offers the option of using the system copy of v8 or a bundled copy. MacPorts mongodb was using the MacPorts copy of v8. This broke when the MacPorts version of v8 was updated to an incompatible version; see https://trac.macports.org/ticket/40247. This was reported in But this failed if the newer MacPorts copy of v8 was installed (presumably because mongodb's -I flags were in the wrong order, with the system headers -I/opt/local/include appearing before the source headers instead of after), therefore I enforced a build conflict with the v8 port, which would require the user to deactivate v8 before building mongodb. I am no longer able to reproduce that build failure when v8 @3.23.17.23 is installed while trying to build mongodb @3.0.7, so the problem was presumably fixed at some point (possibly by https://github.com/mongodb/mongo/commit/8b09ad789b4f156141441b4823aae48fb0eb8de7) so I removed the build conflict with v8 in https://trac.macports.org/changeset/142520. This ticket can be closed. |