Bug 206795 - databases/mongodb32: Fix 32-bit and FreeBSD 9 build issues
Summary: databases/mongodb32: Fix 32-bit and FreeBSD 9 build issues
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: Kubilay Kocak
URL:
Keywords: easy, patch, patch-ready
Depends on:
Blocks:
 
Reported: 2016-01-31 14:07 UTC by Brendan Molloy
Modified: 2016-02-10 14:55 UTC (History)
1 user (show)

See Also:
brendan+freebsd: maintainer-feedback+
koobs: merge-quarterly-


Attachments
mongodb32 fixes (1.86 KB, patch)
2016-01-31 14:07 UTC, Brendan Molloy
brendan+freebsd: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brendan Molloy 2016-01-31 14:07:39 UTC
Created attachment 166351 [details]
mongodb32 fixes

FreeBSD 9, even with GCC 4.9, cannot build MongoDB without errors, so setting < FreeBSD to IGNORE.

32-bit failed to build due to the WiredTiger engine only working on 64-bit, so added an  exclude option for 32bit, with it enabled by default no 64bit.
Comment 1 Brendan Molloy 2016-01-31 14:08:54 UTC
(In reply to Brendan Molloy from comment #0)

That's meant to say < FreeBSD *10*.
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2016-01-31 16:26:38 UTC
@Brendan, can you confirm this change passes QA please

Thanks!
Comment 3 Brendan Molloy 2016-01-31 23:22:59 UTC
Passes QA.
Comment 4 commit-hook freebsd_committer freebsd_triage 2016-02-10 14:32:21 UTC
A commit references this bug:

Author: koobs
Date: Wed Feb 10 14:32:11 UTC 2016
New revision: 408633
URL: https://svnweb.freebsd.org/changeset/ports/408633

Log:
  databases/mongodb32{-tools}: Disable WIRETIGER on i386, Mark BROKEN on 9.x

  MongoDB 3.2 doesn't build on FreeBSD 9.x, and its tools fail to build
  for a separate reason: TLS 1.1 and 1.2 are not found in the OpenSSL
  version that the builder detects.

  Fortunately, we don't have to solve that as the primary port does not
  support FreeBSD 9 either. Patched to IGNORE on < FreeBSD 10.

  PR:		206795, 206796
  Submitted by:	Brendan Molloy <brendan+freebsd bbqsrc net> (maintainer)
  MFH:		2016Q1

Changes:
  head/databases/mongodb32/Makefile
  head/databases/mongodb32-tools/Makefile
Comment 5 Kubilay Kocak freebsd_committer freebsd_triage 2016-02-10 14:55:10 UTC
mongodb32 is not in quarterly branch 2016Q1, MFH not necessary

Thank you Brendan!