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/f41-build-826808-154928/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=1209600uid=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=1721260800 Wrote: /builddir/build/SRPMS/libnitrokey-3.7-7.fc41.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/f41-build-826808-154928/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=1209600uid=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=1721260800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.ACdi2f + umask 022 + cd /builddir/build/BUILD/libnitrokey-3.7-build + test -d /builddir/build/BUILD/libnitrokey-3.7-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/libnitrokey-3.7-build + /usr/bin/rm -rf /builddir/build/BUILD/libnitrokey-3.7-build + /usr/bin/mkdir -p /builddir/build/BUILD/libnitrokey-3.7-build + /usr/bin/mkdir -p /builddir/build/BUILD/libnitrokey-3.7-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0NzB7v + umask 022 + cd /builddir/build/BUILD/libnitrokey-3.7-build + cd /builddir/build/BUILD/libnitrokey-3.7-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.j0r6pD + umask 022 + cd /builddir/build/BUILD/libnitrokey-3.7-build + CFLAGS='-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 CMake Deprecation Warning at CMakeLists.txt:6 (cmake_minimum_required): Compatibility with CMake < 3.5 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. -- The C compiler identification is GNU 14.1.1 -- The CXX compiler identification is GNU 14.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 libnitrokey: Build type: RelWithDebInfo -- Found PkgConfig: /usr/bin/pkg-config (found version "2.1.1") -- 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 (5.7s) -- 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-build/libnitrokey-3.7/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose Change Dir: '/builddir/build/BUILD/libnitrokey-3.7-build/libnitrokey-3.7/redhat-linux-build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j4 /usr/bin/cmake -S/builddir/build/BUILD/libnitrokey-3.7-build/libnitrokey-3.7 -B/builddir/build/BUILD/libnitrokey-3.7-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-build/libnitrokey-3.7/redhat-linux-build/CMakeFiles /builddir/build/BUILD/libnitrokey-3.7-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-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-build/libnitrokey-3.7/redhat-linux-build' cd /builddir/build/BUILD/libnitrokey-3.7-build/libnitrokey-3.7/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libnitrokey-3.7-build/libnitrokey-3.7 /builddir/build/BUILD/libnitrokey-3.7-build/libnitrokey-3.7 /builddir/build/BUILD/libnitrokey-3.7-build/libnitrokey-3.7/redhat-linux-build /builddir/build/BUILD/libnitrokey-3.7-build/libnitrokey-3.7/redhat-linux-build /builddir/build/BUILD/libnitrokey-3.7-build/libnitrokey-3.7/redhat-linux-build/CMakeFiles/nitrokey.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.7-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-build/libnitrokey-3.7/redhat-linux-build' [ 44%] Building CXX object CMakeFiles/nitrokey.dir/misc.cc.o [ 44%] Building CXX object CMakeFiles/nitrokey.dir/log.cc.o [ 44%] Building CXX object CMakeFiles/nitrokey.dir/command_id.cc.o [ 44%] Building CXX object CMakeFiles/nitrokey.dir/device.cc.o /usr/bin/g++ -Dnitrokey_EXPORTS -I/builddir/build/BUILD/libnitrokey-3.7-build/libnitrokey-3.7/hidapi -I/builddir/build/BUILD/libnitrokey-3.7-build/libnitrokey-3.7/libnitrokey -O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-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-build/libnitrokey-3.7/command_id.cc /usr/bin/g++ -Dnitrokey_EXPORTS -I/builddir/build/BUILD/libnitrokey-3.7-build/libnitrokey-3.7/hidapi -I/builddir/build/BUILD/libnitrokey-3.7-build/libnitrokey-3.7/libnitrokey -O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-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-build/libnitrokey-3.7/log.cc /usr/bin/g++ -Dnitrokey_EXPORTS -I/builddir/build/BUILD/libnitrokey-3.7-build/libnitrokey-3.7/hidapi -I/builddir/build/BUILD/libnitrokey-3.7-build/libnitrokey-3.7/libnitrokey -O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-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-build/libnitrokey-3.7/misc.cc /usr/bin/g++ -Dnitrokey_EXPORTS -I/builddir/build/BUILD/libnitrokey-3.7-build/libnitrokey-3.7/hidapi -I/builddir/build/BUILD/libnitrokey-3.7-build/libnitrokey-3.7/libnitrokey -O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-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-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-build/libnitrokey-3.7/hidapi -I/builddir/build/BUILD/libnitrokey-3.7-build/libnitrokey-3.7/libnitrokey -O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-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-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-build/libnitrokey-3.7/hidapi -I/builddir/build/BUILD/libnitrokey-3.7-build/libnitrokey-3.7/libnitrokey -O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-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-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-build/libnitrokey-3.7/hidapi -I/builddir/build/BUILD/libnitrokey-3.7-build/libnitrokey-3.7/libnitrokey -O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-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-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-build/libnitrokey-3.7/hidapi -I/builddir/build/BUILD/libnitrokey-3.7-build/libnitrokey-3.7/libnitrokey -O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-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-build/libnitrokey-3.7/redhat-linux-build/version.cc /builddir/build/BUILD/libnitrokey-3.7-build/libnitrokey-3.7/NK_C_API.cc: In lambda function: /builddir/build/BUILD/libnitrokey-3.7-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-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 -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 -fno-omit-frame-pointer -mno-omit-leaf-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-build/libnitrokey-3.7/redhat-linux-build' [100%] Built target nitrokey gmake[1]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.7-build/libnitrokey-3.7/redhat-linux-build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/libnitrokey-3.7-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.9QlwZ2 + umask 022 + cd /builddir/build/BUILD/libnitrokey-3.7-build + '[' /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT ++ dirname /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT + mkdir -p /builddir/build/BUILD/libnitrokey-3.7-build + mkdir /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT + CFLAGS='-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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/BUILD/libnitrokey-3.7-build/BUILDROOT + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT/usr/include/libnitrokey/NK_C_API.h -- Installing: /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT/usr/include/libnitrokey/CommandFailedException.h -- Installing: /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT/usr/include/libnitrokey/DeviceCommunicationExceptions.h -- Installing: /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT/usr/include/libnitrokey/LibraryException.h -- Installing: /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT/usr/include/libnitrokey/LongOperationInProgressException.h -- Installing: /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT/usr/include/libnitrokey/NitrokeyManager.h -- Installing: /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT/usr/include/libnitrokey/command.h -- Installing: /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT/usr/include/libnitrokey/command_id.h -- Installing: /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT/usr/include/libnitrokey/cxx_semantics.h -- Installing: /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT/usr/include/libnitrokey/deprecated.h -- Installing: /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT/usr/include/libnitrokey/device.h -- Installing: /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT/usr/include/libnitrokey/device_proto.h -- Installing: /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT/usr/include/libnitrokey/dissect.h -- Installing: /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT/usr/include/libnitrokey/log.h -- Installing: /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT/usr/include/libnitrokey/misc.h -- Installing: /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT/usr/include/libnitrokey/stick10_commands.h -- Installing: /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT/usr/include/libnitrokey/stick10_commands_0.8.h -- Installing: /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT/usr/include/libnitrokey/stick20_commands.h -- Installing: /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT/usr/include/libnitrokey/version.h -- Installing: /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT/usr/lib64/libnitrokey.so.3.7.0 -- Installing: /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT/usr/lib64/libnitrokey.so.3 -- Installing: /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT/usr/lib64/libnitrokey.so -- Installing: /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT/usr/lib/udev/rules.d/41-nitrokey.rules -- Installing: /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT/usr/lib64/pkgconfig/libnitrokey-1.pc + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 3.7-7.fc41 --unique-debug-suffix -3.7-7.fc41.riscv64 --unique-debug-src-base libnitrokey-3.7-7.fc41.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libnitrokey-3.7-build/libnitrokey-3.7 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/libnitrokey-3.7-7.fc41.riscv64 566 blocks find-debuginfo: done + /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 + /usr/bin/add-determinism --brp -j4 /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT Scanned 18 directories and 52 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/libnitrokey-3.7-build/SPECPARTS/rpm-debuginfo.specpart Processing files: libnitrokey-3.7-7.fc41.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.RKmKPY + umask 022 + cd /builddir/build/BUILD/libnitrokey-3.7-build + cd libnitrokey-3.7 + DOCDIR=/builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT/usr/share/doc/libnitrokey + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT/usr/share/doc/libnitrokey + cp -pr /builddir/build/BUILD/libnitrokey-3.7-build/libnitrokey-3.7/README.md /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT/usr/share/doc/libnitrokey + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.tE048Q + umask 022 + cd /builddir/build/BUILD/libnitrokey-3.7-build + cd libnitrokey-3.7 + LICENSEDIR=/builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT/usr/share/licenses/libnitrokey + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT/usr/share/licenses/libnitrokey + cp -pr /builddir/build/BUILD/libnitrokey-3.7-build/libnitrokey-3.7/LICENSE /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT/usr/share/licenses/libnitrokey + RPM_EC=0 ++ jobs -p + exit 0 Provides: libnitrokey = 3.7-7.fc41 libnitrokey(riscv-64) = 3.7-7.fc41 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) libc.so.6(GLIBC_2.38)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(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.20)(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.32)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: libnitrokey-devel-3.7-7.fc41.riscv64 Provides: libnitrokey-devel = 3.7-7.fc41 libnitrokey-devel(riscv-64) = 3.7-7.fc41 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-7.fc41.riscv64 Provides: libnitrokey-debugsource = 3.7-7.fc41 libnitrokey-debugsource(riscv-64) = 3.7-7.fc41 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-7.fc41.riscv64 Provides: debuginfo(build-id) = 4018b840333594bc26bc3173cde122e3617be897 libnitrokey-debuginfo = 3.7-7.fc41 libnitrokey-debuginfo(riscv-64) = 3.7-7.fc41 libnitrokey.so.3.7.0-3.7-7.fc41.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-7.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/libnitrokey-3.7-build/BUILDROOT Wrote: /builddir/build/RPMS/libnitrokey-devel-3.7-7.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/libnitrokey-debugsource-3.7-7.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/libnitrokey-3.7-7.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/libnitrokey-debuginfo-3.7-7.fc41.riscv64.rpm Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.mRajAB + umask 022 + cd /builddir/build/BUILD/libnitrokey-3.7-build + test -d /builddir/build/BUILD/libnitrokey-3.7-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/libnitrokey-3.7-build + rm -rf /builddir/build/BUILD/libnitrokey-3.7-build + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0