>>> usbguard 1.0.0 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/home/buildroot/autobuild/instance-0/output-1/build/.usbguard-1.0.0.tar.gz.f5GWTK/output' 'https://github.com/USBGuard/usbguard/releases/download/usbguard-1.0.0/usbguard-1.0.0.tar.gz' --2021-06-30 00:58:55-- https://github.com/USBGuard/usbguard/releases/download/usbguard-1.0.0/usbguard-1.0.0.tar.gz Resolving github.com (github.com)... 140.82.113.3 Connecting to github.com (github.com)|140.82.113.3|: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%2F20210630%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210630T005855Z&X-Amz-Expires=300&X-Amz-Signature=fccfd15827e49fc1db427579919c6c7bb57737ec89800567b1274daf252ec39c&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-06-30 00:58:55-- https://github-releases.githubusercontent.com/32459566/716b4480-55bc-11eb-9145-52a9b72b8b83?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210630%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210630T005855Z&X-Amz-Expires=300&X-Amz-Signature=fccfd15827e49fc1db427579919c6c7bb57737ec89800567b1274daf252ec39c&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.109.154, 185.199.108.154, 185.199.111.154, ... Connecting to github-releases.githubusercontent.com (github-releases.githubusercontent.com)|185.199.109.154|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1260374 (1.2M) [application/octet-stream] Saving to: '/home/buildroot/autobuild/instance-0/output-1/build/.usbguard-1.0.0.tar.gz.f5GWTK/output' 0K .......... .......... .......... .......... .......... 4% 5.87M 0s 50K .......... .......... .......... .......... .......... 8% 17.2M 0s 100K .......... .......... .......... .......... .......... 12% 9.01M 0s 150K .......... .......... .......... .......... .......... 16% 35.8M 0s 200K .......... .......... .......... .......... .......... 20% 28.1M 0s 250K .......... .......... .......... .......... .......... 24% 10.6M 0s 300K .......... .......... .......... .......... .......... 28% 22.4M 0s 350K .......... .......... .......... .......... .......... 32% 28.3M 0s 400K .......... .......... .......... .......... .......... 36% 12.7M 0s 450K .......... .......... .......... .......... .......... 40% 26.5M 0s 500K .......... .......... .......... .......... .......... 44% 25.5M 0s 550K .......... .......... .......... .......... .......... 48% 12.8M 0s 600K .......... .......... .......... .......... .......... 52% 25.8M 0s 650K .......... .......... .......... .......... .......... 56% 20.7M 0s 700K .......... .......... .......... .......... .......... 60% 20.3M 0s 750K .......... .......... .......... .......... .......... 64% 33.5M 0s 800K .......... .......... .......... .......... .......... 69% 24.5M 0s 850K .......... .......... .......... .......... .......... 73% 21.3M 0s 900K .......... .......... .......... .......... .......... 77% 16.6M 0s 950K .......... .......... .......... .......... .......... 81% 33.3M 0s 1000K .......... .......... .......... .......... .......... 85% 24.2M 0s 1050K .......... .......... .......... .......... .......... 89% 37.7M 0s 1100K .......... .......... .......... .......... .......... 93% 16.3M 0s 1150K .......... .......... .......... .......... .......... 97% 26.3M 0s 1200K .......... .......... .......... 100% 57.6M=0.07s 2021-06-30 00:58:55 (18.5 MB/s) - '/home/buildroot/autobuild/instance-0/output-1/build/.usbguard-1.0.0.tar.gz.f5GWTK/output' saved [1260374/1260374] usbguard-1.0.0.tar.gz: OK (sha256: 5617986cd5dd1a2d311041648a1977d836cf4e33a4121d7f82599f21496abc42) >>> usbguard 1.0.0 Extracting gzip -d -c /home/buildroot/autobuild/instance-0/dl/usbguard/usbguard-1.0.0.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-0/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/instance-0/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/instance-0/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/instance-0/output-1/build/usbguard-1.0.0/ && rm -rf config.cache && PATH="/home/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-ar" AS="/home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-as" LD="/home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-ld" NM="/home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-nm" CC="/home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-gcc" GCC="/home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-gcc" CPP="/home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-cpp" CXX="/home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-g++" FC="/home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-gfortran" F77="/home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-gfortran" RANLIB="/home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-ranlib" READELF="/home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-readelf" STRIP="/home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-strip" OBJCOPY="/home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-objcopy" OBJDUMP="/home/buildroot/autobuild/instance-0/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/home/buildroot/autobuild/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/autobuild/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-as" DEFAULT_LINKER="/home/buildroot/autobuild/instance-0/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 -DNDEBUG " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG " LDFLAGS="" FCFLAGS=" -Os -g0 -DNDEBUG" FFLAGS=" -Os -g0 -DNDEBUG" PKG_CONFIG="/home/buildroot/autobuild/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/instance-0/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 gt_cv_func_gnugettext1_libc=yes gt_cv_func_gnugettext2_libc=yes ac_cv_path_LIBGCRYPT_CONFIG=/home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/bin/libgcrypt-config 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 --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 --with-crypto-library=gcrypt --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, --disable-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... /home/buildroot/autobuild/instance-0/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... /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-gcc accepts -g... yes checking for /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-gcc option to accept ISO C89... none needed checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-gcc understands -c and -o together... yes checking dependency style of /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-g++ accepts -g... yes checking dependency style of /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-g++... none checking for /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-gcc... /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-ld checking if the linker (/home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-nm checking the name lister (/home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-ld option to reload object files... -r checking for arm-buildroot-linux-musleabihf-objdump... /home/buildroot/autobuild/instance-0/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... /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-ar checking for archiver @FILE support... @ checking for arm-buildroot-linux-musleabihf-strip... (cached) /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-strip checking for arm-buildroot-linux-musleabihf-ranlib... /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-ranlib checking command to parse /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-nm output from /home/buildroot/autobuild/instance-0/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... /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-gcc supports -fno-rtti -fno-exceptions... no checking for /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-gcc option to produce PIC... -fPIC -DPIC checking if /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-gcc PIC flag -fPIC -DPIC works... yes checking if /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-gcc static flag -static works... yes checking if /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-gcc supports -c -o file.o... yes checking if /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-gcc supports -c -o file.o... (cached) yes checking whether the /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-gcc linker (/home/buildroot/autobuild/instance-0/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... /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-g++ -E checking for ld used by /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-g++... /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-ld checking if the linker (/home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-ld) is GNU ld... yes checking whether the /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-g++ linker (/home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-ld) supports shared libraries... yes checking for /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-g++ option to produce PIC... -fPIC -DPIC checking if /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-g++ PIC flag -fPIC -DPIC works... yes checking if /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-g++ static flag -static works... yes checking if /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-g++ supports -c -o file.o... yes checking if /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-g++ supports -c -o file.o... (cached) yes checking whether the /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-g++ linker (/home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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... (cached) /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/bin/libgcrypt-config checking for LIBGCRYPT - version >= 1.5.0... yes (1.9.2-unknown) checking for audit... yes checking whether audit_encode_nv_string is declared... yes 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... 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/instance-0/output-1/host/bin/../arm-buildroot-linux-musleabihf/sysroot/usr/lib -lqb crypto: system-wide; -I/home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/bin/../../usr/include -L/home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error libaudit: system-wide; -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../arm-buildroot-linux-musleabihf/sysroot/usr/lib -laudit libldap: None; building without LDAP support libseccomp: not enabled libcap-ng: not found protobuf: system-wide; -pthread -L/home/buildroot/autobuild/instance-0/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 -DNDEBUG -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 -DNDEBUG -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/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-0/output-1/build/usbguard-1.0.0/ make[1]: Entering directory '/home/buildroot/autobuild/instance-0/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 protoc --cpp_out=./src/Library/IPC --proto_path=./src/Library/IPC "src/Library/IPC/Message.proto" /bin/mkdir -p ./src/Library/IPC 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/Devices.proto" 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: 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: 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: 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: 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/Exception.pb.cc" 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" /bin/mkdir -p ./src/Library/IPC /bin/mkdir -p ./src/Library/IPC /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/Policy.proto" 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/Devices.pb.cc" [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: 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.) [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.) 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" /usr/bin/make all-recursive make[2]: Entering directory '/home/buildroot/autobuild/instance-0/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 '/home/buildroot/autobuild/instance-0/output-1/build/usbguard-1.0.0/src/Tests' Making all in Fuzzers make[4]: Entering directory '/home/buildroot/autobuild/instance-0/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/instance-0/output-1/build/usbguard-1.0.0/src/Tests/Fuzzers' make[4]: Entering directory '/home/buildroot/autobuild/instance-0/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/instance-0/output-1/build/usbguard-1.0.0/src/Tests' make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/usbguard-1.0.0/src/Tests' make[3]: Entering directory '/home/buildroot/autobuild/instance-0/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_rule_parser-usbguard-rule-parser.o CXX src/Common/usbguard_daemon-Utility.o CXX src/CLI/usbguard-usbguard.o CXX src/CLI/usbguard-usbguard-list-devices.o 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/instance-0/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/CLI/usbguard-rule-parser.cpp:23: /home/buildroot/autobuild/instance-0/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, | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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/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/instance-0/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/CLI/usbguard-rule-parser.cpp:23: /home/buildroot/autobuild/instance-0/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) | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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) | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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()) | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /home/buildroot/autobuild/instance-0/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 | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 | ~~~~~~~~~~~~~~~^~~~~ /home/buildroot/autobuild/instance-0/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()) | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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()) | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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/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/instance-0/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/CLI/usbguard-rule-parser.cpp:23: /home/buildroot/autobuild/instance-0/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, | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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, | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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, | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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, | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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) | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /home/buildroot/autobuild/instance-0/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 | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 | ~~~~~~~~~~~~~~^~~ /home/buildroot/autobuild/instance-0/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() | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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/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)); | ^ In file included from /home/buildroot/autobuild/instance-0/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: /home/buildroot/autobuild/instance-0/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, | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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: /home/buildroot/autobuild/instance-0/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) | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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) | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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()) | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /home/buildroot/autobuild/instance-0/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 | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 | ~~~~~~~~~~~~~~~^~~~~ /home/buildroot/autobuild/instance-0/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()) | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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()) | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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: /home/buildroot/autobuild/instance-0/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, | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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, | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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, | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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, | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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) | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /home/buildroot/autobuild/instance-0/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 | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 | ~~~~~~~~~~~~~~^~~ /home/buildroot/autobuild/instance-0/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() | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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: /home/buildroot/autobuild/instance-0/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, | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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: /home/buildroot/autobuild/instance-0/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) | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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) | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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()) | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /home/buildroot/autobuild/instance-0/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 | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 | ~~~~~~~~~~~~~~~^~~~~ /home/buildroot/autobuild/instance-0/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()) | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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()) | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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-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 In file included from /home/buildroot/autobuild/instance-0/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: /home/buildroot/autobuild/instance-0/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, | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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, | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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, | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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, | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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) | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /home/buildroot/autobuild/instance-0/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 | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 | ~~~~~~~~~~~~~~^~~ /home/buildroot/autobuild/instance-0/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() | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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: /home/buildroot/autobuild/instance-0/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, | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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: /home/buildroot/autobuild/instance-0/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) | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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) | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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()) | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /home/buildroot/autobuild/instance-0/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 | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 | ~~~~~~~~~~~~~~~^~~~~ /home/buildroot/autobuild/instance-0/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()) | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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()) | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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: /home/buildroot/autobuild/instance-0/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, | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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, | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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, | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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, | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/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) | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /home/buildroot/autobuild/instance-0/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 | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 | ~~~~~~~~~~~~~~^~~ /home/buildroot/autobuild/instance-0/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() | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 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 At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' Makefile:2049: recipe for target 'src/CLI/usbguard-usbguard.o' failed make[3]: *** [src/CLI/usbguard-usbguard.o] Error 1 make[3]: *** Waiting for unfinished jobs.... 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: warning: unrecognized command line option '-Wno-deprecated-register' At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' Makefile:2063: recipe for target 'src/CLI/usbguard-usbguard-list-devices.o' failed make[3]: *** [src/CLI/usbguard-usbguard-list-devices.o] Error 1 Makefile:2469: recipe for target 'src/CLI/usbguard_rule_parser-usbguard-rule-parser.o' failed make[3]: *** [src/CLI/usbguard_rule_parser-usbguard-rule-parser.o] Error 1 At global scope: cc1plus: warning: unrecognized command line option '-Wno-deprecated-register' Makefile:2399: recipe for target 'src/Common/usbguard_daemon-Utility.o' failed make[3]: *** [src/Common/usbguard_daemon-Utility.o] Error 1 make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/usbguard-1.0.0' Makefile:2708: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/usbguard-1.0.0' Makefile:1040: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/usbguard-1.0.0' package/pkg-generic.mk:247: recipe for target '/home/buildroot/autobuild/instance-0/output-1/build/usbguard-1.0.0/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-0/output-1/build/usbguard-1.0.0/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-0/buildroot'