Bug 266394 - new port: databases/mongodb60 6.0.1
Summary: new port: databases/mongodb60 6.0.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Neel Chauhan
URL: https://www.mongodb.com/docs/manual/r...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-13 09:45 UTC by Ronald Klop
Modified: 2022-09-18 23:41 UTC (History)
2 users (show)

See Also:


Attachments
git diff of databases/mongodb60 (942.81 KB, patch)
2022-09-13 09:54 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 2022-09-13 09:45:53 UTC
- new port for mongodb 6.0.1

- poudriere stage-qa ok on aarch64
- portlint ok

- disabled powerpc64le; will contact the person who ported mongodb50 to test and see if we can enable powerpc64le in a future version
Comment 1 Ronald Klop 2022-09-13 09:54:52 UTC
Created attachment 236535 [details]
git diff of databases/mongodb60

Patch is quite big. I have plans to address that in a future change. Would be nice to get the port in first.
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-09-13 16:31:03 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=50a4f20f0df36cad4ba09fa84c70078665e01e3d

commit 50a4f20f0df36cad4ba09fa84c70078665e01e3d
Author:     Ronald Klop <ronald-lists@klop.ws>
AuthorDate: 2022-09-13 16:30:04 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2022-09-13 16:30:04 +0000

    databases/mongodb60: New port

    PR:     266394

 databases/Makefile                                 |     1 +
 databases/mongodb60/Makefile (new)                 |    99 +
 databases/mongodb60/distinfo (new)                 |     3 +
 ..._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) |    41 +
 ..._freebsd_build_Unified__cpp__js__src3.cpp (new) |    59 +
 ..._freebsd_build_Unified__cpp__js__src4.cpp (new) |    59 +
 ..._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 +
 ...gger_Unified__cpp__js__src__debugger0.cpp (new) |    59 +
 ...gger_Unified__cpp__js__src__debugger1.cpp (new) |    32 +
 ...tend_Unified__cpp__js__src__frontend0.cpp (new) |    59 +
 ...tend_Unified__cpp__js__src__frontend1.cpp (new) |    59 +
 ...tend_Unified__cpp__js__src__frontend2.cpp (new) |    59 +
 ...tend_Unified__cpp__js__src__frontend3.cpp (new) |    59 +
 ...tend_Unified__cpp__js__src__frontend4.cpp (new) |    59 +
 ...tend_Unified__cpp__js__src__frontend5.cpp (new) |    59 +
 ...tend_Unified__cpp__js__src__frontend6.cpp (new) |    59 +
 ...d_build_gc_Unified__cpp__js__src__gc0.cpp (new) |    59 +
 ...d_build_gc_Unified__cpp__js__src__gc1.cpp (new) |    59 +
 ...d_build_gc_Unified__cpp__js__src__gc2.cpp (new) |    59 +
 ...d_build_gc_Unified__cpp__js__src__gc3.cpp (new) |    14 +
 ...gexp_Unified__cpp__js__src__irregexp0.cpp (new) |    59 +
 ...gexp_Unified__cpp__js__src__irregexp1.cpp (new) |    59 +
 ...gexp_Unified__cpp__js__src__irregexp2.cpp (new) |    23 +
 ...build_jit_Unified__cpp__js__src__jit0.cpp (new) |    59 +
 ...build_jit_Unified__cpp__js__src__jit1.cpp (new) |    59 +
 ...uild_jit_Unified__cpp__js__src__jit10.cpp (new) |    59 +
 ...uild_jit_Unified__cpp__js__src__jit11.cpp (new) |    59 +
 ...uild_jit_Unified__cpp__js__src__jit12.cpp (new) |    59 +
 ...uild_jit_Unified__cpp__js__src__jit13.cpp (new) |    59 +
 ...uild_jit_Unified__cpp__js__src__jit14.cpp (new) |    59 +
 ...uild_jit_Unified__cpp__js__src__jit15.cpp (new) |    59 +
 ...build_jit_Unified__cpp__js__src__jit2.cpp (new) |    59 +
 ...build_jit_Unified__cpp__js__src__jit3.cpp (new) |    59 +
 ...build_jit_Unified__cpp__js__src__jit4.cpp (new) |    59 +
 ...build_jit_Unified__cpp__js__src__jit5.cpp (new) |    59 +
 ...build_jit_Unified__cpp__js__src__jit6.cpp (new) |    59 +
 ...build_jit_Unified__cpp__js__src__jit7.cpp (new) |    59 +
 ...build_jit_Unified__cpp__js__src__jit8.cpp (new) |    59 +
 ...build_jit_Unified__cpp__js__src__jit9.cpp (new) |    59 +
 ...tform_aarch64_freebsd_build_js-confdefs.h (new) |    85 +
 ...ild_wasm_Unified__cpp__js__src__wasm0.cpp (new) |    59 +
 ...ild_wasm_Unified__cpp__js__src__wasm1.cpp (new) |    59 +
 ...ild_wasm_Unified__cpp__js__src__wasm2.cpp (new) |    59 +
 ...ild_wasm_Unified__cpp__js__src__wasm3.cpp (new) |    59 +
 ...ild_wasm_Unified__cpp__js__src__wasm4.cpp (new) |    59 +
 ...include_frontend_ReservedWordsGenerated.h (new) |   363 +
 ...freebsd_include_gc_StatsPhasesGenerated.h (new) |   193 +
 ...freebsd_include_jit_CacheIROpsGenerated.h (new) | 12512 +++++++++++++++++++
 ...4_freebsd_include_jit_LOpcodesGenerated.h (new) |   571 +
 ...h64_freebsd_include_jit_MIROpsGenerated.h (new) |  2662 ++++
 ...orm_aarch64_freebsd_include_js-confdefs.h (new) |    85 +
 ...tform_aarch64_freebsd_include_js-config.h (new) |    80 +
 ..._aarch64_freebsd_include_selfhosted.out.h (new) |    22 +
 databases/mongodb60/files/mongod.in (new)          |    53 +
 databases/mongodb60/files/patch-SConstruct (new)   |    38 +
 .../files/patch-buildscripts_scons.py (new)        |    25 +
 .../mongodb60/files/patch-rpm_mongod.conf (new)    |    25 +
 .../patch-src_mongo_platform_process__id.cpp (new) |    24 +
 ...atch-src_third__party_mozjs_gen-config.sh (new) |    30 +
 ...tch-src_third__party_mozjs_get-sources.sh (new) |    14 +
 databases/mongodb60/pkg-descr (new)                |     3 +
 databases/mongodb60/pkg-plist (new)                |     7 +
 86 files changed, 20604 insertions(+)
