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/target-isns.spec'], chrootPath='/var/lib/mock/f29-build-25993-13515/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=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/target-isns.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/target-isns-0.6.2-5.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/target-isns.spec'], chrootPath='/var/lib/mock/f29-build-25993-13515/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=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/target-isns.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.JAtgOT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf target-isns-0.6.2 + /usr/bin/xz -dc /builddir/build/SOURCES/target-isns-0.6.2.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd target-isns-0.6.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GJB8lI + umask 022 + cd /builddir/build/BUILD + cd target-isns-0.6.2 + 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 -- 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/target-isns-0.6.2 + make -j4 /usr/bin/cmake -H/builddir/build/BUILD/target-isns-0.6.2 -B/builddir/build/BUILD/target-isns-0.6.2 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/target-isns-0.6.2/CMakeFiles /builddir/build/BUILD/target-isns-0.6.2/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/target-isns-0.6.2' make -f src/CMakeFiles/ccan.dir/build.make src/CMakeFiles/ccan.dir/depend make[2]: Entering directory '/builddir/build/BUILD/target-isns-0.6.2' cd /builddir/build/BUILD/target-isns-0.6.2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/target-isns-0.6.2 /builddir/build/BUILD/target-isns-0.6.2/src /builddir/build/BUILD/target-isns-0.6.2 /builddir/build/BUILD/target-isns-0.6.2/src /builddir/build/BUILD/target-isns-0.6.2/src/CMakeFiles/ccan.dir/DependInfo.cmake --color= Scanning dependencies of target ccan make[2]: Leaving directory '/builddir/build/BUILD/target-isns-0.6.2' make -f src/CMakeFiles/ccan.dir/build.make src/CMakeFiles/ccan.dir/build make[2]: Entering directory '/builddir/build/BUILD/target-isns-0.6.2' [ 11%] Building C object src/CMakeFiles/ccan.dir/ccan/list/list.c.o [ 11%] Building C object src/CMakeFiles/ccan.dir/ccan/daemonize/daemonize.c.o cd /builddir/build/BUILD/target-isns-0.6.2/src && /usr/bin/cc -I/builddir/build/BUILD/target-isns-0.6.2/src/. -I/builddir/build/BUILD/target-isns-0.6.2/src -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 -Werror -std=c99 -o CMakeFiles/ccan.dir/ccan/daemonize/daemonize.c.o -c /builddir/build/BUILD/target-isns-0.6.2/src/ccan/daemonize/daemonize.c cd /builddir/build/BUILD/target-isns-0.6.2/src && /usr/bin/cc -I/builddir/build/BUILD/target-isns-0.6.2/src/. -I/builddir/build/BUILD/target-isns-0.6.2/src -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 -Werror -std=c99 -o CMakeFiles/ccan.dir/ccan/list/list.c.o -c /builddir/build/BUILD/target-isns-0.6.2/src/ccan/list/list.c [ 16%] Linking C static library libccan.a cd /builddir/build/BUILD/target-isns-0.6.2/src && /usr/bin/cmake -P CMakeFiles/ccan.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/target-isns-0.6.2/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/ccan.dir/link.txt --verbose=1 /usr/bin/ar qc libccan.a CMakeFiles/ccan.dir/ccan/daemonize/daemonize.c.o CMakeFiles/ccan.dir/ccan/list/list.c.o /usr/bin/ranlib libccan.a make[2]: Leaving directory '/builddir/build/BUILD/target-isns-0.6.2' [ 16%] Built target ccan make -f src/CMakeFiles/target-isns.dir/build.make src/CMakeFiles/target-isns.dir/depend make -f tests/CMakeFiles/test-isns-fuzzing.dir/build.make tests/CMakeFiles/test-isns-fuzzing.dir/depend make[2]: Entering directory '/builddir/build/BUILD/target-isns-0.6.2' make[2]: Entering directory '/builddir/build/BUILD/target-isns-0.6.2' cd /builddir/build/BUILD/target-isns-0.6.2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/target-isns-0.6.2 /builddir/build/BUILD/target-isns-0.6.2/src /builddir/build/BUILD/target-isns-0.6.2 /builddir/build/BUILD/target-isns-0.6.2/src /builddir/build/BUILD/target-isns-0.6.2/src/CMakeFiles/target-isns.dir/DependInfo.cmake --color= cd /builddir/build/BUILD/target-isns-0.6.2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/target-isns-0.6.2 /builddir/build/BUILD/target-isns-0.6.2/tests /builddir/build/BUILD/target-isns-0.6.2 /builddir/build/BUILD/target-isns-0.6.2/tests /builddir/build/BUILD/target-isns-0.6.2/tests/CMakeFiles/test-isns-fuzzing.dir/DependInfo.cmake --color= Scanning dependencies of target test-isns-fuzzing make[2]: Leaving directory '/builddir/build/BUILD/target-isns-0.6.2' make -f tests/CMakeFiles/test-isns-fuzzing.dir/build.make tests/CMakeFiles/test-isns-fuzzing.dir/build Scanning dependencies of target target-isns make[2]: Leaving directory '/builddir/build/BUILD/target-isns-0.6.2' make -f src/CMakeFiles/target-isns.dir/build.make src/CMakeFiles/target-isns.dir/build make[2]: Entering directory '/builddir/build/BUILD/target-isns-0.6.2' make[2]: Entering directory '/builddir/build/BUILD/target-isns-0.6.2' [ 22%] Building C object tests/CMakeFiles/test-isns-fuzzing.dir/__/src/configfs.c.o cd /builddir/build/BUILD/target-isns-0.6.2/tests && /usr/bin/cc -I/builddir/build/BUILD/target-isns-0.6.2/tests/../src -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 -Werror -std=c99 -o CMakeFiles/test-isns-fuzzing.dir/__/src/configfs.c.o -c /builddir/build/BUILD/target-isns-0.6.2/src/configfs.c [ 27%] Building C object tests/CMakeFiles/test-isns-fuzzing.dir/__/src/isns.c.o cd /builddir/build/BUILD/target-isns-0.6.2/tests && /usr/bin/cc -I/builddir/build/BUILD/target-isns-0.6.2/tests/../src -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 -Werror -std=c99 -o CMakeFiles/test-isns-fuzzing.dir/__/src/isns.c.o -c /builddir/build/BUILD/target-isns-0.6.2/src/isns.c [ 33%] Building C object tests/CMakeFiles/test-isns-fuzzing.dir/test-isns-fuzzing.c.o cd /builddir/build/BUILD/target-isns-0.6.2/tests && /usr/bin/cc -I/builddir/build/BUILD/target-isns-0.6.2/tests/../src -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 -Werror -std=c99 -o CMakeFiles/test-isns-fuzzing.dir/test-isns-fuzzing.c.o -c /builddir/build/BUILD/target-isns-0.6.2/tests/test-isns-fuzzing.c [ 38%] Building C object src/CMakeFiles/target-isns.dir/configfs.c.o cd /builddir/build/BUILD/target-isns-0.6.2/src && /usr/bin/cc -I/builddir/build/BUILD/target-isns-0.6.2/src/. -I/builddir/build/BUILD/target-isns-0.6.2/src -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 -Werror -std=c99 -o CMakeFiles/target-isns.dir/configfs.c.o -c /builddir/build/BUILD/target-isns-0.6.2/src/configfs.c [ 44%] Building C object src/CMakeFiles/target-isns.dir/isns.c.o cd /builddir/build/BUILD/target-isns-0.6.2/src && /usr/bin/cc -I/builddir/build/BUILD/target-isns-0.6.2/src/. -I/builddir/build/BUILD/target-isns-0.6.2/src -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 -Werror -std=c99 -o CMakeFiles/target-isns.dir/isns.c.o -c /builddir/build/BUILD/target-isns-0.6.2/src/isns.c BUILDSTDERR: /builddir/build/BUILD/target-isns-0.6.2/src/configfs.c: In function 'configfs_tpg_init': BUILDSTDERR: /builddir/build/BUILD/target-isns-0.6.2/src/configfs.c:163:40: error: '/np' directive output may be truncated writing 3 bytes into a region of size between 1 and 512 [-Werror=format-truncation=] BUILDSTDERR: snprintf(np_path, sizeof(np_path), "%s/np", path); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from /builddir/build/BUILD/target-isns-0.6.2/src/configfs.c:43: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 515 bytes into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/target-isns-0.6.2/src/configfs.c: In function 'configfs_tpg_init': BUILDSTDERR: /builddir/build/BUILD/target-isns-0.6.2/src/configfs.c:163:40: error: '/np' directive output may be truncated writing 3 bytes into a region of size between 1 and 512 [-Werror=format-truncation=] BUILDSTDERR: snprintf(np_path, sizeof(np_path), "%s/np", path); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from /builddir/build/BUILD/target-isns-0.6.2/src/configfs.c:43: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 515 bytes into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cc1: all warnings being treated as errors BUILDSTDERR: cc1: all warnings being treated as errors BUILDSTDERR: make[2]: *** [tests/CMakeFiles/test-isns-fuzzing.dir/build.make:79: tests/CMakeFiles/test-isns-fuzzing.dir/__/src/configfs.c.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... BUILDSTDERR: make[2]: *** [src/CMakeFiles/target-isns.dir/build.make:66: src/CMakeFiles/target-isns.dir/configfs.c.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... [ 50%] Building C object src/CMakeFiles/target-isns.dir/isns_proto.c.o cd /builddir/build/BUILD/target-isns-0.6.2/src && /usr/bin/cc -I/builddir/build/BUILD/target-isns-0.6.2/src/. -I/builddir/build/BUILD/target-isns-0.6.2/src -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 -Werror -std=c99 -o CMakeFiles/target-isns.dir/isns_proto.c.o -c /builddir/build/BUILD/target-isns-0.6.2/src/isns_proto.c make[2]: Leaving directory '/builddir/build/BUILD/target-isns-0.6.2' BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:220: tests/CMakeFiles/test-isns-fuzzing.dir/all] Error 2 BUILDSTDERR: make[1]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/builddir/build/BUILD/target-isns-0.6.2' make[1]: Leaving directory '/builddir/build/BUILD/target-isns-0.6.2' BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:128: src/CMakeFiles/target-isns.dir/all] Error 2 BUILDSTDERR: make: *** [Makefile:133: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.GJB8lI (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.GJB8lI (%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/target-isns.spec