Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libcouchbase.spec'], chrootPath='/var/lib/mock/f38-build-722539-98791/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libcouchbase.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1632268800 Wrote: /builddir/build/SRPMS/libcouchbase-3.2.2-1.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libcouchbase.spec'], chrootPath='/var/lib/mock/f38-build-722539-98791/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libcouchbase.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1632268800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.N3gvh9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libcouchbase-3.2.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libcouchbase-3.2.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libcouchbase-3.2.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libcouchbase-0001-enforce-system-crypto-policies.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DLCB_NO_MOCK=1 -- The C compiler identification is GNU 13.1.1 -- The CXX compiler identification is GNU 13.1.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found libevent in /usr/include : /usr/lib64/libevent_core.so -- Looking for event_new -- Looking for event_new - found -- Found libev in /usr/include : /usr/lib64/libev.so -- Looking for ev_loop -- Looking for ev_loop - not found -- Looking for ev_run -- Looking for ev_run - found -- libev4 found -- Found UV include dir: /usr/include -- Found libuv in /usr/include : /usr/lib64/libuv.so -- libcouchbase 3,2,2 -- Building libcouchbase 3.2.2/fadbd4d1617df952457abfa9984d095015f1ca52 -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.13") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Looking for ceil in m -- Looking for ceil in m - found -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Using embedded HdrHistogram_c -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "3.0.8") -- SSL Found: 3.0.8 (/usr/lib64/libssl.so;/usr/lib64/libcrypto.so) -- Performing Test HAVE_PKCS5_PBKDF2_HMAC -- Performing Test HAVE_PKCS5_PBKDF2_HMAC - Success CMake Deprecation Warning at contrib/gtest-1.8.1/CMakeLists.txt:50 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Found PythonInterp: /usr/bin/python3.11 (found version "3.11.3") -- Looking for gethrtime -- Looking for gethrtime - not found -- Looking for gettimeofday -- Looking for gettimeofday - found -- Looking for clock_gettime -- Looking for clock_gettime - found -- Looking for setitimer -- Looking for setitimer - found -- Looking for htonll -- Looking for htonll - not found -- Looking for res_search -- Looking for res_search - found -- Looking for include file dlfcn.h -- Looking for include file dlfcn.h - found -- Looking for include file netdb.h -- Looking for include file netdb.h - found -- Looking for include file stdint.h -- Looking for include file stdint.h - found -- Looking for include file stddef.h -- Looking for include file stddef.h - found -- Looking for include file strings.h -- Looking for include file strings.h - found -- Looking for include file sys/socket.h -- Looking for include file sys/socket.h - found -- Looking for include file sys/stat.h -- Looking for include file sys/stat.h - found -- Looking for include file sys/types.h -- Looking for include file sys/types.h - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for include file sys/uio.h -- Looking for include file sys/uio.h - found -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found -- Looking for include file sys/time.h -- Looking for include file sys/time.h - found -- Looking for include file arpa/inet.h -- Looking for include file arpa/inet.h - found -- Looking for include file inttypes.h -- Looking for include file inttypes.h - found -- Looking for include file arpa/nameser.h -- Looking for include file arpa/nameser.h - found -- Configuring done (38.8s) -- Generating done (0.8s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0mHDS2 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libcouchbase-3.2.2 + /usr/bin/cmake --build redhat-linux-build -j4 --verbose /usr/bin/cmake -S/builddir/build/BUILD/libcouchbase-3.2.2 -B/builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build/CMakeFiles /builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/couchbase_utils.dir/build.make CMakeFiles/couchbase_utils.dir/depend /usr/bin/gmake -f CMakeFiles/couchbase_utils-cxx.dir/build.make CMakeFiles/couchbase_utils-cxx.dir/depend /usr/bin/gmake -f CMakeFiles/netbuf.dir/build.make CMakeFiles/netbuf.dir/depend /usr/bin/gmake -f CMakeFiles/netbuf-malloc.dir/build.make CMakeFiles/netbuf-malloc.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build' cd /builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libcouchbase-3.2.2 /builddir/build/BUILD/libcouchbase-3.2.2 /builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build /builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build /builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build/CMakeFiles/couchbase_utils-cxx.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build' cd /builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libcouchbase-3.2.2 /builddir/build/BUILD/libcouchbase-3.2.2 /builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build /builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build /builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build/CMakeFiles/netbuf.dir/DependInfo.cmake --color= cd /builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libcouchbase-3.2.2 /builddir/build/BUILD/libcouchbase-3.2.2 /builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build /builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build /builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build/CMakeFiles/couchbase_utils.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build' cd /builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libcouchbase-3.2.2 /builddir/build/BUILD/libcouchbase-3.2.2 /builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build /builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build /builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build/CMakeFiles/netbuf-malloc.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/netbuf.dir/build.make CMakeFiles/netbuf.dir/build /usr/bin/gmake -f CMakeFiles/netbuf-malloc.dir/build.make CMakeFiles/netbuf-malloc.dir/build gmake[2]: Leaving directory '/builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/couchbase_utils.dir/build.make CMakeFiles/couchbase_utils.dir/build /usr/bin/gmake -f CMakeFiles/couchbase_utils-cxx.dir/build.make CMakeFiles/couchbase_utils-cxx.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build' [ 1%] Building C object CMakeFiles/netbuf.dir/src/netbuf/netbuf.c.o /usr/bin/gcc -DHAVE_DTRACE -DLIBCOUCHBASE_INTERNAL=1 -I/builddir/build/BUILD/libcouchbase-3.2.2 -I/builddir/build/BUILD/libcouchbase-3.2.2/src -I/builddir/build/BUILD/libcouchbase-3.2.2/contrib/cbsasl/include -I/builddir/build/BUILD/libcouchbase-3.2.2/contrib -I/builddir/build/BUILD/libcouchbase-3.2.2/include -I/builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build/generated -I/builddir/build/BUILD/libcouchbase-3.2.2/contrib/snappy -isystem /builddir/build/BUILD/libcouchbase-3.2.2/contrib/HdrHistogram_c/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fno-strict-aliasing -ggdb3 -pthread -std=gnu99 -fPIC -Wall -Wextra -pedantic -fdiagnostics-show-option -Wformat -Wno-strict-aliasing -Winit-self -Wno-missing-field-initializers -Wno-variadic-macros -Wshadow -Wunused -Wpedantic -Wlogical-op -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -DHAVE_VISIBILITY -fvisibility=hidden -MD -MT CMakeFiles/netbuf.dir/src/netbuf/netbuf.c.o -MF CMakeFiles/netbuf.dir/src/netbuf/netbuf.c.o.d -o CMakeFiles/netbuf.dir/src/netbuf/netbuf.c.o -c /builddir/build/BUILD/libcouchbase-3.2.2/src/netbuf/netbuf.c [ 1%] Building C object CMakeFiles/netbuf-malloc.dir/src/netbuf/netbuf.c.o /usr/bin/gcc -DHAVE_DTRACE -DLIBCOUCHBASE_INTERNAL=1 -DNETBUF_LIBC_PROXY=1 -I/builddir/build/BUILD/libcouchbase-3.2.2 -I/builddir/build/BUILD/libcouchbase-3.2.2/src -I/builddir/build/BUILD/libcouchbase-3.2.2/contrib/cbsasl/include -I/builddir/build/BUILD/libcouchbase-3.2.2/contrib -I/builddir/build/BUILD/libcouchbase-3.2.2/include -I/builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build/generated -I/builddir/build/BUILD/libcouchbase-3.2.2/contrib/snappy -isystem /builddir/build/BUILD/libcouchbase-3.2.2/contrib/HdrHistogram_c/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fno-strict-aliasing -ggdb3 -pthread -std=gnu99 -fPIC -Wall -Wextra -pedantic -fdiagnostics-show-option -Wformat -Wno-strict-aliasing -Winit-self -Wno-missing-field-initializers -Wno-variadic-macros -Wshadow -Wunused -Wpedantic -Wlogical-op -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -DHAVE_VISIBILITY -fvisibility=hidden -MD -MT CMakeFiles/netbuf-malloc.dir/src/netbuf/netbuf.c.o -MF CMakeFiles/netbuf-malloc.dir/src/netbuf/netbuf.c.o.d -o CMakeFiles/netbuf-malloc.dir/src/netbuf/netbuf.c.o -c /builddir/build/BUILD/libcouchbase-3.2.2/src/netbuf/netbuf.c [ 2%] Building C object CMakeFiles/couchbase_utils.dir/src/gethrtime.c.o [ 4%] Building CXX object CMakeFiles/couchbase_utils-cxx.dir/src/strcodecs/base64.cc.o /usr/bin/gcc -DHAVE_DTRACE -DLIBCOUCHBASE_INTERNAL=1 -I/builddir/build/BUILD/libcouchbase-3.2.2 -I/builddir/build/BUILD/libcouchbase-3.2.2/src -I/builddir/build/BUILD/libcouchbase-3.2.2/contrib/cbsasl/include -I/builddir/build/BUILD/libcouchbase-3.2.2/contrib -I/builddir/build/BUILD/libcouchbase-3.2.2/include -I/builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build/generated -I/builddir/build/BUILD/libcouchbase-3.2.2/contrib/snappy -isystem /builddir/build/BUILD/libcouchbase-3.2.2/contrib/HdrHistogram_c/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fno-strict-aliasing -ggdb3 -pthread -std=gnu99 -fPIC -Wall -Wextra -pedantic -fdiagnostics-show-option -Wformat -Wno-strict-aliasing -Winit-self -Wno-missing-field-initializers -Wno-variadic-macros -Wshadow -Wunused -Wpedantic -Wlogical-op -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -DHAVE_VISIBILITY -fvisibility=hidden -MD -MT CMakeFiles/couchbase_utils.dir/src/gethrtime.c.o -MF CMakeFiles/couchbase_utils.dir/src/gethrtime.c.o.d -o CMakeFiles/couchbase_utils.dir/src/gethrtime.c.o -c /builddir/build/BUILD/libcouchbase-3.2.2/src/gethrtime.c /usr/bin/g++ -DHAVE_DTRACE -DLIBCOUCHBASE_INTERNAL=1 -I/builddir/build/BUILD/libcouchbase-3.2.2 -I/builddir/build/BUILD/libcouchbase-3.2.2/src -I/builddir/build/BUILD/libcouchbase-3.2.2/contrib/cbsasl/include -I/builddir/build/BUILD/libcouchbase-3.2.2/contrib -I/builddir/build/BUILD/libcouchbase-3.2.2/include -I/builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build/generated -I/builddir/build/BUILD/libcouchbase-3.2.2/contrib/snappy -isystem /builddir/build/BUILD/libcouchbase-3.2.2/contrib/HdrHistogram_c/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fno-strict-aliasing -ggdb3 -pthread -std=gnu++11 -fPIC -Wall -Wextra -pedantic -fdiagnostics-show-option -Wformat -Wno-strict-aliasing -Winit-self -Wno-missing-field-initializers -Wno-variadic-macros -Wshadow -Wunused -Wpedantic -Wlogical-op -Woverloaded-virtual -Wnon-virtual-dtor -Wctor-dtor-privacy -Wno-long-long -Wredundant-decls -DHAVE_VISIBILITY -fvisibility=hidden -MD -MT CMakeFiles/couchbase_utils-cxx.dir/src/strcodecs/base64.cc.o -MF CMakeFiles/couchbase_utils-cxx.dir/src/strcodecs/base64.cc.o.d -o CMakeFiles/couchbase_utils-cxx.dir/src/strcodecs/base64.cc.o -c /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc [ 4%] Building C object CMakeFiles/couchbase_utils.dir/src/list.c.o /usr/bin/gcc -DHAVE_DTRACE -DLIBCOUCHBASE_INTERNAL=1 -I/builddir/build/BUILD/libcouchbase-3.2.2 -I/builddir/build/BUILD/libcouchbase-3.2.2/src -I/builddir/build/BUILD/libcouchbase-3.2.2/contrib/cbsasl/include -I/builddir/build/BUILD/libcouchbase-3.2.2/contrib -I/builddir/build/BUILD/libcouchbase-3.2.2/include -I/builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build/generated -I/builddir/build/BUILD/libcouchbase-3.2.2/contrib/snappy -isystem /builddir/build/BUILD/libcouchbase-3.2.2/contrib/HdrHistogram_c/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fno-strict-aliasing -ggdb3 -pthread -std=gnu99 -fPIC -Wall -Wextra -pedantic -fdiagnostics-show-option -Wformat -Wno-strict-aliasing -Winit-self -Wno-missing-field-initializers -Wno-variadic-macros -Wshadow -Wunused -Wpedantic -Wlogical-op -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -DHAVE_VISIBILITY -fvisibility=hidden -MD -MT CMakeFiles/couchbase_utils.dir/src/list.c.o -MF CMakeFiles/couchbase_utils.dir/src/list.c.o.d -o CMakeFiles/couchbase_utils.dir/src/list.c.o -c /builddir/build/BUILD/libcouchbase-3.2.2/src/list.c /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:33:19: error: 'uint8_t' in namespace 'std' does not name a type; did you mean 'wint_t'? 33 | static const std::uint8_t code[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; | ^~~~~~~ | wint_t /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:43:35: error: 'uint8_t' in namespace 'std' does not name a type; did you mean 'wint_t'? 43 | static int encode_rest(const std::uint8_t *s, std::uint8_t *d, std::size_t num) | ^~~~~~~ | wint_t /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:43:52: error: 'std::uint8_t' has not been declared 43 | static int encode_rest(const std::uint8_t *s, std::uint8_t *d, std::size_t num) | ^~~~~~~ /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc: In function 'int encode_rest(const int*, int*, std::size_t)': /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:45:10: error: 'uint32_t' is not a member of 'std'; did you mean 'wint_t'? 45 | std::uint32_t val; | ^~~~~~~~ | wint_t /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:49:13: error: 'val' was not declared in this scope 49 | val = (std::uint32_t)((*s << 16) | (*(s + 1) << 8)); | ^~~ /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:49:25: error: 'uint32_t' is not a member of 'std'; did you mean 'wint_t'? 49 | val = (std::uint32_t)((*s << 16) | (*(s + 1) << 8)); | ^~~~~~~~ | wint_t /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:52:25: error: 'uint32_t' is not a member of 'std'; did you mean 'wint_t'? 52 | val = (std::uint32_t)((*s << 16)); | ^~~~~~~~ | wint_t /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:61:16: error: 'code' was not declared in this scope 61 | d[2] = code[(val >> 6) & 63]; | ^~~~ /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:61:22: error: 'val' was not declared in this scope 61 | d[2] = code[(val >> 6) & 63]; | ^~~ /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:66:12: error: 'code' was not declared in this scope 66 | d[1] = code[(val >> 12) & 63]; | ^~~~ /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:66:18: error: 'val' was not declared in this scope 66 | d[1] = code[(val >> 12) & 63]; | ^~~ /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc: At global scope: /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:78:38: error: 'uint8_t' in namespace 'std' does not name a type; did you mean 'wint_t'? 78 | static int encode_triplet(const std::uint8_t *s, std::uint8_t *d) | ^~~~~~~ | wint_t /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:78:55: error: 'std::uint8_t' has not been declared 78 | static int encode_triplet(const std::uint8_t *s, std::uint8_t *d) | ^~~~~~~ /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc: In function 'int encode_triplet(const int*, int*)': /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:80:33: error: 'uint32_t' in namespace 'std' does not name a type; did you mean 'wint_t'? 80 | auto val = static_cast((*s << 16) | (*(s + 1) << 8) | (*(s + 2))); | ^~~~~~~~ | wint_t /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:81:12: error: 'code' was not declared in this scope 81 | d[3] = code[val & 63]; | ^~~~ /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc: In function 'int lcb_base64_encode(const char*, std::size_t, char*, std::size_t)': /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:101:29: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 101 | const auto *in = (const std::uint8_t *)src; | ^~~ /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:101:23: error: expected primary-expression before 'const' 101 | const auto *in = (const std::uint8_t *)src; | ^~~~~ /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:101:23: error: expected ')' before 'const' 101 | const auto *in = (const std::uint8_t *)src; | ~^~~~~ | ) /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:102:23: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 102 | auto *out = (std::uint8_t *)dst; | ^~~~~~~ | wint_t /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:102:32: error: expected primary-expression before ')' token 102 | auto *out = (std::uint8_t *)dst; | ^ /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:96:35: warning: unused parameter 'src' [-Wunused-parameter] 96 | int lcb_base64_encode(const char *src, std::size_t len, char *dst, std::size_t sz) | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:96:63: warning: unused parameter 'dst' [-Wunused-parameter] 96 | int lcb_base64_encode(const char *src, std::size_t len, char *dst, std::size_t sz) | ~~~~~~^~~ /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc: In function 'void lcb_base64_encode_iov(lcb_IOV*, unsigned int, unsigned int, char**, int*)': /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:160:27: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 160 | auto *out = (std::uint8_t *)ptr; | ^~~~~~~ | wint_t /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:160:36: error: expected primary-expression before ')' token 160 | auto *out = (std::uint8_t *)ptr; | ^ /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:162:14: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 162 | std::uint8_t triplet[3]; | ^~~~~~~ | wint_t /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:175:17: error: 'triplet' was not declared in this scope; did you mean 'triplets'? 175 | triplet[tt] = ((const std::uint8_t *)iov[io].iov_base)[iop++]; | ^~~~~~~ | triplets /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:175:39: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 175 | triplet[tt] = ((const std::uint8_t *)iov[io].iov_base)[iop++]; | ^~~ /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:175:33: error: expected primary-expression before 'const' 175 | triplet[tt] = ((const std::uint8_t *)iov[io].iov_base)[iop++]; | ^~~~~ /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:175:33: error: expected ')' before 'const' 175 | triplet[tt] = ((const std::uint8_t *)iov[io].iov_base)[iop++]; | ~^~~~~ | ) /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:175:78: error: expected ')' before ';' token 175 | triplet[tt] = ((const std::uint8_t *)iov[io].iov_base)[iop++]; | ~ ^ | ) /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:177:28: error: 'triplet' was not declared in this scope; did you mean 'triplets'? 177 | encode_triplet(triplet, out); | ^~~~~~~ | triplets /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:182:25: error: 'triplet' was not declared in this scope; did you mean 'triplets'? 182 | std::memset(triplet, 0, sizeof(triplet)); | ^~~~~~~ | triplets /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:188:39: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 188 | triplet[ii] = ((const std::uint8_t *)iov[io].iov_base)[iop++]; | ^~~ /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:188:33: error: expected primary-expression before 'const' 188 | triplet[ii] = ((const std::uint8_t *)iov[io].iov_base)[iop++]; | ^~~~~ /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:188:33: error: expected ')' before 'const' 188 | triplet[ii] = ((const std::uint8_t *)iov[io].iov_base)[iop++]; | ~^~~~~ | ) /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:188:78: error: expected ')' before ';' token 188 | triplet[ii] = ((const std::uint8_t *)iov[io].iov_base)[iop++]; | ~ ^ | ) /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc: At global scope: /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:78:12: warning: 'int encode_triplet(const int*, int*)' defined but not used [-Wunused-function] 78 | static int encode_triplet(const std::uint8_t *s, std::uint8_t *d) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libcouchbase-3.2.2/src/strcodecs/base64.cc:43:12: warning: 'int encode_rest(const int*, int*, std::size_t)' defined but not used [-Wunused-function] 43 | static int encode_rest(const std::uint8_t *s, std::uint8_t *d, std::size_t num) | ^~~~~~~~~~~ gmake[2]: *** [CMakeFiles/couchbase_utils-cxx.dir/build.make:79: CMakeFiles/couchbase_utils-cxx.dir/src/strcodecs/base64.cc.o] Error 1 gmake[2]: Leaving directory '/builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build' gmake[1]: *** [CMakeFiles/Makefile2:454: CMakeFiles/couchbase_utils-cxx.dir/all] Error 2 gmake[1]: *** Waiting for unfinished jobs.... [ 5%] Building C object CMakeFiles/couchbase_utils.dir/src/logging.c.o /usr/bin/gcc -DHAVE_DTRACE -DLIBCOUCHBASE_INTERNAL=1 -I/builddir/build/BUILD/libcouchbase-3.2.2 -I/builddir/build/BUILD/libcouchbase-3.2.2/src -I/builddir/build/BUILD/libcouchbase-3.2.2/contrib/cbsasl/include -I/builddir/build/BUILD/libcouchbase-3.2.2/contrib -I/builddir/build/BUILD/libcouchbase-3.2.2/include -I/builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build/generated -I/builddir/build/BUILD/libcouchbase-3.2.2/contrib/snappy -isystem /builddir/build/BUILD/libcouchbase-3.2.2/contrib/HdrHistogram_c/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fno-strict-aliasing -ggdb3 -pthread -std=gnu99 -fPIC -Wall -Wextra -pedantic -fdiagnostics-show-option -Wformat -Wno-strict-aliasing -Winit-self -Wno-missing-field-initializers -Wno-variadic-macros -Wshadow -Wunused -Wpedantic -Wlogical-op -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -DHAVE_VISIBILITY -fvisibility=hidden -MD -MT CMakeFiles/couchbase_utils.dir/src/logging.c.o -MF CMakeFiles/couchbase_utils.dir/src/logging.c.o.d -o CMakeFiles/couchbase_utils.dir/src/logging.c.o -c /builddir/build/BUILD/libcouchbase-3.2.2/src/logging.c gmake[2]: Leaving directory '/builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build' [ 5%] Built target netbuf-malloc [ 5%] Building C object CMakeFiles/couchbase_utils.dir/src/ringbuffer.c.o /usr/bin/gcc -DHAVE_DTRACE -DLIBCOUCHBASE_INTERNAL=1 -I/builddir/build/BUILD/libcouchbase-3.2.2 -I/builddir/build/BUILD/libcouchbase-3.2.2/src -I/builddir/build/BUILD/libcouchbase-3.2.2/contrib/cbsasl/include -I/builddir/build/BUILD/libcouchbase-3.2.2/contrib -I/builddir/build/BUILD/libcouchbase-3.2.2/include -I/builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build/generated -I/builddir/build/BUILD/libcouchbase-3.2.2/contrib/snappy -isystem /builddir/build/BUILD/libcouchbase-3.2.2/contrib/HdrHistogram_c/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fno-strict-aliasing -ggdb3 -pthread -std=gnu99 -fPIC -Wall -Wextra -pedantic -fdiagnostics-show-option -Wformat -Wno-strict-aliasing -Winit-self -Wno-missing-field-initializers -Wno-variadic-macros -Wshadow -Wunused -Wpedantic -Wlogical-op -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -DHAVE_VISIBILITY -fvisibility=hidden -MD -MT CMakeFiles/couchbase_utils.dir/src/ringbuffer.c.o -MF CMakeFiles/couchbase_utils.dir/src/ringbuffer.c.o.d -o CMakeFiles/couchbase_utils.dir/src/ringbuffer.c.o -c /builddir/build/BUILD/libcouchbase-3.2.2/src/ringbuffer.c gmake[2]: Leaving directory '/builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build' [ 5%] Built target netbuf gmake[2]: Leaving directory '/builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build' [ 5%] Built target couchbase_utils gmake[1]: Leaving directory '/builddir/build/BUILD/libcouchbase-3.2.2/redhat-linux-build' gmake: *** [Makefile:169: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.0mHDS2 (%build) Bad exit status from /var/tmp/rpm-tmp.0mHDS2 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libcouchbase.spec