Build for version 2.3.5 fails on FreeBSD 11.2 with both clang-6 and gcc-7:
---failure log---
In file included from /usr/ports/science/py-esys-particle/work/ESyS-Particle-2.3.5/Python/esys/lsm/geometry/GougeConfigPy.cpp:16:
In file included from /usr/ports/science/py-esys-particle/work/ESyS-Particle-2.3.5/Python/BoostPythonUtil/ListConverter.h:17:
In file included from /usr/local/include/boost/python.hpp:11:
In file included from /usr/local/include/boost/python/args.hpp:22:
In file included from /usr/local/include/boost/python/object_core.hpp:14:
In file included from /usr/local/include/boost/python/call.hpp:15:
/usr/local/include/boost/python/converter/arg_to_python.hpp:205:9: error: no matching constructor for initialization of 'boost::python::converter::detail::arg_to_python_base'
: arg_to_python_base(&x, registered<T>::converters)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/python/converter/arg_to_python.hpp:252:7: note: in instantiation of member function 'boost::python::converter::detail::value_arg_to_python<std::__1::__bit_const_reference<std::__1::vector<bool, std::__1::allocator<bool> > > >::value_arg_to_python' requested here
: base(x)
^
/usr/local/include/boost/python/object_core.hpp:289:33: note: in instantiation of member function 'boost::python::converter::arg_to_python<std::__1::__bit_const_reference<std::__1::vector<bool, std::__1::allocator<bool> > > >::arg_to_python' requested here
return python::incref(converter::arg_to_python<T>(x).get());
^
/usr/local/include/boost/python/object_core.hpp:232:10: note: in instantiation of function template specialization 'boost::python::api::object_initializer_impl<false, false>::get<std::__1::__bit_const_reference<std::__1::vector<bool, std::__1::allocator<bool> > > >' requested here
>::get(
^
/usr/local/include/boost/python/object_core.hpp:247:23: note: in instantiation of function template specialization 'boost::python::api::object_base_initializer<std::__1::__bit_const_reference<std::__1::vector<bool, std::__1::allocator<bool> > > >' requested here
: object_base(object_base_initializer(x))
^
/usr/local/include/boost/python/list.hpp:72:22: note: in instantiation of function template specialization 'boost::python::api::object::object<std::__1::__bit_const_reference<std::__1::vector<bool, std::__1::allocator<bool> > > >' requested here
base::append(object(x));
^
/usr/ports/science/py-esys-particle/work/ESyS-Particle-2.3.5/Python/BoostPythonUtil/ListConverter.h:92:22: note: in instantiation of function template specialization 'boost::python::list::append<std::__1::__bit_const_reference<std::__1::vector<bool, std::__1::allocator<bool> > > >' requested here
pythonList.append(*it);
^
/usr/ports/science/py-esys-particle/work/ESyS-Particle-2.3.5/Python/esys/lsm/geometry/GougeConfigPy.cpp:74:19: note: in instantiation of function template specialization 'esys::lsm::bpu::vectorToList<std::__1::vector<bool, std::__1::allocator<bool> > >' requested here
return bpu::vectorToList(getPrms().getPeriodicDimensions());
^
/usr/local/include/boost/python/converter/arg_to_python_base.hpp:18:7: note: candidate constructor not viable: no known conversion from '__bit_iterator<std::__1::vector<bool, std::__1::allocator<bool> >, true>' to 'const volatile void *' for 1st argument
arg_to_python_base(void const volatile* source, registration const&);
^
/usr/local/include/boost/python/converter/arg_to_python_base.hpp:15:28: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
struct BOOST_PYTHON_DECL arg_to_python_base
^
/usr/local/include/boost/python/converter/arg_to_python_base.hpp:15:28: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided