+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/boxes.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1LQerd + 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). + echo 'Patch #2 (boxes-wformat-security.patch):' 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.pj64Mi + 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 ' -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 " -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 " 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 -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 -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 -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 -c -o generate.o generate.c tools.c: In function 'expand_tabs_into': tools.c:300:28: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] *tabpos = (size_t *) calloc ((*tabpos_len) + 1, sizeof(size_t)); ^~~~~~ tools.c:300:28: warning: incompatible implicit declaration of built-in function 'calloc' tools.c:300:28: note: include '' or provide a declaration of 'calloc' tools.c: In function 'tabbify_indent': tools.c:428:23: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] result = (char *) malloc (indentspc_len + 1); ^~~~~~ tools.c:428:23: warning: incompatible implicit declaration of built-in function 'malloc' tools.c:428:23: note: include '' or provide a declaration of 'malloc' At top level: tools.c:67:19: warning: 'rcsid_tools_c' defined but not used [-Wunused-const-variable=] static const char rcsid_tools_c[] = ^~~~~~~~~~~~~ shape.c:62:19: warning: 'rcsid_shape_c' defined but not used [-Wunused-const-variable=] static const char rcsid_shape_c[] = ^~~~~~~~~~~~~ boxes.c: In function 'list_styles': boxes.c:1199:57: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] fprintf (opt.outfile, "Minimum Box Dimensions: %d x %d (width x height)\n", ~^ %ld d->minwidth, d->minheight); ~~~~~~~~~~~ boxes.c:1199:62: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] fprintf (opt.outfile, "Minimum Box Dimensions: %d x %d (width x height)\n", ~^ %ld d->minwidth, d->minheight); ~~~~~~~~~~~~ generate.c:82:19: warning: 'rcsid_generate_c' defined but not used [-Wunused-const-variable=] static const char rcsid_generate_c[] = ^~~~~~~~~~~~~~~~ At top level: boxes.c:262:19: warning: 'rcsid_boxes_c' defined but not used [-Wunused-const-variable=] static const char rcsid_boxes_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 -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 -c -o parser.o parser.c remove.c:71:19: warning: 'rcsid_remove_c' defined but not used [-Wunused-const-variable=] static const char rcsid_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 -c -o lex.yy.o lex.yy.c : In function 'yy_get_next_buffer': :1766:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] : In function 'yy_scan_bytes': :2265:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] At top level: :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 -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 -c regsub.c regsub.c: In function 'regsub': regsub.c:90:9: warning: implicit declaration of function 'regerror'; did you mean 'strerror'? [-Wimplicit-function-declaration] regerror("NULL parm to regsub"); ^~~~~~~~ strerror regsub.c: In function 'myregsub': regsub.c:166:14: warning: implicit declaration of function 'regexec' [-Wimplicit-function-declaration] rc = regexec (prog, sp); ^~~~~~~ regexp.c: In function 'regcomp': regexp.c:137:19: warning: implicit declaration of function 'regerror'; did you mean 'strerror'? [-Wimplicit-function-declaration] #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:204:3: note: in expansion of macro 'FAIL' FAIL("NULL argument"); ^~~~ regexp.c: In function 'reg': regexp.c:326:10: warning: 'parno' may be used uninitialized in this function [-Wmaybe-uninitialized] ender = regnode((paren) ? CLOSE+parno : END); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.LCqdzc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/boxes-1.1.1-10.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/boxes-1.1.1-10.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/boxes-1.1.1-10.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/boxes-1.1.1-10.fc28.riscv64 + cd boxes-1.1.1 + rm -rf /builddir/build/BUILDROOT/boxes-1.1.1-10.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT/boxes-1.1.1-10.fc28.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/boxes-1.1.1-10.fc28.riscv64/usr/share/boxes + mkdir -p /builddir/build/BUILDROOT/boxes-1.1.1-10.fc28.riscv64/usr/share/man/man1 + install -pm 0755 src/boxes /builddir/build/BUILDROOT/boxes-1.1.1-10.fc28.riscv64/usr/bin + install -pm 0644 doc/boxes.1 /builddir/build/BUILDROOT/boxes-1.1.1-10.fc28.riscv64/usr/share/man/man1 + install -pm 0644 boxes-config /builddir/build/BUILDROOT/boxes-1.1.1-10.fc28.riscv64/usr/share/boxes/boxes + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /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 /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: boxes-1.1.1-10.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4PEgnO + umask 022 + cd /builddir/build/BUILD + cd boxes-1.1.1 + DOCDIR=/builddir/build/BUILDROOT/boxes-1.1.1-10.fc28.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-10.fc28.riscv64/usr/share/doc/boxes + cp -pr COPYING /builddir/build/BUILDROOT/boxes-1.1.1-10.fc28.riscv64/usr/share/doc/boxes + cp -pr README /builddir/build/BUILDROOT/boxes-1.1.1-10.fc28.riscv64/usr/share/doc/boxes + exit 0 Provides: boxes = 1.1.1-10.fc28 boxes(riscv-64) = 1.1.1-10.fc28 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) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/boxes-1.1.1-10.fc28.riscv64 Wrote: /builddir/build/SRPMS/boxes-1.1.1-10.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/boxes-1.1.1-10.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9vK8dR + umask 022 + cd /builddir/build/BUILD + cd boxes-1.1.1 + rm -rf /builddir/build/BUILDROOT/boxes-1.1.1-10.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff