>>> usbguard 1.0.0 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/tmp/instance-1/output-1/build/.usbguard-1.0.0.tar.gz.SNQtqg/output' 'https://github.com/USBGuard/usbguard/releases/download/usbguard-1.0.0/usbguard-1.0.0.tar.gz' --2021-07-08 14:31:18-- https://github.com/USBGuard/usbguard/releases/download/usbguard-1.0.0/usbguard-1.0.0.tar.gz Resolving github.com (github.com)... 140.82.112.4 Connecting to github.com (github.com)|140.82.112.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://github-releases.githubusercontent.com/32459566/716b4480-55bc-11eb-9145-52a9b72b8b83?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210708%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210708T203118Z&X-Amz-Expires=300&X-Amz-Signature=77f4620135b4065dbd252dc02d106109a996395e2fb55094e3fa71fc009041cc&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=32459566&response-content-disposition=attachment%3B%20filename%3Dusbguard-1.0.0.tar.gz&response-content-type=application%2Foctet-stream [following] --2021-07-08 14:31:18-- https://github-releases.githubusercontent.com/32459566/716b4480-55bc-11eb-9145-52a9b72b8b83?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210708%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210708T203118Z&X-Amz-Expires=300&X-Amz-Signature=77f4620135b4065dbd252dc02d106109a996395e2fb55094e3fa71fc009041cc&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=32459566&response-content-disposition=attachment%3B%20filename%3Dusbguard-1.0.0.tar.gz&response-content-type=application%2Foctet-stream Resolving github-releases.githubusercontent.com (github-releases.githubusercontent.com)... 185.199.111.154, 185.199.108.154, 185.199.110.154, ... Connecting to github-releases.githubusercontent.com (github-releases.githubusercontent.com)|185.199.111.154|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1260374 (1.2M) [application/octet-stream] Saving to: '/tmp/instance-1/output-1/build/.usbguard-1.0.0.tar.gz.SNQtqg/output' 0K .......... .......... .......... .......... .......... 4% 15.1M 0s 50K .......... .......... .......... .......... .......... 8% 28.9M 0s 100K .......... .......... .......... .......... .......... 12% 24.6M 0s 150K .......... .......... .......... .......... .......... 16% 57.7M 0s 200K .......... .......... .......... .......... .......... 20% 86.5M 0s 250K .......... .......... .......... .......... .......... 24% 38.7M 0s 300K .......... .......... .......... .......... .......... 28% 85.2M 0s 350K .......... .......... .......... .......... .......... 32% 87.0M 0s 400K .......... .......... .......... .......... .......... 36% 44.9M 0s 450K .......... .......... .......... .......... .......... 40% 88.3M 0s 500K .......... .......... .......... .......... .......... 44% 87.5M 0s 550K .......... .......... .......... .......... .......... 48% 132M 0s 600K .......... .......... .......... .......... .......... 52% 114M 0s 650K .......... .......... .......... .......... .......... 56% 86.1M 0s 700K .......... .......... .......... .......... .......... 60% 70.6M 0s 750K .......... .......... .......... .......... .......... 64% 11.2M 0s 800K .......... .......... .......... .......... .......... 69% 390M 0s 850K .......... .......... .......... .......... .......... 73% 274M 0s 900K .......... .......... .......... .......... .......... 77% 388M 0s 950K .......... .......... .......... .......... .......... 81% 422M 0s 1000K .......... .......... .......... .......... .......... 85% 431M 0s 1050K .......... .......... .......... .......... .......... 89% 431M 0s 1100K .......... .......... .......... .......... .......... 93% 359M 0s 1150K .......... .......... .......... .......... .......... 97% 26.5M 0s 1200K .......... .......... .......... 100% 203M=0.02s 2021-07-08 14:31:18 (54.1 MB/s) - '/tmp/instance-1/output-1/build/.usbguard-1.0.0.tar.gz.SNQtqg/output' saved [1260374/1260374] usbguard-1.0.0.tar.gz: OK (sha256: 5617986cd5dd1a2d311041648a1977d836cf4e33a4121d7f82599f21496abc42) >>> usbguard 1.0.0 Extracting gzip -d -c /tmp/instance-1/dl/usbguard/usbguard-1.0.0.tar.gz | tar --strip-components=1 -C /tmp/instance-1/output-1/build/usbguard-1.0.0 -xf - >>> usbguard 1.0.0 Patching >>> usbguard 1.0.0 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /tmp/instance-1/output-1/build/usbguard-1.0.0 -name $file); do cp support/gnuconfig/$file $i; done; done >>> usbguard 1.0.0 Patching libtool patching file /tmp/instance-1/output-1/build/usbguard-1.0.0/config/ltmain.sh Hunk #1 succeeded at 2694 (offset 7 lines). Hunk #2 succeeded at 4284 (offset 7 lines). Hunk #3 succeeded at 6579 (offset 25 lines). Hunk #4 succeeded at 6589 (offset 25 lines). Hunk #5 succeeded at 6882 (offset 25 lines). Hunk #6 succeeded at 7174 (offset 25 lines). Hunk #7 succeeded at 8142 (offset 30 lines). Hunk #8 succeeded at 10771 (offset 61 lines). >>> usbguard 1.0.0 Configuring (cd /tmp/instance-1/output-1/build/usbguard-1.0.0/ && rm -rf config.cache && PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/tmp/instance-1/output-1/host/bin/arm-linux-ar" AS="/tmp/instance-1/output-1/host/bin/arm-linux-as" LD="/tmp/instance-1/output-1/host/bin/arm-linux-ld" NM="/tmp/instance-1/output-1/host/bin/arm-linux-nm" CC="/tmp/instance-1/output-1/host/bin/arm-linux-gcc" GCC="/tmp/instance-1/output-1/host/bin/arm-linux-gcc" CPP="/tmp/instance-1/output-1/host/bin/arm-linux-cpp" CXX="/tmp/instance-1/output-1/host/bin/arm-linux-g++" FC="/tmp/instance-1/output-1/host/bin/arm-linux-gfortran" F77="/tmp/instance-1/output-1/host/bin/arm-linux-gfortran" RANLIB="/tmp/instance-1/output-1/host/bin/arm-linux-ranlib" READELF="/tmp/instance-1/output-1/host/bin/arm-linux-readelf" STRIP="/tmp/instance-1/output-1/host/bin/arm-linux-strip" OBJCOPY="/tmp/instance-1/output-1/host/bin/arm-linux-objcopy" OBJDUMP="/tmp/instance-1/output-1/host/bin/arm-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/tmp/instance-1/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/tmp/instance-1/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/tmp/instance-1/output-1/host/include" LDFLAGS_FOR_BUILD="-L/tmp/instance-1/output-1/host/lib -Wl,-rpath,/tmp/instance-1/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/tmp/instance-1/output-1/host/bin/arm-linux-as" DEFAULT_LINKER="/tmp/instance-1/output-1/host/bin/arm-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 " LDFLAGS="" FCFLAGS=" -Os -g0" FFLAGS=" -Os -g0" PKG_CONFIG="/tmp/instance-1/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-1/output-1/host/arm-buildroot-linux-musleabihf/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no CONFIG_SITE=/dev/null ./configure --target=arm-buildroot-linux-musleabihf --host=arm-buildroot-linux-musleabihf --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --enable-nls --disable-static --enable-shared --with-bundled-catch --with-bundled-pegtl --disable-debug-build --without-dbus --without-polkit --disable-umockdev --with-crypto-library=openssl --disable-systemd --disable-seccomp ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --enable-nls checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arm-buildroot-linux-musleabihf-strip... /tmp/instance-1/output-1/host/bin/arm-linux-strip checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking whether make supports nested variables... (cached) yes checking whether make supports the include directive... yes (GNU style) checking for arm-buildroot-linux-musleabihf-gcc... /tmp/instance-1/output-1/host/bin/arm-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /tmp/instance-1/output-1/host/bin/arm-linux-gcc accepts -g... yes checking for /tmp/instance-1/output-1/host/bin/arm-linux-gcc option to accept ISO C89... none needed checking whether /tmp/instance-1/output-1/host/bin/arm-linux-gcc understands -c and -o together... yes checking dependency style of /tmp/instance-1/output-1/host/bin/arm-linux-gcc... none checking whether C compiler accepts -Wno-implicit-fallthrough... yes checking whether we are using the GNU C++ compiler... yes checking whether /tmp/instance-1/output-1/host/bin/arm-linux-g++ accepts -g... yes checking dependency style of /tmp/instance-1/output-1/host/bin/arm-linux-g++... none checking for /tmp/instance-1/output-1/host/bin/arm-linux-gcc option to accept ISO C99... none needed checking whether make sets $(MAKE)... (cached) yes checking build system type... x86_64-pc-linux-gnu checking host system type... arm-buildroot-linux-musleabihf checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by /tmp/instance-1/output-1/host/bin/arm-linux-gcc... /tmp/instance-1/output-1/host/bin/arm-linux-ld checking if the linker (/tmp/instance-1/output-1/host/bin/arm-linux-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /tmp/instance-1/output-1/host/bin/arm-linux-nm checking the name lister (/tmp/instance-1/output-1/host/bin/arm-linux-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to arm-buildroot-linux-musleabihf format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /tmp/instance-1/output-1/host/bin/arm-linux-ld option to reload object files... -r checking for arm-buildroot-linux-musleabihf-objdump... /tmp/instance-1/output-1/host/bin/arm-linux-objdump checking how to recognize dependent libraries... pass_all checking for arm-buildroot-linux-musleabihf-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for arm-buildroot-linux-musleabihf-ar... /tmp/instance-1/output-1/host/bin/arm-linux-ar checking for archiver @FILE support... @ checking for arm-buildroot-linux-musleabihf-strip... (cached) /tmp/instance-1/output-1/host/bin/arm-linux-strip checking for arm-buildroot-linux-musleabihf-ranlib... /tmp/instance-1/output-1/host/bin/arm-linux-ranlib checking command to parse /tmp/instance-1/output-1/host/bin/arm-linux-nm output from /tmp/instance-1/output-1/host/bin/arm-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for arm-buildroot-linux-musleabihf-mt... no checking for mt... mt configure: WARNING: using cross tools not prefixed with host triplet checking if mt is a manifest tool... no checking how to run the C preprocessor... /tmp/instance-1/output-1/host/bin/arm-linux-cpp checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if /tmp/instance-1/output-1/host/bin/arm-linux-gcc supports -fno-rtti -fno-exceptions... no checking for /tmp/instance-1/output-1/host/bin/arm-linux-gcc option to produce PIC... -fPIC -DPIC checking if /tmp/instance-1/output-1/host/bin/arm-linux-gcc PIC flag -fPIC -DPIC works... yes checking if /tmp/instance-1/output-1/host/bin/arm-linux-gcc static flag -static works... yes checking if /tmp/instance-1/output-1/host/bin/arm-linux-gcc supports -c -o file.o... yes checking if /tmp/instance-1/output-1/host/bin/arm-linux-gcc supports -c -o file.o... (cached) yes checking whether the /tmp/instance-1/output-1/host/bin/arm-linux-gcc linker (/tmp/instance-1/output-1/host/bin/arm-linux-ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... /tmp/instance-1/output-1/host/bin/arm-linux-g++ -E checking for ld used by /tmp/instance-1/output-1/host/bin/arm-linux-g++... /tmp/instance-1/output-1/host/bin/arm-linux-ld checking if the linker (/tmp/instance-1/output-1/host/bin/arm-linux-ld) is GNU ld... yes checking whether the /tmp/instance-1/output-1/host/bin/arm-linux-g++ linker (/tmp/instance-1/output-1/host/bin/arm-linux-ld) supports shared libraries... yes checking for /tmp/instance-1/output-1/host/bin/arm-linux-g++ option to produce PIC... -fPIC -DPIC checking if /tmp/instance-1/output-1/host/bin/arm-linux-g++ PIC flag -fPIC -DPIC works... yes checking if /tmp/instance-1/output-1/host/bin/arm-linux-g++ static flag -static works... yes checking if /tmp/instance-1/output-1/host/bin/arm-linux-g++ supports -c -o file.o... yes checking if /tmp/instance-1/output-1/host/bin/arm-linux-g++ supports -c -o file.o... (cached) yes checking whether the /tmp/instance-1/output-1/host/bin/arm-linux-g++ linker (/tmp/instance-1/output-1/host/bin/arm-linux-ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for __atomic_add_fetch_8 in -latomic... yes checking whether /tmp/instance-1/output-1/host/bin/arm-linux-gcc is Clang... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for NETLINK_KOBJECT_UEVENT definition... yes checking pkg-config is at least version 0.9.0... yes checking for qb... yes checking for sodium... no checking for libcrypto... yes checking for arm-buildroot-linux-musleabihf-libgcrypt-config... no checking for libgcrypt-config... no checking for LIBGCRYPT - version >= 1.5.0... no checking for audit... no configure: libaudit development files not found! Linux Audit support wille be turned OFF checking for libcapng... no configure: libcap-ng development files not found! Support for POSIX 1003.1e capabilities will be turned OFF checking for protobuf... yes checking for protoc... protoc configure: Using bundled Catch library configure: Using bundled PEGTL library checking tao/pegtl.hpp usability... yes checking tao/pegtl.hpp presence... yes checking for tao/pegtl.hpp... yes checking for a2x... no configure: WARNING: Unable to find documentation generator (asciidoc / a2x). Documentation will not be generated. checking for aspell... aspell checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking limits.hi usability... no checking limits.hi presence... no checking for limits.hi... no checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking ext/stdio_filebuf.h usability... yes checking ext/stdio_filebuf.h presence... yes checking for ext/stdio_filebuf.h... yes checking for stdbool.h that conforms to C99... no checking for _Bool... no checking for inline... inline checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for int8_t... yes checking for pid_t... yes checking for size_t... (cached) yes checking for ssize_t... yes checking for uid_t in sys/types.h... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... cross configure: WARNING: result yes guessed because of cross compilation checking for working vfork... (cached) yes checking whether lstat correctly handles trailing slash... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... (cached) yes checking for dup2... yes checking for gettimeofday... yes checking for localtime_r... yes checking for memset... yes checking for mkdir... yes checking for regcomp... yes checking for setlocale... yes checking for strerror... yes checking for strstr... yes checking for BASH_COMPLETION... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libusbguard.pc config.status: creating src/Tests/Fuzzers/Makefile config.status: creating src/Tests/Makefile config.status: creating src/build-config.h.in config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --enable-nls Build Configuration Summary =================================== Run full test suite: no ## Libraries libqb: system-wide; -pthread -L/tmp/instance-1/output-1/host/bin/../arm-buildroot-linux-musleabihf/sysroot/usr/lib -lqb crypto: system-wide; -L/tmp/instance-1/output-1/host/bin/../arm-buildroot-linux-musleabihf/sysroot/usr/lib -lcrypto libaudit: not found libldap: None; building without LDAP support libseccomp: not enabled libcap-ng: not found protobuf: system-wide; -pthread -L/tmp/instance-1/output-1/host/bin/../arm-buildroot-linux-musleabihf/sysroot/usr/lib -lprotobuf -lpthread Catch: bundled; -I$(top_srcdir)/src/ThirdParty/Catch/include PEGTL: bundled; -I$(top_srcdir)/src/ThirdParty/PEGTL/include ; version <= 2.6.0: GDBus: None; building without DBus support umockdev: not enabled ## Directories D-Bus System Services: - D-Bus Busconfig: - PolicyKit Policies: - systemd unit dir: - Bash completion dir: ## Compilation Flags Debug Build: no DEFS: -DHAVE_CONFIG_H CXXFLAGS: -std=c++11 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 -Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch -Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers -Wno-implicit-fallthrough CFLAGS: -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 -Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch -Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers -Wno-implicit-fallthrough CPPFLAGS: -DHAVE_BUILD_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 LDFLAGS: ASAN_FLAGS: TSAN_FLAGS: >>> usbguard 1.0.0 Building PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j32 -C /tmp/instance-1/output-1/build/usbguard-1.0.0/ make[1]: Entering directory '/tmp/instance-1/output-1/build/usbguard-1.0.0' Makefile:3494: warning: overriding recipe for target 'check' Makefile:3000: warning: ignoring old recipe for target 'check' /bin/mkdir -p ./src/Library/IPC /bin/mkdir -p ./src/Library/IPC /bin/mkdir -p ./src/Library/IPC /bin/mkdir -p ./src/Library/IPC /bin/mkdir -p ./src/Library/IPC /bin/mkdir -p ./src/Library/IPC protoc --cpp_out=./src/Library/IPC --proto_path=./src/Library/IPC "src/Library/IPC/Message.proto" /bin/sed \ -e "s|[$]{localstatedir}|/var|g" \ -e "s|[$]{exec_prefix}|/usr|g" \ -e "s|[$]{datarootdir}|/usr/share|g" \ -e "s|[$]{datadir}|/usr/share/usbguard|g" \ -e "s|[$]{sysconfdir}|/etc|g" \ -e "s|[$]{prefix}|/usr|g" \ -e "s|[$]{PACKAGE_TARNAME}|usbguard|g" \ src/build-config.h.in > src/build-config.h || rm -f src/build-config.h protoc --cpp_out=./src/Library/IPC --proto_path=./src/Library/IPC "src/Library/IPC/Devices.proto" protoc --cpp_out=./src/Library/IPC --proto_path=./src/Library/IPC "src/Library/IPC/Rule.proto" protoc --cpp_out=./src/Library/IPC --proto_path=./src/Library/IPC "src/Library/IPC/Policy.proto" protoc --cpp_out=./src/Library/IPC --proto_path=./src/Library/IPC "src/Library/IPC/Exception.proto" protoc --cpp_out=./src/Library/IPC --proto_path=./src/Library/IPC "src/Library/IPC/Parameter.proto" [libprotobuf WARNING google/protobuf/compiler/parser.cc:651] No syntax specified for the proto file: Message.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) [libprotobuf WARNING google/protobuf/compiler/parser.cc:651] No syntax specified for the proto file: Rule.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) [libprotobuf WARNING google/protobuf/compiler/parser.cc:651] No syntax specified for the proto file: Devices.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) [libprotobuf WARNING google/protobuf/compiler/parser.cc:651] No syntax specified for the proto file: Message.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) [libprotobuf WARNING google/protobuf/compiler/parser.cc:651] No syntax specified for the proto file: Rule.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) [libprotobuf WARNING google/protobuf/compiler/parser.cc:651] No syntax specified for the proto file: Policy.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) [libprotobuf WARNING google/protobuf/compiler/parser.cc:651] No syntax specified for the proto file: Message.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) [libprotobuf WARNING google/protobuf/compiler/parser.cc:651] No syntax specified for the proto file: Rule.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) [libprotobuf WARNING google/protobuf/compiler/parser.cc:651] No syntax specified for the proto file: Exception.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) [libprotobuf WARNING google/protobuf/compiler/parser.cc:651] No syntax specified for the proto file: Parameter.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) [libprotobuf WARNING google/protobuf/compiler/parser.cc:651] No syntax specified for the proto file: Message.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) sed -i -e '1i#ifndef __clang_analyzer__' -e '$a#endif' "src/Library/IPC/Message.pb.cc" sed -i -e '1i#ifndef __clang_analyzer__' -e '$a#endif' "src/Library/IPC/Rule.pb.cc" sed -i -e '1i#ifndef __clang_analyzer__' -e '$a#endif' "src/Library/IPC/Exception.pb.cc" sed -i -e '1i#ifndef __clang_analyzer__' -e '$a#endif' "src/Library/IPC/Parameter.pb.cc" sed -i -e '1i#ifndef __clang_analyzer__' -e '$a#endif' "src/Library/IPC/Policy.pb.cc" sed -i -e '1i#ifndef __clang_analyzer__' -e '$a#endif' "src/Library/IPC/Devices.pb.cc" /usr/bin/make all-recursive make[2]: Entering directory '/tmp/instance-1/output-1/build/usbguard-1.0.0' Makefile:3494: warning: overriding recipe for target 'check' Makefile:3000: warning: ignoring old recipe for target 'check' Making all in src/Tests/ make[3]: Entering directory '/tmp/instance-1/output-1/build/usbguard-1.0.0/src/Tests' Making all in Fuzzers make[4]: Entering directory '/tmp/instance-1/output-1/build/usbguard-1.0.0/src/Tests/Fuzzers' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/tmp/instance-1/output-1/build/usbguard-1.0.0/src/Tests/Fuzzers' make[4]: Entering directory '/tmp/instance-1/output-1/build/usbguard-1.0.0/src/Tests' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/tmp/instance-1/output-1/build/usbguard-1.0.0/src/Tests' make[3]: Leaving directory '/tmp/instance-1/output-1/build/usbguard-1.0.0/src/Tests' make[3]: Entering directory '/tmp/instance-1/output-1/build/usbguard-1.0.0' Makefile:3494: warning: overriding recipe for target 'check' Makefile:3000: warning: ignoring old recipe for target 'check' CXX src/CLI/usbguard-usbguard-list-devices.o CXX src/CLI/usbguard-usbguard.o CXX src/CLI/usbguard-usbguard-block-device.o CXX src/CLI/usbguard-usbguard-allow-device.o CXX src/CLI/usbguard-usbguard-reject-device.o CXX src/CLI/usbguard-usbguard-apply-device-policy.o CXX src/CLI/usbguard-usbguard-append-rule.o CXX src/CLI/usbguard-usbguard-list-rules.o CXX src/CLI/usbguard-usbguard-remove-rule.o CXX src/CLI/usbguard-usbguard-generate-policy.o CXX src/CLI/usbguard-usbguard-watch.o CXX src/CLI/usbguard-IPCSignalWatcher.o CXX src/CLI/usbguard-PolicyGenerator.o CXX src/CLI/usbguard-usbguard-read-descriptor.o CXX src/CLI/usbguard-usbguard-set-parameter.o CXX src/CLI/usbguard-usbguard-get-parameter.o CXX src/CLI/usbguard-usbguard-add-user.o CXX src/CLI/usbguard-usbguard-remove-user.o CXX src/Library/libusbguard_la-AllowedMatchesCondition.lo CXX src/Common/libusbguard_la-Utility.lo CXX src/Common/libusbguard_la-LDAPUtil.lo CXX src/Library/libusbguard_la-Base64.lo CXX src/Library/libusbguard_la-DeviceBase.lo CXX src/Library/libusbguard_la-ConfigFilePrivate.lo CXX src/Library/libusbguard_la-DeviceManagerBase.lo CXX src/Library/libusbguard_la-DeviceManagerPrivate.lo CXX src/Library/libusbguard_la-DevicePrivate.lo CXX src/Library/libusbguard_la-FixedStateCondition.lo CXX src/Library/libusbguard_la-Hash.lo CXX src/Library/libusbguard_la-IPCClientPrivate.lo CXX src/Library/libusbguard_la-IPCPrivate.lo CXX src/Library/libusbguard_la-IPCServerPrivate.lo In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from src/CLI/PolicyGenerator.hpp:26, from src/CLI/PolicyGenerator.cpp:24: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/RuleCondition.hpp:21, from ./src/Library/public/usbguard/Rule.hpp:23, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from src/CLI/PolicyGenerator.hpp:26, from src/CLI/PolicyGenerator.cpp:24: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from src/CLI/PolicyGenerator.hpp:26, from src/CLI/PolicyGenerator.cpp:24: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/RuleCondition.hpp:21, from ./src/Library/public/usbguard/Rule.hpp:23, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from src/CLI/PolicyGenerator.hpp:26, from src/CLI/PolicyGenerator.cpp:24: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from src/CLI/PolicyGenerator.hpp:26, from src/CLI/PolicyGenerator.cpp:24: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/RuleCondition.hpp:21, from ./src/Library/public/usbguard/Rule.hpp:23, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from src/CLI/PolicyGenerator.hpp:26, from src/CLI/PolicyGenerator.cpp:24: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided In file included from src/Library/IPCServerPrivate.cpp:30: /tmp/instance-1/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from src/CLI/IPCSignalWatcher.hpp:24, from src/CLI/IPCSignalWatcher.cpp:23: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/RuleCondition.hpp:21, from ./src/Library/public/usbguard/Rule.hpp:23, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from src/CLI/IPCSignalWatcher.hpp:24, from src/CLI/IPCSignalWatcher.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from src/CLI/IPCSignalWatcher.hpp:24, from src/CLI/IPCSignalWatcher.cpp:23: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/RuleCondition.hpp:21, from ./src/Library/public/usbguard/Rule.hpp:23, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from src/CLI/IPCSignalWatcher.hpp:24, from src/CLI/IPCSignalWatcher.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from src/CLI/IPCSignalWatcher.hpp:24, from src/CLI/IPCSignalWatcher.cpp:23: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/RuleCondition.hpp:21, from ./src/Library/public/usbguard/Rule.hpp:23, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from src/CLI/IPCSignalWatcher.hpp:24, from src/CLI/IPCSignalWatcher.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided In file included from src/Library/IPCClientPrivate.cpp:33: /tmp/instance-1/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from ./src/Common/Utility.hpp:24, from src/Library/DeviceManagerBase.cpp:23: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Exception.hpp:21, from ./src/Common/Utility.hpp:24, from src/Library/DeviceManagerBase.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: In file included from ./src/Common/Utility.hpp:24, from src/Library/DeviceManagerBase.cpp:23: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Exception.hpp:21, from ./src/Common/Utility.hpp:24, from src/Library/DeviceManagerBase.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: In file included from ./src/Common/Utility.hpp:24, from src/Library/DeviceManagerBase.cpp:23: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Exception.hpp:21, from ./src/Common/Utility.hpp:24, from src/Library/DeviceManagerBase.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided CXX src/Library/libusbguard_la-Init.lo In file included from src/Library/IPCPrivate.hpp:24, from src/Library/IPCPrivate.cpp:23: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Exception.hpp:21, from src/Library/IPCPrivate.hpp:24, from src/Library/IPCPrivate.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: In file included from src/Library/IPCPrivate.hpp:24, from src/Library/IPCPrivate.cpp:23: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Exception.hpp:21, from src/Library/IPCPrivate.hpp:24, from src/Library/IPCPrivate.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: In file included from src/Library/IPCPrivate.hpp:24, from src/Library/IPCPrivate.cpp:23: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Exception.hpp:21, from src/Library/IPCPrivate.hpp:24, from src/Library/IPCPrivate.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided In file included from ./src/Library/public/usbguard/Rule.hpp:24, from src/Library/FixedStateCondition.hpp:25, from src/Library/FixedStateCondition.cpp:23: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from src/Library/FixedStateCondition.hpp:24, from src/Library/FixedStateCondition.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from src/Library/FixedStateCondition.hpp:25, from src/Library/FixedStateCondition.cpp:23: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from src/Library/FixedStateCondition.hpp:24, from src/Library/FixedStateCondition.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ In file included from ./src/Library/public/usbguard/Rule.hpp:24, from src/Library/AllowedMatchesCondition.hpp:26, from src/Library/AllowedMatchesCondition.cpp:23: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/RuleCondition.hpp:21, from src/Library/AllowedMatchesCondition.hpp:24, from src/Library/AllowedMatchesCondition.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ In file included from ./src/Library/public/usbguard/Rule.hpp:24, from src/Library/FixedStateCondition.hpp:25, from src/Library/FixedStateCondition.cpp:23: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from src/Library/AllowedMatchesCondition.hpp:26, from src/Library/AllowedMatchesCondition.cpp:23: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from src/Library/FixedStateCondition.hpp:24, from src/Library/FixedStateCondition.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/RuleCondition.hpp:21, from src/Library/AllowedMatchesCondition.hpp:24, from src/Library/AllowedMatchesCondition.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from src/Library/AllowedMatchesCondition.hpp:26, from src/Library/AllowedMatchesCondition.cpp:23: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/RuleCondition.hpp:21, from src/Library/AllowedMatchesCondition.hpp:24, from src/Library/AllowedMatchesCondition.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from src/Library/DeviceManagerPrivate.hpp:24, from src/Library/DeviceManagerPrivate.cpp:23: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/RuleCondition.hpp:21, from ./src/Library/public/usbguard/Rule.hpp:23, from ./src/Library/public/usbguard/Device.hpp:21, from src/Library/DeviceManagerPrivate.hpp:24, from src/Library/DeviceManagerPrivate.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from src/Library/DeviceManagerPrivate.hpp:24, from src/Library/DeviceManagerPrivate.cpp:23: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/RuleCondition.hpp:21, from ./src/Library/public/usbguard/Rule.hpp:23, from ./src/Library/public/usbguard/Device.hpp:21, from src/Library/DeviceManagerPrivate.hpp:24, from src/Library/DeviceManagerPrivate.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from src/Library/DeviceManagerPrivate.hpp:24, from src/Library/DeviceManagerPrivate.cpp:23: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/RuleCondition.hpp:21, from ./src/Library/public/usbguard/Rule.hpp:23, from ./src/Library/public/usbguard/Device.hpp:21, from src/Library/DeviceManagerPrivate.hpp:24, from src/Library/DeviceManagerPrivate.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from src/Library/DeviceBase.hpp:26, from src/Library/DeviceBase.cpp:23: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from src/Library/UEvent.hpp:24, from src/Library/SysFSDevice.hpp:24, from src/Library/DeviceBase.hpp:24, from src/Library/DeviceBase.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from src/Library/DeviceBase.hpp:26, from src/Library/DeviceBase.cpp:23: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from src/Library/UEvent.hpp:24, from src/Library/SysFSDevice.hpp:24, from src/Library/DeviceBase.hpp:24, from src/Library/DeviceBase.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from src/Library/DeviceBase.hpp:26, from src/Library/DeviceBase.cpp:23: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from src/Library/UEvent.hpp:24, from src/Library/SysFSDevice.hpp:24, from src/Library/DeviceBase.hpp:24, from src/Library/DeviceBase.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided In file included from src/Library/IPCPrivate.hpp:24, from src/Library/IPCServerPrivate.hpp:24, from src/Library/IPCServerPrivate.cpp:23: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Exception.hpp:21, from src/Library/IPCPrivate.hpp:24, from src/Library/IPCServerPrivate.hpp:24, from src/Library/IPCServerPrivate.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: In file included from src/Library/IPCPrivate.hpp:24, from src/Library/IPCServerPrivate.hpp:24, from src/Library/IPCServerPrivate.cpp:23: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Exception.hpp:21, from src/Library/IPCPrivate.hpp:24, from src/Library/IPCServerPrivate.hpp:24, from src/Library/IPCServerPrivate.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: In file included from src/Library/IPCPrivate.hpp:24, from src/Library/IPCServerPrivate.hpp:24, from src/Library/IPCServerPrivate.cpp:23: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Exception.hpp:21, from src/Library/IPCPrivate.hpp:24, from src/Library/IPCServerPrivate.hpp:24, from src/Library/IPCServerPrivate.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided In file included from ./src/Library/public/usbguard/Rule.hpp:24, from src/Common/LDAPUtil.hpp:27, from src/Common/LDAPUtil.cpp:23: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/stdexcept:39, from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/array:39, from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/tuple:39, from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/stl_map.h:63, from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/map:61, from src/Common/LDAPUtil.hpp:25, from src/Common/LDAPUtil.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from src/Common/LDAPUtil.hpp:27, from src/Common/LDAPUtil.cpp:23: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/stdexcept:39, from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/array:39, from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/tuple:39, from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/stl_map.h:63, from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/map:61, from src/Common/LDAPUtil.hpp:25, from src/Common/LDAPUtil.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from src/Common/LDAPUtil.hpp:27, from src/Common/LDAPUtil.cpp:23: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/stdexcept:39, from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/array:39, from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/tuple:39, from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/stl_map.h:63, from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/map:61, from src/Common/LDAPUtil.hpp:25, from src/Common/LDAPUtil.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from src/CLI/usbguard-append-rule.cpp:26: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-append-rule.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from src/CLI/usbguard-append-rule.cpp:26: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-append-rule.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from src/CLI/usbguard-append-rule.cpp:26: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-append-rule.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided In file included from src/CLI/usbguard.cpp:24: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: In file included from src/CLI/usbguard.cpp:24: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: In file included from src/CLI/usbguard.cpp:24: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided In file included from ./src/Common/Utility.hpp:24, from src/Library/Hash.cpp:25: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from src/Library/Hash.hpp:24, from src/Library/Hash.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: In file included from ./src/Common/Utility.hpp:24, from src/Library/Hash.cpp:25: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from src/Library/Hash.hpp:24, from src/Library/Hash.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: In file included from ./src/Common/Utility.hpp:24, from src/Library/Hash.cpp:25: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from src/Library/Hash.hpp:24, from src/Library/Hash.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided In file included from src/Library/IPCPrivate.hpp:24, from src/Library/IPCClientPrivate.hpp:24, from src/Library/IPCClientPrivate.cpp:24: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Exception.hpp:21, from src/Library/IPCPrivate.hpp:24, from src/Library/IPCClientPrivate.hpp:24, from src/Library/IPCClientPrivate.cpp:24: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: In file included from src/Library/IPCPrivate.hpp:24, from src/Library/IPCClientPrivate.hpp:24, from src/Library/IPCClientPrivate.cpp:24: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Exception.hpp:21, from src/Library/IPCPrivate.hpp:24, from src/Library/IPCClientPrivate.hpp:24, from src/Library/IPCClientPrivate.cpp:24: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: In file included from src/Library/IPCPrivate.hpp:24, from src/Library/IPCClientPrivate.hpp:24, from src/Library/IPCClientPrivate.cpp:24: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Exception.hpp:21, from src/Library/IPCPrivate.hpp:24, from src/Library/IPCClientPrivate.hpp:24, from src/Library/IPCClientPrivate.cpp:24: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from src/CLI/usbguard-get-parameter.cpp:26: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-get-parameter.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from src/CLI/usbguard-get-parameter.cpp:26: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-get-parameter.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from src/CLI/usbguard-get-parameter.cpp:26: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-get-parameter.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/RuleParser.hpp:22, from src/CLI/usbguard-apply-device-policy.hpp:24, from src/CLI/usbguard-block-device.cpp:26: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCServer.hpp:21, from src/CLI/usbguard-add-user.cpp:27: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-block-device.cpp:24: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/RuleParser.hpp:22, from src/CLI/usbguard-apply-device-policy.hpp:24, from src/CLI/usbguard-block-device.cpp:26: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-block-device.cpp:24: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-add-user.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCServer.hpp:21, from src/CLI/usbguard-add-user.cpp:27: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/RuleParser.hpp:22, from src/CLI/usbguard-apply-device-policy.hpp:24, from src/CLI/usbguard-block-device.cpp:26: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-add-user.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-block-device.cpp:24: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/RuleParser.hpp:22, from src/CLI/usbguard-apply-device-policy.hpp:24, from src/CLI/usbguard-reject-device.cpp:26: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCServer.hpp:21, from src/CLI/usbguard-add-user.cpp:27: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-add-user.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-reject-device.cpp:24: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/RuleParser.hpp:22, from src/CLI/usbguard-apply-device-policy.hpp:24, from src/CLI/usbguard-reject-device.cpp:26: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-reject-device.cpp:24: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/RuleParser.hpp:22, from src/CLI/usbguard-apply-device-policy.hpp:24, from src/CLI/usbguard-reject-device.cpp:26: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-reject-device.cpp:24: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from src/CLI/usbguard-remove-rule.cpp:26: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-remove-rule.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from src/CLI/usbguard-remove-rule.cpp:26: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-remove-rule.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from src/CLI/usbguard-remove-rule.cpp:26: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-remove-rule.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from src/CLI/usbguard-list-devices.cpp:26: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCServer.hpp:21, from src/CLI/usbguard-remove-user.cpp:27: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-list-devices.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from src/CLI/usbguard-list-devices.cpp:26: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-list-devices.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-remove-user.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCServer.hpp:21, from src/CLI/usbguard-remove-user.cpp:27: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-remove-user.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from src/CLI/usbguard-list-devices.cpp:26: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-list-devices.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCServer.hpp:21, from src/CLI/usbguard-remove-user.cpp:27: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-remove-user.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/RuleParser.hpp:22, from src/CLI/usbguard-apply-device-policy.hpp:24, from src/CLI/usbguard-allow-device.cpp:26: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-allow-device.cpp:24: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/RuleParser.hpp:22, from src/CLI/usbguard-apply-device-policy.hpp:24, from src/CLI/usbguard-allow-device.cpp:26: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-allow-device.cpp:24: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/RuleParser.hpp:22, from src/CLI/usbguard-apply-device-policy.hpp:24, from src/CLI/usbguard-allow-device.cpp:26: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-allow-device.cpp:24: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from src/CLI/usbguard-list-rules.cpp:26: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-list-rules.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from src/CLI/usbguard-list-rules.cpp:26: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-list-rules.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from src/CLI/usbguard-set-parameter.cpp:26: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ src/CLI/usbguard.cpp: In function 'int usbguard::usbguard_cli(int, char**)': src/CLI/usbguard.cpp:102:23: error: '::basename' has not been declared; did you mean 'rename'? 102 | usbguard_arg0 = ::basename(argv[0]); | ^~~~~~~~ | rename /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from src/CLI/usbguard-list-rules.cpp:26: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-list-rules.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-set-parameter.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from src/CLI/usbguard-set-parameter.cpp:26: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-set-parameter.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from src/CLI/usbguard-set-parameter.cpp:26: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-set-parameter.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from ./src/CLI/IPCSignalWatcher.hpp:24, from src/CLI/usbguard-watch.cpp:26: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-watch.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from ./src/CLI/IPCSignalWatcher.hpp:24, from src/CLI/usbguard-watch.cpp:26: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-watch.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from ./src/CLI/IPCSignalWatcher.hpp:24, from src/CLI/usbguard-watch.cpp:26: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-watch.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from src/CLI/PolicyGenerator.hpp:26, from src/CLI/usbguard-generate-policy.cpp:26: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-generate-policy.cpp:24: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from src/CLI/PolicyGenerator.hpp:26, from src/CLI/usbguard-generate-policy.cpp:26: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-generate-policy.cpp:24: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from src/CLI/PolicyGenerator.hpp:26, from src/CLI/usbguard-generate-policy.cpp:26: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-generate-policy.cpp:24: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/RuleParser.hpp:22, from src/CLI/usbguard-apply-device-policy.hpp:24, from src/CLI/usbguard-apply-device-policy.cpp:24: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-apply-device-policy.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/RuleParser.hpp:22, from src/CLI/usbguard-apply-device-policy.hpp:24, from src/CLI/usbguard-apply-device-policy.cpp:24: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-apply-device-policy.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/RuleParser.hpp:22, from src/CLI/usbguard-apply-device-policy.hpp:24, from src/CLI/usbguard-apply-device-policy.cpp:24: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-apply-device-policy.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' In file included from src/CLI/usbguard-read-descriptor.cpp:27: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-read-descriptor.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: In file included from src/CLI/usbguard-read-descriptor.cpp:27: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-read-descriptor.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: In file included from src/CLI/usbguard-read-descriptor.cpp:27: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/CLI/usbguard.hpp:24, from src/CLI/usbguard-read-descriptor.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided make[3]: *** [Makefile:2049: src/CLI/usbguard-usbguard.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from src/Library/DevicePrivate.hpp:26, from src/Library/DevicePrivate.cpp:23: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from src/Library/Hash.hpp:24, from src/Library/DevicePrivate.hpp:24, from src/Library/DevicePrivate.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from src/Library/DevicePrivate.hpp:26, from src/Library/DevicePrivate.cpp:23: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from src/Library/Hash.hpp:24, from src/Library/DevicePrivate.hpp:24, from src/Library/DevicePrivate.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/Device.hpp:21, from src/Library/DevicePrivate.hpp:26, from src/Library/DevicePrivate.cpp:23: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from src/Library/Hash.hpp:24, from src/Library/DevicePrivate.hpp:24, from src/Library/DevicePrivate.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided In file included from ./src/Common/Utility.hpp:24, from src/Common/Utility.cpp:25: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/Common/Utility.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: In file included from ./src/Common/Utility.hpp:24, from src/Common/Utility.cpp:25: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/Common/Utility.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: In file included from ./src/Common/Utility.hpp:24, from src/Common/Utility.cpp:25: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Logger.hpp:21, from src/Common/Utility.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' make[3]: *** [Makefile:2231: src/CLI/usbguard-usbguard-read-descriptor.o] Error 1 At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' make[3]: *** [Makefile:2091: src/CLI/usbguard-usbguard-block-device.o] Error 1 make[3]: *** [Makefile:2077: src/CLI/usbguard-usbguard-allow-device.o] Error 1 make[3]: *** [Makefile:2105: src/CLI/usbguard-usbguard-reject-device.o] Error 1 In file included from ./src/Common/Utility.hpp:24, from src/Library/ConfigFilePrivate.cpp:26: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/ConfigFile.hpp:21, from src/Library/ConfigFilePrivate.hpp:24, from src/Library/ConfigFilePrivate.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: In file included from ./src/Common/Utility.hpp:24, from src/Library/ConfigFilePrivate.cpp:26: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/ConfigFile.hpp:21, from src/Library/ConfigFilePrivate.hpp:24, from src/Library/ConfigFilePrivate.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: In file included from ./src/Common/Utility.hpp:24, from src/Library/ConfigFilePrivate.cpp:26: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/ConfigFile.hpp:21, from src/Library/ConfigFilePrivate.hpp:24, from src/Library/ConfigFilePrivate.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' make[3]: *** [Makefile:2147: src/CLI/usbguard-usbguard-append-rule.o] Error 1 At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' make[3]: *** [Makefile:2245: src/CLI/usbguard-usbguard-set-parameter.o] Error 1 At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' make[3]: *** [Makefile:2287: src/CLI/usbguard-usbguard-remove-user.o] Error 1 make[3]: *** [Makefile:2259: src/CLI/usbguard-usbguard-get-parameter.o] Error 1 make[3]: *** [Makefile:2161: src/CLI/usbguard-usbguard-remove-rule.o] Error 1 make[3]: *** [Makefile:2273: src/CLI/usbguard-usbguard-add-user.o] Error 1 make[3]: *** [Makefile:2063: src/CLI/usbguard-usbguard-list-devices.o] Error 1 At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' make[3]: *** [Makefile:2133: src/CLI/usbguard-usbguard-list-rules.o] Error 1 make[3]: *** [Makefile:2189: src/CLI/usbguard-usbguard-watch.o] Error 1 At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' make[3]: *** [Makefile:1699: src/Library/libusbguard_la-AllowedMatchesCondition.lo] Error 1 At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' make[3]: *** [Makefile:1748: src/Library/libusbguard_la-FixedStateCondition.lo] Error 1 make[3]: *** [Makefile:2217: src/CLI/usbguard-PolicyGenerator.o] Error 1 At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' make[3]: *** [Makefile:2203: src/CLI/usbguard-IPCSignalWatcher.o] Error 1 At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' In file included from src/Library/IPCPrivate.hpp:24, from src/Library/IPCServerPrivate.hpp:24, from src/Library/Init.cpp:23: ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)': ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(int)' 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Exception.hpp:21, from src/Library/IPCPrivate.hpp:24, from src/Library/IPCServerPrivate.hpp:24, from src/Library/Init.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: In file included from src/Library/IPCPrivate.hpp:24, from src/Library/IPCServerPrivate.hpp:24, from src/Library/Init.cpp:23: ./src/Library/public/usbguard/Exception.hpp:129:72: note: candidate expects 3 arguments, 1 provided 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Exception.hpp:21, from src/Library/IPCPrivate.hpp:24, from src/Library/IPCServerPrivate.hpp:24, from src/Library/Init.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate: '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; _Alloc = std::allocator]' 587 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate: '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; _Alloc = std::allocator]' 583 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:579:45: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' 579 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 552 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:552:35: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string&&' 552 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: In file included from src/Library/IPCPrivate.hpp:24, from src/Library/IPCServerPrivate.hpp:24, from src/Library/Init.cpp:23: ./src/Library/public/usbguard/Exception.hpp:129:36: error: invalid conversion from 'int' to 'const char*' [-fpermissive] 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/string:55, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Exception.hpp:21, from src/Library/IPCPrivate.hpp:24, from src/Library/IPCServerPrivate.hpp:24, from src/Library/Init.cpp:23: /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:448:40: note: no known conversion for argument 1 from 'int' to 'const std::__cxx11::basic_string&' 448 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:440:34: note: no known conversion for argument 1 from 'int' to 'const std::allocator&' 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 431 | basic_string() | ^~~~~~~~~~~~ /tmp/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-musleabihf/include/c++/9.3.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided make[3]: *** [Makefile:1692: src/Common/libusbguard_la-LDAPUtil.lo] Error 1 At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' make[3]: *** [Makefile:1720: src/Library/libusbguard_la-DeviceBase.lo] Error 1 make[3]: *** [Makefile:1734: src/Library/libusbguard_la-DeviceManagerPrivate.lo] Error 1 At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' make[3]: *** [Makefile:1755: src/Library/libusbguard_la-Hash.lo] Error 1 At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' make[3]: *** [Makefile:2175: src/CLI/usbguard-usbguard-generate-policy.o] Error 1 make[3]: *** [Makefile:2119: src/CLI/usbguard-usbguard-apply-device-policy.o] Error 1 At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' make[3]: *** [Makefile:1685: src/Common/libusbguard_la-Utility.lo] Error 1 make[3]: *** [Makefile:1713: src/Library/libusbguard_la-ConfigFilePrivate.lo] Error 1 At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' make[3]: *** [Makefile:1741: src/Library/libusbguard_la-DevicePrivate.lo] Error 1 At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' make[3]: *** [Makefile:1727: src/Library/libusbguard_la-DeviceManagerBase.lo] Error 1 src/Library/IPCPrivate.cpp: In function 'uint64_t usbguard::IPC::getMessageHeaderID(const MessageType&)': src/Library/IPCPrivate.cpp:109:83: warning: cast from 'const google::protobuf::Message*' to 'const usbguard::IPC::MessageHeader*' increases required alignment of target type [-Wcast-align] 109 | const auto header = reinterpret_cast(header_message); | ^ src/Library/IPCPrivate.cpp: In function 'void usbguard::IPC::setMessageHeaderID(usbguard::IPC::MessageType&, uint64_t)': src/Library/IPCPrivate.cpp:123:71: warning: cast from 'google::protobuf::Message*' to 'usbguard::IPC::MessageHeader*' increases required alignment of target type [-Wcast-align] 123 | auto header = reinterpret_cast(header_message); | ^ At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' src/Library/IPCClientPrivate.cpp: In member function 'void usbguard::IPCClientPrivate::process(const string&)': src/Library/IPCClientPrivate.cpp:333:77: warning: cast from 'const char*' to 'const qb_ipc_response_header*' increases required alignment of target type [-Wcast-align] 333 | reinterpret_cast(buffer.data()); | ^ make[3]: *** [Makefile:1769: src/Library/libusbguard_la-IPCPrivate.lo] Error 1 At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' make[3]: *** [Makefile:1783: src/Library/libusbguard_la-Init.lo] Error 1 At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' make[3]: *** [Makefile:1762: src/Library/libusbguard_la-IPCClientPrivate.lo] Error 1 At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' make[3]: *** [Makefile:1776: src/Library/libusbguard_la-IPCServerPrivate.lo] Error 1 make[3]: Leaving directory '/tmp/instance-1/output-1/build/usbguard-1.0.0' make[2]: *** [Makefile:2708: all-recursive] Error 1 make[2]: Leaving directory '/tmp/instance-1/output-1/build/usbguard-1.0.0' make[1]: *** [Makefile:1040: all] Error 2 make[1]: Leaving directory '/tmp/instance-1/output-1/build/usbguard-1.0.0' make: *** [package/pkg-generic.mk:270: /tmp/instance-1/output-1/build/usbguard-1.0.0/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-1/buildroot'