Bug 241709 - databases/mongodb36: fails to build w/ llvm9
Summary: databases/mongodb36: fails to build w/ llvm9
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-04 14:00 UTC by Kyle Evans
Modified: 2019-11-11 19:02 UTC (History)
3 users (show)

See Also:
dev: maintainer-feedback+


Attachments
svn(1) diff against the ports tree (1.13 KB, patch)
2019-11-04 14:00 UTC, Kyle Evans
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!