Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Jan 2018 17:11:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 224821] databases/mongodb36: fails to build with boost 1.66
Message-ID:  <bug-224821-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224821

            Bug ID: 224821
           Summary: databases/mongodb36: fails to build with boost 1.66
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
            Blocks: 223922

As part of exp-run in bug 223922 this port was found to break on Boost upda=
te.
If the issue won't disappear on its own on update I plan to mark the port as
BROKEN. Can you check with upstream maintainer or help with a fix?

$ fetch -qo- 'https://reviews.freebsd.org/D13279?download=3Dtrue' | patch -=
Efsp0
-d /usr/ports
$ make all deinstall install clean -C/usr/ports/devel/boost-libs
$ make -C/usr/ports/databases/mongodb36
[...]
src/mongo/db/repl/oplog_fetcher.cpp:248:22: error: no matching function for
call to 'make_optional'
        oqMetadata =3D
boost::make_optional<rpc::OplogQueryMetadata>(metadataResult.getValue());
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/optional/optional.hpp:1367:56: note: candidate
function not viable: no known conversion from 'mongo::rpc::OplogQueryMetada=
ta'
to 'mongo::rpc::OplogQueryMetadata &&' for 1st argument
optional<BOOST_DEDUCED_TYPENAME boost::decay<T>::type> make_optional ( T &&=
 v=20
)
                                                       ^
/usr/local/include/boost/optional/optional.hpp:1375:56: note: candidate
function template not viable: requires 2 arguments, but 1 was provided
optional<BOOST_DEDUCED_TYPENAME boost::decay<T>::type> make_optional ( bool
cond, T && v )
                                                       ^
1 error generated.

Build logs:
10.3 amd64 - https://clbin.com/BVY2k
11.1 amd64 - https://clbin.com/ZTmR6
12.0 amd64 - https://clbin.com/n0al6


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223922
[Bug 223922] devel/boost-all: Update to 1.66.0
--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224821-13>