Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lwtools.spec'], chrootPath='/var/lib/mock/f31-build-85246-31584/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lwtools.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 setting SOURCE_DATE_EPOCH=1564012800 Wrote: /builddir/build/SRPMS/lwtools-4.17-2.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lwtools.spec'], chrootPath='/var/lib/mock/f31-build-85246-31584/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lwtools.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 setting SOURCE_DATE_EPOCH=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6J7UqO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lwtools-4.17 + /usr/bin/gzip -dc /builddir/build/SOURCES/lwtools-4.17.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd lwtools-4.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qBQ5iP + umask 022 + cd /builddir/build/BUILD + cd lwtools-4.17 + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + make -j4 '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' BUILDSTDERR: lwasm/list.c: In function 'do_list': BUILDSTDERR: lwasm/list.c:255:13: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] BUILDSTDERR: 255 | sprintf(s, "%s%c", s, ch); BUILDSTDERR: | ^ ~ BUILDSTDERR: lwasm/list.c:255:21: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] BUILDSTDERR: 255 | sprintf(s, "%s%c", s, ch); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from lwasm/list.c:22: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 65 bytes into a destination of size 64 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Building dependencies for lwasm/debug.o Building dependencies for lwasm/cycle.o Building dependencies for lwasm/input.o Building dependencies for lwasm/insn_bitbit.o Building lwasm/cycle.o Building lwasm/debug.o Building lwasm/input.o Building lwasm/insn_bitbit.o Building dependencies for lwasm/insn_indexed.o Building dependencies for lwasm/insn_gen.o Building dependencies for lwasm/insn_inh.o Building lwasm/insn_inh.o Building lwasm/insn_indexed.o Building lwasm/insn_gen.o Building dependencies for lwasm/insn_logicmem.o Building dependencies for lwasm/insn_rel.o Building lwasm/insn_logicmem.o Building lwasm/insn_rel.o Building dependencies for lwasm/insn_rlist.o Building lwasm/insn_rlist.o Building dependencies for lwasm/insn_rtor.o Building dependencies for lwasm/insn_tfm.o Building dependencies for lwasm/instab.o Building lwasm/insn_rtor.o Building dependencies for lwasm/list.o Building lwasm/insn_tfm.o Building lwasm/instab.o Building lwasm/list.o Building dependencies for lwasm/lwasm.o Building lwasm/lwasm.o Building dependencies for lwasm/macro.o Building dependencies for lwasm/main.o Building lwasm/main.o Building lwasm/macro.o Building dependencies for lwasm/os9.o Building lwasm/os9.o Building dependencies for lwasm/output.o Building lwasm/output.o Building dependencies for lwasm/pass1.o Building dependencies for lwasm/pass2.o Building lwasm/pass1.o Building lwasm/pass2.o Building dependencies for lwasm/pass3.o Building lwasm/pass3.o Building dependencies for lwasm/pass4.o Building lwasm/pass4.o Building dependencies for lwasm/pass5.o Building lwasm/pass5.o Building dependencies for lwasm/pass6.o Building dependencies for lwasm/pass7.o Building lwasm/pass6.o Building lwasm/pass7.o Building dependencies for lwasm/pragma.o Building dependencies for lwasm/pseudo.o Building dependencies for lwasm/section.o Building lwasm/pragma.o Building dependencies for lwasm/struct.o Building lwasm/section.o Building lwasm/pseudo.o Building lwasm/struct.o Building dependencies for lwasm/symbol.o Building dependencies for lwasm/symdump.o Building lwasm/symbol.o Building lwasm/symdump.o Building dependencies for lwasm/unicorns.o Building lwasm/unicorns.o Building dependencies for lwlib/lw_alloc.o Building lwlib/lw_alloc.o Building dependencies for lwlib/lw_realloc.o Building dependencies for lwlib/lw_free.o Building lwlib/lw_realloc.o Building lwlib/lw_free.o Building dependencies for lwlib/lw_error.o Building lwlib/lw_error.o Building dependencies for lwlib/lw_expr.o Building dependencies for lwlib/lw_stack.o Building lwlib/lw_stack.o Building lwlib/lw_expr.o Building dependencies for lwlib/lw_string.o Building dependencies for lwlib/lw_stringlist.o Building lwlib/lw_string.o Building lwlib/lw_stringlist.o Building dependencies for lwlib/lw_cmdline.o Building dependencies for lwlink/main.o Building lwlib/lw_cmdline.o Building lwlink/main.o Building dependencies for lwlink/lwlink.o Building lwlink/lwlink.o Building dependencies for lwlink/readfiles.o Building lwlink/readfiles.o Building dependencies for lwlink/expr.o Building lwlink/expr.o Building dependencies for lwlink/script.o Building dependencies for lwlink/link.o Building lwlink/link.o Building lwlink/script.o Building dependencies for lwlink/output.o Building lwlink/output.o Building dependencies for lwlink/map.o Building lwlink/map.o Building dependencies for lwar/add.o Building dependencies for lwar/extract.o Building lwar/add.o Building lwar/extract.o Building dependencies for lwar/list.o Building lwar/list.o Building dependencies for lwar/lwar.o Building dependencies for lwar/main.o Building lwar/lwar.o Building dependencies for lwar/remove.o Building lwar/main.o Building lwar/remove.o Building dependencies for lwar/replace.o Building dependencies for lwlink/objdump.o Linking lwlib/liblw.a Building lwar/replace.o Building lwlink/objdump.o Linking lwasm/lwasm Linking lwlink/lwlink Linking lwar/lwar Linking lwlink/lwobjdump Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XEg71N + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lwtools-4.17-2.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lwtools-4.17-2.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/lwtools-4.17-2.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lwtools-4.17-2.fc31.riscv64 + cd lwtools-4.17 + make install INSTALLDIR=/builddir/build/BUILDROOT/lwtools-4.17-2.fc31.riscv64/usr/bin/ + mkdir -p /builddir/build/BUILDROOT/lwtools-4.17-2.fc31.riscv64/usr/share/doc/lwtools + mv docs/internals.txt docs/lwasm.txt docs/readme-4.0.txt /builddir/build/BUILDROOT/lwtools-4.17-2.fc31.riscv64/usr/share/doc/lwtools + mv docs/manual /builddir/build/BUILDROOT/lwtools-4.17-2.fc31.riscv64/usr/share/doc/lwtools + cp -a 00README.txt /builddir/build/BUILDROOT/lwtools-4.17-2.fc31.riscv64/usr/share/doc/lwtools + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 4.17-2.fc31 --unique-debug-suffix -4.17-2.fc31.riscv64 --unique-debug-src-base lwtools-4.17-2.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/lwtools-4.17 BUILDSTDERR: 993 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs install -d /builddir/build/BUILDROOT/lwtools-4.17-2.fc31.riscv64/usr/bin/ install lwasm/lwasm lwlink/lwlink lwar/lwar lwlink/lwobjdump /builddir/build/BUILDROOT/lwtools-4.17-2.fc31.riscv64/usr/bin/ explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/lwtools-4.17-2.fc31.riscv64/usr/bin/lwar explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/lwtools-4.17-2.fc31.riscv64/usr/bin/lwasm explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/lwtools-4.17-2.fc31.riscv64/usr/bin/lwlink explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/lwtools-4.17-2.fc31.riscv64/usr/bin/lwobjdump extracting debug info from /builddir/build/BUILDROOT/lwtools-4.17-2.fc31.riscv64/usr/bin/lwar extracting debug info from /builddir/build/BUILDROOT/lwtools-4.17-2.fc31.riscv64/usr/bin/lwasm extracting debug info from /builddir/build/BUILDROOT/lwtools-4.17-2.fc31.riscv64/usr/bin/lwlink extracting debug info from /builddir/build/BUILDROOT/lwtools-4.17-2.fc31.riscv64/usr/bin/lwobjdump original debug info size: 1096kB, size after compression: 904kB /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. Processing files: lwtools-4.17-2.fc31.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.aDnj6N + umask 022 + cd /builddir/build/BUILD + cd lwtools-4.17 + LICENSEDIR=/builddir/build/BUILDROOT/lwtools-4.17-2.fc31.riscv64/usr/share/licenses/lwtools + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lwtools-4.17-2.fc31.riscv64/usr/share/licenses/lwtools + cp -pr COPYING /builddir/build/BUILDROOT/lwtools-4.17-2.fc31.riscv64/usr/share/licenses/lwtools + cp -pr GPL3 /builddir/build/BUILDROOT/lwtools-4.17-2.fc31.riscv64/usr/share/licenses/lwtools + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: lwtools = 4.17-2.fc31 lwtools(riscv-64) = 4.17-2.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: lwtools-doc-4.17-2.fc31.noarch Provides: lwtools-doc = 4.17-2.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lwtools-debugsource-4.17-2.fc31.riscv64 Provides: lwtools-debugsource = 4.17-2.fc31 lwtools-debugsource(riscv-64) = 4.17-2.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lwtools-debuginfo-4.17-2.fc31.riscv64 Provides: debuginfo(build-id) = 43e80b0471a176f16a6dce14abe468c479fc7d0e debuginfo(build-id) = 4c2936ba9c2123576a9459811854513ac5bd8d06 debuginfo(build-id) = a837506df239b10ecedf02013fc250abc7faa27d debuginfo(build-id) = df2147b2e219b58bf965c8b2e2fc72c679251054 lwtools-debuginfo = 4.17-2.fc31 lwtools-debuginfo(riscv-64) = 4.17-2.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: lwtools-debugsource(riscv-64) = 4.17-2.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lwtools-4.17-2.fc31.riscv64 Wrote: /builddir/build/RPMS/lwtools-4.17-2.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/lwtools-doc-4.17-2.fc31.noarch.rpm Wrote: /builddir/build/RPMS/lwtools-debugsource-4.17-2.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/lwtools-debuginfo-4.17-2.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Y4Yi9M + umask 022 + cd /builddir/build/BUILD + cd lwtools-4.17 + /usr/bin/rm -rf /builddir/build/BUILDROOT/lwtools-4.17-2.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0