Comment 3 Neel Chauhan freebsd_committer freebsd_triage 2022-09-13 16:32:09 UTC
Committed! Thanks!
Comment 4 Daniel Engberg freebsd_committer freebsd_triage 2022-09-13 17:23:52 UTC
Please try to unbundle libraries like done in mongodb50
Comment 5 Ronald Klop 2022-09-18 19:37:38 UTC
(In reply to Neel Chauhan from comment #3)
Hi,

Somehow this line in my patch

+		-j ${MAKE_JOBS_NUMBER} \

changed to

		-j \

in the committed Makefile.

This doesn't work as intended. :-)

See: http://ampere3.nyi.freebsd.org/data/131arm64-default/c1b60f972738/logs/errors/mongodb60-6.0.1.log
Comment 6 commit-hook freebsd_committer freebsd_triage 2022-09-18 23:38:50 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c6b1c1d7ec72a6591d2b0a87f60a673b0c92bb40

commit c6b1c1d7ec72a6591d2b0a87f60a673b0c92bb40
Author:     Neel Chauhan <nc@FreeBSD.org>
AuthorDate: 2022-09-19 06:37:42 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2022-09-19 06:37:42 +0000

    databases/mongodb60: Fix build

    PR:             266394
    Reported by:    maintainer

 databases/mongodb60/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 7 Neel Chauhan freebsd_committer freebsd_triage 2022-09-18 23:41:31 UTC
Fixed it!

I guess when I applied the patch it skipped that line. Sorry for that.