After bug 229569 lands this port will end up BROKEN. Can you help? I've already reported upstream. In file included from flow/boost.cpp:21: flow/libs/system/src/error_code.cpp:417:46: error: redefinition of 'system_category' BOOST_SYSTEM_DECL const error_category & system_category() BOOST_SYSTEM_NOEXCEPT ^ /usr/local/include/boost/system/error_code.hpp:480:31: note: previous definition is here inline const error_category & system_category() BOOST_SYSTEM_NOEXCEPT ^ In file included from flow/boost.cpp:21: flow/libs/system/src/error_code.cpp:423:46: error: redefinition of 'generic_category' BOOST_SYSTEM_DECL const error_category & generic_category() BOOST_SYSTEM_NOEXCEPT ^ /usr/local/include/boost/system/error_code.hpp:485:31: note: previous definition is here inline const error_category & generic_category() BOOST_SYSTEM_NOEXCEPT ^ 2 errors generated.
simple #undef BOOST_SYSTEM_NOEXCEPT in flow/libs/system/src/error_code.cpp ??
Hi jbeich@ any way to download whole boost related patches?
Try the following: $ fetch -qo- 'https://reviews.freebsd.org/D16165?download=true' | patch -Efsp0 -d /usr/ports $ make all deinstall install clean -C/usr/ports/devel/boost-jam $ make all deinstall install clean -C/usr/ports/devel/boost-libs $ make -C /usr/ports/databases/foundationdb
Marked BROKEN in ports r476723.
A commit references this bug: Author: vanilla Date: Tue Aug 14 14:59:52 UTC 2018 New revision: 477160 URL: https://svnweb.freebsd.org/changeset/ports/477160 Log: Update to 5.2.8, and fix building with boost 1.68. PR: 229697 Changes: head/databases/foundationdb/Makefile head/databases/foundationdb/distinfo head/databases/foundationdb/files/patch-Makefile head/databases/foundationdb/files/patch-build_csprojtom4.py head/databases/foundationdb/files/patch-build_vcxprojtom4.py head/databases/foundationdb/files/patch-fdbbackup_local.mk head/databases/foundationdb/files/patch-fdbcli_local.mk head/databases/foundationdb/files/patch-fdbclient_local.mk head/databases/foundationdb/files/patch-fdbmonitor_fdbmonitor.cpp head/databases/foundationdb/files/patch-fdbrpc_IAsyncFile.actor.cpp head/databases/foundationdb/files/patch-fdbrpc_Platform.cpp head/databases/foundationdb/files/patch-fdbrpc_local.mk head/databases/foundationdb/files/patch-fdbserver_fdbserver.actor.cpp head/databases/foundationdb/files/patch-fdbserver_local.mk head/databases/foundationdb/files/patch-fdbserver_worker.actor.cpp head/databases/foundationdb/files/patch-flow_Deque.h head/databases/foundationdb/files/patch-flow_Net2.actor.cpp head/databases/foundationdb/files/patch-flow_Platform.cpp head/databases/foundationdb/files/patch-flow_Platform.h head/databases/foundationdb/files/patch-flow_ThreadPrimitives.cpp head/databases/foundationdb/files/patch-flow_ThreadPrimitives.h head/databases/foundationdb/files/patch-flow_libs_system_src_error__code.cpp head/databases/foundationdb/files/patch-flow_local.mk
I make a patch to fix building with boost 1.68, and it works.