Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libnitrokey.spec'], chrootPath='/var/lib/mock/f29-build-10721-4807/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/libnitrokey-3.1-3.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libnitrokey.spec'], chrootPath='/var/lib/mock/f29-build-10721-4807/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6A1jne + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libnitrokey-3.1 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/libnitrokey-3.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libnitrokey-3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -vrf include/inttypes.h removed 'include/inttypes.h' + sed -i -e /inttypes.h/d CMakeLists.txt + rm -vrf unittest/Catch removed directory 'unittest/Catch' + sed -i -e '/#include/s|catch\.hpp|catch/catch.hpp|' unittest/catch_main.cpp unittest/test_C_API.cpp unittest/test.cc unittest/test2.cc unittest/test3.cc unittest/test_HOTP.cc unittest/test_issues.cc unittest/test_offline.cc + rm -vrf hidapi include/hidapi removed directory 'hidapi' removed 'include/hidapi/hidapi.h' removed directory 'include/hidapi' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WyZtfo + umask 022 + cd /builddir/build/BUILD + cd libnitrokey-3.1 + mkdir -p riscv64-redhat-linux-gnu ~/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu ~/build/BUILD/libnitrokey-3.1 + pushd riscv64-redhat-linux-gnu + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/cmake -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_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 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLIBNITROKEY_STATIC=FALSE -DCOMPILE_OFFLINE_TESTS=TRUE .. -- The C compiler identification is GNU 8.1.1 -- The CXX compiler identification is GNU 8.1.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done BUILDSTDERR: libnitrokey: Build type: RelWithDebInfo -- Configuring done -- Generating done BUILDSTDERR: CMake Warning: BUILDSTDERR: Manually-specified variables were not used by the project: BUILDSTDERR: CMAKE_CXX_FLAGS_RELEASE BUILDSTDERR: CMAKE_C_FLAGS_RELEASE BUILDSTDERR: CMAKE_Fortran_FLAGS_RELEASE BUILDSTDERR: INCLUDE_INSTALL_DIR BUILDSTDERR: LIB_INSTALL_DIR BUILDSTDERR: LIB_SUFFIX BUILDSTDERR: SHARE_INSTALL_PREFIX BUILDSTDERR: SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu + popd ~/build/BUILD/libnitrokey-3.1 + /usr/bin/make -O -j4 -C riscv64-redhat-linux-gnu make: Entering directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' /usr/bin/cmake -H/builddir/build/BUILD/libnitrokey-3.1 -B/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 make: Leaving directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' make: Entering directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu/CMakeFiles /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu/CMakeFiles/progress.marks make: Leaving directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' /usr/bin/make -f CMakeFiles/Makefile2 all /usr/bin/make -f CMakeFiles/nitrokey.dir/build.make CMakeFiles/nitrokey.dir/depend /usr/bin/make -f CMakeFiles/catch.dir/build.make CMakeFiles/catch.dir/depend make[2]: Entering directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' cd /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libnitrokey-3.1 /builddir/build/BUILD/libnitrokey-3.1 /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu/CMakeFiles/catch.dir/DependInfo.cmake --color= Scanning dependencies of target catch make[2]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' /usr/bin/make -f CMakeFiles/catch.dir/build.make CMakeFiles/catch.dir/build make[2]: Entering directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' cd /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libnitrokey-3.1 /builddir/build/BUILD/libnitrokey-3.1 /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu/CMakeFiles/nitrokey.dir/DependInfo.cmake --color= Scanning dependencies of target nitrokey make[2]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' /usr/bin/make -f CMakeFiles/nitrokey.dir/build.make CMakeFiles/nitrokey.dir/build make[2]: Entering directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' [ 16%] Building CXX object CMakeFiles/nitrokey.dir/command_id.cc.o /usr/bin/c++ -Dnitrokey_EXPORTS -I/builddir/build/BUILD/libnitrokey-3.1/hidapi -I/builddir/build/BUILD/libnitrokey-3.1/include -I/builddir/build/BUILD/libnitrokey-3.1/unittest/Catch/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -Wno-unused-function -Wcast-qual -Woverloaded-virtual -Werror -std=gnu++14 -o CMakeFiles/nitrokey.dir/command_id.cc.o -c /builddir/build/BUILD/libnitrokey-3.1/command_id.cc make[2]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' make[2]: Entering directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' [ 25%] Building CXX object CMakeFiles/nitrokey.dir/log.cc.o /usr/bin/c++ -Dnitrokey_EXPORTS -I/builddir/build/BUILD/libnitrokey-3.1/hidapi -I/builddir/build/BUILD/libnitrokey-3.1/include -I/builddir/build/BUILD/libnitrokey-3.1/unittest/Catch/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -Wno-unused-function -Wcast-qual -Woverloaded-virtual -Werror -std=gnu++14 -o CMakeFiles/nitrokey.dir/log.cc.o -c /builddir/build/BUILD/libnitrokey-3.1/log.cc make[2]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' make[2]: Entering directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' [ 41%] Building CXX object CMakeFiles/nitrokey.dir/misc.cc.o /usr/bin/c++ -Dnitrokey_EXPORTS -I/builddir/build/BUILD/libnitrokey-3.1/hidapi -I/builddir/build/BUILD/libnitrokey-3.1/include -I/builddir/build/BUILD/libnitrokey-3.1/unittest/Catch/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -Wno-unused-function -Wcast-qual -Woverloaded-virtual -Werror -std=gnu++14 -o CMakeFiles/nitrokey.dir/misc.cc.o -c /builddir/build/BUILD/libnitrokey-3.1/misc.cc make[2]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' make[2]: Entering directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' [ 33%] Building CXX object CMakeFiles/nitrokey.dir/device.cc.o /usr/bin/c++ -Dnitrokey_EXPORTS -I/builddir/build/BUILD/libnitrokey-3.1/hidapi -I/builddir/build/BUILD/libnitrokey-3.1/include -I/builddir/build/BUILD/libnitrokey-3.1/unittest/Catch/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -Wno-unused-function -Wcast-qual -Woverloaded-virtual -Werror -std=gnu++14 -o CMakeFiles/nitrokey.dir/device.cc.o -c /builddir/build/BUILD/libnitrokey-3.1/device.cc make[2]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' make[2]: Entering directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' [ 66%] Building CXX object CMakeFiles/nitrokey.dir/DeviceCommunicationExceptions.cpp.o /usr/bin/c++ -Dnitrokey_EXPORTS -I/builddir/build/BUILD/libnitrokey-3.1/hidapi -I/builddir/build/BUILD/libnitrokey-3.1/include -I/builddir/build/BUILD/libnitrokey-3.1/unittest/Catch/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -Wno-unused-function -Wcast-qual -Woverloaded-virtual -Werror -std=gnu++14 -o CMakeFiles/nitrokey.dir/DeviceCommunicationExceptions.cpp.o -c /builddir/build/BUILD/libnitrokey-3.1/DeviceCommunicationExceptions.cpp make[2]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' make[2]: Entering directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' [ 58%] Building CXX object CMakeFiles/nitrokey.dir/NK_C_API.cc.o /usr/bin/c++ -Dnitrokey_EXPORTS -I/builddir/build/BUILD/libnitrokey-3.1/hidapi -I/builddir/build/BUILD/libnitrokey-3.1/include -I/builddir/build/BUILD/libnitrokey-3.1/unittest/Catch/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -Wno-unused-function -Wcast-qual -Woverloaded-virtual -Werror -std=gnu++14 -o CMakeFiles/nitrokey.dir/NK_C_API.cc.o -c /builddir/build/BUILD/libnitrokey-3.1/NK_C_API.cc make[2]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' make[2]: Entering directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' [ 8%] Building CXX object CMakeFiles/catch.dir/unittest/catch_main.cpp.o /usr/bin/c++ -Dcatch_EXPORTS -I/builddir/build/BUILD/libnitrokey-3.1/hidapi -I/builddir/build/BUILD/libnitrokey-3.1/include -I/builddir/build/BUILD/libnitrokey-3.1/unittest/Catch/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=gnu++14 -o CMakeFiles/catch.dir/unittest/catch_main.cpp.o -c /builddir/build/BUILD/libnitrokey-3.1/unittest/catch_main.cpp make[2]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' make[2]: Entering directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' [ 75%] Linking CXX shared library libcatch.so /usr/bin/cmake -E cmake_link_script CMakeFiles/catch.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libcatch.so -o libcatch.so CMakeFiles/catch.dir/unittest/catch_main.cpp.o make[2]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' make[1]: Entering directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' [ 75%] Built target catch make[1]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' make[2]: Entering directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' [ 50%] Building CXX object CMakeFiles/nitrokey.dir/NitrokeyManager.cc.o /usr/bin/c++ -Dnitrokey_EXPORTS -I/builddir/build/BUILD/libnitrokey-3.1/hidapi -I/builddir/build/BUILD/libnitrokey-3.1/include -I/builddir/build/BUILD/libnitrokey-3.1/unittest/Catch/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -Wno-unused-function -Wcast-qual -Woverloaded-virtual -Werror -std=gnu++14 -o CMakeFiles/nitrokey.dir/NitrokeyManager.cc.o -c /builddir/build/BUILD/libnitrokey-3.1/NitrokeyManager.cc make[2]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' make[2]: Entering directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' [ 83%] Linking CXX shared library libnitrokey.so /usr/bin/cmake -E cmake_link_script CMakeFiles/nitrokey.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libnitrokey.so.3 -o libnitrokey.so.3.1.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 -lhidapi-libusb /usr/bin/cmake -E cmake_symlink_library libnitrokey.so.3.1.0 libnitrokey.so.3 libnitrokey.so make[2]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' make[1]: Entering directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' [ 83%] Built target nitrokey make[1]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' /usr/bin/make -f CMakeFiles/test_offline.dir/build.make CMakeFiles/test_offline.dir/depend make[2]: Entering directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' cd /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libnitrokey-3.1 /builddir/build/BUILD/libnitrokey-3.1 /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu/CMakeFiles/test_offline.dir/DependInfo.cmake --color= Scanning dependencies of target test_offline make[2]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' /usr/bin/make -f CMakeFiles/test_offline.dir/build.make CMakeFiles/test_offline.dir/build make[2]: Entering directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' [ 91%] Building CXX object CMakeFiles/test_offline.dir/unittest/test_offline.cc.o /usr/bin/c++ -I/builddir/build/BUILD/libnitrokey-3.1/hidapi -I/builddir/build/BUILD/libnitrokey-3.1/include -I/builddir/build/BUILD/libnitrokey-3.1/unittest/Catch/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=gnu++14 -o CMakeFiles/test_offline.dir/unittest/test_offline.cc.o -c /builddir/build/BUILD/libnitrokey-3.1/unittest/test_offline.cc make[2]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' BUILDSTDERR: /builddir/build/BUILD/libnitrokey-3.1/unittest/test_offline.cc: In function 'void ____C_A_T_C_H____T_E_S_T____5()': BUILDSTDERR: /builddir/build/BUILD/libnitrokey-3.1/unittest/test_offline.cc:95:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < v.size(); ++i) { BUILDSTDERR: ~~^~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' [100%] Linking CXX executable test_offline /usr/bin/cmake -E cmake_link_script CMakeFiles/test_offline.dir/link.txt --verbose=1 /usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic CMakeFiles/test_offline.dir/unittest/test_offline.cc.o -o test_offline -Wl,-rpath,/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu libnitrokey.so.3.1.0 libcatch.so -lhidapi-libusb make[2]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' make[1]: Entering directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' [100%] Built target test_offline make[1]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' make: Entering directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu/CMakeFiles 0 make: Leaving directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BAomyO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64 + cd libnitrokey-3.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64 'INSTALL=/usr/bin/install -p' -C riscv64-redhat-linux-gnu make: Entering directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' /usr/bin/cmake -H/builddir/build/BUILD/libnitrokey-3.1 -B/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu/CMakeFiles /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' /usr/bin/make -f CMakeFiles/nitrokey.dir/build.make CMakeFiles/nitrokey.dir/depend make[2]: Entering directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' cd /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libnitrokey-3.1 /builddir/build/BUILD/libnitrokey-3.1 /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu/CMakeFiles/nitrokey.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' /usr/bin/make -f CMakeFiles/nitrokey.dir/build.make CMakeFiles/nitrokey.dir/build make[2]: Entering directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' make[2]: Nothing to be done for 'CMakeFiles/nitrokey.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' [ 66%] Built target nitrokey /usr/bin/make -f CMakeFiles/catch.dir/build.make CMakeFiles/catch.dir/depend make[2]: Entering directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' cd /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libnitrokey-3.1 /builddir/build/BUILD/libnitrokey-3.1 /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu/CMakeFiles/catch.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' /usr/bin/make -f CMakeFiles/catch.dir/build.make CMakeFiles/catch.dir/build make[2]: Entering directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' make[2]: Nothing to be done for 'CMakeFiles/catch.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' [ 83%] Built target catch /usr/bin/make -f CMakeFiles/test_offline.dir/build.make CMakeFiles/test_offline.dir/depend make[2]: Entering directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' cd /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libnitrokey-3.1 /builddir/build/BUILD/libnitrokey-3.1 /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu/CMakeFiles/test_offline.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' /usr/bin/make -f CMakeFiles/test_offline.dir/build.make CMakeFiles/test_offline.dir/build make[2]: Entering directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' make[2]: Nothing to be done for 'CMakeFiles/test_offline.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' [100%] Built target test_offline make[1]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu/CMakeFiles 0 /usr/bin/make -f CMakeFiles/Makefile2 preinstall make[1]: Entering directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' make[1]: Nothing to be done for 'preinstall'. make[1]: Leaving directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' Install the project... /usr/bin/cmake -P cmake_install.cmake -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64/usr/include/libnitrokey/CommandFailedException.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64/usr/include/libnitrokey/DeviceCommunicationExceptions.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64/usr/include/libnitrokey/LibraryException.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64/usr/include/libnitrokey/LongOperationInProgressException.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64/usr/include/libnitrokey/NitrokeyManager.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64/usr/include/libnitrokey/command.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64/usr/include/libnitrokey/command_id.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64/usr/include/libnitrokey/cxx_semantics.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64/usr/include/libnitrokey/device.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64/usr/include/libnitrokey/device_proto.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64/usr/include/libnitrokey/dissect.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64/usr/include/libnitrokey/log.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64/usr/include/libnitrokey/misc.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64/usr/include/libnitrokey/stick10_commands.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64/usr/include/libnitrokey/stick10_commands_0.8.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64/usr/include/libnitrokey/stick20_commands.h -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64/usr/lib64/libnitrokey.so.3.1.0 -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64/usr/lib64/libnitrokey.so.3 -- Installing: /builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64/usr/lib64/libnitrokey.so make: Leaving directory '/builddir/build/BUILD/libnitrokey-3.1/riscv64-redhat-linux-gnu' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.1-3.fc29 --unique-debug-suffix -3.1-3.fc29.riscv64 --unique-debug-src-base libnitrokey-3.1-3.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libnitrokey-3.1 extracting debug info from /builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64/usr/lib64/libnitrokey.so.3.1.0 /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 345 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.MnMokT Processing files: libnitrokey-3.1-3.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.vyfWZ0 + umask 022 + cd /builddir/build/BUILD + cd libnitrokey-3.1 + DOCDIR=/builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64/usr/share/doc/libnitrokey + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64/usr/share/doc/libnitrokey + cp -pr README.md /builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64/usr/share/doc/libnitrokey + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.SF6b77 + umask 022 + cd /builddir/build/BUILD + cd libnitrokey-3.1 + LICENSEDIR=/builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64/usr/share/licenses/libnitrokey + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64/usr/share/licenses/libnitrokey + cp -pr LICENSE /builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64/usr/share/licenses/libnitrokey + exit 0 Provides: libnitrokey = 3.1-3.fc29 libnitrokey(riscv-64) = 3.1-3.fc29 libnitrokey.so.3()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 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) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) libhidapi-libusb.so.0()(64bit) libm.so.6()(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.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.9)(64bit) rtld(GNU_HASH) Processing files: libnitrokey-devel-3.1-3.fc29.riscv64 Provides: libnitrokey-devel = 3.1-3.fc29 libnitrokey-devel(riscv-64) = 3.1-3.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libnitrokey.so.3()(64bit) Processing files: libnitrokey-debugsource-3.1-3.fc29.riscv64 Provides: libnitrokey-debugsource = 3.1-3.fc29 libnitrokey-debugsource(riscv-64) = 3.1-3.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libnitrokey-debuginfo-3.1-3.fc29.riscv64 Provides: debuginfo(build-id) = 989e42bc5a9bc1ffa854e5daa84c61d0fc29259b libnitrokey-debuginfo = 3.1-3.fc29 libnitrokey-debuginfo(riscv-64) = 3.1-3.fc29 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.1-3.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64 Wrote: /builddir/build/RPMS/libnitrokey-3.1-3.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/libnitrokey-devel-3.1-3.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/libnitrokey-debugsource-3.1-3.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/libnitrokey-debuginfo-3.1-3.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.jRn1mI + umask 022 + cd /builddir/build/BUILD + cd libnitrokey-3.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libnitrokey-3.1-3.fc29.riscv64 + exit 0 Child return code was: 0