image/backends/tar.cc:97:78: error: no matching function for call to ‘std::__cxx11::basic_string<char>::basic_string(const boost::filesystem::path&)’
Possibly due to a7b5f7eb:
...
[ 95%] Building CXX object image/backends/CMakeFiles/hi-backends.dir/tar.cc.o
^[[91m/root/horizon/image/backends/tar.cc: In member function ‘virtual int Horizon::Image::TarBackend::create()’:
/root/horizon/image/backends/tar.cc:97:78: error: no matching function for call to ‘std::__cxx11::basic_string<char>::basic_string(const boost::filesystem::path&)’
output_error("tar backend", "failed to " x " '" + std::string(dent.path()) + "'",\
^
/root/horizon/image/backends/tar.cc:101:17: note: in expansion of macro ‘OUTPUT_FAILURE’
OUTPUT_FAILURE("stat")
^~~~~~~~~~~~~~
^[[0m^[[91mIn file included from /usr/include/c++/8.5.0/string:52,
from /usr/include/c++/8.5.0/stdexcept:39,
from /usr/include/c++/8.5.0/array:39,
from /usr/include/c++/8.5.0/tuple:39,
from /usr/include/c++/8.5.0/functional:54,
from /root/horizon/image/backends/basic.hh:15,
from /root/horizon/image/backends/tar.cc:22:
/usr/include/c++/8.5.0/bits/basic_string.h:653:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_>
basic_string(__sv_wrapper __svw, const _Alloc& __a)
^~~~~~~~~~~~
/usr/include/c++/8.5.0/bits/basic_string.h:653:7: note: candidate expects 2 arguments, 1 provided
...
Configured with:
cmake .. \
-DBUILD_TOOLS=ON \
-DINSTALL=ON \
-DUNSUPPORTED_NONFREE_FIRMWARE=ON