>>> usbguard 1.0.0 Extracting gzip -d -c /home/buildroot/autobuild/run/instance-3/dl/usbguard/usbguard-1.0.0.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-3/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 /home/buildroot/autobuild/run/instance-3/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 /home/buildroot/autobuild/run/instance-3/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 /home/buildroot/autobuild/run/instance-3/output-1/build/usbguard-1.0.0/ && rm -rf config.cache && PATH="/home/buildroot/autobuild/run/instance-3/output-1/host/bin:/home/buildroot/autobuild/run/instance-3/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" AR="/home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-ar" AS="/home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-as" LD="/home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-ld" NM="/home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-nm" CC="/home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-gcc" GCC="/home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-gcc" CPP="/home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-cpp" CXX="/home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-g++" FC="/home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-gfortran" F77="/home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-gfortran" RANLIB="/home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-ranlib" READELF="/home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-readelf" STRIP="/home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-strip" OBJCOPY="/home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-objcopy" OBJDUMP="/home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-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/home/buildroot/autobuild/run/instance-3/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/run/instance-3/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/run/instance-3/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/autobuild/run/instance-3/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-3/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-as" DEFAULT_LINKER="/home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-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="/home/buildroot/autobuild/run/instance-3/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/run/instance-3/output-1/host/riscv64-buildroot-linux-musl/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 gt_cv_func_gnugettext1_libc=yes gt_cv_func_gnugettext2_libc=yes CONFIG_SITE=/dev/null ./configure --target=riscv64-buildroot-linux-musl --host=riscv64-buildroot-linux-musl --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 --disable-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 --enable-libcapng ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls checking for a BSD-compatible install... /home/buildroot/autobuild/run/instance-3/output-1/host/bin/install -c checking whether build environment is sane... yes checking for riscv64-buildroot-linux-musl-strip... /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-strip checking for a thread-safe mkdir -p... /home/buildroot/autobuild/run/instance-3/output-1/host/bin/mkdir -p checking for gawk... no checking for mawk... mawk 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 riscv64-buildroot-linux-musl-gcc... /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-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 /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-gcc accepts -g... yes checking for /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-gcc option to accept ISO C89... none needed checking whether /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-gcc understands -c and -o together... yes checking dependency style of /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-gcc... none checking whether C compiler accepts -Wno-implicit-fallthrough... yes checking whether we are using the GNU C++ compiler... yes checking whether /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-g++ accepts -g... yes checking dependency style of /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-g++... none checking for /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-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... riscv64-buildroot-linux-musl 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 /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-gcc... /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-ld checking if the linker (/home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-nm checking the name lister (/home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 3458764513820540925 checking how to convert x86_64-pc-linux-gnu file names to riscv64-buildroot-linux-musl 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 /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-ld option to reload object files... -r checking for riscv64-buildroot-linux-musl-objdump... /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-objdump checking how to recognize dependent libraries... pass_all checking for riscv64-buildroot-linux-musl-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-buildroot-linux-musl-ar... /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-ar checking for archiver @FILE support... @ checking for riscv64-buildroot-linux-musl-strip... (cached) /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-strip checking for riscv64-buildroot-linux-musl-ranlib... /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-ranlib checking command to parse /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-nm output from /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-gcc object... ok checking for sysroot... no checking for a working dd... /home/buildroot/autobuild/run/instance-3/output-1/host/bin/dd checking how to truncate binary pipes... /home/buildroot/autobuild/run/instance-3/output-1/host/bin/dd bs=4096 count=1 checking for riscv64-buildroot-linux-musl-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... /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-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 /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-gcc supports -fno-rtti -fno-exceptions... no checking for /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-gcc option to produce PIC... -fPIC -DPIC checking if /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-gcc PIC flag -fPIC -DPIC works... yes checking if /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-gcc static flag -static works... yes checking if /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-gcc supports -c -o file.o... yes checking if /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-gcc supports -c -o file.o... (cached) yes checking whether the /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-gcc linker (/home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-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... /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-g++ -E checking for ld used by /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-g++... /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-ld checking if the linker (/home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-ld) is GNU ld... yes checking whether the /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-g++ linker (/home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-ld) supports shared libraries... yes checking for /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-g++ option to produce PIC... -fPIC -DPIC checking if /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-g++ PIC flag -fPIC -DPIC works... yes checking if /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-g++ static flag -static works... yes checking if /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-g++ supports -c -o file.o... yes checking if /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-g++ supports -c -o file.o... (cached) yes checking whether the /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-linux-g++ linker (/home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-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 /home/buildroot/autobuild/run/instance-3/output-1/host/bin/riscv64-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 riscv64-buildroot-linux-musl-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... yes 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... no configure: WARNING: Unable to find the Aspell spell checker. The test suite will skip spell checking of documentation related files. 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, --disable-nls Build Configuration Summary =================================== Run full test suite: no ## Libraries libqb: system-wide; -pthread -L/home/buildroot/autobuild/run/instance-3/output-1/host/bin/../riscv64-buildroot-linux-musl/sysroot/usr/lib -lqb crypto: system-wide; -L/home/buildroot/autobuild/run/instance-3/output-1/host/bin/../riscv64-buildroot-linux-musl/sysroot/usr/lib -lcrypto libaudit: not found libldap: None; building without LDAP support libseccomp: not enabled libcap-ng: system-wide; -L/home/buildroot/autobuild/run/instance-3/output-1/host/bin/../riscv64-buildroot-linux-musl/sysroot/usr/lib -lcap-ng protobuf: system-wide; -pthread -L/home/buildroot/autobuild/run/instance-3/output-1/host/bin/../riscv64-buildroot-linux-musl/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="/home/buildroot/autobuild/run/instance-3/output-1/host/bin:/home/buildroot/autobuild/run/instance-3/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /usr/bin/make -j4 -C /home/buildroot/autobuild/run/instance-3/output-1/build/usbguard-1.0.0/ make[1]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/usbguard-1.0.0' Makefile:3494: warning: overriding commands for target `check' Makefile:3000: warning: ignoring old commands for target `check' /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 /home/buildroot/autobuild/run/instance-3/output-1/host/bin/mkdir -p ./src/Library/IPC protoc --cpp_out=./src/Library/IPC --proto_path=./src/Library/IPC "src/Library/IPC/Message.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.) /home/buildroot/autobuild/run/instance-3/output-1/host/bin/mkdir -p ./src/Library/IPC sed -i -e '1i#ifndef __clang_analyzer__' -e '$a#endif' "src/Library/IPC/Message.pb.cc" protoc --cpp_out=./src/Library/IPC --proto_path=./src/Library/IPC "src/Library/IPC/Rule.proto" /home/buildroot/autobuild/run/instance-3/output-1/host/bin/mkdir -p ./src/Library/IPC [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.) sed -i -e '1i#ifndef __clang_analyzer__' -e '$a#endif' "src/Library/IPC/Rule.pb.cc" protoc --cpp_out=./src/Library/IPC --proto_path=./src/Library/IPC "src/Library/IPC/Devices.proto" /home/buildroot/autobuild/run/instance-3/output-1/host/bin/mkdir -p ./src/Library/IPC [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.) protoc --cpp_out=./src/Library/IPC --proto_path=./src/Library/IPC "src/Library/IPC/Exception.proto" [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.) sed -i -e '1i#ifndef __clang_analyzer__' -e '$a#endif' "src/Library/IPC/Devices.pb.cc" sed -i -e '1i#ifndef __clang_analyzer__' -e '$a#endif' "src/Library/IPC/Exception.pb.cc" /home/buildroot/autobuild/run/instance-3/output-1/host/bin/mkdir -p ./src/Library/IPC protoc --cpp_out=./src/Library/IPC --proto_path=./src/Library/IPC "src/Library/IPC/Policy.proto" /home/buildroot/autobuild/run/instance-3/output-1/host/bin/mkdir -p ./src/Library/IPC [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.) protoc --cpp_out=./src/Library/IPC --proto_path=./src/Library/IPC "src/Library/IPC/Parameter.proto" sed -i -e '1i#ifndef __clang_analyzer__' -e '$a#endif' "src/Library/IPC/Policy.pb.cc" [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/Parameter.pb.cc" /usr/bin/make all-recursive make[2]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/usbguard-1.0.0' Makefile:3494: warning: overriding commands for target `check' Makefile:3000: warning: ignoring old commands for target `check' Making all in src/Tests/ make[3]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/usbguard-1.0.0/src/Tests' Making all in Fuzzers make[4]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/usbguard-1.0.0/src/Tests/Fuzzers' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/usbguard-1.0.0/src/Tests/Fuzzers' make[4]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/usbguard-1.0.0/src/Tests' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/usbguard-1.0.0/src/Tests' make[3]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/usbguard-1.0.0/src/Tests' make[3]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/usbguard-1.0.0' Makefile:3494: warning: overriding commands for target `check' Makefile:3000: warning: ignoring old commands for target `check' CXX src/CLI/usbguard_rule_parser-usbguard-rule-parser.o CXX src/Common/usbguard_daemon-Utility.o CXX src/Daemon/usbguard_daemon-FileAuditBackend.o CXX src/Daemon/usbguard_daemon-LinuxAuditBackend.o In file included from ./src/Library/public/usbguard/Rule.hpp:24, from ./src/Library/public/usbguard/RuleSet.hpp:22, from ./src/Library/public/usbguard/Policy.hpp:25, from ./src/Library/public/usbguard/Audit.hpp:21, from src/Daemon/FileAuditBackend.hpp:25, from src/Daemon/FileAuditBackend.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 /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/string:55, from ./src/Library/public/usbguard/Policy.hpp:22, from ./src/Library/public/usbguard/Audit.hpp:21, from src/Daemon/FileAuditBackend.hpp:25, from src/Daemon/FileAuditBackend.cpp:23: /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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/RuleSet.hpp:22, from ./src/Library/public/usbguard/Policy.hpp:25, from ./src/Library/public/usbguard/Audit.hpp:21, from src/Daemon/FileAuditBackend.hpp:25, from src/Daemon/FileAuditBackend.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 /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/string:55, from ./src/Library/public/usbguard/Policy.hpp:22, from ./src/Library/public/usbguard/Audit.hpp:21, from src/Daemon/FileAuditBackend.hpp:25, from src/Daemon/FileAuditBackend.cpp:23: /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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) | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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) | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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()) | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 | ~~~~~~~~~~~~~~~^~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 = long unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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]' (near match) 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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/RuleSet.hpp:22, from ./src/Library/public/usbguard/Policy.hpp:25, from ./src/Library/public/usbguard/Audit.hpp:21, from src/Daemon/FileAuditBackend.hpp:25, from src/Daemon/FileAuditBackend.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 /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/string:55, from ./src/Library/public/usbguard/Policy.hpp:22, from ./src/Library/public/usbguard/Audit.hpp:21, from src/Daemon/FileAuditBackend.hpp:25, from src/Daemon/FileAuditBackend.cpp:23: /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 = long unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 = long unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 = long unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 = long unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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) | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 | ~~~~~~~~~~~~~~^~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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() | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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/CLI/usbguard-rule-parser.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 /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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/CLI/usbguard-rule-parser.cpp:23: /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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/CLI/usbguard-rule-parser.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 /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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/CLI/usbguard-rule-parser.cpp:23: /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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) | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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) | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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()) | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 | ~~~~~~~~~~~~~~~^~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 = long unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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]' (near match) 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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/CLI/usbguard-rule-parser.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 /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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/CLI/usbguard-rule-parser.cpp:23: /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 = long unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 = long unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 = long unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 = long unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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) | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 | ~~~~~~~~~~~~~~^~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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() | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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/RuleSet.hpp:22, from ./src/Library/public/usbguard/Policy.hpp:25, from ./src/Library/public/usbguard/Audit.hpp:21, from src/Daemon/LinuxAuditBackend.hpp:25, from src/Daemon/LinuxAuditBackend.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 /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/string:55, from ./src/Library/public/usbguard/Policy.hpp:22, from ./src/Library/public/usbguard/Audit.hpp:21, from src/Daemon/LinuxAuditBackend.hpp:25, from src/Daemon/LinuxAuditBackend.cpp:23: /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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/RuleSet.hpp:22, from ./src/Library/public/usbguard/Policy.hpp:25, from ./src/Library/public/usbguard/Audit.hpp:21, from src/Daemon/LinuxAuditBackend.hpp:25, from src/Daemon/LinuxAuditBackend.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 /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/string:55, from ./src/Library/public/usbguard/Policy.hpp:22, from ./src/Library/public/usbguard/Audit.hpp:21, from src/Daemon/LinuxAuditBackend.hpp:25, from src/Daemon/LinuxAuditBackend.cpp:23: /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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) | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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) | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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()) | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 | ~~~~~~~~~~~~~~~^~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 = long unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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]' (near match) 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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/RuleSet.hpp:22, from ./src/Library/public/usbguard/Policy.hpp:25, from ./src/Library/public/usbguard/Audit.hpp:21, from src/Daemon/LinuxAuditBackend.hpp:25, from src/Daemon/LinuxAuditBackend.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 /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/string:55, from ./src/Library/public/usbguard/Policy.hpp:22, from ./src/Library/public/usbguard/Audit.hpp:21, from src/Daemon/LinuxAuditBackend.hpp:25, from src/Daemon/LinuxAuditBackend.cpp:23: /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 = long unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 = long unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 = long unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 = long unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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) | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 | ~~~~~~~~~~~~~~^~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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() | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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: /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:625:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 625 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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: /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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) | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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) | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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()) | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 | ~~~~~~~~~~~~~~~^~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 = long unsigned int]' 540 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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]' (near match) 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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: /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 = long unsigned int]' 510 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 = long unsigned int]' 492 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 = long unsigned int]' 476 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 = long unsigned int]' 461 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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) | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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 | ~~~~~~~~~~~~~~^~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.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() | ^~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include/c++/10.2.0/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided src/CLI/usbguard-rule-parser.cpp: In function 'void showHelp(std::ostream&, const char*)': src/CLI/usbguard-rule-parser.cpp:46:29: error: '::basename' has not been declared; did you mean 'rename'? 46 | stream << " Usage: " << ::basename(usbguard_arg0) << " [OPTIONS] " << std::endl; | ^~~~~~~~ | rename src/CLI/usbguard-rule-parser.cpp:47:29: error: '::basename' has not been declared; did you mean 'rename'? 47 | stream << " Usage: " << ::basename(usbguard_arg0) << " [OPTIONS] -f " << std::endl; | ^~~~~~~~ | rename At global scope: cc1plus: note: unrecognized command-line option '-Wno-deprecated-register' may have been intended to silence earlier diagnostics make[3]: *** [src/CLI/usbguard_rule_parser-usbguard-rule-parser.o] Error 1 make[3]: *** Waiting for unfinished jobs.... At global scope: cc1plus: note: unrecognized command-line option '-Wno-deprecated-register' may have been intended to silence earlier diagnostics make[3]: *** [src/Daemon/usbguard_daemon-LinuxAuditBackend.o] Error 1 At global scope: cc1plus: note: unrecognized command-line option '-Wno-deprecated-register' may have been intended to silence earlier diagnostics make[3]: *** [src/Common/usbguard_daemon-Utility.o] Error 1 At global scope: cc1plus: note: unrecognized command-line option '-Wno-deprecated-register' may have been intended to silence earlier diagnostics make[3]: *** [src/Daemon/usbguard_daemon-FileAuditBackend.o] Error 1 make[3]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/usbguard-1.0.0' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/usbguard-1.0.0' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/usbguard-1.0.0' make: *** [/home/buildroot/autobuild/run/instance-3/output-1/build/usbguard-1.0.0/.stamp_built] Error 2 make: Leaving directory `/home/buildroot/autobuild/run/instance-3/buildroot'