Summary: | new port: databases/mongodb49 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Ronald Klop <ronald-lists> | ||||||||
Component: | Individual Port(s) | Assignee: | Piotr Kubaj <pkubaj> | ||||||||
Status: | Closed FIXED | ||||||||||
Severity: | Affects Some People | CC: | nc, pkubaj | ||||||||
Priority: | --- | ||||||||||
Version: | Latest | ||||||||||
Hardware: | Any | ||||||||||
OS: | Any | ||||||||||
Attachments: |
|
Created attachment 223674 [details]
svn diff in ports/databases
Add mongodb44 to CONFLICTS_INTALL.
For powerpc64le, patch-src_third__party_mozjs-60_extract_js_src_wasm_WasmSignalHandlers.cpp and patch-src_third__party_mozjs-60_gen-config.sh need to be removed because they were upstreamed. A powerpc64le is now ongoing. If it passes, I will commit this patch once the git migration is done. powerpc64le build has finished without patch-src_third__party_mozjs-60_extract_js_src_wasm_WasmSignalHandlers.cpp and patch-src_third__party_mozjs-60_gen-config.sh. Once the ports tree is converted to git, I'll add this port. Created attachment 223766 [details] svn diff in ports/databases New patch with a reverted commit [1]. Added explanation about WIP status of the 4.9 branch in the pkg-message [2]. [1] https://github.com/mongodb/mongo/commit/8f708f3b68c3c85108294a8f58d780b6ccf18194#diff-d78c5c377c03dd251edc72cdb0ae7d9986fa08361eb392187218f8c670c0bc4e [2] https://developer.mongodb.com/community/forums/t/mongodb-4-9-on-rpi4-does-not-run/101249/2 (In reply to Ronald Klop from comment #4) Oh forgot to mention. The reverted commit makes it run on the RPI4 by lowering the -march ARM8.X version passed to the compiler as suggested by the MongoDB dev. I want to look if this is possible by using CFLAGS from the ports Makefile in the future, but this works and saves me a 12 hour compile/test cycle. (In reply to Ronald Klop from comment #5) Since this is supposed to be version 5.0 in the future, maybe it would be better to rename it to mongodb50? (In reply to Piotr Kubaj from comment #6) The upstream github branch which this port is based on is called 4.9.0rc0 (https://github.com/mongodb/mongo/releases/tag/r4.9.0-rc0). So I would like to stick to that. A rename is a small action in the future. We might create a mongodb-devel port to track the main branch, but I don't think I want to spent the time to keep that updated and bugfixed. I rather follow the releases and release candidates. I do thinking compiling the upstream main branch with our patches (the aarch64 and powerpc64le ones) and try to make pull requests for them. But would do that in a local Jenkins and not a public port. BTW, mongodb36 should probably be deprecated and the ports depending on it moved to newer version. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=4b13a4c45a26c7d0c8551a8099e4402ce552b1e3 commit 4b13a4c45a26c7d0c8551a8099e4402ce552b1e3 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-04-06 09:55:35 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2021-04-06 09:55:35 +0000 databases/mongodb49: add new port PR: 254631 Submitted by: ronald-lists@klop.ws databases/Makefile | 1 + databases/mongodb49/Makefile (new) | 91 +++++ databases/mongodb49/distinfo (new) | 3 + ...h-src_third__party_mozjs-60_gen-config.sh (new) | 24 ++ ..._freebsd_build_Unified__cpp__js__src0.cpp (new) | 59 ++++ ..._freebsd_build_Unified__cpp__js__src1.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src10.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src11.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src12.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src13.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src14.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src15.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src16.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src17.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src18.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src19.cpp (new) | 59 ++++ ..._freebsd_build_Unified__cpp__js__src2.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src20.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src21.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src22.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src23.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src24.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src25.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src26.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src27.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src28.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src29.cpp (new) | 59 ++++ ..._freebsd_build_Unified__cpp__js__src3.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src30.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src31.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src32.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src33.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src34.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src35.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src36.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src37.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src38.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src39.cpp (new) | 59 ++++ ..._freebsd_build_Unified__cpp__js__src4.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src40.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src41.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src42.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src43.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src44.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src45.cpp (new) | 41 +++ ..._freebsd_build_Unified__cpp__js__src5.cpp (new) | 59 ++++ ..._freebsd_build_Unified__cpp__js__src6.cpp (new) | 59 ++++ ..._freebsd_build_Unified__cpp__js__src7.cpp (new) | 59 ++++ ..._freebsd_build_Unified__cpp__js__src8.cpp (new) | 59 ++++ ..._freebsd_build_Unified__cpp__js__src9.cpp (new) | 59 ++++ ...tform_aarch64_freebsd_build_js-confdefs.h (new) | 79 +++++ ...tform_aarch64_freebsd_include_js-config.h (new) | 64 ++++ databases/mongodb49/files/mongod.in (new) | 62 ++++ databases/mongodb49/files/patch-SConstruct (new) | 47 +++ .../mongodb49/files/patch-rpm_mongod.conf (new) | 25 ++ .../patch-src_mongo_platform_process__id.cpp (new) | 24 ++ ..._freebsd_build_Unified__cpp__js__src0.cpp (new) | 59 ++++ ..._freebsd_build_Unified__cpp__js__src1.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src10.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src11.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src12.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src13.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src14.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src15.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src16.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src17.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src18.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src19.cpp (new) | 59 ++++ ..._freebsd_build_Unified__cpp__js__src2.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src20.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src21.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src22.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src23.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src24.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src25.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src26.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src27.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src28.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src29.cpp (new) | 59 ++++ ..._freebsd_build_Unified__cpp__js__src3.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src30.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src31.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src32.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src33.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src34.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src35.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src36.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src37.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src38.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src39.cpp (new) | 59 ++++ ..._freebsd_build_Unified__cpp__js__src4.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src40.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src41.cpp (new) | 59 ++++ ...freebsd_build_Unified__cpp__js__src42.cpp (new) | 23 ++ ..._freebsd_build_Unified__cpp__js__src5.cpp (new) | 59 ++++ ..._freebsd_build_Unified__cpp__js__src6.cpp (new) | 59 ++++ ..._freebsd_build_Unified__cpp__js__src7.cpp (new) | 59 ++++ ..._freebsd_build_Unified__cpp__js__src8.cpp (new) | 59 ++++ ..._freebsd_build_Unified__cpp__js__src9.cpp (new) | 59 ++++ ...tform_ppc64le_freebsd_build_js-confdefs.h (new) | 78 ++++ ...tform_ppc64le_freebsd_include_js-config.h (new) | 64 ++++ ...src_third__party_wiredtiger_dist_filelist (new) | 11 + ...ty_wiredtiger_src_checksum_power8_crc32.S (new) | 14 + ..._wiredtiger_src_checksum_power8_ppc-asm.h (new) | 393 +++++++++++++++++++++ databases/mongodb49/pkg-descr (new) | 10 + databases/mongodb49/pkg-plist (new) | 4 + 106 files changed, 6191 insertions(+) |
Created attachment 223673 [details] avn diff in ports/databases Port of MongoDB 4.9.0 RC0 - svn cp mongodb44 mongodb49 - one new patch in the diff (files/patch-src_mongo_platform_process__id.cpp) - portlint ok - compiles on aarch64 - Release Notes not yet evalable - connected to the build in databases/Makefile