Created attachment 208856 [details] svn(1) diff against the ports tree LLVM9 has made it to head/, so mongodb36 does not currently build on head. Attaching a patch (against the ports tree) that backports the upstream fix: https://github.com/mongodb/mongo/commit/9c6751b9765d269b667324bb2efe1ca76a916d20 -- it should be noted that llvm now warns because this is a C++17 feature, but it builds it anyways.
Many thanks, Kyle.
(In reply to dev from comment #1) Yup... I'm doing a bit more testing on older FreeBSD versions (with older clang) and looking to get this tested w/ GCC just to make sure that it doesn't regress anywhere, then I'll poke someone for commit.
A commit references this bug: Author: swills Date: Mon Nov 11 19:00:38 UTC 2019 New revision: 517281 URL: https://svnweb.freebsd.org/changeset/ports/517281 Log: databases/mongodb36: fails to build w/ llvm9 PR: 241709 Submitted by: kevans Approved by: dev@dudu.ro (maintainer) Changes: head/databases/mongodb36/files/patch-src_mongo_base_error__codes.tpl.h
Committed, thanks!