snapcast
snapcast copied to clipboard
Build failure with boost 1.88.0
Describe the bug Building 0.31.0 with boost-1.87.0 is building fine, but errors now with boost 1.88.0
Steps to Reproduce
- Build with boost 1.87.0 is successful
- Build with boost 1.88.0 fails
Environment details
- OS: Ubuntu 24.04
- Snapcast version 0.31.0
- self compiled
notes
- https://www.boost.org/doc/libs/1_88_0/doc/html/boost_asio/reference/posix__stream_descriptor.html
- fix was to change the header in
server/streamreader/stream_control.hpp
- fix was to change the header in
// 3rd party headers
// #include <boost/asio/any_io_executor.hpp>
#include <boost/asio.hpp>
#include <boost/process.hpp>
- https://www.boost.org/doc/libs/1_87_0/doc/html/process.html (deprecated v1 in 1.88.0)
- v2 in changes cold to proc - e.g. https://www.boost.org/doc/libs/1_87_0/doc/html/boost_process/v2.html#boost_process.v2.introduction.simplified
Attach logfile if applicable Build log failing from 18/60 onwards.
# Replace this with your logs
BUILD snapcast (target)
TOOLCHAIN cmake (auto-detect)
Executing (target): cmake -GNinja -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_TOOLCHAIN_FILE=/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/etc/cmake-x86_64-libreelec-linux-gnu.conf -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/snapcast-0.31.0
-- The CXX compiler identification is GNU 15.0.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The C compiler identification is GNU 15.0.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Architecture: x86_64
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Found PkgConfig: /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/bin/pkg-config (found version "0.29.2")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found OpenSSL: /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/lib/libcrypto.so (found version "3.5.0")
-- Performing Test HAS_CXX11_STRING_SUPPORT
-- Performing Test HAS_CXX11_STRING_SUPPORT - Success
-- Checking for one of the modules 'alsa'
-- Checking for one of the modules 'jack'
-- Checking for one of the modules 'libpulse'
-- Checking for one of the modules 'avahi-client'
-- Checking for one of the modules 'soxr'
-- Checking for one of the modules 'flac'
-- Checking for one of the modules 'ogg'
-- Checking for one of the modules 'vorbis'
-- Checking for one of the modules 'vorbisidec'
-- Checking for one of the modules 'vorbisenc'
-- Checking for one of the modules 'opus'
-- Checking for one of the modules 'expat'
CMake Warning (dev) at CMakeLists.txt:317 (find_package):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake
--help-policy CMP0167" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found Boost: /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/lib/cmake/Boost-1.88.0/BoostConfig.cmake (found suitable version "1.88.0", minimum required is "1.74")
-- Configuring done (0.4s)
-- Generating done (0.0s)
-- Build files have been written to: /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/snapcast-0.31.0/.x86_64-libreelec-linux-gnu
Executing (target): ninja
[18/60] Building CXX object server/CMakeFiles/snapserver.dir/streamreader/stream_control.cpp.o
FAILED: server/CMakeFiles/snapserver.dir/streamreader/stream_control.cpp.o
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-g++ -DBOOST_ASIO_NO_TS_EXECUTORS -DBOOST_ERROR_CODE_HEADER_ONLY -DHAS_ALSA -DHAS_AVAHI -DHAS_DAEMON -DHAS_EXPAT -DHAS_FLAC -DHAS_OGG -DHAS_OPUS -DHAS_PULSE -DHAS_SOXR -DHAS_VORBIS -DHAS_VORBIS_ENC -DVERSION=\"0.31.0\" -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/snapcast-0.31.0 -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/snapcast-0.31.0/include -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/snapcast-0.31.0/server -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/dbus-1.0 -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/lib/dbus-1.0/include -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/opus -march=x86-64-v3 -Wall -pipe -O2 -fomit-frame-pointer -DNDEBUG -pthread -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/install_pkg/aixlog-1.5.0/usr/include -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/install_pkg/asio-1.34.2/usr/include -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/install_pkg/popl-1.3.0/usr/include -std=gnu++17 -Wall -Wextra -pedantic -Wno-unused-function -MD -MT server/CMakeFiles/snapserver.dir/streamreader/stream_control.cpp.o -MF server/CMakeFiles/snapserver.dir/streamreader/stream_control.cpp.o.d -o server/CMakeFiles/snapserver.dir/streamreader/stream_control.cpp.o -c /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/snapcast-0.31.0/server/streamreader/stream_control.cpp
In file included from ../server/streamreader/stream_control.cpp:20:
../server/streamreader/stream_control.hpp:93:9: error: 'child' in namespace 'bp' does not name a type
93 | bp::child process_;
| ^~~~~
../server/streamreader/stream_control.hpp:94:9: error: 'pipe' in namespace 'bp' does not name a type
94 | bp::pipe pipe_stdout_;
| ^~~~
../server/streamreader/stream_control.hpp:95:9: error: 'pipe' in namespace 'bp' does not name a type
95 | bp::pipe pipe_stderr_;
| ^~~~
../server/streamreader/stream_control.hpp:96:41: error: 'stream_descriptor' is not a member of 'boost::asio::posix'; did you mean 'basic_stream_descriptor'?
96 | std::unique_ptr<boost::asio::posix::stream_descriptor> stream_stdout_;
| ^~~~~~~~~~~~~~~~~
| basic_stream_descriptor
../server/streamreader/stream_control.hpp:96:58: error: template argument 1 is invalid
96 | std::unique_ptr<boost::asio::posix::stream_descriptor> stream_stdout_;
| ^
../server/streamreader/stream_control.hpp:96:58: error: template argument 2 is invalid
../server/streamreader/stream_control.hpp:97:41: error: 'stream_descriptor' is not a member of 'boost::asio::posix'; did you mean 'basic_stream_descriptor'?
97 | std::unique_ptr<boost::asio::posix::stream_descriptor> stream_stderr_;
| ^~~~~~~~~~~~~~~~~
| basic_stream_descriptor
../server/streamreader/stream_control.hpp:97:58: error: template argument 1 is invalid
97 | std::unique_ptr<boost::asio::posix::stream_descriptor> stream_stderr_;
| ^
../server/streamreader/stream_control.hpp:97:58: error: template argument 2 is invalid
../server/streamreader/stream_control.hpp:98:18: error: 'streambuf' in namespace 'boost::asio' does not name a type
98 | boost::asio::streambuf streambuf_stdout_;
| ^~~~~~~~~
../server/streamreader/stream_control.hpp:99:18: error: 'streambuf' in namespace 'boost::asio' does not name a type
99 | boost::asio::streambuf streambuf_stderr_;
| ^~~~~~~~~
../server/streamreader/stream_control.hpp:103:9: error: 'opstream' in namespace 'bp' does not name a type
103 | bp::opstream in_;
| ^~~~~~~~
../server/streamreader/stream_control.cpp: In member function 'virtual void streamreader::ScriptStreamControl::doStart(const std::string&, const ServerSettings&)':
../server/streamreader/stream_control.cpp:150:5: error: 'pipe_stderr_' was not declared in this scope; did you mean 'stream_stderr_'?
150 | pipe_stderr_ = bp::pipe();
| ^~~~~~~~~~~~
| stream_stderr_
../server/streamreader/stream_control.cpp:150:24: error: 'pipe' is not a member of 'bp'; did you mean 'pipe'?
150 | pipe_stderr_ = bp::pipe();
| ^~~~
In file included from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/config/stdlib/libstdcpp3.hpp:78,
from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/config.hpp:48,
from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/detail/config.hpp:28,
from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/any_io_executor.hpp:18,
from ../server/streamreader/stream_control.hpp:27:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/unistd.h:437:12: note: 'pipe' declared here
437 | extern int pipe (int __pipedes[2]) __THROW __wur;
| ^~~~
../server/streamreader/stream_control.cpp:151:5: error: 'pipe_stdout_' was not declared in this scope; did you mean 'stream_stdout_'?
151 | pipe_stdout_ = bp::pipe();
| ^~~~~~~~~~~~
| stream_stdout_
../server/streamreader/stream_control.cpp:151:24: error: 'pipe' is not a member of 'bp'; did you mean 'pipe'?
151 | pipe_stdout_ = bp::pipe();
| ^~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/unistd.h:437:12: note: 'pipe' declared here
437 | extern int pipe (int __pipedes[2]) __THROW __wur;
| ^~~~
../server/streamreader/stream_control.cpp:163:9: error: 'process_' was not declared in this scope
163 | process_ = bp::child(script_ + params.str(), bp::std_out > pipe_stdout_, bp::std_err > pipe_stderr_, bp::std_in < in_,
| ^~~~~~~~
../server/streamreader/stream_control.cpp:163:24: error: 'child' is not a member of 'bp'
163 | process_ = bp::child(script_ + params.str(), bp::std_out > pipe_stdout_, bp::std_err > pipe_stderr_, bp::std_in < in_,
| ^~~~~
../server/streamreader/stream_control.cpp:163:58: error: 'std_out' is not a member of 'bp'
163 | process_ = bp::child(script_ + params.str(), bp::std_out > pipe_stdout_, bp::std_err > pipe_stderr_, bp::std_in < in_,
| ^~~~~~~
../server/streamreader/stream_control.cpp:163:86: error: 'std_err' is not a member of 'bp'
163 | process_ = bp::child(script_ + params.str(), bp::std_out > pipe_stdout_, bp::std_err > pipe_stderr_, bp::std_in < in_,
| ^~~~~~~
../server/streamreader/stream_control.cpp:163:114: error: 'std_in' is not a member of 'bp'
163 | process_ = bp::child(script_ + params.str(), bp::std_out > pipe_stdout_, bp::std_err > pipe_stderr_, bp::std_in < in_,
| ^~~~~~
../server/streamreader/stream_control.cpp:163:123: error: 'in_' was not declared in this scope; did you mean 'int'?
163 | process_ = bp::child(script_ + params.str(), bp::std_out > pipe_stdout_, bp::std_err > pipe_stderr_, bp::std_in < in_,
| ^~~
| int
../server/streamreader/stream_control.cpp:164:34: error: 'on_exit' is not a member of 'bp'; did you mean 'on_exit'?
164 | bp::on_exit = [](int exit, const std::error_code& ec_in)
| ^~~~~~~
In file included from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/cstdlib:83,
from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/stl_algo.h:71,
from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/algorithm:63,
from ../common/json.hpp:21,
from ../server/jsonrpcpp.hpp:26,
from ../server/streamreader/stream_control.hpp:23:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/stdlib.h:749:12: note: 'on_exit' declared here
749 | extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
| ^~~~~~~
../server/streamreader/stream_control.cpp:177:54: error: 'stream_descriptor' is not a member of 'boost::asio::posix'; did you mean 'basic_stream_descriptor'?
177 | stream_stdout_ = make_unique<boost::asio::posix::stream_descriptor>(executor_, pipe_stdout_.native_source());
| ^~~~~~~~~~~~~~~~~
| basic_stream_descriptor
../server/streamreader/stream_control.cpp:178:54: error: 'stream_descriptor' is not a member of 'boost::asio::posix'; did you mean 'basic_stream_descriptor'?
178 | stream_stderr_ = make_unique<boost::asio::posix::stream_descriptor>(executor_, pipe_stderr_.native_source());
| ^~~~~~~~~~~~~~~~~
| basic_stream_descriptor
../server/streamreader/stream_control.cpp: In member function 'virtual void streamreader::ScriptStreamControl::doCommand(const jsonrpcpp::Request&)':
../server/streamreader/stream_control.cpp:188:5: error: 'in_' was not declared in this scope; did you mean 'int'?
188 | in_.write(msg.data(), msg.size());
| ^~~
| int
../server/streamreader/stream_control.cpp: In member function 'void streamreader::ScriptStreamControl::stderrReadLine()':
../server/streamreader/stream_control.cpp:196:35: error: invalid type argument of unary '*' (have 'int')
196 | boost::asio::async_read_until(*stream_stderr_, streambuf_stderr_, delimiter, [this, delimiter](const std::error_code& ec, std::size_t bytes_transferred)
| ^~~~~~~~~~~~~~~
../server/streamreader/stream_control.cpp:196:52: error: 'streambuf_stderr_' was not declared in this scope; did you mean 'stream_stderr_'?
196 | boost::asio::async_read_until(*stream_stderr_, streambuf_stderr_, delimiter, [this, delimiter](const std::error_code& ec, std::size_t bytes_transferred)
| ^~~~~~~~~~~~~~~~~
| stream_stderr_
../server/streamreader/stream_control.cpp: In lambda function:
../server/streamreader/stream_control.cpp:205:40: error: 'streambuf_stderr_' is not captured
205 | std::string line{buffers_begin(streambuf_stderr_.data()), buffers_begin(streambuf_stderr_.data()) + bytes_transferred - delimiter.length()};
| ^~~~~~~~~~~~~~~~~
../server/streamreader/stream_control.cpp:196:98: note: the lambda has no capture-default
196 | boost::asio::async_read_until(*stream_stderr_, streambuf_stderr_, delimiter, [this, delimiter](const std::error_code& ec, std::size_t bytes_transferred)
| ^
../server/streamreader/stream_control.cpp:196:52: note: '<typeprefixerror>streambuf_stderr_' declared here
196 | boost::asio::async_read_until(*stream_stderr_, streambuf_stderr_, delimiter, [this, delimiter](const std::error_code& ec, std::size_t bytes_transferred)
| ^~~~~~~~~~~~~~~~~
../server/streamreader/stream_control.cpp:205:26: error: 'buffers_begin' was not declared in this scope; did you mean 'boost::asio::buffers_begin'?
205 | std::string line{buffers_begin(streambuf_stderr_.data()), buffers_begin(streambuf_stderr_.data()) + bytes_transferred - delimiter.length()};
| ^~~~~~~~~~~~~
| boost::asio::buffers_begin
In file included from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/impl/read_until.hpp:24,
from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/read_until.hpp:3202,
from ../server/streamreader/stream_control.cpp:28:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/buffers_iterator.hpp:484:41: note: 'boost::asio::buffers_begin' declared here
484 | inline buffers_iterator<BufferSequence> buffers_begin(
| ^~~~~~~~~~~~~
../server/streamreader/stream_control.cpp:205:81: error: 'streambuf_stderr_' is not captured
205 | std::string line{buffers_begin(streambuf_stderr_.data()), buffers_begin(streambuf_stderr_.data()) + bytes_transferred - delimiter.length()};
| ^~~~~~~~~~~~~~~~~
../server/streamreader/stream_control.cpp:196:98: note: the lambda has no capture-default
196 | boost::asio::async_read_until(*stream_stderr_, streambuf_stderr_, delimiter, [this, delimiter](const std::error_code& ec, std::size_t bytes_transferred)
| ^
../server/streamreader/stream_control.cpp:196:52: note: '<typeprefixerror>streambuf_stderr_' declared here
196 | boost::asio::async_read_until(*stream_stderr_, streambuf_stderr_, delimiter, [this, delimiter](const std::error_code& ec, std::size_t bytes_transferred)
| ^~~~~~~~~~~~~~~~~
../server/streamreader/stream_control.cpp:205:147: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(<brace-enclosed initializer list>)'
205 | std::string line{buffers_begin(streambuf_stderr_.data()), buffers_begin(streambuf_stderr_.data()) + bytes_transferred - delimiter.length()};
| ^
../server/streamreader/stream_control.cpp:205:147: note: there are 17 candidates
In file included from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/string:56,
from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/locale_classes.h:42,
from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/ios_base.h:43,
from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/streambuf:45,
from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/streambuf_iterator.h:37,
from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/iterator:68,
from ../common/json.hpp:28:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:815:9: note: candidate 1: 'template<class _Tp, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Tp&, const _Alloc&) [with <template-parameter-2-2> = _Tp; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
815 | basic_string(const _Tp& __t, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:815:9: note: template argument deduction/substitution failed:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:803:9: note: candidate 2: 'template<class _Tp, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Tp&, size_type, size_type, const _Alloc&) [with <template-parameter-2-2> = _Tp; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
803 | basic_string(const _Tp& __t, size_type __pos, size_type __n,
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:803:9: note: candidate expects 3 arguments, 2 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:780:9: note: candidate 3: 'template<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with <template-parameter-2-2> = _InputIterator; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
780 | basic_string(_InputIterator __beg, _InputIterator __end,
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:780:9: note: template argument deduction/substitution failed:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:684:7: note: candidate 4: 'template<class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
684 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:684:7: note: template argument deduction/substitution failed:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:661:7: note: candidate 5: 'template<class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
661 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:661:7: note: template argument deduction/substitution failed:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:736:7: note: candidate 6: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
736 | basic_string(basic_string&& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:736:7: note: conversion of argument 1 would be ill-formed:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:731:7: note: candidate 7: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
731 | basic_string(const basic_string& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:731:7: note: conversion of argument 1 would be ill-formed:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:726:7: note: candidate 8: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
726 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:726:7: note: conversion of argument 1 would be ill-formed:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:697:7: note: candidate 9: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
697 | basic_string(basic_string&& __str) noexcept
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:697:7: note: candidate expects 1 argument, 2 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:639:7: note: candidate 10: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]'
639 | basic_string(const _CharT* __s, size_type __n,
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:639:7: note: conversion of argument 1 would be ill-formed:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:619:7: note: candidate 11: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, size_type, size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]'
619 | basic_string(const basic_string& __str, size_type __pos,
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:619:7: note: candidate expects 4 arguments, 2 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:601:7: note: candidate 12: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, size_type, size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]'
601 | basic_string(const basic_string& __str, size_type __pos,
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:601:7: note: candidate expects 3 arguments, 2 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:584:7: note: candidate 13: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]'
584 | basic_string(const basic_string& __str, size_type __pos,
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:584:7: note: conversion of argument 1 would be ill-formed:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:568:7: note: candidate 14: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
568 | basic_string(const basic_string& __str)
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:568:7: note: candidate expects 1 argument, 2 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:556:7: note: candidate 15: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
556 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:556:7: note: candidate expects 1 argument, 2 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:540:7: note: candidate 16: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
540 | basic_string()
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:540:7: note: candidate expects 0 arguments, 2 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:187:7: note: candidate 17: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(__sv_wrapper, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
187 | basic_string(__sv_wrapper __svw, const _Alloc& __a)
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:187:7: note: conversion of argument 1 would be ill-formed:
../server/streamreader/stream_control.cpp:208:9: error: 'streambuf_stderr_' is not captured
208 | streambuf_stderr_.consume(bytes_transferred);
| ^~~~~~~~~~~~~~~~~
../server/streamreader/stream_control.cpp:196:98: note: the lambda has no capture-default
196 | boost::asio::async_read_until(*stream_stderr_, streambuf_stderr_, delimiter, [this, delimiter](const std::error_code& ec, std::size_t bytes_transferred)
| ^
../server/streamreader/stream_control.cpp:196:52: note: '<typeprefixerror>streambuf_stderr_' declared here
196 | boost::asio::async_read_until(*stream_stderr_, streambuf_stderr_, delimiter, [this, delimiter](const std::error_code& ec, std::size_t bytes_transferred)
| ^~~~~~~~~~~~~~~~~
../server/streamreader/stream_control.cpp: In member function 'void streamreader::ScriptStreamControl::stdoutReadLine()':
../server/streamreader/stream_control.cpp:217:35: error: invalid type argument of unary '*' (have 'int')
217 | boost::asio::async_read_until(*stream_stdout_, streambuf_stdout_, delimiter, [this, delimiter](const std::error_code& ec, std::size_t bytes_transferred)
| ^~~~~~~~~~~~~~~
../server/streamreader/stream_control.cpp:217:52: error: 'streambuf_stdout_' was not declared in this scope; did you mean 'stream_stdout_'?
217 | boost::asio::async_read_until(*stream_stdout_, streambuf_stdout_, delimiter, [this, delimiter](const std::error_code& ec, std::size_t bytes_transferred)
| ^~~~~~~~~~~~~~~~~
| stream_stdout_
../server/streamreader/stream_control.cpp: In lambda function:
../server/streamreader/stream_control.cpp:226:40: error: 'streambuf_stdout_' is not captured
226 | std::string line{buffers_begin(streambuf_stdout_.data()), buffers_begin(streambuf_stdout_.data()) + bytes_transferred - delimiter.length()};
| ^~~~~~~~~~~~~~~~~
../server/streamreader/stream_control.cpp:217:98: note: the lambda has no capture-default
217 | boost::asio::async_read_until(*stream_stdout_, streambuf_stdout_, delimiter, [this, delimiter](const std::error_code& ec, std::size_t bytes_transferred)
| ^
../server/streamreader/stream_control.cpp:217:52: note: '<typeprefixerror>streambuf_stdout_' declared here
217 | boost::asio::async_read_until(*stream_stdout_, streambuf_stdout_, delimiter, [this, delimiter](const std::error_code& ec, std::size_t bytes_transferred)
| ^~~~~~~~~~~~~~~~~
../server/streamreader/stream_control.cpp:226:26: error: 'buffers_begin' was not declared in this scope; did you mean 'boost::asio::buffers_begin'?
226 | std::string line{buffers_begin(streambuf_stdout_.data()), buffers_begin(streambuf_stdout_.data()) + bytes_transferred - delimiter.length()};
| ^~~~~~~~~~~~~
| boost::asio::buffers_begin
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/buffers_iterator.hpp:484:41: note: 'boost::asio::buffers_begin' declared here
484 | inline buffers_iterator<BufferSequence> buffers_begin(
| ^~~~~~~~~~~~~
../server/streamreader/stream_control.cpp:226:81: error: 'streambuf_stdout_' is not captured
226 | std::string line{buffers_begin(streambuf_stdout_.data()), buffers_begin(streambuf_stdout_.data()) + bytes_transferred - delimiter.length()};
| ^~~~~~~~~~~~~~~~~
../server/streamreader/stream_control.cpp:217:98: note: the lambda has no capture-default
217 | boost::asio::async_read_until(*stream_stdout_, streambuf_stdout_, delimiter, [this, delimiter](const std::error_code& ec, std::size_t bytes_transferred)
| ^
../server/streamreader/stream_control.cpp:217:52: note: '<typeprefixerror>streambuf_stdout_' declared here
217 | boost::asio::async_read_until(*stream_stdout_, streambuf_stdout_, delimiter, [this, delimiter](const std::error_code& ec, std::size_t bytes_transferred)
| ^~~~~~~~~~~~~~~~~
../server/streamreader/stream_control.cpp:226:147: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(<brace-enclosed initializer list>)'
226 | std::string line{buffers_begin(streambuf_stdout_.data()), buffers_begin(streambuf_stdout_.data()) + bytes_transferred - delimiter.length()};
| ^
../server/streamreader/stream_control.cpp:226:147: note: there are 17 candidates
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:815:9: note: candidate 1: 'template<class _Tp, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Tp&, const _Alloc&) [with <template-parameter-2-2> = _Tp; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
815 | basic_string(const _Tp& __t, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:815:9: note: template argument deduction/substitution failed:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:803:9: note: candidate 2: 'template<class _Tp, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Tp&, size_type, size_type, const _Alloc&) [with <template-parameter-2-2> = _Tp; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
803 | basic_string(const _Tp& __t, size_type __pos, size_type __n,
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:803:9: note: candidate expects 3 arguments, 2 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:780:9: note: candidate 3: 'template<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with <template-parameter-2-2> = _InputIterator; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
780 | basic_string(_InputIterator __beg, _InputIterator __end,
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:780:9: note: template argument deduction/substitution failed:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:684:7: note: candidate 4: 'template<class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
684 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:684:7: note: template argument deduction/substitution failed:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:661:7: note: candidate 5: 'template<class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
661 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:661:7: note: template argument deduction/substitution failed:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:736:7: note: candidate 6: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
736 | basic_string(basic_string&& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:736:7: note: conversion of argument 1 would be ill-formed:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:731:7: note: candidate 7: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
731 | basic_string(const basic_string& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:731:7: note: conversion of argument 1 would be ill-formed:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:726:7: note: candidate 8: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
726 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:726:7: note: conversion of argument 1 would be ill-formed:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:697:7: note: candidate 9: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
697 | basic_string(basic_string&& __str) noexcept
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:697:7: note: candidate expects 1 argument, 2 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:639:7: note: candidate 10: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]'
639 | basic_string(const _CharT* __s, size_type __n,
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:639:7: note: conversion of argument 1 would be ill-formed:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:619:7: note: candidate 11: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, size_type, size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]'
619 | basic_string(const basic_string& __str, size_type __pos,
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:619:7: note: candidate expects 4 arguments, 2 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:601:7: note: candidate 12: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, size_type, size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]'
601 | basic_string(const basic_string& __str, size_type __pos,
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:601:7: note: candidate expects 3 arguments, 2 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:584:7: note: candidate 13: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]'
584 | basic_string(const basic_string& __str, size_type __pos,
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:584:7: note: conversion of argument 1 would be ill-formed:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:568:7: note: candidate 14: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
568 | basic_string(const basic_string& __str)
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:568:7: note: candidate expects 1 argument, 2 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:556:7: note: candidate 15: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
556 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:556:7: note: candidate expects 1 argument, 2 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:540:7: note: candidate 16: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
540 | basic_string()
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:540:7: note: candidate expects 0 arguments, 2 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:187:7: note: candidate 17: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(__sv_wrapper, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
187 | basic_string(__sv_wrapper __svw, const _Alloc& __a)
| ^~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/15.0.1/bits/basic_string.h:187:7: note: conversion of argument 1 would be ill-formed:
../server/streamreader/stream_control.cpp:229:9: error: 'streambuf_stdout_' is not captured
229 | streambuf_stdout_.consume(bytes_transferred);
| ^~~~~~~~~~~~~~~~~
../server/streamreader/stream_control.cpp:217:98: note: the lambda has no capture-default
217 | boost::asio::async_read_until(*stream_stdout_, streambuf_stdout_, delimiter, [this, delimiter](const std::error_code& ec, std::size_t bytes_transferred)
| ^
../server/streamreader/stream_control.cpp:217:52: note: '<typeprefixerror>streambuf_stdout_' declared here
217 | boost::asio::async_read_until(*stream_stdout_, streambuf_stdout_, delimiter, [this, delimiter](const std::error_code& ec, std::size_t bytes_transferred)
| ^~~~~~~~~~~~~~~~~
Build error with draft boost::process v2 patch https://github.com/heitbaum/snapcast/commit/8d0343ef07e1328c4742e868aa12834b78fab728
BUILD snapcast (target)
TOOLCHAIN cmake (auto-detect)
Executing (target): cmake -GNinja -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_TOOLCHAIN_FILE=/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/etc/cmake-x86_64-libreelec-linux-gnu.conf -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/snapcast-0.31.0
-- Architecture: x86_64
-- Checking for one of the modules 'jack'
-- Checking for one of the modules 'vorbisidec'
-- Configuring done (0.0s)
-- Generating done (0.0s)
-- Build files have been written to: /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/snapcast-0.31.0/.x86_64-libreelec-linux-gnu
Executing (target): ninja
[1/5] Building CXX object client/CMakeFiles/snapclient.dir/player/player.cpp.o
FAILED: client/CMakeFiles/snapclient.dir/player/player.cpp.o
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-g++ -DBOOST_ASIO_NO_TS_EXECUTORS -DBOOST_ERROR_CODE_HEADER_ONLY -DHAS_ALSA -DHAS_AVAHI -DHAS_DAEMON -DHAS_EXPAT -DHAS_FLAC -DHAS_OGG -DHAS_OPUS -DHAS_PULSE -DHAS_SOXR -DHAS_VORBIS -DHAS_VORBIS_ENC -DVERSION=\"0.31.0\" -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/snapcast-0.31.0 -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/snapcast-0.31.0/include -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/snapcast-0.31.0/client -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/dbus-1.0 -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/lib/dbus-1.0/include -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/opus -march=x86-64-v3 -Wall -pipe -O2 -fomit-frame-pointer -DNDEBUG -pthread -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/install_pkg/aixlog-1.5.0/usr/include -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/install_pkg/asio-1.34.2/usr/include -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/install_pkg/popl-1.3.0/usr/include -std=gnu++17 -Wall -Wextra -pedantic -Wno-unused-function -MD -MT client/CMakeFiles/snapclient.dir/player/player.cpp.o -MF client/CMakeFiles/snapclient.dir/player/player.cpp.o.d -o client/CMakeFiles/snapclient.dir/player/player.cpp.o -c /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/snapcast-0.31.0/client/player/player.cpp
../client/player/player.cpp: In constructor 'player::Player::Player(boost::asio::io_context&, const ClientSettings::Player&, std::shared_ptr<Stream>)':
../client/player/player.cpp:48:115: error: use of deleted function 'boost::process::v2::basic_process<Executor>::basic_process() [with Executor = boost::asio::any_io_executor]'
48 | : io_context_(io_context), active_(false), stream_(std::move(stream)), settings_(settings), volCorrection_(1.0)
| ^
In file included from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/execute.hpp:8,
from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/execute.hpp:1,
from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process.hpp:19,
from ../client/player/player.hpp:41,
from ../client/player/player.cpp:20:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/process.hpp:67:3: note: 'boost::process::v2::basic_process<Executor>::basic_process() [with Executor = boost::asio::any_io_executor]' is implicitly deleted because the default definition would be ill-formed:
67 | basic_process() = default;
| ^~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/process.hpp: At global scope:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/process.hpp:67:3: error: no matching function for call to 'boost::process::v2::detail::basic_process_handle_fd<boost::asio::any_io_executor>::basic_process_handle_fd()'
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/process.hpp:67:3: note: there are 6 candidates
In file included from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/process_handle.hpp:15,
from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/ext/exe.hpp:12,
from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/process.hpp:18:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:86:5: note: candidate 1: 'template<class Executor1> boost::process::v2::detail::basic_process_handle_fd<Executor>::basic_process_handle_fd(boost::process::v2::detail::basic_process_handle_fd<Executor1>&&) [with Executor = boost::asio::any_io_executor]'
86 | basic_process_handle_fd(basic_process_handle_fd<Executor1> &&handle)
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:86:5: note: candidate expects 1 argument, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:56:5: note: candidate 2: 'template<class ExecutionContext> boost::process::v2::detail::basic_process_handle_fd<Executor>::basic_process_handle_fd(ExecutionContext&, typename std::enable_if<std::is_convertible<ExecutionContext&, boost::asio::execution_context&>::value>::type*) [with Executor = boost::asio::any_io_executor]'
56 | basic_process_handle_fd(ExecutionContext &context,
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:56:5: note: candidate expects 1 argument, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:79:5: note: candidate 3: 'boost::process::v2::detail::basic_process_handle_fd<Executor>::basic_process_handle_fd(boost::process::v2::detail::basic_process_handle_fd<Executor>&&) [with Executor = boost::asio::any_io_executor]'
79 | basic_process_handle_fd(basic_process_handle_fd &&handle)
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:79:5: note: candidate expects 1 argument, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:74:5: note: candidate 4: 'boost::process::v2::detail::basic_process_handle_fd<Executor>::basic_process_handle_fd(executor_type, boost::process::v2::pid_type, native_handle_type) [with Executor = boost::asio::any_io_executor; executor_type = boost::asio::any_io_executor; boost::process::v2::pid_type = int; native_handle_type = int]'
74 | basic_process_handle_fd(executor_type executor, pid_type pid, native_handle_type process_handle)
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:74:5: note: candidate expects 3 arguments, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:69:5: note: candidate 5: 'boost::process::v2::detail::basic_process_handle_fd<Executor>::basic_process_handle_fd(executor_type, boost::process::v2::pid_type) [with Executor = boost::asio::any_io_executor; executor_type = boost::asio::any_io_executor; boost::process::v2::pid_type = int]'
69 | basic_process_handle_fd(executor_type executor, pid_type pid)
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:69:5: note: candidate expects 2 arguments, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:64:5: note: candidate 6: 'boost::process::v2::detail::basic_process_handle_fd<Executor>::basic_process_handle_fd(executor_type) [with Executor = boost::asio::any_io_executor; executor_type = boost::asio::any_io_executor]'
64 | basic_process_handle_fd(executor_type executor)
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:64:5: note: candidate expects 1 argument, 0 provided
../client/player/player.cpp: In constructor 'player::Player::Player(boost::asio::io_context&, const ClientSettings::Player&, std::shared_ptr<Stream>)':
../client/player/player.cpp:48:115: note: use '-fdiagnostics-all-candidates' to display considered candidates
48 | : io_context_(io_context), active_(false), stream_(std::move(stream)), settings_(settings), volCorrection_(1.0)
| ^
[2/5] Building CXX object server/CMakeFiles/snapserver.dir/streamreader/stream_control.cpp.o
FAILED: server/CMakeFiles/snapserver.dir/streamreader/stream_control.cpp.o
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-g++ -DBOOST_ASIO_NO_TS_EXECUTORS -DBOOST_ERROR_CODE_HEADER_ONLY -DHAS_ALSA -DHAS_AVAHI -DHAS_DAEMON -DHAS_EXPAT -DHAS_FLAC -DHAS_OGG -DHAS_OPUS -DHAS_PULSE -DHAS_SOXR -DHAS_VORBIS -DHAS_VORBIS_ENC -DVERSION=\"0.31.0\" -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/snapcast-0.31.0 -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/snapcast-0.31.0/include -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/snapcast-0.31.0/server -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/dbus-1.0 -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/lib/dbus-1.0/include -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/opus -march=x86-64-v3 -Wall -pipe -O2 -fomit-frame-pointer -DNDEBUG -pthread -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/install_pkg/aixlog-1.5.0/usr/include -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/install_pkg/asio-1.34.2/usr/include -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/install_pkg/popl-1.3.0/usr/include -std=gnu++17 -Wall -Wextra -pedantic -Wno-unused-function -MD -MT server/CMakeFiles/snapserver.dir/streamreader/stream_control.cpp.o -MF server/CMakeFiles/snapserver.dir/streamreader/stream_control.cpp.o.d -o server/CMakeFiles/snapserver.dir/streamreader/stream_control.cpp.o -c /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/snapcast-0.31.0/server/streamreader/stream_control.cpp
../server/streamreader/stream_control.cpp: In constructor 'streamreader::ScriptStreamControl::ScriptStreamControl(const boost::asio::any_io_executor&, const std::filesystem::__cxx11::path&, std::string, std::string)':
../server/streamreader/stream_control.cpp:134:85: error: use of deleted function 'boost::process::v2::basic_process<Executor>::basic_process() [with Executor = boost::asio::any_io_executor]'
134 | : StreamControl(executor), script_(std::move(script)), params_(std::move(params))
| ^
In file included from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/execute.hpp:8,
from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/execute.hpp:1,
from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process.hpp:19,
from ../server/streamreader/stream_control.hpp:28,
from ../server/streamreader/stream_control.cpp:20:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/process.hpp:67:3: note: 'boost::process::v2::basic_process<Executor>::basic_process() [with Executor = boost::asio::any_io_executor]' is implicitly deleted because the default definition would be ill-formed:
67 | basic_process() = default;
| ^~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/process.hpp: At global scope:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/process.hpp:67:3: error: no matching function for call to 'boost::process::v2::detail::basic_process_handle_fd<boost::asio::any_io_executor>::basic_process_handle_fd()'
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/process.hpp:67:3: note: there are 6 candidates
In file included from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/process_handle.hpp:15,
from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/ext/exe.hpp:12,
from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/process.hpp:18:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:86:5: note: candidate 1: 'template<class Executor1> boost::process::v2::detail::basic_process_handle_fd<Executor>::basic_process_handle_fd(boost::process::v2::detail::basic_process_handle_fd<Executor1>&&) [with Executor = boost::asio::any_io_executor]'
86 | basic_process_handle_fd(basic_process_handle_fd<Executor1> &&handle)
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:86:5: note: candidate expects 1 argument, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:56:5: note: candidate 2: 'template<class ExecutionContext> boost::process::v2::detail::basic_process_handle_fd<Executor>::basic_process_handle_fd(ExecutionContext&, typename std::enable_if<std::is_convertible<ExecutionContext&, boost::asio::execution_context&>::value>::type*) [with Executor = boost::asio::any_io_executor]'
56 | basic_process_handle_fd(ExecutionContext &context,
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:56:5: note: candidate expects 1 argument, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:79:5: note: candidate 3: 'boost::process::v2::detail::basic_process_handle_fd<Executor>::basic_process_handle_fd(boost::process::v2::detail::basic_process_handle_fd<Executor>&&) [with Executor = boost::asio::any_io_executor]'
79 | basic_process_handle_fd(basic_process_handle_fd &&handle)
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:79:5: note: candidate expects 1 argument, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:74:5: note: candidate 4: 'boost::process::v2::detail::basic_process_handle_fd<Executor>::basic_process_handle_fd(executor_type, boost::process::v2::pid_type, native_handle_type) [with Executor = boost::asio::any_io_executor; executor_type = boost::asio::any_io_executor; boost::process::v2::pid_type = int; native_handle_type = int]'
74 | basic_process_handle_fd(executor_type executor, pid_type pid, native_handle_type process_handle)
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:74:5: note: candidate expects 3 arguments, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:69:5: note: candidate 5: 'boost::process::v2::detail::basic_process_handle_fd<Executor>::basic_process_handle_fd(executor_type, boost::process::v2::pid_type) [with Executor = boost::asio::any_io_executor; executor_type = boost::asio::any_io_executor; boost::process::v2::pid_type = int]'
69 | basic_process_handle_fd(executor_type executor, pid_type pid)
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:69:5: note: candidate expects 2 arguments, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:64:5: note: candidate 6: 'boost::process::v2::detail::basic_process_handle_fd<Executor>::basic_process_handle_fd(executor_type) [with Executor = boost::asio::any_io_executor; executor_type = boost::asio::any_io_executor]'
64 | basic_process_handle_fd(executor_type executor)
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:64:5: note: candidate expects 1 argument, 0 provided
../server/streamreader/stream_control.cpp: In constructor 'streamreader::ScriptStreamControl::ScriptStreamControl(const boost::asio::any_io_executor&, const std::filesystem::__cxx11::path&, std::string, std::string)':
../server/streamreader/stream_control.cpp:134:85: note: use '-fdiagnostics-all-candidates' to display considered candidates
134 | : StreamControl(executor), script_(std::move(script)), params_(std::move(params))
| ^
../server/streamreader/stream_control.cpp:134:85: error: no matching function for call to 'boost::asio::basic_readable_pipe<>::basic_readable_pipe()'
../server/streamreader/stream_control.cpp:134:85: note: there are 6 candidates
In file included from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio.hpp:38,
from ../server/streamreader/stream_control.hpp:27:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:220:3: note: candidate 1: 'template<class Executor1> boost::asio::basic_readable_pipe<Executor>::basic_readable_pipe(boost::asio::basic_readable_pipe<Executor1>&&, boost::asio::constraint_t<((bool)std::is_convertible<_U1, _T1>::value), boost::asio::defaulted_constraint>) [with Executor = boost::asio::any_io_executor]'
220 | basic_readable_pipe(basic_readable_pipe<Executor1>&& other,
| ^~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:220:3: note: candidate expects 1 argument, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:158:3: note: candidate 2: 'template<class ExecutionContext> boost::asio::basic_readable_pipe<Executor>::basic_readable_pipe(ExecutionContext&, const native_handle_type&, boost::asio::constraint_t<((bool)std::is_convertible<ExecutionContext&, boost::asio::execution_context&>::value)>) [with Executor = boost::asio::any_io_executor]'
158 | basic_readable_pipe(ExecutionContext& context,
| ^~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:158:3: note: candidate expects 2 arguments, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:112:12: note: candidate 3: 'template<class ExecutionContext> boost::asio::basic_readable_pipe<Executor>::basic_readable_pipe(ExecutionContext&, boost::asio::constraint_t<((bool)std::is_convertible<ExecutionContext&, boost::asio::execution_context&>::value), boost::asio::defaulted_constraint>) [with Executor = boost::asio::any_io_executor]'
112 | explicit basic_readable_pipe(ExecutionContext& context,
| ^~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:112:12: note: candidate expects 1 argument, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:182:3: note: candidate 4: 'boost::asio::basic_readable_pipe<Executor>::basic_readable_pipe(boost::asio::basic_readable_pipe<Executor>&&) [with Executor = boost::asio::any_io_executor]'
182 | basic_readable_pipe(basic_readable_pipe&& other)
| ^~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:182:3: note: candidate expects 1 argument, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:134:3: note: candidate 5: 'boost::asio::basic_readable_pipe<Executor>::basic_readable_pipe(const executor_type&, const native_handle_type&) [with Executor = boost::asio::any_io_executor; executor_type = boost::asio::any_io_executor; native_handle_type = int]'
134 | basic_readable_pipe(const executor_type& ex,
| ^~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:134:3: note: candidate expects 2 arguments, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:98:12: note: candidate 6: 'boost::asio::basic_readable_pipe<Executor>::basic_readable_pipe(const executor_type&) [with Executor = boost::asio::any_io_executor; executor_type = boost::asio::any_io_executor]'
98 | explicit basic_readable_pipe(const executor_type& ex)
| ^~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:98:12: note: candidate expects 1 argument, 0 provided
../server/streamreader/stream_control.cpp:134:85: error: no matching function for call to 'boost::asio::basic_readable_pipe<>::basic_readable_pipe()'
134 | : StreamControl(executor), script_(std::move(script)), params_(std::move(params))
| ^
../server/streamreader/stream_control.cpp:134:85: note: there are 6 candidates
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:220:3: note: candidate 1: 'template<class Executor1> boost::asio::basic_readable_pipe<Executor>::basic_readable_pipe(boost::asio::basic_readable_pipe<Executor1>&&, boost::asio::constraint_t<((bool)std::is_convertible<_U1, _T1>::value), boost::asio::defaulted_constraint>) [with Executor = boost::asio::any_io_executor]'
220 | basic_readable_pipe(basic_readable_pipe<Executor1>&& other,
| ^~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:220:3: note: candidate expects 1 argument, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:158:3: note: candidate 2: 'template<class ExecutionContext> boost::asio::basic_readable_pipe<Executor>::basic_readable_pipe(ExecutionContext&, const native_handle_type&, boost::asio::constraint_t<((bool)std::is_convertible<ExecutionContext&, boost::asio::execution_context&>::value)>) [with Executor = boost::asio::any_io_executor]'
158 | basic_readable_pipe(ExecutionContext& context,
| ^~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:158:3: note: candidate expects 2 arguments, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:112:12: note: candidate 3: 'template<class ExecutionContext> boost::asio::basic_readable_pipe<Executor>::basic_readable_pipe(ExecutionContext&, boost::asio::constraint_t<((bool)std::is_convertible<ExecutionContext&, boost::asio::execution_context&>::value), boost::asio::defaulted_constraint>) [with Executor = boost::asio::any_io_executor]'
112 | explicit basic_readable_pipe(ExecutionContext& context,
| ^~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:112:12: note: candidate expects 1 argument, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:182:3: note: candidate 4: 'boost::asio::basic_readable_pipe<Executor>::basic_readable_pipe(boost::asio::basic_readable_pipe<Executor>&&) [with Executor = boost::asio::any_io_executor]'
182 | basic_readable_pipe(basic_readable_pipe&& other)
| ^~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:182:3: note: candidate expects 1 argument, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:134:3: note: candidate 5: 'boost::asio::basic_readable_pipe<Executor>::basic_readable_pipe(const executor_type&, const native_handle_type&) [with Executor = boost::asio::any_io_executor; executor_type = boost::asio::any_io_executor; native_handle_type = int]'
134 | basic_readable_pipe(const executor_type& ex,
| ^~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:134:3: note: candidate expects 2 arguments, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:98:12: note: candidate 6: 'boost::asio::basic_readable_pipe<Executor>::basic_readable_pipe(const executor_type&) [with Executor = boost::asio::any_io_executor; executor_type = boost::asio::any_io_executor]'
98 | explicit basic_readable_pipe(const executor_type& ex)
| ^~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:98:12: note: candidate expects 1 argument, 0 provided
../server/streamreader/stream_control.cpp:134:85: error: no matching function for call to 'boost::asio::basic_writable_pipe<>::basic_writable_pipe()'
134 | : StreamControl(executor), script_(std::move(script)), params_(std::move(params))
| ^
../server/streamreader/stream_control.cpp:134:85: note: there are 6 candidates
In file included from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio.hpp:50:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_writable_pipe.hpp:220:3: note: candidate 1: 'template<class Executor1> boost::asio::basic_writable_pipe<Executor>::basic_writable_pipe(boost::asio::basic_writable_pipe<Executor1>&&, boost::asio::constraint_t<((bool)std::is_convertible<_U1, _T1>::value), boost::asio::defaulted_constraint>) [with Executor = boost::asio::any_io_executor]'
220 | basic_writable_pipe(basic_writable_pipe<Executor1>&& other,
| ^~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_writable_pipe.hpp:220:3: note: candidate expects 1 argument, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_writable_pipe.hpp:158:3: note: candidate 2: 'template<class ExecutionContext> boost::asio::basic_writable_pipe<Executor>::basic_writable_pipe(ExecutionContext&, const native_handle_type&, boost::asio::constraint_t<((bool)std::is_convertible<ExecutionContext&, boost::asio::execution_context&>::value)>) [with Executor = boost::asio::any_io_executor]'
158 | basic_writable_pipe(ExecutionContext& context,
| ^~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_writable_pipe.hpp:158:3: note: candidate expects 2 arguments, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_writable_pipe.hpp:112:12: note: candidate 3: 'template<class ExecutionContext> boost::asio::basic_writable_pipe<Executor>::basic_writable_pipe(ExecutionContext&, boost::asio::constraint_t<((bool)std::is_convertible<ExecutionContext&, boost::asio::execution_context&>::value), boost::asio::defaulted_constraint>) [with Executor = boost::asio::any_io_executor]'
112 | explicit basic_writable_pipe(ExecutionContext& context,
| ^~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_writable_pipe.hpp:112:12: note: candidate expects 1 argument, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_writable_pipe.hpp:182:3: note: candidate 4: 'boost::asio::basic_writable_pipe<Executor>::basic_writable_pipe(boost::asio::basic_writable_pipe<Executor>&&) [with Executor = boost::asio::any_io_executor]'
182 | basic_writable_pipe(basic_writable_pipe&& other)
| ^~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_writable_pipe.hpp:182:3: note: candidate expects 1 argument, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_writable_pipe.hpp:134:3: note: candidate 5: 'boost::asio::basic_writable_pipe<Executor>::basic_writable_pipe(const executor_type&, const native_handle_type&) [with Executor = boost::asio::any_io_executor; executor_type = boost::asio::any_io_executor; native_handle_type = int]'
134 | basic_writable_pipe(const executor_type& ex,
| ^~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_writable_pipe.hpp:134:3: note: candidate expects 2 arguments, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_writable_pipe.hpp:98:12: note: candidate 6: 'boost::asio::basic_writable_pipe<Executor>::basic_writable_pipe(const executor_type&) [with Executor = boost::asio::any_io_executor; executor_type = boost::asio::any_io_executor]'
98 | explicit basic_writable_pipe(const executor_type& ex)
| ^~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_writable_pipe.hpp:98:12: note: candidate expects 1 argument, 0 provided
In file included from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/default_launcher.hpp:22,
from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/bind_launcher.hpp:15,
from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/bind_launcher.hpp:1,
from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process.hpp:15:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/posix/default_launcher.hpp: In instantiation of 'const char* const* boost::process::v2::posix::default_launcher::build_argv_(const boost::filesystem::path&, const Args&, typename std::enable_if<(! std::is_convertible<decltype (* std::begin(declval<Args>())), boost::process::v2::basic_cstring_ref<char> >::value)>::type*) [with Args = std::__cxx11::basic_string<char>; typename std::enable_if<(! std::is_convertible<decltype (* std::begin(declval<Args>())), boost::process::v2::basic_cstring_ref<char> >::value)>::type = void; decltype (* std::begin(declval<Args>())) = const char&]':
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/posix/default_launcher.hpp:334:38: required from 'boost::process::v2::basic_process<Executor> boost::process::v2::posix::default_launcher::operator()(Executor, boost::system::error_code&, const typename std::enable_if<(boost::asio::execution::is_executor<T>::value || boost::asio::is_executor<Executor>::value), boost::filesystem::path>::type&, Args&&, Inits&& ...) [with Executor = boost::asio::any_io_executor; Args = std::__cxx11::basic_string<char>; Inits = {boost::process::v2::process_stdio}; typename std::enable_if<(boost::asio::execution::is_executor<T>::value || boost::asio::is_executor<Executor>::value), boost::filesystem::path>::type = boost::filesystem::path]'
334 | auto argv = this->build_argv_(executable, std::forward<Args>(args));
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/posix/default_launcher.hpp:316:29: required from 'boost::process::v2::basic_process<Executor> boost::process::v2::posix::default_launcher::operator()(Executor, const typename std::enable_if<(boost::asio::execution::is_executor<T>::value || boost::asio::is_executor<Executor>::value), boost::filesystem::path>::type&, Args&&, Inits&& ...) [with Executor = boost::asio::any_io_executor; Args = std::__cxx11::basic_string<char>; Inits = {boost::process::v2::process_stdio}; typename std::enable_if<(boost::asio::execution::is_executor<T>::value || boost::asio::is_executor<Executor>::value), boost::filesystem::path>::type = boost::filesystem::path]'
316 | auto proc = (*this)(std::move(exec), ec, executable, std::forward<Args>(args), std::forward<Inits>(inits)...);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/process.hpp:131:49: required from 'boost::process::v2::basic_process<Executor>::basic_process(ExecutionContext&, typename std::enable_if<std::is_convertible<ExecutionContext&, boost::asio::execution_context&>::value, const boost::filesystem::path&>::type, Args&&, Inits&& ...) [with ExecutionContext = boost::asio::io_context; Args = std::__cxx11::basic_string<char>; Inits = {boost::process::v2::process_stdio}; Executor = boost::asio::any_io_executor; typename std::enable_if<std::is_convertible<ExecutionContext&, boost::asio::execution_context&>::value, const boost::filesystem::path&>::type = const boost::filesystem::path&]'
131 | : basic_process(default_process_launcher()(executor_type(context.get_executor()),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | exe, std::forward<Args>(args), std::forward<Inits>(inits)...))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../server/streamreader/stream_control.cpp:165:117: required from here
165 | process_ = bp::process(io_context, script_, params.str(), bp::process_stdio{in_, pipe_stdout_, pipe_stderr_});
| ^
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/posix/default_launcher.hpp:485:86: error: subscripted value is neither array nor pointer
485 | using char_type = typename decay<decltype((*std::begin(std::declval<Args>()))[0])>::type;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/posix/default_launcher.hpp:485:86: error: subscripted value is neither array nor pointer
[3/5] Building CXX object server/CMakeFiles/snapserver.dir/streamreader/process_stream.cpp.o
FAILED: server/CMakeFiles/snapserver.dir/streamreader/process_stream.cpp.o
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-g++ -DBOOST_ASIO_NO_TS_EXECUTORS -DBOOST_ERROR_CODE_HEADER_ONLY -DHAS_ALSA -DHAS_AVAHI -DHAS_DAEMON -DHAS_EXPAT -DHAS_FLAC -DHAS_OGG -DHAS_OPUS -DHAS_PULSE -DHAS_SOXR -DHAS_VORBIS -DHAS_VORBIS_ENC -DVERSION=\"0.31.0\" -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/snapcast-0.31.0 -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/snapcast-0.31.0/include -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/snapcast-0.31.0/server -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/dbus-1.0 -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/lib/dbus-1.0/include -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/opus -march=x86-64-v3 -Wall -pipe -O2 -fomit-frame-pointer -DNDEBUG -pthread -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/install_pkg/aixlog-1.5.0/usr/include -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/install_pkg/asio-1.34.2/usr/include -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/install_pkg/popl-1.3.0/usr/include -std=gnu++17 -Wall -Wextra -pedantic -Wno-unused-function -MD -MT server/CMakeFiles/snapserver.dir/streamreader/process_stream.cpp.o -MF server/CMakeFiles/snapserver.dir/streamreader/process_stream.cpp.o.d -o server/CMakeFiles/snapserver.dir/streamreader/process_stream.cpp.o -c /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/snapcast-0.31.0/server/streamreader/process_stream.cpp
../server/streamreader/process_stream.cpp: In constructor 'streamreader::ProcessStream::ProcessStream(streamreader::PcmStream::Listener*, boost::asio::io_context&, const ServerSettings&, const streamreader::StreamUri&)':
../server/streamreader/process_stream.cpp:42:75: error: no matching function for call to 'boost::asio::basic_readable_pipe<>::basic_readable_pipe()'
42 | : AsioStream<stream_descriptor>(pcmListener, ioc, server_settings, uri)
| ^
../server/streamreader/process_stream.cpp:42:75: note: there are 6 candidates
In file included from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio.hpp:38,
from ../server/streamreader/stream_control.hpp:27,
from ../server/streamreader/pcm_stream.hpp:31,
from ../server/streamreader/asio_stream.hpp:25,
from ../server/streamreader/process_stream.hpp:23,
from ../server/streamreader/process_stream.cpp:21:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:220:3: note: candidate 1: 'template<class Executor1> boost::asio::basic_readable_pipe<Executor>::basic_readable_pipe(boost::asio::basic_readable_pipe<Executor1>&&, boost::asio::constraint_t<((bool)std::is_convertible<_U1, _T1>::value), boost::asio::defaulted_constraint>) [with Executor = boost::asio::any_io_executor]'
220 | basic_readable_pipe(basic_readable_pipe<Executor1>&& other,
| ^~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:220:3: note: candidate expects 1 argument, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:158:3: note: candidate 2: 'template<class ExecutionContext> boost::asio::basic_readable_pipe<Executor>::basic_readable_pipe(ExecutionContext&, const native_handle_type&, boost::asio::constraint_t<((bool)std::is_convertible<ExecutionContext&, boost::asio::execution_context&>::value)>) [with Executor = boost::asio::any_io_executor]'
158 | basic_readable_pipe(ExecutionContext& context,
| ^~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:158:3: note: candidate expects 2 arguments, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:112:12: note: candidate 3: 'template<class ExecutionContext> boost::asio::basic_readable_pipe<Executor>::basic_readable_pipe(ExecutionContext&, boost::asio::constraint_t<((bool)std::is_convertible<ExecutionContext&, boost::asio::execution_context&>::value), boost::asio::defaulted_constraint>) [with Executor = boost::asio::any_io_executor]'
112 | explicit basic_readable_pipe(ExecutionContext& context,
| ^~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:112:12: note: candidate expects 1 argument, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:182:3: note: candidate 4: 'boost::asio::basic_readable_pipe<Executor>::basic_readable_pipe(boost::asio::basic_readable_pipe<Executor>&&) [with Executor = boost::asio::any_io_executor]'
182 | basic_readable_pipe(basic_readable_pipe&& other)
| ^~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:182:3: note: candidate expects 1 argument, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:134:3: note: candidate 5: 'boost::asio::basic_readable_pipe<Executor>::basic_readable_pipe(const executor_type&, const native_handle_type&) [with Executor = boost::asio::any_io_executor; executor_type = boost::asio::any_io_executor; native_handle_type = int]'
134 | basic_readable_pipe(const executor_type& ex,
| ^~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:134:3: note: candidate expects 2 arguments, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:98:12: note: candidate 6: 'boost::asio::basic_readable_pipe<Executor>::basic_readable_pipe(const executor_type&) [with Executor = boost::asio::any_io_executor; executor_type = boost::asio::any_io_executor]'
98 | explicit basic_readable_pipe(const executor_type& ex)
| ^~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:98:12: note: candidate expects 1 argument, 0 provided
../server/streamreader/process_stream.cpp:42:75: error: no matching function for call to 'boost::asio::basic_readable_pipe<>::basic_readable_pipe()'
42 | : AsioStream<stream_descriptor>(pcmListener, ioc, server_settings, uri)
| ^
../server/streamreader/process_stream.cpp:42:75: note: there are 6 candidates
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:220:3: note: candidate 1: 'template<class Executor1> boost::asio::basic_readable_pipe<Executor>::basic_readable_pipe(boost::asio::basic_readable_pipe<Executor1>&&, boost::asio::constraint_t<((bool)std::is_convertible<_U1, _T1>::value), boost::asio::defaulted_constraint>) [with Executor = boost::asio::any_io_executor]'
220 | basic_readable_pipe(basic_readable_pipe<Executor1>&& other,
| ^~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:220:3: note: candidate expects 1 argument, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:158:3: note: candidate 2: 'template<class ExecutionContext> boost::asio::basic_readable_pipe<Executor>::basic_readable_pipe(ExecutionContext&, const native_handle_type&, boost::asio::constraint_t<((bool)std::is_convertible<ExecutionContext&, boost::asio::execution_context&>::value)>) [with Executor = boost::asio::any_io_executor]'
158 | basic_readable_pipe(ExecutionContext& context,
| ^~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:158:3: note: candidate expects 2 arguments, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:112:12: note: candidate 3: 'template<class ExecutionContext> boost::asio::basic_readable_pipe<Executor>::basic_readable_pipe(ExecutionContext&, boost::asio::constraint_t<((bool)std::is_convertible<ExecutionContext&, boost::asio::execution_context&>::value), boost::asio::defaulted_constraint>) [with Executor = boost::asio::any_io_executor]'
112 | explicit basic_readable_pipe(ExecutionContext& context,
| ^~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:112:12: note: candidate expects 1 argument, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:182:3: note: candidate 4: 'boost::asio::basic_readable_pipe<Executor>::basic_readable_pipe(boost::asio::basic_readable_pipe<Executor>&&) [with Executor = boost::asio::any_io_executor]'
182 | basic_readable_pipe(basic_readable_pipe&& other)
| ^~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:182:3: note: candidate expects 1 argument, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:134:3: note: candidate 5: 'boost::asio::basic_readable_pipe<Executor>::basic_readable_pipe(const executor_type&, const native_handle_type&) [with Executor = boost::asio::any_io_executor; executor_type = boost::asio::any_io_executor; native_handle_type = int]'
134 | basic_readable_pipe(const executor_type& ex,
| ^~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:134:3: note: candidate expects 2 arguments, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:98:12: note: candidate 6: 'boost::asio::basic_readable_pipe<Executor>::basic_readable_pipe(const executor_type&) [with Executor = boost::asio::any_io_executor; executor_type = boost::asio::any_io_executor]'
98 | explicit basic_readable_pipe(const executor_type& ex)
| ^~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/asio/basic_readable_pipe.hpp:98:12: note: candidate expects 1 argument, 0 provided
../server/streamreader/process_stream.cpp:42:75: error: use of deleted function 'boost::process::v2::basic_process<Executor>::basic_process() [with Executor = boost::asio::any_io_executor]'
42 | : AsioStream<stream_descriptor>(pcmListener, ioc, server_settings, uri)
| ^
In file included from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/execute.hpp:8,
from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/execute.hpp:1,
from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process.hpp:19,
from ../server/streamreader/stream_control.hpp:28:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/process.hpp:67:3: note: 'boost::process::v2::basic_process<Executor>::basic_process() [with Executor = boost::asio::any_io_executor]' is implicitly deleted because the default definition would be ill-formed:
67 | basic_process() = default;
| ^~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/process.hpp: At global scope:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/process.hpp:67:3: error: no matching function for call to 'boost::process::v2::detail::basic_process_handle_fd<boost::asio::any_io_executor>::basic_process_handle_fd()'
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/process.hpp:67:3: note: there are 6 candidates
In file included from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/process_handle.hpp:15,
from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/ext/exe.hpp:12,
from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/process.hpp:18:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:86:5: note: candidate 1: 'template<class Executor1> boost::process::v2::detail::basic_process_handle_fd<Executor>::basic_process_handle_fd(boost::process::v2::detail::basic_process_handle_fd<Executor1>&&) [with Executor = boost::asio::any_io_executor]'
86 | basic_process_handle_fd(basic_process_handle_fd<Executor1> &&handle)
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:86:5: note: candidate expects 1 argument, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:56:5: note: candidate 2: 'template<class ExecutionContext> boost::process::v2::detail::basic_process_handle_fd<Executor>::basic_process_handle_fd(ExecutionContext&, typename std::enable_if<std::is_convertible<ExecutionContext&, boost::asio::execution_context&>::value>::type*) [with Executor = boost::asio::any_io_executor]'
56 | basic_process_handle_fd(ExecutionContext &context,
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:56:5: note: candidate expects 1 argument, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:79:5: note: candidate 3: 'boost::process::v2::detail::basic_process_handle_fd<Executor>::basic_process_handle_fd(boost::process::v2::detail::basic_process_handle_fd<Executor>&&) [with Executor = boost::asio::any_io_executor]'
79 | basic_process_handle_fd(basic_process_handle_fd &&handle)
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:79:5: note: candidate expects 1 argument, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:74:5: note: candidate 4: 'boost::process::v2::detail::basic_process_handle_fd<Executor>::basic_process_handle_fd(executor_type, boost::process::v2::pid_type, native_handle_type) [with Executor = boost::asio::any_io_executor; executor_type = boost::asio::any_io_executor; boost::process::v2::pid_type = int; native_handle_type = int]'
74 | basic_process_handle_fd(executor_type executor, pid_type pid, native_handle_type process_handle)
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:74:5: note: candidate expects 3 arguments, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:69:5: note: candidate 5: 'boost::process::v2::detail::basic_process_handle_fd<Executor>::basic_process_handle_fd(executor_type, boost::process::v2::pid_type) [with Executor = boost::asio::any_io_executor; executor_type = boost::asio::any_io_executor; boost::process::v2::pid_type = int]'
69 | basic_process_handle_fd(executor_type executor, pid_type pid)
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:69:5: note: candidate expects 2 arguments, 0 provided
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:64:5: note: candidate 6: 'boost::process::v2::detail::basic_process_handle_fd<Executor>::basic_process_handle_fd(executor_type) [with Executor = boost::asio::any_io_executor; executor_type = boost::asio::any_io_executor]'
64 | basic_process_handle_fd(executor_type executor)
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/boost/process/v2/detail/process_handle_fd.hpp:64:5: note: candidate expects 1 argument, 0 provided
../server/streamreader/process_stream.cpp: In constructor 'streamreader::ProcessStream::ProcessStream(streamreader::PcmStream::Listener*, boost::asio::io_context&, const ServerSettings&, const streamreader::StreamUri&)':
../server/streamreader/process_stream.cpp:42:75: note: use '-fdiagnostics-all-candidates' to display considered candidates
42 | : AsioStream<stream_descriptor>(pcmListener, ioc, server_settings, uri)
| ^
../server/streamreader/process_stream.cpp: In member function 'virtual void streamreader::ProcessStream::connect()':
../server/streamreader/process_stream.cpp:113:82: error: 'in_' was not declared in this scope; did you mean 'int'?
113 | process_ = bp::process(io_context, path_ + exe_, params_, bp::process_stdio{ in_, pipe_stdout_, pipe_stderr_}, bp::process_start_dir(path_));
| ^~~
| int
ninja: build stopped: subcommand failed.
Fixed in Snapcast v0.32.0