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-12792-5828/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} 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-12792-5828/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.anem4Z + 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.N01D0s + 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.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 -- Found PkgConfig: /usr/bin/pkg-config (found version "1.4.2") -- Checking for module 'gio-unix-2.0' -- Found gio-unix-2.0, version 2.56.1 -- 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' 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= 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_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 [ 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_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 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' make[2]: Entering directory '/builddir/build/BUILD/tcmu-runner-1.1.3' [ 10%] Building C object CMakeFiles/handler_qcow.dir/qcow.c.o [ 14%] 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 /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_static.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.dir/DependInfo.cmake --color= [ 17%] Linking C shared library handler_glfs.so /usr/bin/cmake -E cmake_link_script CMakeFiles/handler_glfs.dir/link.txt --verbose=1 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 /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' 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' make[2]: Leaving directory '/builddir/build/BUILD/tcmu-runner-1.1.3' [ 21%] 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 [ 25%] 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%] Built target handler_glfs 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' [ 28%] 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 [ 32%] 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' [ 32%] Built target handler_file [ 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%] 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 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: ^~~~~ make[2]: Leaving directory '/builddir/build/BUILD/tcmu-runner-1.1.3' 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/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: ^~~~~ make -f CMakeFiles/handler_file_async.dir/build.make CMakeFiles/handler_file_async.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_async.dir/DependInfo.cmake --color= [ 42%] 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 [ 42%] Built target handler_qcow Scanning dependencies of target handler_file_async make[2]: Leaving directory '/builddir/build/BUILD/tcmu-runner-1.1.3' make -f CMakeFiles/handler_file_async.dir/build.make CMakeFiles/handler_file_async.dir/build [ 46%] 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 make[2]: Entering directory '/builddir/build/BUILD/tcmu-runner-1.1.3' [ 50%] Building C object CMakeFiles/handler_file_async.dir/file_example.c.o /usr/bin/cc -Dhandler_file_async_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 -DASYNC_FILE_HANDLER -o CMakeFiles/handler_file_async.dir/file_example.c.o -c /builddir/build/BUILD/tcmu-runner-1.1.3/file_example.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: 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.... [ 53%] Building C object CMakeFiles/tcmu.dir/libtcmu-register.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-register.c.o -c /builddir/build/BUILD/tcmu-runner-1.1.3/libtcmu-register.c [ 57%] Linking C shared library handler_file_async.so /usr/bin/cmake -E cmake_link_script CMakeFiles/handler_file_async.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_async.so -o handler_file_async.so CMakeFiles/handler_file_async.dir/file_example.c.o -lpthread make[2]: Leaving directory '/builddir/build/BUILD/tcmu-runner-1.1.3' [ 57%] Built target handler_file_async [ 60%] Building C object CMakeFiles/tcmu.dir/tcmuhandler-generated.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/tcmuhandler-generated.c.o -c /builddir/build/BUILD/tcmu-runner-1.1.3/tcmuhandler-generated.c 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[2]: Leaving directory '/builddir/build/BUILD/tcmu-runner-1.1.3' BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:256: CMakeFiles/tcmu_static.dir/all] Error 2 BUILDSTDERR: make[1]: *** 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:182: CMakeFiles/tcmu.dir/all] Error 2 BUILDSTDERR: make: *** [Makefile:133: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.N01D0s (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.N01D0s (%build) 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