Bug 242002 - [NEW PORT] databases/mongodb42: Distributed document-oriented "NoSQL" database (4.2.* Branch)
Summary: [NEW PORT] databases/mongodb42: Distributed document-oriented "NoSQL" databas...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs mailing list
URL: https://docs.mongodb.com/manual/relea...
Keywords: feature, needs-qa, patch
Depends on: 241463 227220
Blocks:
  Show dependency treegraph
 
Reported: 2019-11-16 13:24 UTC by Ronald Klop
Modified: 2019-11-29 19:36 UTC (History)
1 user (show)

See Also:
ronald-lists: maintainer-feedback+


Attachments
fresh files based on mongodb40 (148.31 KB, patch)
2019-11-16 13:24 UTC, Ronald Klop
no flags Details | Diff
fresh files based on mongodb40 (148.31 KB, patch)
2019-11-16 18:44 UTC, Ronald Klop
no flags Details | Diff
diff against mongodb40 (svn copy) (253.64 KB, patch)
2019-11-29 19:34 UTC, Ronald Klop
ronald-lists: maintainer-approval+
Details | Diff
add conflicts to other mongodb* ports and adds to databases/Makefile (1.75 KB, patch)
2019-11-29 19:35 UTC, Ronald Klop
ronald-lists: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ronald Klop 2019-11-16 13:24:54 UTC
Created attachment 209183 [details]
fresh files based on mongodb40

Initial port of MongoDB 4.2.1 for amd64 and aarch64.
Does not compile with clang currently, so uses USE_GCC.
https://jira.mongodb.org/browse/SERVER-44270
This depends on bug #241463 for python3 support for devel/scons,
Comment 1 Ronald Klop 2019-11-16 18:44:29 UTC
Created attachment 209191 [details]
fresh files based on mongodb40

Port needs snappy >= 1.1.7. And set myself as maintainer.
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2019-11-17 01:14:17 UTC
Thank you Ronald. Could you please:

- Base this new port on an svn copy of an existing databases/mongodbXY port
- Re-attach an updated patch showing only the diffs after creating it with svn copy
- Modify the COMMENT to make it 4.x specific, like "(4.2.* Branch)" or similar"
- Confirm the port passes QA (portlint & poudriere in particular)

It appears the upstream issue regarding the build failure with Clang has been fixed [1]. Please backport/include the commit(s) fixing the issue in the port in order to remove USE_GCC

[1] https://github.com/mongodb/mongo/commit/aac59681b3ae4d3806174227ba4c88aaf8e89ea2
Comment 3 Ronald Klop 2019-11-29 19:34:17 UTC
Created attachment 209534 [details]
diff against mongodb40 (svn copy)

- based on svn copy from mongodb40 (svn diff didn't show removed files so used manual diff)
- includes upstream patch to build with clang
- uses llvm70 on pre 12.1 (does not build with clang 6)
- portlint friendly
- builds and installs fine
Comment 4 Ronald Klop 2019-11-29 19:35:40 UTC
Created attachment 209535 [details]
add conflicts to other mongodb* ports and adds to databases/Makefile

svn diff of existing ports dir