core.c: In function 'libusb_reset_device': core.c:1846:11: warning: zero-length gnu_printf format string [-Wformat-zero-length] usbi_dbg(""); ^ libusbi.h:238:71: note: in definition of macro '_usbi_log' #define _usbi_log(ctx, level, ...) usbi_log(ctx, level, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~ core.c:1846:2: note: in expansion of macro 'usbi_dbg' usbi_dbg(""); ^~~~~~~~ core.c: In function 'libusb_exit': core.c:2370:11: warning: zero-length gnu_printf format string [-Wformat-zero-length] usbi_dbg(""); ^ libusbi.h:238:71: note: in definition of macro '_usbi_log' #define _usbi_log(ctx, level, ...) usbi_log(ctx, level, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~ core.c:2370:2: note: in expansion of macro 'usbi_dbg' usbi_dbg(""); ^~~~~~~~ CC libusb_1_0_la-strerror.lo CC libusb_1_0_la-sync.lo CC os/libusb_1_0_la-poll_posix.lo CC os/libusb_1_0_la-threads_posix.lo CC os/libusb_1_0_la-linux_usbfs.lo CC os/libusb_1_0_la-linux_netlink.lo CCLD libusb-1.0.la make[3]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/host-libusb-1.0.23/libusb' Making all in doc make[3]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/host-libusb-1.0.23/doc' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/host-libusb-1.0.23/doc' make[3]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/host-libusb-1.0.23' make[3]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/host-libusb-1.0.23' make[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/host-libusb-1.0.23' make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/host-libusb-1.0.23' >>> host-libusb 1.0.23 Installing to host directory PATH="/home/buildroot/autobuild/instance-1/output-1/host/bin:/home/buildroot/autobuild/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PKG_CONFIG="/home/buildroot/autobuild/instance-1/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/buildroot/autobuild/instance-1/output-1/host/lib/pkgconfig:/home/buildroot/autobuild/instance-1/output-1/host/share/pkgconfig" /usr/bin/make -j4 install -C /home/buildroot/autobuild/instance-1/output-1/build/host-libusb-1.0.23/ make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/host-libusb-1.0.23' Making install in libusb make[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/host-libusb-1.0.23/libusb' make[3]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/host-libusb-1.0.23/libusb' /bin/mkdir -p '/home/buildroot/autobuild/instance-1/output-1/host/lib' /bin/mkdir -p '/home/buildroot/autobuild/instance-1/output-1/host/include/libusb-1.0' /bin/bash ../libtool --mode=install /usr/bin/install -c libusb-1.0.la '/home/buildroot/autobuild/instance-1/output-1/host/lib' /usr/bin/install -c -m 644 libusb.h '/home/buildroot/autobuild/instance-1/output-1/host/include/libusb-1.0' libtool: install: /usr/bin/install -c .libs/libusb-1.0.so.0.2.0 /home/buildroot/autobuild/instance-1/output-1/host/lib/libusb-1.0.so.0.2.0 libtool: install: (cd /home/buildroot/autobuild/instance-1/output-1/host/lib && { ln -s -f libusb-1.0.so.0.2.0 libusb-1.0.so.0 || { rm -f libusb-1.0.so.0 && ln -s libusb-1.0.so.0.2.0 libusb-1.0.so.0; }; }) libtool: install: (cd /home/buildroot/autobuild/instance-1/output-1/host/lib && { ln -s -f libusb-1.0.so.0.2.0 libusb-1.0.so || { rm -f libusb-1.0.so && ln -s libusb-1.0.so.0.2.0 libusb-1.0.so; }; }) libtool: install: /usr/bin/install -c .libs/libusb-1.0.lai /home/buildroot/autobuild/instance-1/output-1/host/lib/libusb-1.0.la libtool: finish: PATH="/home/buildroot/autobuild/instance-1/output-1/host/bin:/home/buildroot/autobuild/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /home/buildroot/autobuild/instance-1/output-1/host/lib ---------------------------------------------------------------------- Libraries have been installed in: /home/buildroot/autobuild/instance-1/output-1/host/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the 'LD_RUN_PATH' environment variable during linking - use the '-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to '/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make[3]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/host-libusb-1.0.23/libusb' make[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/host-libusb-1.0.23/libusb' Making install in doc make[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/host-libusb-1.0.23/doc' make[3]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/host-libusb-1.0.23/doc' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/host-libusb-1.0.23/doc' make[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/host-libusb-1.0.23/doc' make[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/host-libusb-1.0.23' make[3]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/host-libusb-1.0.23' make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/home/buildroot/autobuild/instance-1/output-1/host/lib/pkgconfig' /usr/bin/install -c -m 644 libusb-1.0.pc '/home/buildroot/autobuild/instance-1/output-1/host/lib/pkgconfig' make[3]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/host-libusb-1.0.23' make[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/host-libusb-1.0.23' make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/host-libusb-1.0.23' raspberrypi-usbboot-f4e3f0f9a3c64d846ba53ec3367e33a4f9a7d051.tar.gz: OK (sha256: a8893f8a10522bd58866eb34e7f0d7731c43200d585f122681f428cdef76e676) >>> host-raspberrypi-usbboot f4e3f0f9a3c64d846ba53ec3367e33a4f9a7d051 Extracting gzip -d -c /home/buildroot/autobuild/instance-1/dl/raspberrypi-usbboot/raspberrypi-usbboot-f4e3f0f9a3c64d846ba53ec3367e33a4f9a7d051.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-1/output-1/build/host-raspberrypi-usbboot-f4e3f0f9a3c64d846ba53ec3367e33a4f9a7d051 -xf - >>> host-raspberrypi-usbboot f4e3f0f9a3c64d846ba53ec3367e33a4f9a7d051 Patching Applying 0001-Makefile-allow-passing-CFLAGS-LDFLAGS.patch using patch: patching file Makefile Applying 0002-Makefile-add-DESTDIR-support.patch using patch: patching file Makefile Applying 0003-main.c-rework-logic-to-find-def1-def2-and-def3-files.patch using patch: patching file main.c >>> host-raspberrypi-usbboot f4e3f0f9a3c64d846ba53ec3367e33a4f9a7d051 Configuring >>> host-raspberrypi-usbboot f4e3f0f9a3c64d846ba53ec3367e33a4f9a7d051 Building PATH="/home/buildroot/autobuild/instance-1/output-1/host/bin:/home/buildroot/autobuild/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PKG_CONFIG="/home/buildroot/autobuild/instance-1/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/buildroot/autobuild/instance-1/output-1/host/lib/pkgconfig:/home/buildroot/autobuild/instance-1/output-1/host/share/pkgconfig" /usr/bin/make -j4 PATH="/home/buildroot/autobuild/instance-1/output-1/host/bin:/home/buildroot/autobuild/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PKG_CONFIG="/home/buildroot/autobuild/instance-1/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/buildroot/autobuild/instance-1/output-1/host/lib/pkgconfig:/home/buildroot/autobuild/instance-1/output-1/host/share/pkgconfig" AR="/usr/bin/ar" AS="/usr/bin/as" LD="/usr/bin/ld" NM="/usr/bin/nm" CC="/usr/bin/gcc" GCC="/usr/bin/gcc" CXX="/usr/bin/g++" CPP="/usr/bin/cpp" OBJCOPY="/usr/bin/objcopy" RANLIB="/usr/bin/ranlib" CPPFLAGS="-I/home/buildroot/autobuild/instance-1/output-1/host/include" CFLAGS="-O2 -I/home/buildroot/autobuild/instance-1/output-1/host/include" CXXFLAGS="-O2 -I/home/buildroot/autobuild/instance-1/output-1/host/include" LDFLAGS="-L/home/buildroot/autobuild/instance-1/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-1/output-1/host/lib" INTLTOOL_PERL=/usr/bin/perl -C /home/buildroot/autobuild/instance-1/output-1/build/host-raspberrypi-usbboot-f4e3f0f9a3c64d846ba53ec3367e33a4f9a7d051 make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/host-raspberrypi-usbboot-f4e3f0f9a3c64d846ba53ec3367e33a4f9a7d051' /usr/bin/gcc -g -O2 -I/home/buildroot/autobuild/instance-1/output-1/host/include -o rpiboot main.c -lusb-1.0 -L/home/buildroot/autobuild/instance-1/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-1/output-1/host/lib main.c: In function 'main': main.c:297:2: warning: 'libusb_set_debug' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations] libusb_set_debug(ctx, verbose ? LIBUSB_LOG_LEVEL_WARNING : 0); ^~~~~~~~~~~~~~~~ In file included from main.c:8:0: /home/buildroot/autobuild/instance-1/output-1/host/include/libusb-1.0/libusb.h:1325:18: note: declared here void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level); ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/host-raspberrypi-usbboot-f4e3f0f9a3c64d846ba53ec3367e33a4f9a7d051' >>> host-raspberrypi-usbboot f4e3f0f9a3c64d846ba53ec3367e33a4f9a7d051 Installing to host directory PATH="/home/buildroot/autobuild/instance-1/output-1/host/bin:/home/buildroot/autobuild/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PKG_CONFIG="/home/buildroot/autobuild/instance-1/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/buildroot/autobuild/instance-1/output-1/host/lib/pkgconfig:/home/buildroot/autobuild/instance-1/output-1/host/share/pkgconfig" /usr/bin/make -j4 PATH="/home/buildroot/autobuild/instance-1/output-1/host/bin:/home/buildroot/autobuild/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PKG_CONFIG="/home/buildroot/autobuild/instance-1/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/buildroot/autobuild/instance-1/output-1/host/lib/pkgconfig:/home/buildroot/autobuild/instance-1/output-1/host/share/pkgconfig" AR="/usr/bin/ar" AS="/usr/bin/as" LD="/usr/bin/ld" NM="/usr/bin/nm" CC="/usr/bin/gcc" GCC="/usr/bin/gcc" CXX="/usr/bin/g++" CPP="/usr/bin/cpp" OBJCOPY="/usr/bin/objcopy" RANLIB="/usr/bin/ranlib" CPPFLAGS="-I/home/buildroot/autobuild/instance-1/output-1/host/include" CFLAGS="-O2 -I/home/buildroot/autobuild/instance-1/output-1/host/include" CXXFLAGS="-O2 -I/home/buildroot/autobuild/instance-1/output-1/host/include" LDFLAGS="-L/home/buildroot/autobuild/instance-1/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-1/output-1/host/lib" INTLTOOL_PERL=/usr/bin/perl -C /home/buildroot/autobuild/instance-1/output-1/build/host-raspberrypi-usbboot-f4e3f0f9a3c64d846ba53ec3367e33a4f9a7d051 DESTDIR=/home/buildroot/autobuild/instance-1/output-1/host install make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/host-raspberrypi-usbboot-f4e3f0f9a3c64d846ba53ec3367e33a4f9a7d051' cp rpiboot /home/buildroot/autobuild/instance-1/output-1/hostbin mkdir -p /home/buildroot/autobuild/instance-1/output-1/host/share/rpiboot cp usbbootcode.bin /home/buildroot/autobuild/instance-1/output-1/host/share/rpiboot cp msd.elf /home/buildroot/autobuild/instance-1/output-1/host/share/rpiboot cp buildroot.elf /home/buildroot/autobuild/instance-1/output-1/host/share/rpiboot make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/host-raspberrypi-usbboot-f4e3f0f9a3c64d846ba53ec3367e33a4f9a7d051' re2-2020-08-01.tar.gz: OK (sha256: 6f4c8514249cd65b9e85d3e6f4c35595809a63ad71c5d93083e4d1dcdf9e0cd6) >>> re2 2020-08-01 Extracting gzip -d -c /home/buildroot/autobuild/instance-1/dl/re2/re2-2020-08-01.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01 -xf - >>> re2 2020-08-01 Patching >>> re2 2020-08-01 Configuring (mkdir -p /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/ && cd /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/ && rm -f CMakeCache.txt && PATH="/home/buildroot/autobuild/instance-1/output-1/host/bin:/home/buildroot/autobuild/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /home/buildroot/autobuild/instance-1/output-1/host/bin/cmake /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/ -DCMAKE_TOOLCHAIN_FILE="/home/buildroot/autobuild/instance-1/output-1/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DRE2_BUILD_TESTING=OFF ) -- The CXX compiler identification is GNU 8.3.0 -- Check for working CXX compiler: /home/buildroot/autobuild/instance-1/output-1/host/bin/arm-linux-g++ -- Check for working CXX compiler: /home/buildroot/autobuild/instance-1/output-1/host/bin/arm-linux-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_TEST BUILD_TESTS -- Build files have been written to: /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01 >>> re2 2020-08-01 Building PATH="/home/buildroot/autobuild/instance-1/output-1/host/bin:/home/buildroot/autobuild/instance-1/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-1/output-1/build/re2-2020-08-01/ make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01' make[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01' make[3]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01' Scanning dependencies of target re2 make[3]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01' make[3]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01' [ 4%] Building CXX object CMakeFiles/re2.dir/re2/bitstate.cc.o [ 8%] Building CXX object CMakeFiles/re2.dir/re2/dfa.cc.o [ 13%] Building CXX object CMakeFiles/re2.dir/re2/filtered_re2.cc.o [ 17%] Building CXX object CMakeFiles/re2.dir/re2/compile.cc.o In file included from /home/buildroot/autobuild/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/stdint.h:25, from /home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/lib/gcc/arm-buildroot-linux-uclibcgnueabihf/8.3.0/include/stdint.h:9, from /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/compile.cc:11: /home/buildroot/autobuild/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/features.h:218:5: warning: #warning requested reentrant code, but thread support was disabled [-Wcpp] # warning requested reentrant code, but thread support was disabled ^~~~~~~ In file included from /home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-uclibcgnueabihf/include/c++/8.3.0/arm-buildroot-linux-uclibcgnueabihf/bits/os_defines.h:39, from /home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-uclibcgnueabihf/include/c++/8.3.0/arm-buildroot-linux-uclibcgnueabihf/bits/c++config.h:508, from /home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-uclibcgnueabihf/include/c++/8.3.0/bits/stl_algobase.h:59, from /home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-linux-uclibcgnueabihf/include/c++/8.3.0/memory:62, from /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/filtered_re2.h:24, from /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/filtered_re2.cc:5: /home/buildroot/autobuild/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/features.h:218:5: warning: #warning requested reentrant code, but thread support was disabled [-Wcpp] # warning requested reentrant code, but thread support was disabled ^~~~~~~ In file included from /home/buildroot/autobuild/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/stdint.h:25, from /home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/lib/gcc/arm-buildroot-linux-uclibcgnueabihf/8.3.0/include/stdint.h:9, from /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/dfa.cc:25: /home/buildroot/autobuild/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/features.h:218:5: warning: #warning requested reentrant code, but thread support was disabled [-Wcpp] # warning requested reentrant code, but thread support was disabled ^~~~~~~ In file included from /home/buildroot/autobuild/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/stdint.h:25, from /home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/lib/gcc/arm-buildroot-linux-uclibcgnueabihf/8.3.0/include/stdint.h:9, from /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/bitstate.cc:21: /home/buildroot/autobuild/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/features.h:218:5: warning: #warning requested reentrant code, but thread support was disabled [-Wcpp] # warning requested reentrant code, but thread support was disabled ^~~~~~~ In file included from /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/filtered_re2.h:28, from /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/filtered_re2.cc:5: /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:768:16: error: 'once_flag' in namespace 'std' does not name a type mutable std::once_flag rprog_once_; ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:768:11: note: 'std::once_flag' is defined in header ''; did you forget to '#include '? /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:218:1: +#include /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:768:11: mutable std::once_flag rprog_once_; ^~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:769:16: error: 'once_flag' in namespace 'std' does not name a type mutable std::once_flag named_groups_once_; ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:769:11: note: 'std::once_flag' is defined in header ''; did you forget to '#include '? mutable std::once_flag named_groups_once_; ^~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:770:16: error: 'once_flag' in namespace 'std' does not name a type mutable std::once_flag group_names_once_; ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:770:11: note: 'std::once_flag' is defined in header ''; did you forget to '#include '? mutable std::once_flag group_names_once_; ^~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:945:16: error: 'once_flag' in namespace 'std' does not name a type mutable std::once_flag once_; ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:945:11: note: 'std::once_flag' is defined in header ''; did you forget to '#include '? mutable std::once_flag once_; ^~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h: In member function 're2::RE2* re2::LazyRE2::get() const': /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:935:10: error: 'call_once' is not a member of 'std' std::call_once(once_, &LazyRE2::Init, this); ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:935:10: note: suggested alternative: 'all_of' std::call_once(once_, &LazyRE2::Init, this); ^~~~~~~~~ all_of /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:935:20: error: 'once_' was not declared in this scope std::call_once(once_, &LazyRE2::Init, this); ^~~~~ In file included from /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/prog.h:22, from /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/bitstate.cc:28: /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:768:16: error: 'once_flag' in namespace 'std' does not name a type mutable std::once_flag rprog_once_; ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:768:11: note: 'std::once_flag' is defined in header ''; did you forget to '#include '? /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:218:1: +#include /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:768:11: mutable std::once_flag rprog_once_; ^~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:769:16: error: 'once_flag' in namespace 'std' does not name a type mutable std::once_flag named_groups_once_; ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:769:11: note: 'std::once_flag' is defined in header ''; did you forget to '#include '? mutable std::once_flag named_groups_once_; ^~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:770:16: error: 'once_flag' in namespace 'std' does not name a type mutable std::once_flag group_names_once_; ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:770:11: note: 'std::once_flag' is defined in header ''; did you forget to '#include '? mutable std::once_flag group_names_once_; ^~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:945:16: error: 'once_flag' in namespace 'std' does not name a type mutable std::once_flag once_; ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:945:11: note: 'std::once_flag' is defined in header ''; did you forget to '#include '? mutable std::once_flag once_; ^~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h: In member function 're2::RE2* re2::LazyRE2::get() const': /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:935:10: error: 'call_once' is not a member of 'std' std::call_once(once_, &LazyRE2::Init, this); ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:935:10: note: suggested alternative: 'all_of' std::call_once(once_, &LazyRE2::Init, this); ^~~~~~~~~ all_of /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:935:20: error: 'once_' was not declared in this scope std::call_once(once_, &LazyRE2::Init, this); ^~~~~ In file included from /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/dfa.cc:41: /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/util/mutex.h:37:14: error: 'mutex' in namespace 'std' does not name a type typedef std::mutex MutexType; ^~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/util/mutex.h:37:9: note: 'std::mutex' is defined in header ''; did you forget to '#include '? /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/util/mutex.h:23:1: +#include #if defined(_POSIX_READER_WRITER_LOCKS) && _POSIX_READER_WRITER_LOCKS > 0 /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/util/mutex.h:37:9: typedef std::mutex MutexType; ^~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/util/mutex.h:58:3: error: 'MutexType' does not name a type; did you mean 'Mutex'? MutexType mutex_; ^~~~~~~~~ Mutex /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/util/mutex.h: In member function 'void re2::Mutex::Lock()': /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/util/mutex.h:96:30: error: 'mutex_' was not declared in this scope void Mutex::Lock() { mutex_.lock(); } ^~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/util/mutex.h:96:30: note: suggested alternative: 'Mutex' void Mutex::Lock() { mutex_.lock(); } ^~~~~~ Mutex /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/util/mutex.h: In member function 'void re2::Mutex::Unlock()': /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/util/mutex.h:97:30: error: 'mutex_' was not declared in this scope void Mutex::Unlock() { mutex_.unlock(); } ^~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/util/mutex.h:97:30: note: suggested alternative: 'Mutex' void Mutex::Unlock() { mutex_.unlock(); } ^~~~~~ Mutex In file included from /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/bitstate.cc:28: /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/prog.h: At global scope: /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/prog.h:427:8: error: 'once_flag' in namespace 'std' does not name a type std::once_flag dfa_first_once_; ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/prog.h:427:3: note: 'std::once_flag' is defined in header ''; did you forget to '#include '? /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/prog.h:25:1: +#include /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/prog.h:427:3: std::once_flag dfa_first_once_; ^~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/prog.h:428:8: error: 'once_flag' in namespace 'std' does not name a type std::once_flag dfa_longest_once_; ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/prog.h:428:3: note: 'std::once_flag' is defined in header ''; did you forget to '#include '? std::once_flag dfa_longest_once_; ^~~ In file included from /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/prog.h:22, from /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/compile.cc:19: /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:768:16: error: 'once_flag' in namespace 'std' does not name a type mutable std::once_flag rprog_once_; ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:768:11: note: 'std::once_flag' is defined in header ''; did you forget to '#include '? /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:218:1: +#include /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:768:11: mutable std::once_flag rprog_once_; ^~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:769:16: error: 'once_flag' in namespace 'std' does not name a type mutable std::once_flag named_groups_once_; ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:769:11: note: 'std::once_flag' is defined in header ''; did you forget to '#include '? mutable std::once_flag named_groups_once_; ^~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:770:16: error: 'once_flag' in namespace 'std' does not name a type mutable std::once_flag group_names_once_; ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:770:11: note: 'std::once_flag' is defined in header ''; did you forget to '#include '? mutable std::once_flag group_names_once_; ^~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:945:16: error: 'once_flag' in namespace 'std' does not name a type mutable std::once_flag once_; ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:945:11: note: 'std::once_flag' is defined in header ''; did you forget to '#include '? mutable std::once_flag once_; ^~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h: In member function 're2::RE2* re2::LazyRE2::get() const': /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:935:10: error: 'call_once' is not a member of 'std' std::call_once(once_, &LazyRE2::Init, this); ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:935:10: note: suggested alternative: 'all_of' std::call_once(once_, &LazyRE2::Init, this); ^~~~~~~~~ all_of /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:935:20: error: 'once_' was not declared in this scope std::call_once(once_, &LazyRE2::Init, this); ^~~~~ CMakeFiles/re2.dir/build.make:101: recipe for target 'CMakeFiles/re2.dir/re2/filtered_re2.cc.o' failed make[3]: *** [CMakeFiles/re2.dir/re2/filtered_re2.cc.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/compile.cc:19: /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/prog.h: At global scope: /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/prog.h:427:8: error: 'once_flag' in namespace 'std' does not name a type std::once_flag dfa_first_once_; ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/prog.h:427:3: note: 'std::once_flag' is defined in header ''; did you forget to '#include '? /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/prog.h:25:1: +#include /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/prog.h:427:3: std::once_flag dfa_first_once_; ^~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/prog.h:428:8: error: 'once_flag' in namespace 'std' does not name a type std::once_flag dfa_longest_once_; ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/prog.h:428:3: note: 'std::once_flag' is defined in header ''; did you forget to '#include '? std::once_flag dfa_longest_once_; ^~~ In file included from /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/prog.h:22, from /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/dfa.cc:44: /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h: At global scope: /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:768:16: error: 'once_flag' in namespace 'std' does not name a type mutable std::once_flag rprog_once_; ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:768:11: note: 'std::once_flag' is defined in header ''; did you forget to '#include '? /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:209:1: +#include #include /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:768:11: mutable std::once_flag rprog_once_; ^~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:769:16: error: 'once_flag' in namespace 'std' does not name a type mutable std::once_flag named_groups_once_; ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:769:11: note: 'std::once_flag' is defined in header ''; did you forget to '#include '? mutable std::once_flag named_groups_once_; ^~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:770:16: error: 'once_flag' in namespace 'std' does not name a type mutable std::once_flag group_names_once_; ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:770:11: note: 'std::once_flag' is defined in header ''; did you forget to '#include '? mutable std::once_flag group_names_once_; ^~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:945:16: error: 'once_flag' in namespace 'std' does not name a type mutable std::once_flag once_; ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:945:11: note: 'std::once_flag' is defined in header ''; did you forget to '#include '? mutable std::once_flag once_; ^~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h: In member function 're2::RE2* re2::LazyRE2::get() const': /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:935:10: error: 'call_once' is not a member of 'std' std::call_once(once_, &LazyRE2::Init, this); ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:935:10: note: suggested alternative: 'all_of' std::call_once(once_, &LazyRE2::Init, this); ^~~~~~~~~ all_of /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/re2.h:935:20: error: 'once_' was not declared in this scope std::call_once(once_, &LazyRE2::Init, this); ^~~~~ In file included from /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/dfa.cc:44: /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/prog.h: At global scope: /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/prog.h:427:8: error: 'once_flag' in namespace 'std' does not name a type std::once_flag dfa_first_once_; ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/prog.h:427:3: note: 'std::once_flag' is defined in header ''; did you forget to '#include '? /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/prog.h:25:1: +#include /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/prog.h:427:3: std::once_flag dfa_first_once_; ^~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/prog.h:428:8: error: 'once_flag' in namespace 'std' does not name a type std::once_flag dfa_longest_once_; ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/prog.h:428:3: note: 'std::once_flag' is defined in header ''; did you forget to '#include '? std::once_flag dfa_longest_once_; ^~~ CMakeFiles/re2.dir/build.make:62: recipe for target 'CMakeFiles/re2.dir/re2/bitstate.cc.o' failed make[3]: *** [CMakeFiles/re2.dir/re2/bitstate.cc.o] Error 1 /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/dfa.cc: In member function 're2::DFA* re2::Prog::GetDFA(re2::Prog::MatchKind)': /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/dfa.cc:1785:10: error: 'call_once' is not a member of 'std' std::call_once(dfa_first_once_, [](Prog* prog) { ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/dfa.cc:1785:10: note: suggested alternative: 'all_of' std::call_once(dfa_first_once_, [](Prog* prog) { ^~~~~~~~~ all_of /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/dfa.cc:1785:20: error: 'dfa_first_once_' was not declared in this scope std::call_once(dfa_first_once_, [](Prog* prog) { ^~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/dfa.cc:1785:20: note: suggested alternative: 'dfa_first_' std::call_once(dfa_first_once_, [](Prog* prog) { ^~~~~~~~~~~~~~~ dfa_first_ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/dfa.cc:1790:10: error: 'call_once' is not a member of 'std' std::call_once(dfa_first_once_, [](Prog* prog) { ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/dfa.cc:1790:10: note: suggested alternative: 'all_of' std::call_once(dfa_first_once_, [](Prog* prog) { ^~~~~~~~~ all_of /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/dfa.cc:1790:20: error: 'dfa_first_once_' was not declared in this scope std::call_once(dfa_first_once_, [](Prog* prog) { ^~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/dfa.cc:1790:20: note: suggested alternative: 'dfa_first_' std::call_once(dfa_first_once_, [](Prog* prog) { ^~~~~~~~~~~~~~~ dfa_first_ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/dfa.cc:1795:10: error: 'call_once' is not a member of 'std' std::call_once(dfa_longest_once_, [](Prog* prog) { ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/dfa.cc:1795:10: note: suggested alternative: 'all_of' std::call_once(dfa_longest_once_, [](Prog* prog) { ^~~~~~~~~ all_of /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/dfa.cc:1795:20: error: 'dfa_longest_once_' was not declared in this scope std::call_once(dfa_longest_once_, [](Prog* prog) { ^~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/re2/dfa.cc:1795:20: note: suggested alternative: 'dfa_longest_' std::call_once(dfa_longest_once_, [](Prog* prog) { ^~~~~~~~~~~~~~~~~ dfa_longest_ CMakeFiles/re2.dir/build.make:75: recipe for target 'CMakeFiles/re2.dir/re2/compile.cc.o' failed make[3]: *** [CMakeFiles/re2.dir/re2/compile.cc.o] Error 1 CMakeFiles/re2.dir/build.make:88: recipe for target 'CMakeFiles/re2.dir/re2/dfa.cc.o' failed make[3]: *** [CMakeFiles/re2.dir/re2/dfa.cc.o] Error 1 make[3]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01' CMakeFiles/Makefile2:75: recipe for target 'CMakeFiles/re2.dir/all' failed make[2]: *** [CMakeFiles/re2.dir/all] Error 2 make[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01' Makefile:129: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01' package/pkg-generic.mk:247: recipe for target '/home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-1/output-1/build/re2-2020-08-01/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-1/buildroot'