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/tcmu-runner.spec'], chrootPath='/var/lib/mock/f29-build-30030-16409/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/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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/tcmu-runner-1.1.3-2.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/tcmu-runner.spec'], chrootPath='/var/lib/mock/f29-build-30030-16409/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/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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MSeh9N + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tcmu-runner-1.1.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/tcmu-runner-1.1.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tcmu-runner-1.1.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Sqaiez + umask 022 + cd /builddir/build/BUILD + cd tcmu-runner-1.1.3 + 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 -DSUPPORT_SYSTEMD=ON . -- The C compiler identification is GNU 8.2.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 -- Found PkgConfig: /usr/bin/pkg-config (found version "1.5.3") -- Checking for module 'gio-unix-2.0' -- Found gio-unix-2.0, version 2.58.0 -- Checking for module 'libkmod' -- Found libkmod, version 25 -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- 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/tcmu-runner-1.1.3 + make -j4 /usr/bin/cmake -H/builddir/build/BUILD/tcmu-runner-1.1.3 -B/builddir/build/BUILD/tcmu-runner-1.1.3 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/tcmu-runner-1.1.3/CMakeFiles /builddir/build/BUILD/tcmu-runner-1.1.3/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/tcmu-runner-1.1.3' make -f CMakeFiles/handler_qcow.dir/build.make CMakeFiles/handler_qcow.dir/depend make -f CMakeFiles/tcmu.dir/build.make CMakeFiles/tcmu.dir/depend make -f CMakeFiles/handler_glfs.dir/build.make CMakeFiles/handler_glfs.dir/depend make -f CMakeFiles/tcmu_static.dir/build.make CMakeFiles/tcmu_static.dir/depend make[2]: Entering directory '/builddir/build/BUILD/tcmu-runner-1.1.3' make[2]: Entering directory '/builddir/build/BUILD/tcmu-runner-1.1.3' make[2]: Entering directory '/builddir/build/BUILD/tcmu-runner-1.1.3' cd /builddir/build/BUILD/tcmu-runner-1.1.3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/tcmu-runner-1.1.3 /builddir/build/BUILD/tcmu-runner-1.1.3 /builddir/build/BUILD/tcmu-runner-1.1.3 /builddir/build/BUILD/tcmu-runner-1.1.3 /builddir/build/BUILD/tcmu-runner-1.1.3/CMakeFiles/handler_qcow.dir/DependInfo.cmake --color= cd /builddir/build/BUILD/tcmu-runner-1.1.3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/tcmu-runner-1.1.3 /builddir/build/BUILD/tcmu-runner-1.1.3 /builddir/build/BUILD/tcmu-runner-1.1.3 /builddir/build/BUILD/tcmu-runner-1.1.3 /builddir/build/BUILD/tcmu-runner-1.1.3/CMakeFiles/handler_glfs.dir/DependInfo.cmake --color= make[2]: Entering directory '/builddir/build/BUILD/tcmu-runner-1.1.3' [ 3%] Generating tcmuhandler-generated.c, tcmuhandler-generated.h gdbus-codegen /builddir/build/BUILD/tcmu-runner-1.1.3/tcmu-handler.xml --generate-c-code /builddir/build/BUILD/tcmu-runner-1.1.3/tcmuhandler-generated --c-generate-object-manager --interface-prefix org.kernel Scanning dependencies of target handler_glfs make[2]: Leaving directory '/builddir/build/BUILD/tcmu-runner-1.1.3' make -f CMakeFiles/handler_glfs.dir/build.make CMakeFiles/handler_glfs.dir/build make[2]: Entering directory '/builddir/build/BUILD/tcmu-runner-1.1.3' [ 7%] Generating tcmuhandler-generated.c, tcmuhandler-generated.h gdbus-codegen /builddir/build/BUILD/tcmu-runner-1.1.3/tcmu-handler.xml --generate-c-code /builddir/build/BUILD/tcmu-runner-1.1.3/tcmuhandler-generated --c-generate-object-manager --interface-prefix org.kernel Scanning dependencies of target handler_qcow make[2]: Leaving directory '/builddir/build/BUILD/tcmu-runner-1.1.3' make -f CMakeFiles/handler_qcow.dir/build.make CMakeFiles/handler_qcow.dir/build make[2]: Entering directory '/builddir/build/BUILD/tcmu-runner-1.1.3' [ 10%] Building C object CMakeFiles/handler_glfs.dir/glfs.c.o /usr/bin/cc -Dhandler_glfs_EXPORTS -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 -Wall -std=c99 -fPIC -o CMakeFiles/handler_glfs.dir/glfs.c.o -c /builddir/build/BUILD/tcmu-runner-1.1.3/glfs.c [ 14%] Building C object CMakeFiles/handler_qcow.dir/qcow.c.o /usr/bin/cc -Dhandler_qcow_EXPORTS -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 -Wall -std=c99 -fPIC -o CMakeFiles/handler_qcow.dir/qcow.c.o -c /builddir/build/BUILD/tcmu-runner-1.1.3/qcow.c cd /builddir/build/BUILD/tcmu-runner-1.1.3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/tcmu-runner-1.1.3 /builddir/build/BUILD/tcmu-runner-1.1.3 /builddir/build/BUILD/tcmu-runner-1.1.3 /builddir/build/BUILD/tcmu-runner-1.1.3 /builddir/build/BUILD/tcmu-runner-1.1.3/CMakeFiles/tcmu.dir/DependInfo.cmake --color= cd /builddir/build/BUILD/tcmu-runner-1.1.3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/tcmu-runner-1.1.3 /builddir/build/BUILD/tcmu-runner-1.1.3 /builddir/build/BUILD/tcmu-runner-1.1.3 /builddir/build/BUILD/tcmu-runner-1.1.3 /builddir/build/BUILD/tcmu-runner-1.1.3/CMakeFiles/tcmu_static.dir/DependInfo.cmake --color= Scanning dependencies of target tcmu_static make[2]: Leaving directory '/builddir/build/BUILD/tcmu-runner-1.1.3' make -f CMakeFiles/tcmu_static.dir/build.make CMakeFiles/tcmu_static.dir/build Scanning dependencies of target tcmu make[2]: Leaving directory '/builddir/build/BUILD/tcmu-runner-1.1.3' make -f CMakeFiles/tcmu.dir/build.make CMakeFiles/tcmu.dir/build make[2]: Entering directory '/builddir/build/BUILD/tcmu-runner-1.1.3' make[2]: Entering directory '/builddir/build/BUILD/tcmu-runner-1.1.3' [ 17%] Building C object CMakeFiles/tcmu_static.dir/api.c.o /usr/bin/cc -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 -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 -Wall -std=c99 -fPIC -o CMakeFiles/tcmu_static.dir/api.c.o -c /builddir/build/BUILD/tcmu-runner-1.1.3/api.c [ 21%] Building C object CMakeFiles/tcmu.dir/api.c.o /usr/bin/cc -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 -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 -Wall -std=c99 -fPIC -o CMakeFiles/tcmu.dir/api.c.o -c /builddir/build/BUILD/tcmu-runner-1.1.3/api.c [ 25%] Linking C shared library handler_glfs.so /usr/bin/cmake -E cmake_link_script CMakeFiles/handler_glfs.dir/link.txt --verbose=1 /usr/bin/cc -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 -Wall -std=c99 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,handler_glfs.so -o handler_glfs.so CMakeFiles/handler_glfs.dir/glfs.c.o -lgfapi make[2]: Leaving directory '/builddir/build/BUILD/tcmu-runner-1.1.3' [ 25%] Built target handler_glfs [ 28%] Building C object CMakeFiles/tcmu.dir/libtcmu.c.o /usr/bin/cc -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 -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 -Wall -std=c99 -fPIC -o CMakeFiles/tcmu.dir/libtcmu.c.o -c /builddir/build/BUILD/tcmu-runner-1.1.3/libtcmu.c BUILDSTDERR: In file included from /usr/include/linux/target_core_user.h:8, BUILDSTDERR: from /builddir/build/BUILD/tcmu-runner-1.1.3/libtcmu.c:31: BUILDSTDERR: /usr/include/linux/uio.h:17:8: error: redefinition of 'struct iovec' BUILDSTDERR: struct iovec BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from /usr/include/bits/fcntl-linux.h:38, BUILDSTDERR: from /usr/include/bits/fcntl.h:62, BUILDSTDERR: from /usr/include/fcntl.h:35, BUILDSTDERR: from /builddir/build/BUILD/tcmu-runner-1.1.3/libtcmu.c:20: BUILDSTDERR: /usr/include/bits/types/struct_iovec.h:26:8: note: originally defined here BUILDSTDERR: struct iovec BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /builddir/build/BUILD/tcmu-runner-1.1.3/api.c:28: BUILDSTDERR: In function 'memcpy', BUILDSTDERR: inlined from 'tcmu_emulate_read_capacity_16' at /builddir/build/BUILD/tcmu-runner-1.1.3/api.c:634:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' forming offset [5, 8] is out of the bounds [0, 4] of object 'val32' with type 'uint32_t' {aka 'unsigned int'} [-Warray-bounds] BUILDSTDERR: return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tcmu-runner-1.1.3/api.c: In function 'tcmu_emulate_read_capacity_16': BUILDSTDERR: /builddir/build/BUILD/tcmu-runner-1.1.3/api.c:625:11: note: 'val32' declared here BUILDSTDERR: uint32_t val32; BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /builddir/build/BUILD/tcmu-runner-1.1.3/api.c:28: BUILDSTDERR: In function 'memcpy', BUILDSTDERR: inlined from 'tcmu_emulate_read_capacity_16' at /builddir/build/BUILD/tcmu-runner-1.1.3/api.c:634:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' forming offset [5, 8] is out of the bounds [0, 4] of object 'val32' with type 'uint32_t' {aka 'unsigned int'} [-Warray-bounds] BUILDSTDERR: return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tcmu-runner-1.1.3/api.c: In function 'tcmu_emulate_read_capacity_16': BUILDSTDERR: /builddir/build/BUILD/tcmu-runner-1.1.3/api.c:625:11: note: 'val32' declared here BUILDSTDERR: uint32_t val32; BUILDSTDERR: ^~~~~ BUILDSTDERR: make[2]: *** [CMakeFiles/tcmu.dir/build.make:86: CMakeFiles/tcmu.dir/libtcmu.c.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... make -f CMakeFiles/handler_file.dir/build.make CMakeFiles/handler_file.dir/depend make[2]: Entering directory '/builddir/build/BUILD/tcmu-runner-1.1.3' cd /builddir/build/BUILD/tcmu-runner-1.1.3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/tcmu-runner-1.1.3 /builddir/build/BUILD/tcmu-runner-1.1.3 /builddir/build/BUILD/tcmu-runner-1.1.3 /builddir/build/BUILD/tcmu-runner-1.1.3 /builddir/build/BUILD/tcmu-runner-1.1.3/CMakeFiles/handler_file.dir/DependInfo.cmake --color= Scanning dependencies of target handler_file make[2]: Leaving directory '/builddir/build/BUILD/tcmu-runner-1.1.3' make -f CMakeFiles/handler_file.dir/build.make CMakeFiles/handler_file.dir/build make[2]: Entering directory '/builddir/build/BUILD/tcmu-runner-1.1.3' make[2]: Leaving directory '/builddir/build/BUILD/tcmu-runner-1.1.3' BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:187: CMakeFiles/tcmu.dir/all] Error 2 BUILDSTDERR: make[1]: *** Waiting for unfinished jobs.... [ 32%] Building C object CMakeFiles/handler_file.dir/file_example.c.o /usr/bin/cc -Dhandler_file_EXPORTS -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 -Wall -std=c99 -fPIC -o CMakeFiles/handler_file.dir/file_example.c.o -c /builddir/build/BUILD/tcmu-runner-1.1.3/file_example.c [ 35%] Building C object CMakeFiles/tcmu_static.dir/libtcmu.c.o /usr/bin/cc -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 -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 -Wall -std=c99 -fPIC -o CMakeFiles/tcmu_static.dir/libtcmu.c.o -c /builddir/build/BUILD/tcmu-runner-1.1.3/libtcmu.c [ 39%] Building C object CMakeFiles/tcmu_static.dir/libtcmu-register.c.o /usr/bin/cc -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 -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 -Wall -std=c99 -fPIC -o CMakeFiles/tcmu_static.dir/libtcmu-register.c.o -c /builddir/build/BUILD/tcmu-runner-1.1.3/libtcmu-register.c BUILDSTDERR: In file included from /usr/include/linux/target_core_user.h:8, BUILDSTDERR: from /builddir/build/BUILD/tcmu-runner-1.1.3/libtcmu.c:31: BUILDSTDERR: /usr/include/linux/uio.h:17:8: error: redefinition of 'struct iovec' BUILDSTDERR: struct iovec BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from /usr/include/bits/fcntl-linux.h:38, BUILDSTDERR: from /usr/include/bits/fcntl.h:62, BUILDSTDERR: from /usr/include/fcntl.h:35, BUILDSTDERR: from /builddir/build/BUILD/tcmu-runner-1.1.3/libtcmu.c:20: BUILDSTDERR: /usr/include/bits/types/struct_iovec.h:26:8: note: originally defined here BUILDSTDERR: struct iovec BUILDSTDERR: ^~~~~ [ 42%] Linking C shared library handler_qcow.so /usr/bin/cmake -E cmake_link_script CMakeFiles/handler_qcow.dir/link.txt --verbose=1 /usr/bin/cc -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 -Wall -std=c99 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,handler_qcow.so -o handler_qcow.so CMakeFiles/handler_qcow.dir/qcow.c.o -lz [ 46%] Linking C shared library handler_file.so /usr/bin/cmake -E cmake_link_script CMakeFiles/handler_file.dir/link.txt --verbose=1 /usr/bin/cc -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 -Wall -std=c99 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.1.3' [ 46%] Built target handler_qcow [ 50%] Building C object CMakeFiles/tcmu_static.dir/tcmuhandler-generated.c.o /usr/bin/cc -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 -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 -Wall -std=c99 -fPIC -o CMakeFiles/tcmu_static.dir/tcmuhandler-generated.c.o -c /builddir/build/BUILD/tcmu-runner-1.1.3/tcmuhandler-generated.c make[2]: Leaving directory '/builddir/build/BUILD/tcmu-runner-1.1.3' [ 50%] Built target handler_file BUILDSTDERR: make[2]: *** [CMakeFiles/tcmu_static.dir/build.make:86: CMakeFiles/tcmu_static.dir/libtcmu.c.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/builddir/build/BUILD/tcmu-runner-1.1.3' make[1]: Leaving directory '/builddir/build/BUILD/tcmu-runner-1.1.3' BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:261: CMakeFiles/tcmu_static.dir/all] Error 2 BUILDSTDERR: make: *** [Makefile:133: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.Sqaiez (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.Sqaiez (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do 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