Date: Thu, 17 May 2018 16:50:25 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 228319] database/mongodb fails to build on 11.2-BETA1 Message-ID: <bug-228319-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228319 Bug ID: 228319 Summary: database/mongodb fails to build on 11.2-BETA1 Product: Ports & Packages Version: Latest Hardware: arm64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: mgrooms@shrew.net I believe this is due to 11.2 containing a newer version of LLVM. If I add = the following to the Makefile, the build completes successfully. .if ${COMPILER_TYPE} =3D=3D clang .if ${COMPILER_VERSION} >=3D 60 CXXFLAGS+=3D -Wno-undefined-var-template -Wno-unused-private-field -Wno-unused-local-typedef -Wno-undefined-bool-conversion .endif .endif There is also one source code change that needs to be patched ... ../src/stub-cache.cc:1477:33: error: reinterpret_cast from 'nullptr_t' to '= char *' is not allowed : GetCodeWithFlags(flags, reinterpret_cast<char*>(NULL)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Changing the reinterpret_cast to a static_cast allows the build to complete. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228319-7788>