Bug 241709

Summary: databases/mongodb36: fails to build w/ llvm9
Product: Ports & Packages Reporter: Kyle Evans <kevans>
Component: Individual Port(s)Assignee: Steve Wills <swills>
Status: Closed FIXED    
Severity: Affects Only Me CC: dev, linimon, swills
Priority: --- Flags: dev: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
svn(1) diff against the ports tree none

Description Kyle Evans freebsd_committer freebsd_triage 2019-11-04 14:00:33 UTC
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.
Comment 1 dev 2019-11-04 14:42:03 UTC
Many thanks, Kyle.
Comment 2 Kyle Evans freebsd_committer freebsd_triage 2019-11-04 14:50:16 UTC
(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.
Comment 3 commit-hook freebsd_committer freebsd_triage 2019-11-11 19:01:11 UTC
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
Comment 4 Steve Wills freebsd_committer freebsd_triage 2019-11-11 19:02:25 UTC
Committed, thanks!