>>> glog 0.6.0 Downloading wget --passive-ftp -nd -t 3 -O '/home/autobuild/autobuild/instance-12/output-1/build/.glog-0.6.0.tar.gz.FbwkAA/output' 'https://github.com/google/glog/archive/v0.6.0/glog-0.6.0.tar.gz' --2023-02-01 06:57:10-- https://github.com/google/glog/archive/v0.6.0/glog-0.6.0.tar.gz Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt' Resolving github.com (github.com)... 140.82.114.4 Connecting to github.com (github.com)|140.82.114.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/google/glog/tar.gz/refs/tags/v0.6.0 [following] --2023-02-01 06:57:10-- https://codeload.github.com/google/glog/tar.gz/refs/tags/v0.6.0 Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 193267 (189K) [application/x-gzip] Saving to: '/home/autobuild/autobuild/instance-12/output-1/build/.glog-0.6.0.tar.gz.FbwkAA/output' 0K .......... .......... .......... .......... .......... 26% 485K 0s 50K .......... .......... .......... .......... .......... 52% 1.04M 0s 100K .......... .......... .......... .......... .......... 79% 11.5M 0s 150K .......... .......... .......... ........ 100% 832K=0.2s 2023-02-01 06:57:10 (939 KB/s) - '/home/autobuild/autobuild/instance-12/output-1/build/.glog-0.6.0.tar.gz.FbwkAA/output' saved [193267/193267] glog-0.6.0.tar.gz: OK (sha256: 8a83bf982f37bb70825df71a9709fa90ea9f4447fb3c099e1d720a439d88bad6) >>> glog 0.6.0 Extracting gzip -d -c /home/autobuild/autobuild/instance-12/dl/glog/glog-0.6.0.tar.gz | tar --strip-components=1 -C /home/autobuild/autobuild/instance-12/output-1/build/glog-0.6.0 -xf - >>> glog 0.6.0 Patching Applying 0001-added-emscripten-support.patch using patch: patching file .github/workflows/emscripten.yml patching file CMakeLists.txt Hunk #2 succeeded at 192 (offset -5 lines). Hunk #3 succeeded at 205 (offset -5 lines). patching file src/config.h.cmake.in Hunk #1 succeeded at 115 (offset -3 lines). patching file src/glog/logging.h.in Hunk #2 succeeded at 1814 (offset -8 lines). patching file src/glog/platform.h patching file src/logging.cc Hunk #1 succeeded at 2187 (offset -1 lines). Hunk #2 succeeded at 2222 (offset -1 lines). Hunk #3 succeeded at 2275 (offset -1 lines). patching file src/raw_logging.cc patching file src/stacktrace_unwind-inl.h patching file src/symbolize.cc patching file src/utilities.h >>> glog 0.6.0 Configuring (mkdir -p /home/autobuild/autobuild/instance-12/output-1/build/glog-0.6.0/ && cd /home/autobuild/autobuild/instance-12/output-1/build/glog-0.6.0/ && rm -f CMakeCache.txt && PATH="/home/autobuild/autobuild/instance-12/output-1/host/bin:/home/autobuild/autobuild/instance-12/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" /home/autobuild/autobuild/instance-12/output-1/host/bin/cmake /home/autobuild/autobuild/instance-12/output-1/build/glog-0.6.0/ -G"Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/autobuild/autobuild/instance-12/output-1/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_INSTALL_RUNSTATEDIR="/run" -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=OFF -DWITH_GTEST=OFF -DWITH_THREADS=OFF -DWITH_GFLAGS=OFF ) -- The CXX compiler identification is GNU 10.4.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /home/autobuild/autobuild/instance-12/output-1/host/bin/riscv64-buildroot-linux-uclibc-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Could NOT find Unwind (missing: Unwind_INCLUDE_DIR Unwind_LIBRARY) -- Looking for _Unwind_Backtrace -- Looking for _Unwind_Backtrace - not found -- Looking for _Unwind_GetIP -- Looking for _Unwind_GetIP - not found -- Looking for C++ include dlfcn.h -- Looking for C++ include dlfcn.h - not found -- Looking for C++ include execinfo.h -- Looking for C++ include execinfo.h - not found -- Looking for C++ include glob.h -- Looking for C++ include glob.h - found -- Looking for C++ include inttypes.h -- Looking for C++ include inttypes.h - found -- Looking for C++ include memory.h -- Looking for C++ include memory.h - found -- Looking for C++ include pwd.h -- Looking for C++ include pwd.h - found -- Looking for C++ include stdint.h -- Looking for C++ include stdint.h - found -- Looking for C++ include strings.h -- Looking for C++ include strings.h - found -- Looking for C++ include sys/stat.h -- Looking for C++ include sys/stat.h - found -- Looking for C++ include sys/syscall.h -- Looking for C++ include sys/syscall.h - found -- Looking for C++ include sys/time.h -- Looking for C++ include sys/time.h - found -- Looking for C++ include sys/types.h -- Looking for C++ include sys/types.h - found -- Looking for C++ include sys/utsname.h -- Looking for C++ include sys/utsname.h - found -- Looking for C++ include sys/wait.h -- Looking for C++ include sys/wait.h - found -- Looking for C++ include syscall.h -- Looking for C++ include syscall.h - found -- Looking for C++ include syslog.h -- Looking for C++ include syslog.h - found -- Looking for C++ include ucontext.h -- Looking for C++ include ucontext.h - found -- Looking for C++ include unistd.h -- Looking for C++ include unistd.h - found -- Looking for C++ include ext/hash_map -- Looking for C++ include ext/hash_map - found -- Looking for C++ include ext/hash_set -- Looking for C++ include ext/hash_set - found -- Looking for C++ include ext/slist -- Looking for C++ include ext/slist - found -- Looking for C++ include tr1/unordered_map -- Looking for C++ include tr1/unordered_map - found -- Looking for C++ include tr1/unordered_set -- Looking for C++ include tr1/unordered_set - found -- Looking for C++ include unordered_map -- Looking for C++ include unordered_map - found -- Looking for C++ include unordered_set -- Looking for C++ include unordered_set - found -- Looking for C++ include stddef.h -- Looking for C++ include stddef.h - found -- Check size of unsigned __int16 -- Check size of unsigned __int16 - failed -- Check size of u_int16_t -- Check size of u_int16_t - done -- Check size of uint16_t -- Check size of uint16_t - done -- Looking for dladdr -- Looking for dladdr - not found -- Looking for fcntl -- Looking for fcntl - not found -- Looking for pread -- Looking for pread - not found -- Looking for pwrite -- Looking for pwrite - not found -- Looking for sigaction -- Looking for sigaction - not found -- Looking for sigaltstack -- Looking for sigaltstack - not found -- Performing Test HAVE_NO_DEPRECATED -- Performing Test HAVE_NO_DEPRECATED - Success -- Performing Test HAVE_NO_UNNAMED_TYPE_TEMPLATE_ARGS -- Performing Test HAVE_NO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed -- Looking for pthread_threadid_np -- Looking for pthread_threadid_np - not found -- Looking for snprintf -- Looking for snprintf - found -- Looking for UnDecorateSymbolName in dbghelp -- Looking for UnDecorateSymbolName in dbghelp - not found -- Performing Test HAVE___ATTRIBUTE__ -- Performing Test HAVE___ATTRIBUTE__ - Success -- Performing Test HAVE___ATTRIBUTE__VISIBILITY_DEFAULT -- Performing Test HAVE___ATTRIBUTE__VISIBILITY_DEFAULT - Success -- Performing Test HAVE___ATTRIBUTE__VISIBILITY_HIDDEN -- Performing Test HAVE___ATTRIBUTE__VISIBILITY_HIDDEN - Success -- Performing Test HAVE___BUILTIN_EXPECT -- Performing Test HAVE___BUILTIN_EXPECT - Success -- Performing Test HAVE___SYNC_VAL_COMPARE_AND_SWAP -- Performing Test HAVE___SYNC_VAL_COMPARE_AND_SWAP - Failed -- Performing Test HAVE___DECLSPEC -- Performing Test HAVE___DECLSPEC - Failed -- Performing Test STL_NO_NAMESPACE -- Performing Test STL_NO_NAMESPACE - Failed -- Performing Test STL_STD_NAMESPACE -- Performing Test STL_STD_NAMESPACE - Success -- Performing Test HAVE_USING_OPERATOR -- Performing Test HAVE_USING_OPERATOR - Failed -- Performing Test HAVE_NAMESPACES -- Performing Test HAVE_NAMESPACES - Success -- Performing Test HAVE_GCC_TLS -- Performing Test HAVE_GCC_TLS - Success -- Performing Test HAVE_MSVC_TLS -- Performing Test HAVE_MSVC_TLS - Failed -- Performing Test HAVE_CXX11_TLS -- Performing Test HAVE_CXX11_TLS - Success -- Performing Test HAVE_ALIGNED_STORAGE -- Performing Test HAVE_ALIGNED_STORAGE - Success -- Performing Test HAVE_CXX11_ATOMIC -- Performing Test HAVE_CXX11_ATOMIC - Success -- Performing Test HAVE_CXX11_CONSTEXPR -- Performing Test HAVE_CXX11_CONSTEXPR - Success -- Performing Test HAVE_CXX11_CHRONO -- Performing Test HAVE_CXX11_CHRONO - Success -- Performing Test HAVE_CXX11_NULLPTR_T -- Performing Test HAVE_CXX11_NULLPTR_T - Success -- Performing Test HAVE_LOCALTIME_R -- Performing Test HAVE_LOCALTIME_R - Failed -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success -- 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/autobuild/autobuild/instance-12/output-1/build/glog-0.6.0 >>> glog 0.6.0 Building PATH="/home/autobuild/autobuild/instance-12/output-1/host/bin:/home/autobuild/autobuild/instance-12/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" /home/autobuild/make/make -j1 -C /home/autobuild/autobuild/instance-12/output-1/build/glog-0.6.0/ make[1]: Entering directory '/home/autobuild/autobuild/instance-12/output-1/build/glog-0.6.0' [ 14%] Building CXX object CMakeFiles/glogbase.dir/src/demangle.cc.o [ 28%] Building CXX object CMakeFiles/glogbase.dir/src/logging.cc.o /home/autobuild/autobuild/instance-12/output-1/build/glog-0.6.0/src/logging.cc:215:16: error: 'ssize_t pread(int, void*, size_t, off_t)' was declared 'extern' and later 'static' [-fpermissive] 215 | static ssize_t pread(int fd, void* buf, size_t count, off_t offset) { | ^~~~~ In file included from /home/autobuild/autobuild/instance-12/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/features.h:400, from /home/autobuild/autobuild/instance-12/output-1/host/riscv64-buildroot-linux-uclibc/include/c++/10.4.0/riscv64-buildroot-linux-uclibc/bits/os_defines.h:39, from /home/autobuild/autobuild/instance-12/output-1/host/riscv64-buildroot-linux-uclibc/include/c++/10.4.0/riscv64-buildroot-linux-uclibc/bits/c++config.h:522, from /home/autobuild/autobuild/instance-12/output-1/host/riscv64-buildroot-linux-uclibc/include/c++/10.4.0/cassert:43, from /home/autobuild/autobuild/instance-12/output-1/build/glog-0.6.0/src/base/mutex.h:152, from /home/autobuild/autobuild/instance-12/output-1/build/glog-0.6.0/src/utilities.h:55, from /home/autobuild/autobuild/instance-12/output-1/build/glog-0.6.0/src/logging.cc:32: /home/autobuild/autobuild/instance-12/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/unistd.h:388:16: note: previous declaration of 'ssize_t pread(int, void*, size_t, __off64_t)' 388 | extern ssize_t __REDIRECT (pread, (int __fd, void *__buf, size_t __nbytes, | ^~~~~~~~~~ make[3]: *** [CMakeFiles/glogbase.dir/build.make:90: CMakeFiles/glogbase.dir/src/logging.cc.o] Error 1 make[2]: *** [CMakeFiles/Makefile2:85: CMakeFiles/glogbase.dir/all] Error 2 make[1]: *** [Makefile:156: all] Error 2 make[1]: Leaving directory '/home/autobuild/autobuild/instance-12/output-1/build/glog-0.6.0' make: *** [package/pkg-generic.mk:293: /home/autobuild/autobuild/instance-12/output-1/build/glog-0.6.0/.stamp_built] Error 2 make: Leaving directory '/home/autobuild/autobuild/instance-12/buildroot'