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/boxes.spec'], chrootPath='/var/lib/mock/f31-build-56174-28183/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/boxes.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 setting SOURCE_DATE_EPOCH=1548892800 Wrote: /builddir/build/SRPMS/boxes-1.1.1-14.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/boxes.spec'], chrootPath='/var/lib/mock/f31-build-56174-28183/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/boxes.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 setting SOURCE_DATE_EPOCH=1548892800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gSzo7Z + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf boxes-1.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/boxes-1.1.1.src.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd boxes-1.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (boxes-fix_make.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fix_make --fuzz=0 + echo 'Patch #2 (boxes-wformat-security.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .wformat --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #1 (boxes-fix_make.patch): patching file src/Makefile patching file Makefile Hunk #1 succeeded at 92 (offset 7 lines). Patch #2 (boxes-wformat-security.patch): patching file src/boxes.c Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9STURY + umask 022 + cd /builddir/build/BUILD + cd boxes-1.1.1 + make GLOBALCONF=/usr/share/boxes/boxes 'CFLAGS_ADTL=-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' -j4 BUILDSTDERR: tools.c: In function 'expand_tabs_into': BUILDSTDERR: tools.c:300:28: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] BUILDSTDERR: 300 | *tabpos = (size_t *) calloc ((*tabpos_len) + 1, sizeof(size_t)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: tools.c:300:28: warning: incompatible implicit declaration of built-in function 'calloc' BUILDSTDERR: tools.c:65:1: note: include '' or provide a declaration of 'calloc' BUILDSTDERR: 64 | #include "tools.h" BUILDSTDERR: +++ |+#include BUILDSTDERR: 65 | BUILDSTDERR: tools.c: In function 'tabbify_indent': BUILDSTDERR: tools.c:428:23: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] BUILDSTDERR: 428 | result = (char *) malloc (indentspc_len + 1); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: tools.c:428:23: warning: incompatible implicit declaration of built-in function 'malloc' BUILDSTDERR: tools.c:428:23: note: include '' or provide a declaration of 'malloc' BUILDSTDERR: At top level: BUILDSTDERR: tools.c:67:19: warning: 'rcsid_tools_c' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 67 | static const char rcsid_tools_c[] = BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: boxes.c: In function 'list_styles': BUILDSTDERR: boxes.c:1199:57: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] BUILDSTDERR: 1199 | fprintf (opt.outfile, "Minimum Box Dimensions: %d x %d (width x height)\n", BUILDSTDERR: | ~^ BUILDSTDERR: | | BUILDSTDERR: | int BUILDSTDERR: | %ld BUILDSTDERR: 1200 | d->minwidth, d->minheight); BUILDSTDERR: | ~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | size_t {aka long unsigned int} BUILDSTDERR: boxes.c:1199:62: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] BUILDSTDERR: 1199 | fprintf (opt.outfile, "Minimum Box Dimensions: %d x %d (width x height)\n", BUILDSTDERR: | ~^ BUILDSTDERR: | | BUILDSTDERR: | int BUILDSTDERR: | %ld BUILDSTDERR: 1200 | d->minwidth, d->minheight); BUILDSTDERR: | ~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | size_t {aka long unsigned int} BUILDSTDERR: At top level: BUILDSTDERR: boxes.c:262:19: warning: 'rcsid_boxes_c' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 262 | static const char rcsid_boxes_c[] = BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: shape.c:62:19: warning: 'rcsid_shape_c' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 62 | static const char rcsid_shape_c[] = BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: generate.c:82:19: warning: 'rcsid_generate_c' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 82 | static const char rcsid_generate_c[] = BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: remove.c:71:19: warning: 'rcsid_remove_c' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 71 | static const char rcsid_remove_c[] = BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: :1852:16: warning: 'input' defined but not used [-Wunused-function] sed -e 's/--BVERSION--/1.1.1/; s/--GLOBALCONF--/\/usr\/share\/boxes\/boxes/' src/boxes.h.in > src/boxes.h sed -e 's/--BVERSION--/1.1.1/; s/--GLOBALCONF--/\/usr\/share\/boxes\/boxes/' doc/boxes.1.in > doc/boxes.1 For compilation info see the boxes website at http://boxes.thomasjensen.com/ make CFLAGS_ADTL="-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" -C src build make[1]: Entering directory '/builddir/build/BUILD/boxes-1.1.1/src' make CFLAGS_ADDTL="-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" boxes make[2]: Entering directory '/builddir/build/BUILD/boxes-1.1.1/src' bison -o parser.c -d parser.y bison -o parser.c -d parser.y echo '#include "config.h"' > lexer.tmp.c gcc -ansi -I. -Iregexp -Wall -W -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 -c -o boxes.o boxes.c flex -t lexer.l >> lexer.tmp.c && mv lexer.tmp.c lex.yy.c gcc -ansi -I. -Iregexp -Wall -W -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 -c -o tools.o tools.c gcc -ansi -I. -Iregexp -Wall -W -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 -c -o shape.o shape.c gcc -ansi -I. -Iregexp -Wall -W -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 -c -o generate.o generate.c gcc -ansi -I. -Iregexp -Wall -W -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 -c -o remove.o remove.c gcc -ansi -I. -Iregexp -Wall -W -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 -c -o parser.o parser.c gcc -ansi -I. -Iregexp -Wall -W -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 -c -o lex.yy.o lex.yy.c make -C regexp CC=gcc libregexp.a make[3]: Entering directory '/builddir/build/BUILD/boxes-1.1.1/src/regexp' BUILDSTDERR: gcc -O -I. -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/redregsub.c: In function 'regsub': BUILDSTDERR: regsub.c:90:9: warning: implicit declaration of function 'regerror' [-Wimplicit-function-declaration] BUILDSTDERR: 90 | regerror("NULL parm to regsub"); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: regsub.c: In function 'myregsub': BUILDSTDERR: regsub.c:166:14: warning: implicit declaration of function 'regexec' [-Wimplicit-function-declaration] BUILDSTDERR: 166 | rc = regexec (prog, sp); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: regexp.c: In function 'regcomp': BUILDSTDERR: regexp.c:137:19: warning: implicit declaration of function 'regerror' [-Wimplicit-function-declaration] BUILDSTDERR: 137 | #define FAIL(m) { regerror(m); return(NULL); } BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: regexp.c:204:3: note: in expansion of macro 'FAIL' BUILDSTDERR: 204 | FAIL("NULL argument"); BUILDSTDERR: | ^~~~ BUILDSTDERR: regexp.c: In function 'reg': BUILDSTDERR: regexp.c:326:10: warning: 'parno' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 326 | ender = regnode((paren) ? CLOSE+parno : END); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 hat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c regexp.c gcc -O -I. -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 -c regsub.c ar cr libregexp.a regexp.o regsub.o make[3]: Leaving directory '/builddir/build/BUILD/boxes-1.1.1/src/regexp' gcc -Lregexp parser.o lex.yy.o boxes.o tools.o shape.o generate.o remove.o -o boxes -lregexp make[2]: Leaving directory '/builddir/build/BUILD/boxes-1.1.1/src' #strip boxes make[1]: Leaving directory '/builddir/build/BUILD/boxes-1.1.1/src' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.AOJddY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/boxes-1.1.1-14.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/boxes-1.1.1-14.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/boxes-1.1.1-14.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/boxes-1.1.1-14.fc31.riscv64 + cd boxes-1.1.1 + rm -rf /builddir/build/BUILDROOT/boxes-1.1.1-14.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT/boxes-1.1.1-14.fc31.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/boxes-1.1.1-14.fc31.riscv64/usr/share/boxes + mkdir -p /builddir/build/BUILDROOT/boxes-1.1.1-14.fc31.riscv64/usr/share/man/man1 + install -pm 0755 src/boxes /builddir/build/BUILDROOT/boxes-1.1.1-14.fc31.riscv64/usr/bin + install -pm 0644 doc/boxes.1 /builddir/build/BUILDROOT/boxes-1.1.1-14.fc31.riscv64/usr/share/man/man1 + install -pm 0644 boxes-config /builddir/build/BUILDROOT/boxes-1.1.1-14.fc31.riscv64/usr/share/boxes/boxes + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.1.1-14.fc31 --unique-debug-suffix -1.1.1-14.fc31.riscv64 --unique-debug-src-base boxes-1.1.1-14.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/boxes-1.1.1 BUILDSTDERR: 694 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/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/boxes-1.1.1-14.fc31.riscv64/usr/bin/boxes extracting debug info from /builddir/build/BUILDROOT/boxes-1.1.1-14.fc31.riscv64/usr/bin/boxes original debug info size: 324kB, size after compression: 304kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: boxes-1.1.1-14.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3FkkgX + umask 022 + cd /builddir/build/BUILD + cd boxes-1.1.1 + DOCDIR=/builddir/build/BUILDROOT/boxes-1.1.1-14.fc31.riscv64/usr/share/doc/boxes + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/boxes-1.1.1-14.fc31.riscv64/usr/share/doc/boxes + cp -pr COPYING /builddir/build/BUILDROOT/boxes-1.1.1-14.fc31.riscv64/usr/share/doc/boxes + cp -pr README /builddir/build/BUILDROOT/boxes-1.1.1-14.fc31.riscv64/usr/share/doc/boxes + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: boxes = 1.1.1-14.fc31 boxes(riscv-64) = 1.1.1-14.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: boxes-debugsource-1.1.1-14.fc31.riscv64 Provides: boxes-debugsource = 1.1.1-14.fc31 boxes-debugsource(riscv-64) = 1.1.1-14.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: boxes-debuginfo-1.1.1-14.fc31.riscv64 Provides: boxes-debuginfo = 1.1.1-14.fc31 boxes-debuginfo(riscv-64) = 1.1.1-14.fc31 debuginfo(build-id) = abd80ff3db1aec5cf984909da183ef0b05f52905 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: boxes-debugsource(riscv-64) = 1.1.1-14.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/boxes-1.1.1-14.fc31.riscv64 Wrote: /builddir/build/RPMS/boxes-1.1.1-14.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/boxes-debuginfo-1.1.1-14.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/boxes-debugsource-1.1.1-14.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YtSYwX + umask 022 + cd /builddir/build/BUILD + cd boxes-1.1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/boxes-1.1.1-14.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0