Date: Tue, 29 Oct 2024 07:52:26 GMT From: Ronald Klop <ronald@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: abe39441c2c5 - main - databases/mongodb50: stick to <= llvm18 on FreeBSD 15 Message-ID: <202410290752.49T7qQ8l003743@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by ronald: URL: https://cgit.FreeBSD.org/ports/commit/?id=abe39441c2c594f21141e7e6ec12ce18deefaa3a commit abe39441c2c594f21141e7e6ec12ce18deefaa3a Author: Ronald Klop <ronald@FreeBSD.org> AuthorDate: 2024-10-28 12:55:08 +0000 Commit: Ronald Klop <ronald@FreeBSD.org> CommitDate: 2024-10-29 07:52:04 +0000 databases/mongodb50: stick to <= llvm18 on FreeBSD 15 build is broken with llvm19 fixes: [00:35:47] In file included from src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src19.cpp:2: [00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/jit/MacroAssembler.cpp:7: [00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/jit/MacroAssembler-inl.h:10: [00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/jit/MacroAssembler.h:14: [00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/vm/JSCompartment.h:22: [00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/gc/Zone.h:18: [00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/vm/Runtime.h:27: [00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/frontend/NameCollections.h:13: [00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/vm/Stack.h:23: [00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/jit/JSJitFrameIter.h:15: [00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/vm/JSFunction.h:17: [00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/vm/JSScript.h:31: [00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/vm/SharedImmutableStringsCache.h:21: [00:35:48] src/third_party/mozjs-60/extract/js/src/threading/ExclusiveData.h:124:33: error: reference to non-static member function must be called [00:35:48] 124 | : lock_(mozilla::Move(rhs.lock)) [00:35:48] | ~~~~^~~~ --- databases/mongodb50/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/databases/mongodb50/Makefile b/databases/mongodb50/Makefile index 366cdc8ff30a..4462cba94b8e 100644 --- a/databases/mongodb50/Makefile +++ b/databases/mongodb50/Makefile @@ -89,6 +89,12 @@ SASL_MAKE_ARGS= --use-sasl-client SSL_USES= ssl SSL_MAKE_ARGS= --ssl +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && (${OSREL:R} >= 15 && ${OSVERSION} >= 1500026) +USES+= llvm:max=18,build +.endif + .include <bsd.port.pre.mk> .if ${ARCH} == aarch64 || ${ARCH} == powerpc64le
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410290752.49T7qQ8l003743>