>>> usbguard 1.0.0 Extracting gzip -d -c /home/buildroot/autobuild/instance-3/dl/usbguard/usbguard-1.0.0.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/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/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/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/instance-3/output-1/build/usbguard-1.0.0/ && rm -rf config.cache && PATH="/home/buildroot/autobuild/instance-3/output-1/host/bin:/home/buildroot/autobuild/instance-3/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-ar" AS="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-as" LD="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-ld" NM="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-nm" CC="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gcc" GCC="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gcc" CPP="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-cpp" CXX="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-g++" FC="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gfortran" F77="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gfortran" RANLIB="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-ranlib" READELF="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-readelf" STRIP="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-strip" OBJCOPY="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-objcopy" OBJDUMP="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-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-3/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-3/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-3/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/autobuild/instance-3/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-3/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-as" DEFAULT_LINKER="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-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 -D_FORTIFY_SOURCE=2" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2" LDFLAGS="" FCFLAGS=" -Os -g0" FFLAGS=" -Os -g0" PKG_CONFIG="/home/buildroot/autobuild/instance-3/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/instance-3/output-1/host/arm-buildroot-linux-gnueabi/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no CONFIG_SITE=/dev/null ./configure --target=arm-buildroot-linux-gnueabi --host=arm-buildroot-linux-gnueabi --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 ) 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-gnueabi-strip... /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-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-gnueabi-gcc... /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-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-3/output-1/host/bin/arm-none-linux-gnueabi-gcc accepts -g... yes checking for /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gcc option to accept ISO C89... none needed checking whether /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gcc understands -c and -o together... yes checking dependency style of /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-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-3/output-1/host/bin/arm-none-linux-gnueabi-g++ accepts -g... yes checking dependency style of /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-g++... none checking for /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-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-gnueabi 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-3/output-1/host/bin/arm-none-linux-gnueabi-gcc... /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-ld checking if the linker (/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-nm checking the name lister (/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-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-gnueabi 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-3/output-1/host/bin/arm-none-linux-gnueabi-ld option to reload object files... -r checking for arm-buildroot-linux-gnueabi-objdump... /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-objdump checking how to recognize dependent libraries... pass_all checking for arm-buildroot-linux-gnueabi-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for arm-buildroot-linux-gnueabi-ar... /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-ar checking for archiver @FILE support... @ checking for arm-buildroot-linux-gnueabi-strip... (cached) /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-strip checking for arm-buildroot-linux-gnueabi-ranlib... /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-ranlib checking command to parse /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-nm output from /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-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-gnueabi-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-3/output-1/host/bin/arm-none-linux-gnueabi-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-3/output-1/host/bin/arm-none-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions... no checking for /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gcc option to produce PIC... -fPIC -DPIC checking if /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gcc PIC flag -fPIC -DPIC works... yes checking if /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gcc static flag -static works... yes checking if /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gcc supports -c -o file.o... yes checking if /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gcc supports -c -o file.o... (cached) yes checking whether the /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gcc linker (/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-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-3/output-1/host/bin/arm-none-linux-gnueabi-g++ -E checking for ld used by /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-g++... /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-ld checking if the linker (/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-ld) is GNU ld... yes checking whether the /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-g++ linker (/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-ld) supports shared libraries... yes checking for /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-g++ option to produce PIC... -fPIC -DPIC checking if /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-g++ PIC flag -fPIC -DPIC works... yes checking if /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-g++ static flag -static works... yes checking if /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-g++ supports -c -o file.o... yes checking if /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-g++ supports -c -o file.o... (cached) yes checking whether the /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-g++ linker (/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-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-3/output-1/host/bin/arm-none-linux-gnueabi-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... no 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-gnueabi-libgcrypt-config... no checking for libgcrypt-config... no checking for LIBGCRYPT - version >= 1.5.0... no checking for audit... no configure: libaudit development files not found! Linux Audit support wille be turned OFF checking for libcapng... no configure: libcap-ng development files not found! Support for POSIX 1003.1e capabilities will be turned OFF checking for protobuf... yes checking for protoc... protoc configure: Using bundled Catch library configure: Using bundled PEGTL library checking tao/pegtl.hpp usability... yes checking tao/pegtl.hpp presence... yes checking for tao/pegtl.hpp... yes checking for a2x... no configure: WARNING: Unable to find documentation generator (asciidoc / a2x). Documentation will not be generated. checking for aspell... 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... yes 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-3/output-1/host/bin/../arm-buildroot-linux-gnueabi/sysroot/usr/lib -lqb crypto: system-wide; -L/home/buildroot/autobuild/instance-3/output-1/host/bin/../arm-buildroot-linux-gnueabi/sysroot/usr/lib -lcrypto libaudit: not found libldap: None; building without LDAP support libseccomp: not enabled libcap-ng: not found protobuf: system-wide; -pthread -L/home/buildroot/autobuild/instance-3/output-1/host/bin/../arm-buildroot-linux-gnueabi/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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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-3/output-1/host/bin:/home/buildroot/autobuild/instance-3/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-3/output-1/build/usbguard-1.0.0/ make[1]: Entering directory '/home/buildroot/autobuild/instance-3/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" protoc --cpp_out=./src/Library/IPC --proto_path=./src/Library/IPC "src/Library/IPC/Devices.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/Exception.proto" [libprotobuf WARNING google/protobuf/compiler/parser.cc:651] No syntax specified for the proto file: Message.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) [libprotobuf WARNING google/protobuf/compiler/parser.cc:651] No syntax specified for the proto file: 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: 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/Message.pb.cc" sed -i -e '1i#ifndef __clang_analyzer__' -e '$a#endif' "src/Library/IPC/Rule.pb.cc" sed -i -e '1i#ifndef __clang_analyzer__' -e '$a#endif' "src/Library/IPC/Exception.pb.cc" /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/Policy.proto" sed -i -e '1i#ifndef __clang_analyzer__' -e '$a#endif' "src/Library/IPC/Devices.pb.cc" protoc --cpp_out=./src/Library/IPC --proto_path=./src/Library/IPC "src/Library/IPC/Parameter.proto" /bin/sed \ -e "s|[$]{localstatedir}|/var|g" \ -e "s|[$]{exec_prefix}|/usr|g" \ -e "s|[$]{datarootdir}|/usr/share|g" \ -e "s|[$]{datadir}|/usr/share/usbguard|g" \ -e "s|[$]{sysconfdir}|/etc|g" \ -e "s|[$]{prefix}|/usr|g" \ -e "s|[$]{PACKAGE_TARNAME}|usbguard|g" \ src/build-config.h.in > src/build-config.h || rm -f src/build-config.h [libprotobuf WARNING google/protobuf/compiler/parser.cc:651] No syntax specified for the proto file: Policy.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) [libprotobuf WARNING google/protobuf/compiler/parser.cc:651] No syntax specified for the proto file: Message.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) [libprotobuf WARNING google/protobuf/compiler/parser.cc:651] No syntax specified for the proto file: Rule.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) [libprotobuf WARNING google/protobuf/compiler/parser.cc:651] No syntax specified for the proto file: 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" 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-3/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-3/output-1/build/usbguard-1.0.0/src/Tests' Making all in Fuzzers make[4]: Entering directory '/home/buildroot/autobuild/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/instance-3/output-1/build/usbguard-1.0.0/src/Tests/Fuzzers' make[4]: Entering directory '/home/buildroot/autobuild/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/instance-3/output-1/build/usbguard-1.0.0/src/Tests' make[3]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/usbguard-1.0.0/src/Tests' make[3]: Entering directory '/home/buildroot/autobuild/instance-3/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:0, from src/CLI/usbguard-rule-parser.cpp:23: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ In file included from src/CLI/usbguard.cpp:24:0: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ In file included from ./src/Library/public/usbguard/Rule.hpp:24:0, 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:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ In file included from ./src/Common/Utility.hpp:24:0, from src/Common/Utility.cpp:25: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] CXX src/CLI/usbguard-usbguard-allow-device.o At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] CXX src/CLI/usbguard-usbguard-block-device.o At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] CXX src/CLI/usbguard-usbguard-reject-device.o ./src/Library/public/usbguard/Exception.hpp: At global scope: ./src/Library/public/usbguard/Exception.hpp:54:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(Exception&& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::ErrnoException::ErrnoException(usbguard::ErrnoException&&)': ./src/Library/public/usbguard/Exception.hpp:118:9: note: synthesized method 'usbguard::Exception::Exception(usbguard::Exception&&)' first required here class ErrnoException : public Exception ^ src/Common/Utility.cpp: In function 'int usbguard::loadFiles(const string&, std::function(const std::basic_string&, const dirent*)>, std::function&, const std::basic_string&)>, std::function, std::basic_string >&, const std::pair, std::basic_string >&)>, bool)': src/Common/Utility.cpp:327:59: note: synthesized method 'usbguard::ErrnoException::ErrnoException(usbguard::ErrnoException&&)' first required here throw ErrnoException("loadFiles", directory, errno); ^ In file included from ./src/Library/public/usbguard/Rule.hpp:24:0, from ./src/Library/public/usbguard/RuleParser.hpp:22, from src/CLI/usbguard-apply-device-policy.hpp:24, from src/CLI/usbguard-allow-device.cpp:26: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ In file included from ./src/Library/public/usbguard/Rule.hpp:24:0, from ./src/Library/public/usbguard/RuleParser.hpp:22, from src/CLI/usbguard-apply-device-policy.hpp:24, from src/CLI/usbguard-block-device.cpp:26: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ In file included from ./src/Library/public/usbguard/Rule.hpp:24:0, from ./src/Library/public/usbguard/RuleParser.hpp:22, from src/CLI/usbguard-apply-device-policy.hpp:24, from src/CLI/usbguard-reject-device.cpp:26: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] CXX src/CLI/usbguard-usbguard-apply-device-policy.o At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] CXX src/CLI/usbguard-usbguard-list-rules.o At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] CXX src/CLI/usbguard-usbguard-append-rule.o At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] CXX src/CLI/usbguard-usbguard-remove-rule.o In file included from ./src/Library/public/usbguard/Rule.hpp:24:0, from ./src/Library/public/usbguard/RuleParser.hpp:22, from src/CLI/usbguard-apply-device-policy.hpp:24, from src/CLI/usbguard-apply-device-policy.cpp:24: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ In file included from ./src/Library/public/usbguard/Rule.hpp:24:0, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from src/CLI/usbguard-list-rules.cpp:26: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ In file included from ./src/Library/public/usbguard/Rule.hpp:24:0, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from src/CLI/usbguard-append-rule.cpp:26: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] CXX src/CLI/usbguard-usbguard-generate-policy.o CXX src/CLI/usbguard-usbguard-watch.o In file included from ./src/Library/public/usbguard/Rule.hpp:24:0, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from src/CLI/usbguard-remove-rule.cpp:26: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] CXX src/CLI/usbguard-IPCSignalWatcher.o At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] CXX src/CLI/usbguard-PolicyGenerator.o In file included from ./src/Library/public/usbguard/Rule.hpp:24:0, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from ./src/CLI/IPCSignalWatcher.hpp:24, from src/CLI/usbguard-watch.cpp:26: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ In file included from ./src/Library/public/usbguard/Rule.hpp:24:0, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from src/CLI/PolicyGenerator.hpp:26, from src/CLI/usbguard-generate-policy.cpp:26: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ In file included from ./src/Library/public/usbguard/Rule.hpp:24:0, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from src/CLI/IPCSignalWatcher.hpp:24, from src/CLI/IPCSignalWatcher.cpp:23: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] CXX src/CLI/usbguard-usbguard-read-descriptor.o In file included from ./src/Library/public/usbguard/Rule.hpp:24:0, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from src/CLI/PolicyGenerator.hpp:26, from src/CLI/PolicyGenerator.cpp:24: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ ./src/Library/public/usbguard/Exception.hpp: At global scope: ./src/Library/public/usbguard/Exception.hpp:54:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(Exception&& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::ErrnoException::ErrnoException(usbguard::ErrnoException&&)': ./src/Library/public/usbguard/Exception.hpp:118:9: note: synthesized method 'usbguard::Exception::Exception(usbguard::Exception&&)' first required here class ErrnoException : public Exception ^ src/CLI/IPCSignalWatcher.cpp: In member function 'void usbguard::IPCSignalWatcher::openExecutable(const string&)': src/CLI/IPCSignalWatcher.cpp:154:57: note: synthesized method 'usbguard::ErrnoException::ErrnoException(usbguard::ErrnoException&&)' first required here throw ErrnoException("openExecutable", path, errno); ^ At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] CXX src/CLI/usbguard-usbguard-set-parameter.o In file included from src/CLI/usbguard-read-descriptor.cpp:27:0: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ ./src/Library/public/usbguard/Exception.hpp: At global scope: ./src/Library/public/usbguard/Exception.hpp:54:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(Exception&& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::ErrnoException::ErrnoException(usbguard::ErrnoException&&)': ./src/Library/public/usbguard/Exception.hpp:118:9: note: synthesized method 'usbguard::Exception::Exception(usbguard::Exception&&)' first required here class ErrnoException : public Exception ^ src/CLI/usbguard-read-descriptor.cpp: In function 'int usbguard::usbguard_read_descriptor(int, char**)': src/CLI/usbguard-read-descriptor.cpp:134:61: note: synthesized method 'usbguard::ErrnoException::ErrnoException(usbguard::ErrnoException&&)' first required here throw ErrnoException("read-descriptor", argv[0], errno); ^ At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] CXX src/CLI/usbguard-usbguard-get-parameter.o At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] CXX src/CLI/usbguard-usbguard-add-user.o At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] CXX src/CLI/usbguard-usbguard-remove-user.o In file included from ./src/Library/public/usbguard/Rule.hpp:24:0, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from src/CLI/usbguard-set-parameter.cpp:26: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ In file included from ./src/Library/public/usbguard/Rule.hpp:24:0, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCClient.hpp:21, from src/CLI/usbguard-get-parameter.cpp:26: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ In file included from ./src/Library/public/usbguard/Rule.hpp:24:0, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCServer.hpp:21, from src/CLI/usbguard-add-user.cpp:27: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ In file included from ./src/Library/public/usbguard/Rule.hpp:24:0, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCServer.hpp:21, from src/CLI/usbguard-remove-user.cpp:27: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] CXX src/Common/libusbguard_la-Utility.lo At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] CXX src/Common/libusbguard_la-LDAPUtil.lo ./src/Library/public/usbguard/Exception.hpp: At global scope: ./src/Library/public/usbguard/Exception.hpp:54:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(Exception&& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::ErrnoException::ErrnoException(usbguard::ErrnoException&&)': ./src/Library/public/usbguard/Exception.hpp:118:9: note: synthesized method 'usbguard::Exception::Exception(usbguard::Exception&&)' first required here class ErrnoException : public Exception ^ src/CLI/usbguard-add-user.cpp: In function 'void usbguard::createIPCAccessControlFile(const string&, const string&, bool, const usbguard::IPCServer::AccessControl&)': src/CLI/usbguard-add-user.cpp:77:73: note: synthesized method 'usbguard::ErrnoException::ErrnoException(usbguard::ErrnoException&&)' first required here throw ErrnoException("createIPCAccessControlFile", filepath, errno); ^ ./src/Library/public/usbguard/Exception.hpp: At global scope: ./src/Library/public/usbguard/Exception.hpp:54:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(Exception&& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::ErrnoException::ErrnoException(usbguard::ErrnoException&&)': ./src/Library/public/usbguard/Exception.hpp:118:9: note: synthesized method 'usbguard::Exception::Exception(usbguard::Exception&&)' first required here class ErrnoException : public Exception ^ src/CLI/usbguard-remove-user.cpp: In function 'void usbguard::removeIPCAccessControlFile(const string&, const string&, bool)': src/CLI/usbguard-remove-user.cpp:62:73: note: synthesized method 'usbguard::ErrnoException::ErrnoException(usbguard::ErrnoException&&)' first required here throw ErrnoException("removeIPCAccessControlFile", filepath, errno); ^ At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] CXX src/Library/libusbguard_la-AllowedMatchesCondition.lo At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] CXX src/Library/libusbguard_la-Base64.lo In file included from ./src/Library/public/usbguard/Rule.hpp:24:0, from src/Common/LDAPUtil.hpp:27, from src/Common/LDAPUtil.cpp:23: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ In file included from ./src/Common/Utility.hpp:24:0, from src/Common/Utility.cpp:25: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ CXX src/Library/libusbguard_la-ConfigFilePrivate.lo In file included from ./src/Library/public/usbguard/Rule.hpp:24:0, from src/Library/AllowedMatchesCondition.hpp:26, from src/Library/AllowedMatchesCondition.cpp:23: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ ./src/Library/public/usbguard/Exception.hpp: At global scope: ./src/Library/public/usbguard/Exception.hpp:54:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(Exception&& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::ErrnoException::ErrnoException(usbguard::ErrnoException&&)': ./src/Library/public/usbguard/Exception.hpp:118:9: note: synthesized method 'usbguard::Exception::Exception(usbguard::Exception&&)' first required here class ErrnoException : public Exception ^ src/Common/Utility.cpp: In function 'int usbguard::loadFiles(const string&, std::function(const std::basic_string&, const dirent*)>, std::function&, const std::basic_string&)>, std::function, std::basic_string >&, const std::pair, std::basic_string >&)>, bool)': src/Common/Utility.cpp:327:59: note: synthesized method 'usbguard::ErrnoException::ErrnoException(usbguard::ErrnoException&&)' first required here throw ErrnoException("loadFiles", directory, errno); ^ At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] CXX src/Library/libusbguard_la-DeviceBase.lo At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] CXX src/Library/libusbguard_la-DeviceManagerBase.lo In file included from ./src/Common/Utility.hpp:24:0, from src/Library/ConfigFilePrivate.cpp:26: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ In file included from ./src/Library/public/usbguard/Rule.hpp:24:0, from ./src/Library/public/usbguard/Device.hpp:21, from src/Library/DeviceBase.hpp:26, from src/Library/DeviceBase.cpp:23: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ ./src/Library/public/usbguard/Exception.hpp: At global scope: ./src/Library/public/usbguard/Exception.hpp:54:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(Exception&& rhs) = default; ^ src/Library/ConfigFilePrivate.cpp: In member function 'void usbguard::ConfigFilePrivate::open(const string&, bool)': src/Library/ConfigFilePrivate.cpp:66:85: note: synthesized method 'usbguard::Exception::Exception(usbguard::Exception&&)' first required here throw Exception("Configuration", path, "unable to open the configuration file"); ^ In file included from ./src/Common/Utility.hpp:24:0, from src/Library/DeviceManagerBase.cpp:23: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ ./src/Library/public/usbguard/Exception.hpp: At global scope: ./src/Library/public/usbguard/Exception.hpp:54:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(Exception&& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::ErrnoException::ErrnoException(usbguard::ErrnoException&&)': ./src/Library/public/usbguard/Exception.hpp:118:9: note: synthesized method 'usbguard::Exception::Exception(usbguard::Exception&&)' first required here class ErrnoException : public Exception ^ src/Library/DeviceBase.cpp: In constructor 'usbguard::DeviceBase::DeviceBase(usbguard::DeviceManagerBase&, usbguard::SysFSDevice&)': src/Library/DeviceBase.cpp:107:71: note: synthesized method 'usbguard::ErrnoException::ErrnoException(usbguard::ErrnoException&&)' first required here throw ErrnoException("DeviceBase", sysfs_device.getPath(), errno); ^ At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] CXX src/Library/libusbguard_la-DeviceManagerPrivate.lo At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] CXX src/Library/libusbguard_la-DevicePrivate.lo At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] CXX src/Library/libusbguard_la-FixedStateCondition.lo In file included from ./src/Library/public/usbguard/Rule.hpp:24:0, from ./src/Library/public/usbguard/Device.hpp:21, from src/Library/DeviceManagerPrivate.hpp:24, from src/Library/DeviceManagerPrivate.cpp:23: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ ./src/Library/public/usbguard/Exception.hpp: At global scope: ./src/Library/public/usbguard/Exception.hpp:54:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(Exception&& rhs) = default; ^ src/Library/DeviceManagerBase.cpp: In member function 'std::shared_ptr usbguard::DeviceManagerBase::removeDevice(const string&)': src/Library/DeviceManagerBase.cpp:88:87: note: synthesized method 'usbguard::Exception::Exception(usbguard::Exception&&)' first required here throw Exception("removeDevice", syspath, "unknown syspath, cannot remove device"); ^ In file included from ./src/Library/public/usbguard/Rule.hpp:24:0, from src/Library/FixedStateCondition.hpp:25, from src/Library/FixedStateCondition.cpp:23: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ ./src/Library/public/usbguard/Exception.hpp: At global scope: ./src/Library/public/usbguard/Exception.hpp:54:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(Exception&& rhs) = default; ^ src/Library/DeviceManagerPrivate.cpp: In member function 'std::shared_ptr usbguard::DeviceManagerPrivate::removeDevice(uint32_t)': src/Library/DeviceManagerPrivate.cpp:90:71: note: synthesized method 'usbguard::Exception::Exception(usbguard::Exception&&)' first required here throw Exception("Device remove", "device id", "id doesn't exist"); ^ In file included from ./src/Library/public/usbguard/Rule.hpp:24:0, from ./src/Library/public/usbguard/Device.hpp:21, from src/Library/DevicePrivate.hpp:26, from src/Library/DevicePrivate.cpp:23: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] CXX src/Library/libusbguard_la-Hash.lo At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] CXX src/Library/libusbguard_la-IPCClientPrivate.lo At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] CXX src/Library/libusbguard_la-IPCPrivate.lo In file included from ./src/Library/public/usbguard/Rule.hpp:28:0, from ./src/Library/public/usbguard/Device.hpp:21, from src/Library/DevicePrivate.hpp:26, from src/Library/DevicePrivate.cpp:23: ./src/Library/public/usbguard/USB.hpp: At global scope: ./src/Library/public/usbguard/USB.hpp:159:20: warning: unused parameter 'rhs' [-Wunused-parameter] class DLL_PUBLIC USBDeviceID ^ src/Library/DevicePrivate.cpp: In member function 'const usbguard::DevicePrivate& usbguard::DevicePrivate::operator=(const usbguard::DevicePrivate&)': src/Library/DevicePrivate.cpp:59:16: note: synthesized method 'usbguard::USBDeviceID& usbguard::USBDeviceID::operator=(const usbguard::USBDeviceID&)' first required here _device_id = rhs._device_id; ^ In file included from ./src/Library/public/usbguard/Rule.hpp:24:0, from ./src/Library/public/usbguard/Device.hpp:21, from src/Library/DevicePrivate.hpp:26, from src/Library/DevicePrivate.cpp:23: ./src/Library/public/usbguard/Exception.hpp: At global scope: ./src/Library/public/usbguard/Exception.hpp:54:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(Exception&& rhs) = default; ^ src/Library/DevicePrivate.cpp: In member function 'void usbguard::DevicePrivate::initializeHash()': src/Library/DevicePrivate.cpp:140:125: note: synthesized method 'usbguard::Exception::Exception(usbguard::Exception&&)' first required here throw Exception("Device hash initialization", numberToString(getID()), "vendor and/or product id values not available"); ^ In file included from ./src/Common/Utility.hpp:24:0, from src/Library/Hash.cpp:25: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ In file included from src/Library/IPCPrivate.hpp:24:0, from src/Library/IPCClientPrivate.hpp:24, from src/Library/IPCClientPrivate.cpp:24: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ In file included from src/Library/IPCPrivate.hpp:24:0, from src/Library/IPCPrivate.cpp:23: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] CXX src/Library/libusbguard_la-IPCServerPrivate.lo At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] CXX src/Library/libusbguard_la-Init.lo In file included from src/Library/IPCPrivate.hpp:24:0, from src/Library/IPCServerPrivate.hpp:24, from src/Library/IPCServerPrivate.cpp:23: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ In file included from src/Library/IPCPrivate.hpp:24:0, from src/Library/IPCServerPrivate.hpp:24, from src/Library/Init.cpp:23: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ ./src/Library/public/usbguard/Exception.hpp: At global scope: ./src/Library/public/usbguard/Exception.hpp:54:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(Exception&& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::ErrnoException::ErrnoException(usbguard::ErrnoException&&)': ./src/Library/public/usbguard/Exception.hpp:118:9: note: synthesized method 'usbguard::Exception::Exception(usbguard::Exception&&)' first required here class ErrnoException : public Exception ^ src/Library/IPCClientPrivate.cpp: In constructor 'usbguard::IPCClientPrivate::IPCClientPrivate(usbguard::IPCClient&, bool)': ./src/Library/public/usbguard/Exception.hpp:136:78: note: synthesized method 'usbguard::ErrnoException::ErrnoException(usbguard::ErrnoException&&)' first required here throw usbguard::ErrnoException(context, #syscall_bool_expression, errno); \ ^ src/Library/IPCClientPrivate.cpp:73:5: note: in expansion of macro 'USBGUARD_SYSCALL_THROW' USBGUARD_SYSCALL_THROW("IPC client initialization", ^ In file included from /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/bits/stl_algobase.h:64:0, from /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/bits/char_traits.h:39, from /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/string:40, from ./src/Library/public/usbguard/Typedefs.hpp:22, from ./src/Library/public/usbguard/Exception.hpp:21, from src/Library/IPCPrivate.hpp:24, from src/Library/IPCClientPrivate.hpp:24, from src/Library/IPCClientPrivate.cpp:24: /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/bits/stl_pair.h: In instantiation of 'struct std::pair > >': src/Library/IPCClientPrivate.cpp:243:35: required from here /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/bits/stl_pair.h:102:11: error: 'std::pair<_T1, _T2>::second' has incomplete type _T2 second; /// @c second is a copy of the second object ^ In file included from src/Library/IPCClientPrivate.hpp:37:0, from src/Library/IPCClientPrivate.cpp:24: /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/future:122:11: error: declaration of 'class std::promise >' class promise; ^ src/Library/IPCClientPrivate.cpp: In member function 'usbguard::IPC::MessagePointer usbguard::IPCClientPrivate::qbIPCSendRecvMessage(usbguard::IPC::MessageType&)': src/Library/IPCClientPrivate.cpp:244:26: error: invalid use of incomplete type 'class std::promise >' auto future = promise.get_future(); ^ In file included from src/Library/IPCClientPrivate.hpp:37:0, from src/Library/IPCClientPrivate.cpp:24: /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/future:122:11: error: declaration of 'class std::promise >' class promise; ^ src/Library/IPCClientPrivate.cpp:257:10: error: in argument to unary ! if (!timed_out) { ^ src/Library/IPCClientPrivate.cpp: In member function 'void usbguard::IPCClientPrivate::process(const string&)': src/Library/IPCClientPrivate.cpp:333:77: warning: cast from 'const char*' to 'const qb_ipc_response_header*' increases required alignment of target type [-Wcast-align] reinterpret_cast(buffer.data()); ^ src/Library/IPCPrivate.cpp: In function 'uint64_t usbguard::IPC::getMessageHeaderID(const MessageType&)': src/Library/IPCPrivate.cpp:109:83: warning: cast from 'const google::protobuf::Message*' to 'const usbguard::IPC::MessageHeader*' increases required alignment of target type [-Wcast-align] const auto header = reinterpret_cast(header_message); ^ src/Library/IPCPrivate.cpp: In function 'void usbguard::IPC::setMessageHeaderID(usbguard::IPC::MessageType&, uint64_t)': src/Library/IPCPrivate.cpp:123:71: warning: cast from 'google::protobuf::Message*' to 'usbguard::IPC::MessageHeader*' increases required alignment of target type [-Wcast-align] auto header = reinterpret_cast(header_message); ^ src/Library/IPCClientPrivate.cpp: In member function 'void usbguard::IPCClientPrivate::handleMethodResponse(usbguard::IPC::MessagePointer&, usbguard::IPC::MessagePointer&)': src/Library/IPCClientPrivate.cpp:470:21: error: invalid use of incomplete type 'class std::promise >' return_promise.set_value(std::move(message_in)); ^ In file included from src/Library/IPCClientPrivate.hpp:37:0, from src/Library/IPCClientPrivate.cpp:24: /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/future:122:11: error: declaration of 'class std::promise >' class promise; ^ src/Library/IPCClientPrivate.cpp: In member function 'void usbguard::IPCClientPrivate::handleException(usbguard::IPC::MessagePointer&, usbguard::IPC::MessagePointer&)': src/Library/IPCClientPrivate.cpp:489:25: error: invalid use of incomplete type 'class std::promise >' return_promise.set_value(std::move(message_in)); ^ In file included from src/Library/IPCClientPrivate.hpp:37:0, from src/Library/IPCClientPrivate.cpp:24: /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/future:122:11: error: declaration of 'class std::promise >' class promise; ^ In file included from /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/map:61:0, from ./src/Library/public/usbguard/Logger.hpp:24, from ./src/Library/public/usbguard/Rule.hpp:25, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCServer.hpp:21, from src/Library/IPCPrivate.hpp:26, from src/Library/IPCClientPrivate.hpp:24, from src/Library/IPCClientPrivate.cpp:24: /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/bits/stl_map.h: In instantiation of 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = long long unsigned int; _Tp = std::promise >; _Compare = std::less; _Alloc = std::allocator > > >; std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type = std::promise >; std::map<_Key, _Tp, _Compare, _Alloc>::key_type = long long unsigned int]': src/Library/IPCClientPrivate.cpp:243:35: required from here /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/bits/stl_map.h:471:16: error: 'struct std::pair > >' has no member named 'second' return (*__i).second; ^ /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/bits/stl_map.h: In instantiation of 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::at(const key_type&) [with _Key = long long unsigned int; _Tp = std::promise >; _Compare = std::less; _Alloc = std::allocator > > >; std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type = std::promise >; std::map<_Key, _Tp, _Compare, _Alloc>::key_type = long long unsigned int]': src/Library/IPCClientPrivate.cpp:469:47: required from here /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/bits/stl_map.h:506:16: error: 'struct std::pair > >' has no member named 'second' return (*__i).second; ^ In file included from /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/functional:55:0, from /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/memory:79, from ./src/Library/public/usbguard/RuleCondition.hpp:24, from ./src/Library/public/usbguard/Rule.hpp:23, from ./src/Library/public/usbguard/Device.hpp:21, from ./src/Library/public/usbguard/DeviceManager.hpp:21, from ./src/Library/public/usbguard/IPCServer.hpp:21, from src/Library/IPCPrivate.hpp:26, from src/Library/IPCClientPrivate.hpp:24, from src/Library/IPCClientPrivate.cpp:24: /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/tuple: In instantiation of 'std::pair<_T1, _T2>::pair(std::tuple<_Args1 ...>&, std::tuple<_Args2 ...>&, std::_Index_tuple<_Indexes1 ...>, std::_Index_tuple<_Indexes2 ...>) [with _Args1 = {const long long unsigned int&}; unsigned int ..._Indexes1 = {0u}; _Args2 = {}; unsigned int ..._Indexes2 = {}; _T1 = const long long unsigned int; _T2 = std::promise >]': /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/tuple:1077:63: required from 'std::pair<_T1, _T2>::pair(std::piecewise_construct_t, std::tuple<_Args1 ...>, std::tuple<_Args2 ...>) [with _Args1 = {const long long unsigned int&}; _Args2 = {}; _T1 = const long long unsigned int; _T2 = std::promise >]' /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/bits/stl_tree.h:140:49: required from 'std::_Rb_tree_node<_Val>::_Rb_tree_node(_Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple, std::tuple<>}; _Val = std::pair > >]' /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/ext/new_allocator.h:120:4: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::_Rb_tree_node > > >; _Args = {const std::piecewise_construct_t&, std::tuple, std::tuple<>}; _Tp = std::_Rb_tree_node > > >]' /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/bits/alloc_traits.h:254:4: required from 'static typename std::enable_if::__construct_helper<_Tp, _Args>::value, void>::type std::allocator_traits<_Alloc>::_S_construct(_Alloc&, _Tp*, _Args&& ...) [with _Tp = std::_Rb_tree_node > > >; _Args = {const std::piecewise_construct_t&, std::tuple, std::tuple<>}; _Alloc = std::allocator > > > >; typename std::enable_if::__construct_helper<_Tp, _Args>::value, void>::type = void]' /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/bits/alloc_traits.h:393:57: required from 'static decltype (_S_construct(__a, __p, (forward<_Args>)(std::allocator_traits::construct::__args)...)) std::allocator_traits<_Alloc>::construct(_Alloc&, _Tp*, _Args&& ...) [with _Tp = std::_Rb_tree_node > > >; _Args = {const std::piecewise_construct_t&, std::tuple, std::tuple<>}; _Alloc = std::allocator > > > >; decltype (_S_construct(__a, __p, (forward<_Args>)(std::allocator_traits::construct::__args)...)) = ]' /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/bits/stl_tree.h:408:36: required from 'std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple, std::tuple<>}; _Key = long long unsigned int; _Val = std::pair > >; _KeyOfValue = std::_Select1st > > >; _Compare = std::less; _Alloc = std::allocator > > >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node > > >*]' /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/bits/stl_tree.h:1669:64: required from 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple, std::tuple<>}; _Key = long long unsigned int; _Val = std::pair > >; _KeyOfValue = std::_Select1st > > >; _Compare = std::less; _Alloc = std::allocator > > >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator > > >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator = std::_Rb_tree_const_iterator > > >]' /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/bits/stl_map.h:465:8: required from 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = long long unsigned int; _Tp = std::promise >; _Compare = std::less; _Alloc = std::allocator > > >; std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type = std::promise >; std::map<_Key, _Tp, _Compare, _Alloc>::key_type = long long unsigned int]' src/Library/IPCClientPrivate.cpp:243:35: required from here /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/tuple:1088:70: error: using invalid field 'std::pair<_T1, _T2>::second' second(std::forward<_Args2>(std::get<_Indexes2>(__tuple2))...) ^ At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] CXX src/Library/libusbguard_la-KeyValueParserPrivate.lo At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] Makefile:1762: recipe for target 'src/Library/libusbguard_la-IPCClientPrivate.lo' failed make[3]: *** [src/Library/libusbguard_la-IPCClientPrivate.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from ./src/Common/Utility.hpp:24:0, from src/Library/KeyValueParserPrivate.cpp:26: ./src/Library/public/usbguard/Exception.hpp:51:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(const Exception& rhs) = default; ^ ./src/Library/public/usbguard/Exception.hpp: In constructor 'usbguard::IPCException::IPCException(const usbguard::Exception&, uint64_t)': ./src/Library/public/usbguard/Exception.hpp:151:31: note: synthesized method 'usbguard::Exception::Exception(const usbguard::Exception&)' first required here _message_id(message_id) ^ ./src/Library/public/usbguard/Exception.hpp: At global scope: ./src/Library/public/usbguard/Exception.hpp:54:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(Exception&& rhs) = default; ^ src/Library/IPCServerPrivate.cpp: In constructor 'usbguard::IPCServerPrivate::IPCServerPrivate(usbguard::IPCServer&)': ./src/Library/public/usbguard/Exception.hpp:116:54: note: synthesized method 'usbguard::Exception::Exception(usbguard::Exception&&)' first required here ::usbguard::Exception(__PRETTY_FUNCTION__, "BUG", m) ^ src/Library/IPCServerPrivate.cpp:48:13: note: in expansion of macro 'USBGUARD_BUG' throw USBGUARD_BUG("Only one instance of IPCServer per process allowed"); ^ At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] ./src/Library/public/usbguard/Exception.hpp: At global scope: ./src/Library/public/usbguard/Exception.hpp:54:5: warning: unused parameter 'rhs' [-Wunused-parameter] Exception(Exception&& rhs) = default; ^ src/Library/KeyValueParserPrivate.cpp: In member function 'std::pair, std::basic_string > usbguard::KeyValueParserPrivate::parseLine(std::string&)': src/Library/KeyValueParserPrivate.cpp:69:86: note: synthesized method 'usbguard::Exception::Exception(usbguard::Exception&&)' first required here throw Exception("KeyValueParser", "Parser", "Separator not found: syntax error"); ^ At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] At global scope: cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default] cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default] make[3]: Leaving directory '/home/buildroot/autobuild/instance-3/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-3/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-3/output-1/build/usbguard-1.0.0' package/pkg-generic.mk:267: recipe for target '/home/buildroot/autobuild/instance-3/output-1/build/usbguard-1.0.0/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-3/output-1/build/usbguard-1.0.0/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-3/buildroot'