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/libnitrokey.spec'], chrootPath='/var/lib/mock/f38-build-696967-86521/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/libnitrokey.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=1674086400 Wrote: /builddir/build/SRPMS/libnitrokey-3.7-2.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/libnitrokey.spec'], chrootPath='/var/lib/mock/f38-build-696967-86521/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/libnitrokey.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=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DGs2Mm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libnitrokey-3.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libnitrokey-3.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libnitrokey-3.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mww9VV + 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 libnitrokey-3.7 + 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 -- The C compiler identification is GNU 13.0.1 -- The CXX compiler identification is GNU 13.0.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 libnitrokey: Build type: RelWithDebInfo -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") -- Checking for one of the modules 'hidapi-libusb' -- Setting fallback Git library version -- Setting Git library version to: v3.7.0 -- Setting udev rules dir to lib/udev/rules.d -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Configuring done (6.4s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/libnitrokey-3.7/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose /usr/bin/cmake -S/builddir/build/BUILD/libnitrokey-3.7 -B/builddir/build/BUILD/libnitrokey-3.7/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/libnitrokey-3.7/redhat-linux-build/CMakeFiles /builddir/build/BUILD/libnitrokey-3.7/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/libnitrokey-3.7/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/nitrokey.dir/build.make CMakeFiles/nitrokey.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libnitrokey-3.7/redhat-linux-build' cd /builddir/build/BUILD/libnitrokey-3.7/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libnitrokey-3.7 /builddir/build/BUILD/libnitrokey-3.7 /builddir/build/BUILD/libnitrokey-3.7/redhat-linux-build /builddir/build/BUILD/libnitrokey-3.7/redhat-linux-build /builddir/build/BUILD/libnitrokey-3.7/redhat-linux-build/CMakeFiles/nitrokey.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.7/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/nitrokey.dir/build.make CMakeFiles/nitrokey.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libnitrokey-3.7/redhat-linux-build' [ 44%] Building CXX object CMakeFiles/nitrokey.dir/misc.cc.o [ 44%] Building CXX object CMakeFiles/nitrokey.dir/command_id.cc.o [ 44%] Building CXX object CMakeFiles/nitrokey.dir/log.cc.o [ 44%] Building CXX object CMakeFiles/nitrokey.dir/device.cc.o /usr/bin/g++ -Dnitrokey_EXPORTS -I/builddir/build/BUILD/libnitrokey-3.7/hidapi -I/builddir/build/BUILD/libnitrokey-3.7/libnitrokey -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 -O2 -g -DNDEBUG -std=c++14 -fPIC -Wall -Wno-unused-function -Wcast-qual -Woverloaded-virtual -Wsign-compare -Wformat -Wformat-security -I/usr/include/hidapi -MD -MT CMakeFiles/nitrokey.dir/command_id.cc.o -MF CMakeFiles/nitrokey.dir/command_id.cc.o.d -o CMakeFiles/nitrokey.dir/command_id.cc.o -c /builddir/build/BUILD/libnitrokey-3.7/command_id.cc /usr/bin/g++ -Dnitrokey_EXPORTS -I/builddir/build/BUILD/libnitrokey-3.7/hidapi -I/builddir/build/BUILD/libnitrokey-3.7/libnitrokey -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 -O2 -g -DNDEBUG -std=c++14 -fPIC -Wall -Wno-unused-function -Wcast-qual -Woverloaded-virtual -Wsign-compare -Wformat -Wformat-security -I/usr/include/hidapi -MD -MT CMakeFiles/nitrokey.dir/log.cc.o -MF CMakeFiles/nitrokey.dir/log.cc.o.d -o CMakeFiles/nitrokey.dir/log.cc.o -c /builddir/build/BUILD/libnitrokey-3.7/log.cc /usr/bin/g++ -Dnitrokey_EXPORTS -I/builddir/build/BUILD/libnitrokey-3.7/hidapi -I/builddir/build/BUILD/libnitrokey-3.7/libnitrokey -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 -O2 -g -DNDEBUG -std=c++14 -fPIC -Wall -Wno-unused-function -Wcast-qual -Woverloaded-virtual -Wsign-compare -Wformat -Wformat-security -I/usr/include/hidapi -MD -MT CMakeFiles/nitrokey.dir/misc.cc.o -MF CMakeFiles/nitrokey.dir/misc.cc.o.d -o CMakeFiles/nitrokey.dir/misc.cc.o -c /builddir/build/BUILD/libnitrokey-3.7/misc.cc /usr/bin/g++ -Dnitrokey_EXPORTS -I/builddir/build/BUILD/libnitrokey-3.7/hidapi -I/builddir/build/BUILD/libnitrokey-3.7/libnitrokey -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 -O2 -g -DNDEBUG -std=c++14 -fPIC -Wall -Wno-unused-function -Wcast-qual -Woverloaded-virtual -Wsign-compare -Wformat -Wformat-security -I/usr/include/hidapi -MD -MT CMakeFiles/nitrokey.dir/device.cc.o -MF CMakeFiles/nitrokey.dir/device.cc.o.d -o CMakeFiles/nitrokey.dir/device.cc.o -c /builddir/build/BUILD/libnitrokey-3.7/device.cc [ 55%] Building CXX object CMakeFiles/nitrokey.dir/NitrokeyManager.cc.o /usr/bin/g++ -Dnitrokey_EXPORTS -I/builddir/build/BUILD/libnitrokey-3.7/hidapi -I/builddir/build/BUILD/libnitrokey-3.7/libnitrokey -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 -O2 -g -DNDEBUG -std=c++14 -fPIC -Wall -Wno-unused-function -Wcast-qual -Woverloaded-virtual -Wsign-compare -Wformat -Wformat-security -I/usr/include/hidapi -MD -MT CMakeFiles/nitrokey.dir/NitrokeyManager.cc.o -MF CMakeFiles/nitrokey.dir/NitrokeyManager.cc.o.d -o CMakeFiles/nitrokey.dir/NitrokeyManager.cc.o -c /builddir/build/BUILD/libnitrokey-3.7/NitrokeyManager.cc [ 66%] Building CXX object CMakeFiles/nitrokey.dir/NK_C_API.cc.o /usr/bin/g++ -Dnitrokey_EXPORTS -I/builddir/build/BUILD/libnitrokey-3.7/hidapi -I/builddir/build/BUILD/libnitrokey-3.7/libnitrokey -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 -O2 -g -DNDEBUG -std=c++14 -fPIC -Wall -Wno-unused-function -Wcast-qual -Woverloaded-virtual -Wsign-compare -Wformat -Wformat-security -I/usr/include/hidapi -MD -MT CMakeFiles/nitrokey.dir/NK_C_API.cc.o -MF CMakeFiles/nitrokey.dir/NK_C_API.cc.o.d -o CMakeFiles/nitrokey.dir/NK_C_API.cc.o -c /builddir/build/BUILD/libnitrokey-3.7/NK_C_API.cc [ 77%] Building CXX object CMakeFiles/nitrokey.dir/DeviceCommunicationExceptions.cpp.o /usr/bin/g++ -Dnitrokey_EXPORTS -I/builddir/build/BUILD/libnitrokey-3.7/hidapi -I/builddir/build/BUILD/libnitrokey-3.7/libnitrokey -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 -O2 -g -DNDEBUG -std=c++14 -fPIC -Wall -Wno-unused-function -Wcast-qual -Woverloaded-virtual -Wsign-compare -Wformat -Wformat-security -I/usr/include/hidapi -MD -MT CMakeFiles/nitrokey.dir/DeviceCommunicationExceptions.cpp.o -MF CMakeFiles/nitrokey.dir/DeviceCommunicationExceptions.cpp.o.d -o CMakeFiles/nitrokey.dir/DeviceCommunicationExceptions.cpp.o -c /builddir/build/BUILD/libnitrokey-3.7/DeviceCommunicationExceptions.cpp [ 88%] Building CXX object CMakeFiles/nitrokey.dir/version.cc.o /usr/bin/g++ -Dnitrokey_EXPORTS -I/builddir/build/BUILD/libnitrokey-3.7/hidapi -I/builddir/build/BUILD/libnitrokey-3.7/libnitrokey -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 -O2 -g -DNDEBUG -std=c++14 -fPIC -Wall -Wno-unused-function -Wcast-qual -Woverloaded-virtual -Wsign-compare -Wformat -Wformat-security -I/usr/include/hidapi -MD -MT CMakeFiles/nitrokey.dir/version.cc.o -MF CMakeFiles/nitrokey.dir/version.cc.o.d -o CMakeFiles/nitrokey.dir/version.cc.o -c /builddir/build/BUILD/libnitrokey-3.7/redhat-linux-build/version.cc /builddir/build/BUILD/libnitrokey-3.7/NK_C_API.cc: In lambda function: /builddir/build/BUILD/libnitrokey-3.7/NK_C_API.cc:832:41: warning: loop variable 'a' creates a copy from type 'const std::__cxx11::basic_string' [-Wrange-loop-construct] 832 | for (const auto a : v){ | ^ /builddir/build/BUILD/libnitrokey-3.7/NK_C_API.cc:832:41: note: use reference type to prevent copying 832 | for (const auto a : v){ | ^ | & [100%] Linking CXX shared library libnitrokey.so /usr/bin/cmake -E cmake_link_script CMakeFiles/nitrokey.dir/link.txt --verbose=1 /usr/bin/g++ -fPIC -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 -O2 -g -DNDEBUG -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 -shared -Wl,-soname,libnitrokey.so.3 -o libnitrokey.so.3.7.0 CMakeFiles/nitrokey.dir/command_id.cc.o CMakeFiles/nitrokey.dir/device.cc.o CMakeFiles/nitrokey.dir/log.cc.o CMakeFiles/nitrokey.dir/misc.cc.o CMakeFiles/nitrokey.dir/NitrokeyManager.cc.o CMakeFiles/nitrokey.dir/NK_C_API.cc.o CMakeFiles/nitrokey.dir/DeviceCommunicationExceptions.cpp.o CMakeFiles/nitrokey.dir/version.cc.o -L/usr/lib64 -lhidapi-libusb /usr/bin/cmake -E cmake_symlink_library libnitrokey.so.3.7.0 libnitrokey.so.3 libnitrokey.so gmake[2]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.7/redhat-linux-build' [100%] Built target nitrokey gmake[1]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.7/redhat-linux-build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/libnitrokey-3.7/redhat-linux-build/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.FuEnwC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64 + 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 libnitrokey-3.7 + DESTDIR=/builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64 + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/include/libnitrokey/NK_C_API.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/include/libnitrokey/CommandFailedException.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/include/libnitrokey/DeviceCommunicationExceptions.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/include/libnitrokey/LibraryException.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/include/libnitrokey/LongOperationInProgressException.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/include/libnitrokey/NitrokeyManager.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/include/libnitrokey/command.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/include/libnitrokey/command_id.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/include/libnitrokey/cxx_semantics.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/include/libnitrokey/deprecated.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/include/libnitrokey/device.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/include/libnitrokey/device_proto.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/include/libnitrokey/dissect.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/include/libnitrokey/log.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/include/libnitrokey/misc.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/include/libnitrokey/stick10_commands.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/include/libnitrokey/stick10_commands_0.8.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/include/libnitrokey/stick20_commands.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/include/libnitrokey/version.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/lib64/libnitrokey.so.3.7.0 -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/lib64/libnitrokey.so.3 -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/lib64/libnitrokey.so -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/lib/udev/rules.d/41-nitrokey.rules -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/lib64/pkgconfig/libnitrokey-1.pc + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 3.7-2.fc38 --unique-debug-suffix -3.7-2.fc38.riscv64 --unique-debug-src-base libnitrokey-3.7-2.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libnitrokey-3.7 extracting debug info from /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/lib64/libnitrokey.so.3.7.0 original debug info size: 25640kB, size after compression: 25108kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 566 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: libnitrokey-3.7-2.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.43yKIA + umask 022 + cd /builddir/build/BUILD + cd libnitrokey-3.7 + DOCDIR=/builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/share/doc/libnitrokey + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/share/doc/libnitrokey + cp -pr README.md /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/share/doc/libnitrokey + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.uZ9lu1 + umask 022 + cd /builddir/build/BUILD + cd libnitrokey-3.7 + LICENSEDIR=/builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/share/licenses/libnitrokey + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/share/licenses/libnitrokey + cp -pr LICENSE /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64/usr/share/licenses/libnitrokey + RPM_EC=0 ++ jobs -p + exit 0 Provides: libnitrokey = 3.7-2.fc38 libnitrokey(riscv-64) = 3.7-2.fc38 libnitrokey.so.3()(64bit) Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(postun): /bin/sh Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.32)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libgcc_s.so.1(GCC_3.4)(64bit) libhidapi-libusb.so.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.2)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: libnitrokey-devel-3.7-2.fc38.riscv64 Provides: libnitrokey-devel = 3.7-2.fc38 libnitrokey-devel(riscv-64) = 3.7-2.fc38 pkgconfig(libnitrokey-1) = 3.7.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libnitrokey.so.3()(64bit) pkgconfig(hidapi-libusb) Processing files: libnitrokey-debugsource-3.7-2.fc38.riscv64 Provides: libnitrokey-debugsource = 3.7-2.fc38 libnitrokey-debugsource(riscv-64) = 3.7-2.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libnitrokey-debuginfo-3.7-2.fc38.riscv64 Provides: debuginfo(build-id) = 26678d9c7d047aa980ca619c65da87e5d4bce834 libnitrokey-debuginfo = 3.7-2.fc38 libnitrokey-debuginfo(riscv-64) = 3.7-2.fc38 libnitrokey.so.3.7.0-3.7-2.fc38.riscv64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libnitrokey-debugsource(riscv-64) = 3.7-2.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64 Wrote: /builddir/build/RPMS/libnitrokey-devel-3.7-2.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/libnitrokey-debugsource-3.7-2.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/libnitrokey-3.7-2.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/libnitrokey-debuginfo-3.7-2.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3CaBVu + umask 022 + cd /builddir/build/BUILD + cd libnitrokey-3.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libnitrokey-3.7-2.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.IE9oBI + umask 022 + cd /builddir/build/BUILD + rm -rf libnitrokey-3.7 libnitrokey-3.7.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0