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/f29-build-26205-13601/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/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'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/boxes-1.1.1-13.fc29.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/f29-build-26205-13601/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/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'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2iyDAe + 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):' Patch #1 (boxes-fix_make.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fix_make --fuzz=0 patching file src/Makefile patching file Makefile Hunk #1 succeeded at 92 (offset 7 lines). Patch #2 (boxes-wformat-security.patch): + echo 'Patch #2 (boxes-wformat-security.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .wformat --fuzz=0 patching file src/boxes.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.x7hQtV + 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 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 BUILDSTDERR: tools.c: In function 'expand_tabs_into': BUILDSTDERR: tools.c:300:28: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] BUILDSTDERR: *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:300:28: note: include '' or provide a declaration of 'calloc' BUILDSTDERR: tools.c:65:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: tools.c:300:28: BUILDSTDERR: *tabpos = (size_t *) calloc ((*tabpos_len) + 1, sizeof(size_t)); BUILDSTDERR: ^~~~~~ BUILDSTDERR: tools.c: In function 'tabbify_indent': BUILDSTDERR: tools.c:428:23: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] BUILDSTDERR: 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: 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: fprintf (opt.outfile, "Minimum Box Dimensions: %d x %d (width x height)\n", BUILDSTDERR: ~^ BUILDSTDERR: %ld BUILDSTDERR: d->minwidth, d->minheight); BUILDSTDERR: ~~~~~~~~~~~ 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: fprintf (opt.outfile, "Minimum Box Dimensions: %d x %d (width x height)\n", BUILDSTDERR: ~^ BUILDSTDERR: %ld BUILDSTDERR: d->minwidth, d->minheight); BUILDSTDERR: ~~~~~~~~~~~~ BUILDSTDERR: shape.c:62:19: warning: 'rcsid_shape_c' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static const char rcsid_shape_c[] = BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: boxes.c:262:19: warning: 'rcsid_boxes_c' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static const char rcsid_boxes_c[] = BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: generate.c:82:19: warning: 'rcsid_generate_c' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static const char rcsid_generate_c[] = BUILDSTDERR: ^~~~~~~~~~~~~~~~ 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 BUILDSTDERR: remove.c:71:19: warning: 'rcsid_remove_c' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static const char rcsid_remove_c[] = BUILDSTDERR: ^~~~~~~~~~~~~~ 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 BUILDSTDERR: : In function 'yy_get_next_buffer': BUILDSTDERR: :1766:23: warning: comparison of integer expressions of different signedness: 'yy_size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: At top level: BUILDSTDERR: :1861:16: warning: 'input' defined but not used [-Wunused-function] make -C regexp CC=gcc libregexp.a make[3]: Entering directory '/builddir/build/BUILD/boxes-1.1.1/src/regexp' 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 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 BUILDSTDERR: regsub.c: In function 'regsub': BUILDSTDERR: regsub.c:90:9: warning: implicit declaration of function 'regerror'; did you mean 'strerror'? [-Wimplicit-function-declaration] BUILDSTDERR: regerror("NULL parm to regsub"); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: strerror BUILDSTDERR: regsub.c: In function 'myregsub': BUILDSTDERR: regsub.c:166:14: warning: implicit declaration of function 'regexec' [-Wimplicit-function-declaration] BUILDSTDERR: rc = regexec (prog, sp); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: regexp.c: In function 'regcomp': BUILDSTDERR: regexp.c:137:19: warning: implicit declaration of function 'regerror'; did you mean 'strerror'? [-Wimplicit-function-declaration] BUILDSTDERR: #define FAIL(m) { regerror(m); return(NULL); } BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: regexp.c:204:3: note: in expansion of macro 'FAIL' BUILDSTDERR: 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: ender = regnode((paren) ? CLOSE+parno : END); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YG7wib + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/boxes-1.1.1-13.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/boxes-1.1.1-13.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/boxes-1.1.1-13.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/boxes-1.1.1-13.fc29.riscv64 + cd boxes-1.1.1 + rm -rf /builddir/build/BUILDROOT/boxes-1.1.1-13.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT/boxes-1.1.1-13.fc29.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/boxes-1.1.1-13.fc29.riscv64/usr/share/boxes + mkdir -p /builddir/build/BUILDROOT/boxes-1.1.1-13.fc29.riscv64/usr/share/man/man1 + install -pm 0755 src/boxes /builddir/build/BUILDROOT/boxes-1.1.1-13.fc29.riscv64/usr/bin + install -pm 0644 doc/boxes.1 /builddir/build/BUILDROOT/boxes-1.1.1-13.fc29.riscv64/usr/share/man/man1 + install -pm 0644 boxes-config /builddir/build/BUILDROOT/boxes-1.1.1-13.fc29.riscv64/usr/share/boxes/boxes + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.1.1-13.fc29 --unique-debug-suffix -1.1.1-13.fc29.riscv64 --unique-debug-src-base boxes-1.1.1-13.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/boxes-1.1.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/boxes-1.1.1-13.fc29.riscv64/usr/bin/boxes extracting debug info from /builddir/build/BUILDROOT/boxes-1.1.1-13.fc29.riscv64/usr/bin/boxes /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 694 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /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 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: boxes-1.1.1-13.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9bgyLJ + umask 022 + cd /builddir/build/BUILD + cd boxes-1.1.1 + DOCDIR=/builddir/build/BUILDROOT/boxes-1.1.1-13.fc29.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-13.fc29.riscv64/usr/share/doc/boxes + cp -pr COPYING /builddir/build/BUILDROOT/boxes-1.1.1-13.fc29.riscv64/usr/share/doc/boxes + cp -pr README /builddir/build/BUILDROOT/boxes-1.1.1-13.fc29.riscv64/usr/share/doc/boxes + exit 0 Provides: boxes = 1.1.1-13.fc29 boxes(riscv-64) = 1.1.1-13.fc29 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-13.fc29.riscv64 Provides: boxes-debugsource = 1.1.1-13.fc29 boxes-debugsource(riscv-64) = 1.1.1-13.fc29 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-13.fc29.riscv64 Provides: boxes-debuginfo = 1.1.1-13.fc29 boxes-debuginfo(riscv-64) = 1.1.1-13.fc29 debuginfo(build-id) = 9b4de7144a3916174d5704f5ab26bdee310cd99d 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-13.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/boxes-1.1.1-13.fc29.riscv64 Wrote: /builddir/build/RPMS/boxes-1.1.1-13.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/boxes-debugsource-1.1.1-13.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/boxes-debuginfo-1.1.1-13.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.yG1txq + umask 022 + cd /builddir/build/BUILD + cd boxes-1.1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/boxes-1.1.1-13.fc29.riscv64 + exit 0 Child return code was: 0