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/tcmu-runner.spec'], chrootPath='/var/lib/mock/f40-build-794734-139650/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/tcmu-runner.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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706313600 Wrote: /builddir/build/SRPMS/tcmu-runner-1.5.4-8.fc40.src.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/tcmu-runner.spec'], chrootPath='/var/lib/mock/f40-build-794734-139650/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/tcmu-runner.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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706313600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CSPvnn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tcmu-runner-1.5.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v1.5.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd tcmu-runner-1.5.4 + rm -rf /builddir/build/BUILD/tcmu-runner-1.5.4-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/tcmu-runner-1.5.4-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (read_conf.patch):' Patch #0 (read_conf.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file libtcmu_config.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GMcd89 + umask 022 + cd /builddir/build/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 ' + 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 ' + 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 -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 -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' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 tcmu-runner-1.5.4 + 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 ' + 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 ' + 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 -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 -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' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -DSUPPORT_SYSTEMD=ON . CMake Deprecation Warning at CMakeLists.txt:1 (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.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 -- Found PkgConfig: /usr/bin/pkg-config (found version "2.1.0") -- Checking for module 'gio-unix-2.0' -- Found gio-unix-2.0, version 2.79.1 -- Checking for module 'libkmod' -- Found libkmod, version 31 -- Found ZLIB: /usr/lib64/libz.so (found version "1.3.0") -- Looking for linux/falloc.h -- Looking for linux/falloc.h - found -- Configuring done (8.6s) -- Generating done (0.1s) 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/tcmu-runner-1.5.4 + make -j4 /usr/bin/cmake -S/builddir/build/BUILD/tcmu-runner-1.5.4 -B/builddir/build/BUILD/tcmu-runner-1.5.4 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/tcmu-runner-1.5.4/CMakeFiles /builddir/build/BUILD/tcmu-runner-1.5.4//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/tcmu-runner-1.5.4' make -f CMakeFiles/tcmu.dir/build.make CMakeFiles/tcmu.dir/depend make -f CMakeFiles/tcmu_static.dir/build.make CMakeFiles/tcmu_static.dir/depend make -f CMakeFiles/handler_file.dir/build.make CMakeFiles/handler_file.dir/depend make -f CMakeFiles/handler_file_optical.dir/build.make CMakeFiles/handler_file_optical.dir/depend make[2]: Entering directory '/builddir/build/BUILD/tcmu-runner-1.5.4' make[2]: Entering directory '/builddir/build/BUILD/tcmu-runner-1.5.4' make[2]: Entering directory '/builddir/build/BUILD/tcmu-runner-1.5.4' cd /builddir/build/BUILD/tcmu-runner-1.5.4 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/tcmu-runner-1.5.4 /builddir/build/BUILD/tcmu-runner-1.5.4 /builddir/build/BUILD/tcmu-runner-1.5.4 /builddir/build/BUILD/tcmu-runner-1.5.4 /builddir/build/BUILD/tcmu-runner-1.5.4/CMakeFiles/handler_file.dir/DependInfo.cmake "--color=" make[2]: Entering directory '/builddir/build/BUILD/tcmu-runner-1.5.4' cd /builddir/build/BUILD/tcmu-runner-1.5.4 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/tcmu-runner-1.5.4 /builddir/build/BUILD/tcmu-runner-1.5.4 /builddir/build/BUILD/tcmu-runner-1.5.4 /builddir/build/BUILD/tcmu-runner-1.5.4 /builddir/build/BUILD/tcmu-runner-1.5.4/CMakeFiles/handler_file_optical.dir/DependInfo.cmake "--color=" [ 3%] Generating tcmuhandler-generated.c, tcmuhandler-generated.h [ 3%] Generating tcmuhandler-generated.c, tcmuhandler-generated.h gdbus-codegen /builddir/build/BUILD/tcmu-runner-1.5.4/tcmu-handler.xml --generate-c-code /builddir/build/BUILD/tcmu-runner-1.5.4/tcmuhandler-generated --c-generate-object-manager --interface-prefix org.kernel gdbus-codegen /builddir/build/BUILD/tcmu-runner-1.5.4/tcmu-handler.xml --generate-c-code /builddir/build/BUILD/tcmu-runner-1.5.4/tcmuhandler-generated --c-generate-object-manager --interface-prefix org.kernel make[2]: Leaving directory '/builddir/build/BUILD/tcmu-runner-1.5.4' make -f CMakeFiles/handler_file.dir/build.make CMakeFiles/handler_file.dir/build make[2]: Leaving directory '/builddir/build/BUILD/tcmu-runner-1.5.4' make -f CMakeFiles/handler_file_optical.dir/build.make CMakeFiles/handler_file_optical.dir/build make[2]: Entering directory '/builddir/build/BUILD/tcmu-runner-1.5.4' make[2]: Entering directory '/builddir/build/BUILD/tcmu-runner-1.5.4' [ 7%] Building C object CMakeFiles/handler_file_optical.dir/scsi.c.o [ 7%] Building C object CMakeFiles/handler_file.dir/file_example.c.o /usr/bin/gcc -Dhandler_file_optical_EXPORTS -I/builddir/build/BUILD/tcmu-runner-1.5.4/ccan -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 -Werror -Wall -Wdeclaration-after-statement -std=c99 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -fPIC -MD -MT CMakeFiles/handler_file_optical.dir/scsi.c.o -MF CMakeFiles/handler_file_optical.dir/scsi.c.o.d -o CMakeFiles/handler_file_optical.dir/scsi.c.o -c /builddir/build/BUILD/tcmu-runner-1.5.4/scsi.c /usr/bin/gcc -Dhandler_file_EXPORTS -I/builddir/build/BUILD/tcmu-runner-1.5.4/ccan -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 -Werror -Wall -Wdeclaration-after-statement -std=c99 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -fPIC -MD -MT CMakeFiles/handler_file.dir/file_example.c.o -MF CMakeFiles/handler_file.dir/file_example.c.o.d -o CMakeFiles/handler_file.dir/file_example.c.o -c /builddir/build/BUILD/tcmu-runner-1.5.4/file_example.c cd /builddir/build/BUILD/tcmu-runner-1.5.4 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/tcmu-runner-1.5.4 /builddir/build/BUILD/tcmu-runner-1.5.4 /builddir/build/BUILD/tcmu-runner-1.5.4 /builddir/build/BUILD/tcmu-runner-1.5.4 /builddir/build/BUILD/tcmu-runner-1.5.4/CMakeFiles/tcmu_static.dir/DependInfo.cmake "--color=" cd /builddir/build/BUILD/tcmu-runner-1.5.4 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/tcmu-runner-1.5.4 /builddir/build/BUILD/tcmu-runner-1.5.4 /builddir/build/BUILD/tcmu-runner-1.5.4 /builddir/build/BUILD/tcmu-runner-1.5.4 /builddir/build/BUILD/tcmu-runner-1.5.4/CMakeFiles/tcmu.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/builddir/build/BUILD/tcmu-runner-1.5.4' make -f CMakeFiles/tcmu_static.dir/build.make CMakeFiles/tcmu_static.dir/build make[2]: Entering directory '/builddir/build/BUILD/tcmu-runner-1.5.4' make[2]: Leaving directory '/builddir/build/BUILD/tcmu-runner-1.5.4' make -f CMakeFiles/tcmu.dir/build.make CMakeFiles/tcmu.dir/build make[2]: Entering directory '/builddir/build/BUILD/tcmu-runner-1.5.4' [ 9%] Building C object CMakeFiles/tcmu_static.dir/strlcpy.c.o /usr/bin/gcc -Dtcmu_static_EXPORTS -I/usr/include/libnl3 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/builddir/build/BUILD/tcmu-runner-1.5.4/ccan -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 -Werror -Wall -Wdeclaration-after-statement -std=c99 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -fPIC -MD -MT CMakeFiles/tcmu_static.dir/strlcpy.c.o -MF CMakeFiles/tcmu_static.dir/strlcpy.c.o.d -o CMakeFiles/tcmu_static.dir/strlcpy.c.o -c /builddir/build/BUILD/tcmu-runner-1.5.4/strlcpy.c [ 11%] Building C object CMakeFiles/tcmu.dir/strlcpy.c.o /usr/bin/gcc -Dtcmu_EXPORTS -I/usr/include/libnl3 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/builddir/build/BUILD/tcmu-runner-1.5.4/ccan -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 -Werror -Wall -Wdeclaration-after-statement -std=c99 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -fPIC -MD -MT CMakeFiles/tcmu.dir/strlcpy.c.o -MF CMakeFiles/tcmu.dir/strlcpy.c.o.d -o CMakeFiles/tcmu.dir/strlcpy.c.o -c /builddir/build/BUILD/tcmu-runner-1.5.4/strlcpy.c [ 13%] Building C object CMakeFiles/tcmu_static.dir/configfs.c.o /usr/bin/gcc -Dtcmu_static_EXPORTS -I/usr/include/libnl3 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/builddir/build/BUILD/tcmu-runner-1.5.4/ccan -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 -Werror -Wall -Wdeclaration-after-statement -std=c99 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -fPIC -MD -MT CMakeFiles/tcmu_static.dir/configfs.c.o -MF CMakeFiles/tcmu_static.dir/configfs.c.o.d -o CMakeFiles/tcmu_static.dir/configfs.c.o -c /builddir/build/BUILD/tcmu-runner-1.5.4/configfs.c [ 15%] Linking C shared library handler_file.so [ 16%] Building C object CMakeFiles/tcmu.dir/configfs.c.o /usr/bin/cmake -E cmake_link_script CMakeFiles/handler_file.dir/link.txt --verbose=1 /usr/bin/gcc -Dtcmu_EXPORTS -I/usr/include/libnl3 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/builddir/build/BUILD/tcmu-runner-1.5.4/ccan -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 -Werror -Wall -Wdeclaration-after-statement -std=c99 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -fPIC -MD -MT CMakeFiles/tcmu.dir/configfs.c.o -MF CMakeFiles/tcmu.dir/configfs.c.o.d -o CMakeFiles/tcmu.dir/configfs.c.o -c /builddir/build/BUILD/tcmu-runner-1.5.4/configfs.c /usr/bin/gcc -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 -Werror -Wall -Wdeclaration-after-statement -std=c99 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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,handler_file.so -o handler_file.so CMakeFiles/handler_file.dir/file_example.c.o make[2]: Leaving directory '/builddir/build/BUILD/tcmu-runner-1.5.4' [ 16%] Built target handler_file [ 18%] Building C object CMakeFiles/tcmu_static.dir/api.c.o /usr/bin/gcc -Dtcmu_static_EXPORTS -I/usr/include/libnl3 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/builddir/build/BUILD/tcmu-runner-1.5.4/ccan -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 -Werror -Wall -Wdeclaration-after-statement -std=c99 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -fPIC -MD -MT CMakeFiles/tcmu_static.dir/api.c.o -MF CMakeFiles/tcmu_static.dir/api.c.o.d -o CMakeFiles/tcmu_static.dir/api.c.o -c /builddir/build/BUILD/tcmu-runner-1.5.4/api.c [ 20%] Building C object CMakeFiles/handler_file_optical.dir/file_optical.c.o /usr/bin/gcc -Dhandler_file_optical_EXPORTS -I/builddir/build/BUILD/tcmu-runner-1.5.4/ccan -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 -Werror -Wall -Wdeclaration-after-statement -std=c99 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -fPIC -MD -MT CMakeFiles/handler_file_optical.dir/file_optical.c.o -MF CMakeFiles/handler_file_optical.dir/file_optical.c.o.d -o CMakeFiles/handler_file_optical.dir/file_optical.c.o -c /builddir/build/BUILD/tcmu-runner-1.5.4/file_optical.c *** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins. Event | Plugins PLUGIN_FINISH_UNIT | annobin: Generate final annotations PLUGIN_START_UNIT | annobin: Generate global annotations PLUGIN_ALL_PASSES_START | annobin: Generate per-function annotations PLUGIN_ALL_PASSES_END | annobin: Register per-function end symbols during RTL pass: sched1 /builddir/build/BUILD/tcmu-runner-1.5.4/api.c: In function ‘tcmu_cmd_seek’: /builddir/build/BUILD/tcmu-runner-1.5.4/api.c:169:1: internal compiler error: Segmentation fault 169 | } | ^ [ 22%] Building C object CMakeFiles/tcmu.dir/api.c.o /usr/bin/gcc -Dtcmu_EXPORTS -I/usr/include/libnl3 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/builddir/build/BUILD/tcmu-runner-1.5.4/ccan -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 -Werror -Wall -Wdeclaration-after-statement -std=c99 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -fPIC -MD -MT CMakeFiles/tcmu.dir/api.c.o -MF CMakeFiles/tcmu.dir/api.c.o.d -o CMakeFiles/tcmu.dir/api.c.o -c /builddir/build/BUILD/tcmu-runner-1.5.4/api.c [ 24%] Building C object CMakeFiles/tcmu_static.dir/libtcmu.c.o /usr/bin/gcc -Dtcmu_static_EXPORTS -I/usr/include/libnl3 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/builddir/build/BUILD/tcmu-runner-1.5.4/ccan -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 -Werror -Wall -Wdeclaration-after-statement -std=c99 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -fPIC -MD -MT CMakeFiles/tcmu_static.dir/libtcmu.c.o -MF CMakeFiles/tcmu_static.dir/libtcmu.c.o.d -o CMakeFiles/tcmu_static.dir/libtcmu.c.o -c /builddir/build/BUILD/tcmu-runner-1.5.4/libtcmu.c Please submit a full bug report, with preprocessed source (by using -freport-bug). See for instructions. [ 26%] Building C object CMakeFiles/tcmu.dir/libtcmu.c.o /usr/bin/gcc -Dtcmu_EXPORTS -I/usr/include/libnl3 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/builddir/build/BUILD/tcmu-runner-1.5.4/ccan -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 -Werror -Wall -Wdeclaration-after-statement -std=c99 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -fPIC -MD -MT CMakeFiles/tcmu.dir/libtcmu.c.o -MF CMakeFiles/tcmu.dir/libtcmu.c.o.d -o CMakeFiles/tcmu.dir/libtcmu.c.o -c /builddir/build/BUILD/tcmu-runner-1.5.4/libtcmu.c The bug is not reproducible, so it is likely a hardware or OS problem. make[2]: *** [CMakeFiles/tcmu_static.dir/build.make:114: CMakeFiles/tcmu_static.dir/api.c.o] Error 1 make -f CMakeFiles/handler_file_zbc.dir/build.make CMakeFiles/handler_file_zbc.dir/depend make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/tcmu-runner-1.5.4' cd /builddir/build/BUILD/tcmu-runner-1.5.4 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/tcmu-runner-1.5.4 /builddir/build/BUILD/tcmu-runner-1.5.4 /builddir/build/BUILD/tcmu-runner-1.5.4 /builddir/build/BUILD/tcmu-runner-1.5.4 /builddir/build/BUILD/tcmu-runner-1.5.4/CMakeFiles/handler_file_zbc.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/builddir/build/BUILD/tcmu-runner-1.5.4' make -f CMakeFiles/handler_file_zbc.dir/build.make CMakeFiles/handler_file_zbc.dir/build make[2]: Entering directory '/builddir/build/BUILD/tcmu-runner-1.5.4' [ 28%] Building C object CMakeFiles/handler_file_zbc.dir/scsi.c.o /usr/bin/gcc -Dhandler_file_zbc_EXPORTS -I/builddir/build/BUILD/tcmu-runner-1.5.4/ccan -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 -Werror -Wall -Wdeclaration-after-statement -std=c99 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -fPIC -MD -MT CMakeFiles/handler_file_zbc.dir/scsi.c.o -MF CMakeFiles/handler_file_zbc.dir/scsi.c.o.d -o CMakeFiles/handler_file_zbc.dir/scsi.c.o -c /builddir/build/BUILD/tcmu-runner-1.5.4/scsi.c [ 30%] Linking C shared library handler_file_optical.so /usr/bin/cmake -E cmake_link_script CMakeFiles/handler_file_optical.dir/link.txt --verbose=1 /usr/bin/gcc -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 -Werror -Wall -Wdeclaration-after-statement -std=c99 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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,handler_file_optical.so -o handler_file_optical.so CMakeFiles/handler_file_optical.dir/scsi.c.o CMakeFiles/handler_file_optical.dir/file_optical.c.o -Wl,-Bstatic -lpthread -Wl,-Bdynamic -ltcmalloc make[2]: Leaving directory '/builddir/build/BUILD/tcmu-runner-1.5.4' [ 30%] Built target handler_file_optical [ 32%] Building C object CMakeFiles/tcmu.dir/libtcmu-register.c.o /usr/bin/gcc -Dtcmu_EXPORTS -I/usr/include/libnl3 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/builddir/build/BUILD/tcmu-runner-1.5.4/ccan -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 -Werror -Wall -Wdeclaration-after-statement -std=c99 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -fPIC -MD -MT CMakeFiles/tcmu.dir/libtcmu-register.c.o -MF CMakeFiles/tcmu.dir/libtcmu-register.c.o.d -o CMakeFiles/tcmu.dir/libtcmu-register.c.o -c /builddir/build/BUILD/tcmu-runner-1.5.4/libtcmu-register.c make[2]: Leaving directory '/builddir/build/BUILD/tcmu-runner-1.5.4' make[1]: *** [CMakeFiles/Makefile2:133: CMakeFiles/tcmu_static.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 33%] Building C object CMakeFiles/tcmu.dir/tcmuhandler-generated.c.o /usr/bin/gcc -Dtcmu_EXPORTS -I/usr/include/libnl3 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/builddir/build/BUILD/tcmu-runner-1.5.4/ccan -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 -Werror -Wall -Wdeclaration-after-statement -std=c99 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -fPIC -MD -MT CMakeFiles/tcmu.dir/tcmuhandler-generated.c.o -MF CMakeFiles/tcmu.dir/tcmuhandler-generated.c.o.d -o CMakeFiles/tcmu.dir/tcmuhandler-generated.c.o -c /builddir/build/BUILD/tcmu-runner-1.5.4/tcmuhandler-generated.c [ 35%] Building C object CMakeFiles/handler_file_zbc.dir/file_zbc.c.o /usr/bin/gcc -Dhandler_file_zbc_EXPORTS -I/builddir/build/BUILD/tcmu-runner-1.5.4/ccan -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 -Werror -Wall -Wdeclaration-after-statement -std=c99 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -fPIC -MD -MT CMakeFiles/handler_file_zbc.dir/file_zbc.c.o -MF CMakeFiles/handler_file_zbc.dir/file_zbc.c.o.d -o CMakeFiles/handler_file_zbc.dir/file_zbc.c.o -c /builddir/build/BUILD/tcmu-runner-1.5.4/file_zbc.c [ 37%] Building C object CMakeFiles/tcmu.dir/libtcmu_log.c.o /usr/bin/gcc -Dtcmu_EXPORTS -I/usr/include/libnl3 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/builddir/build/BUILD/tcmu-runner-1.5.4/ccan -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 -Werror -Wall -Wdeclaration-after-statement -std=c99 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -fPIC -MD -MT CMakeFiles/tcmu.dir/libtcmu_log.c.o -MF CMakeFiles/tcmu.dir/libtcmu_log.c.o.d -o CMakeFiles/tcmu.dir/libtcmu_log.c.o -c /builddir/build/BUILD/tcmu-runner-1.5.4/libtcmu_log.c [ 39%] Building C object CMakeFiles/tcmu.dir/libtcmu_config.c.o /usr/bin/gcc -Dtcmu_EXPORTS -I/usr/include/libnl3 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/builddir/build/BUILD/tcmu-runner-1.5.4/ccan -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 -Werror -Wall -Wdeclaration-after-statement -std=c99 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -fPIC -MD -MT CMakeFiles/tcmu.dir/libtcmu_config.c.o -MF CMakeFiles/tcmu.dir/libtcmu_config.c.o.d -o CMakeFiles/tcmu.dir/libtcmu_config.c.o -c /builddir/build/BUILD/tcmu-runner-1.5.4/libtcmu_config.c [ 41%] Building C object CMakeFiles/tcmu.dir/libtcmu_time.c.o /usr/bin/gcc -Dtcmu_EXPORTS -I/usr/include/libnl3 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/builddir/build/BUILD/tcmu-runner-1.5.4/ccan -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 -Werror -Wall -Wdeclaration-after-statement -std=c99 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -fPIC -MD -MT CMakeFiles/tcmu.dir/libtcmu_time.c.o -MF CMakeFiles/tcmu.dir/libtcmu_time.c.o.d -o CMakeFiles/tcmu.dir/libtcmu_time.c.o -c /builddir/build/BUILD/tcmu-runner-1.5.4/libtcmu_time.c [ 43%] Linking C shared library handler_file_zbc.so /usr/bin/cmake -E cmake_link_script CMakeFiles/handler_file_zbc.dir/link.txt --verbose=1 /usr/bin/gcc -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 -Werror -Wall -Wdeclaration-after-statement -std=c99 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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,handler_file_zbc.so -o handler_file_zbc.so CMakeFiles/handler_file_zbc.dir/scsi.c.o CMakeFiles/handler_file_zbc.dir/file_zbc.c.o -ltcmalloc [ 45%] Linking C shared library libtcmu.so /usr/bin/cmake -E cmake_link_script CMakeFiles/tcmu.dir/link.txt --verbose=1 make[2]: Leaving directory '/builddir/build/BUILD/tcmu-runner-1.5.4' /usr/bin/gcc -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 -Werror -Wall -Wdeclaration-after-statement -std=c99 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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,libtcmu.so.2 -o libtcmu.so.2.2 CMakeFiles/tcmu.dir/strlcpy.c.o CMakeFiles/tcmu.dir/configfs.c.o CMakeFiles/tcmu.dir/api.c.o CMakeFiles/tcmu.dir/libtcmu.c.o "CMakeFiles/tcmu.dir/libtcmu-register.c.o" "CMakeFiles/tcmu.dir/tcmuhandler-generated.c.o" CMakeFiles/tcmu.dir/libtcmu_log.c.o CMakeFiles/tcmu.dir/libtcmu_config.c.o CMakeFiles/tcmu.dir/libtcmu_time.c.o -lnl-3 -lnl-genl-3 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -Wl,-Bstatic -lpthread -Wl,-Bdynamic -ltcmalloc [ 45%] Built target handler_file_zbc /usr/bin/cmake -E cmake_symlink_library libtcmu.so.2.2 libtcmu.so.2 libtcmu.so make[2]: Leaving directory '/builddir/build/BUILD/tcmu-runner-1.5.4' [ 45%] Built target tcmu make[1]: Leaving directory '/builddir/build/BUILD/tcmu-runner-1.5.4' make: *** [Makefile:139: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.GMcd89 (%build) RPM build warnings: RPM build errors: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.GMcd89 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/tcmu-runner.spec