Summary: | [NEW PORT] databases/mongodb42: Distributed document-oriented "NoSQL" database (4.2.* Branch) | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Ronald Klop <ronald-lists> | ||||||||||||||||||||
Component: | Individual Port(s) | Assignee: | Kurt Jaeger <pi> | ||||||||||||||||||||
Status: | Closed FIXED | ||||||||||||||||||||||
Severity: | Affects Only Me | CC: | mfechner, mikael, olgeni, pi, ronald-lists | ||||||||||||||||||||
Priority: | --- | Keywords: | feature, patch | ||||||||||||||||||||
Version: | Latest | Flags: | ronald-lists:
maintainer-feedback+
|
||||||||||||||||||||
Hardware: | Any | ||||||||||||||||||||||
OS: | Any | ||||||||||||||||||||||
URL: | https://docs.mongodb.com/manual/release-notes/4.2/#may-26-2020 | ||||||||||||||||||||||
See Also: | https://jira.mongodb.org/browse/SERVER-44270 | ||||||||||||||||||||||
Bug Depends on: | 227220, 241463 | ||||||||||||||||||||||
Bug Blocks: | |||||||||||||||||||||||
Attachments: |
|
Description
Ronald Klop
2019-11-16 13:24:54 UTC
Created attachment 209191 [details]
fresh files based on mongodb40
Port needs snappy >= 1.1.7. And set myself as maintainer.
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 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
Created attachment 209535 [details]
add conflicts to other mongodb* ports and adds to databases/Makefile
svn diff of existing ports dir
Created attachment 214546 [details]
diff against mongodb40 (svn copy)
Updated patch of mongodb 4.2.6.
Created attachment 214661 [details] diff against mongodb40 (svn copy) New patch compatible with upcoming changes in scons bug #246391. Created attachment 214871 [details]
diff against mongodb40 (svn copy)
Remove optional dependency for llvm70 on old FreeBSD versions. All supported FreeBSD versions (11.3 and 12.1) have llvm80 or newer.
AFAIK this port has no more blocking issues and can be committed.
Created attachment 214962 [details] diff against mongodb40 (svn copy) Updated patch from 4.2.6 to 4.2.7. https://docs.mongodb.com/manual/release-notes/4.2/#may-26-2020 Created attachment 214963 [details]
diff against mongodb40 (svn copy)
Fix last portlint warnings by moving LICENSE_*_SSPL lower.
# portlint
WARN: Makefile: "ONLY_FOR_ARCHS" has to appear earlier.
WARN: Makefile: "ONLY_FOR_ARCHS_REASON" has to appear earlier.
WARN: Makefile: "LIB_DEPENDS" has to appear earlier.
WARN: Makefile: "BUILD_DEPENDS" has to appear earlier.
WARN: Makefile: "USES" has to appear earlier.
0 fatal errors and 5 warnings found.
now:
# portlint
looks fine.
testbuild@work testbuilds look fine. pending testbuild on arm64 (In reply to Kurt Jaeger from comment #11) ok on aarch64 (In reply to Mikael Urankar from comment #12) Thanks for the report. I've tried it myself, but failed somehow 8-( A commit references this bug: Author: pi Date: Sun Jun 7 09:50:07 UTC 2020 New revision: 538150 URL: https://svnweb.freebsd.org/changeset/ports/538150 Log: New port: databases/mongodb42 Mongo (from "humongous") is a high-performance, open source, schema-free, document-oriented database. A common name in the "NOSQL" community. WWW: https://www.mongodb.com/ PR: 242002 Submitted by: Ronald Klop <ronald-lists@klop.ws> Reviewed by: koobs, mikael Relnotes: https://docs.mongodb.com/manual/release-notes/4.2/ Changes: head/databases/Makefile head/databases/mongodb36/Makefile head/databases/mongodb40/Makefile head/databases/mongodb42/ head/databases/mongodb42/Makefile head/databases/mongodb42/distinfo head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_gen-config.sh head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src0.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src1.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src10.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src11.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src12.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src13.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src14.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src15.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src16.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src17.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src18.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src19.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src2.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src20.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src21.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src22.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src23.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src24.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src25.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src26.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src27.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src28.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src29.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src3.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src30.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src31.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src32.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src33.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src34.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src35.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src36.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src37.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src38.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src39.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src4.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src40.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src41.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src42.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src43.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src44.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src45.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src5.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src6.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src7.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src8.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src9.cpp head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_js-confdefs.h head/databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_include_js-config.h head/databases/mongodb42/files/patch-SConstruct head/databases/mongodb42/files/patch-asio-libc++7 head/databases/mongodb42/files/patch-rpm_mongod.conf Committed, thanks! If a user upgrades from mongo40 to mongo42 is there anything else required or can the user just deinstall mongo40 and install mongo42 and the existing database continues to work? (In reply to Matthias Fechner from comment #16) Mongodb 4.2 uses the same path for the db, etc. But please make a backup and read https://docs.mongodb.com/manual/release-notes/4.2/#upgrade-procedures before upgrading. (In reply to Ronald Klop from comment #17) Thanks a lot for this link. The upgrade should be straight forward which also allows you to do a burn in and later do the final migration to 4.2. Just in case something fails you maybe would like to do a backup of the mongodb 4.2 database, but for this you would need mongodb42-tools or (which does currently not exist)? (In reply to Matthias Fechner from comment #18) See bug #247021 for mongodb42-tools. I don't have commit rights so need to wait for somebody to find some time to commit this. (In reply to Ronald Klop from comment #19) Thanks, I will take care of it. |