Bug 207777 - [FIX] databases/mongodb32: doesn't build if devel/mongo-cxx-driver is installed
Summary: [FIX] databases/mongodb32: doesn't build if devel/mongo-cxx-driver is installed
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords: needs-qa, patch
Depends on:
Blocks:
 
Reported: 2016-03-07 13:44 UTC by Šimun Mikecin
Modified: 2016-03-10 18:53 UTC (History)
4 users (show)

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


Attachments
SVN diff for a fix to this problem. (561 bytes, patch)
2016-03-07 13:51 UTC, Šimun Mikecin
koobs: maintainer-approval? (brendan+freebsd)
Details | Diff
Build failure log. (9.47 KB, text/plain)
2016-03-07 13:54 UTC, Šimun Mikecin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Šimun Mikecin 2016-03-07 13:44:06 UTC
Building databases/mongodb32 from ports ends with an error if a devel/mongo-cxx-driver port is installed on the same system.

Tested using:
FreeBSD 10.2-RELEASE-p12
databases/mongodb32 3.2.3
devel/mongo-cxx-driver 1.1.0
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2016-03-07 13:50:15 UTC
Could you please provide (as an attachment) the full build log that displays the failure?

Thank you for the report
Comment 2 Šimun Mikecin 2016-03-07 13:51:50 UTC
Created attachment 167809 [details]
SVN diff for a fix to this problem.
Comment 3 Šimun Mikecin 2016-03-07 13:54:24 UTC
Created attachment 167810 [details]
Build failure log.
Comment 4 Šimun Mikecin 2016-03-07 13:55:28 UTC
I just attached a build log that displays the failure.
Comment 5 Brendan Molloy 2016-03-07 14:00:51 UTC
I suspect a better solution would be to mangle the scons file so that it puts -Isrc before -I/usr/local/include as that is probably causing this.
Comment 6 Šimun Mikecin 2016-03-07 14:03:05 UTC
In the attached patch I raised port revision number.
That is probably not needed because the port didn't build before and CONFLICTS_BUILD is not recorded in the package.
Comment 7 Kurt Jaeger freebsd_committer freebsd_triage 2016-03-10 18:53:35 UTC
Submitter suggests new fix in 

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207842