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/mpage.spec'], chrootPath='/var/lib/mock/f31-build-112410-34271/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=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mpage.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/mpage-2.5.7-8.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mpage.spec'], chrootPath='/var/lib/mock/f31-build-112410-34271/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=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mpage.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.EyKAwi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mpage-2.5.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/mpage-2.5.7.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mpage-2.5.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (mpage25-config.patch): + echo 'Patch #0 (mpage25-config.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .config --fuzz=0 patching file Makefile Hunk #1 succeeded at 48 (offset 8 lines). Hunk #2 succeeded at 58 (offset 8 lines). Hunk #3 succeeded at 81 (offset 8 lines). Hunk #4 succeeded at 115 (offset 8 lines). Hunk #5 succeeded at 191 (offset 8 lines). + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WRthHi + umask 022 + cd /builddir/build/BUILD + cd mpage-2.5.7 + make BINDIR=/usr/bin LIBDIR=/usr/share MANDIR=/usr/share/man/man1 gcc -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 -DPAGE_DEF=\"Letter\" -DLIBDIR=\"/usr/share/mpage\" -DDEFAULT_ENCODING=1 -DDEFAULT_DUPLEX=0 -DDEFAULTSMARGIN=18 -DSPOOLER=BSD_SPOOLER -DKANJI -Wall -c -o mpage.o mpage.c gcc -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 -DPAGE_DEF=\"Letter\" -DLIBDIR=\"/usr/share/mpage\" -DDEFAULT_ENCODING=1 -DDEFAULT_DUPLEX=0 -DDEFAULTSMARGIN=18 -DSPOOLER=BSD_SPOOLER -DKANJI -Wall -c -o glob.o glob.c gcc -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 -DPAGE_DEF=\"Letter\" -DLIBDIR=\"/usr/share/mpage\" -DDEFAULT_ENCODING=1 -DDEFAULT_DUPLEX=0 -DDEFAULTSMARGIN=18 -DSPOOLER=BSD_SPOOLER -DKANJI -Wall -c -o text.o text.c gcc -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 -DPAGE_DEF=\"Letter\" -DLIBDIR=\"/usr/share/mpage\" -DDEFAULT_ENCODING=1 -DDEFAULT_DUPLEX=0 -DDEFAULTSMARGIN=18 -DSPOOLER=BSD_SPOOLER -DKANJI -Wall -c -o post.o post.c BUILDSTDERR: post.c: In function 'ps_copyprolog': BUILDSTDERR: post.c:414:17: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 414 | fgets(currline, LINESIZE-1, fd); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -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 -DPAGE_DEF=\"Letter\" -DLIBDIR=\"/usr/share/mpage\" -DDEFAULT_ENCODING=1 -DDEFAULT_DUPLEX=0 -DDEFAULTSMARGIN=18 -DSPOOLER=BSD_SPOOLER -DKANJI -Wall -c -o file.o file.c BUILDSTDERR: file.c: In function 'looks_utf8': BUILDSTDERR: file.c:599:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 599 | fread (buf, sizeof (char), nbytes, fp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -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 -DPAGE_DEF=\"Letter\" -DLIBDIR=\"/usr/share/mpage\" -DDEFAULT_ENCODING=1 -DDEFAULT_DUPLEX=0 -DDEFAULTSMARGIN=18 -DSPOOLER=BSD_SPOOLER -DKANJI -Wall -c -o page.o page.c gcc -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 -DPAGE_DEF=\"Letter\" -DLIBDIR=\"/usr/share/mpage\" -DDEFAULT_ENCODING=1 -DDEFAULT_DUPLEX=0 -DDEFAULTSMARGIN=18 -DSPOOLER=BSD_SPOOLER -DKANJI -Wall -c -o args.o args.c gcc -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 -DPAGE_DEF=\"Letter\" -DLIBDIR=\"/usr/share/mpage\" -DDEFAULT_ENCODING=1 -DDEFAULT_DUPLEX=0 -DDEFAULTSMARGIN=18 -DSPOOLER=BSD_SPOOLER -DKANJI -Wall -c -o util.o util.c gcc -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 -DPAGE_DEF=\"Letter\" -DLIBDIR=\"/usr/share/mpage\" -DDEFAULT_ENCODING=1 -DDEFAULT_DUPLEX=0 -DDEFAULTSMARGIN=18 -DSPOOLER=BSD_SPOOLER -DKANJI -Wall -o mpage mpage.o glob.o text.o post.o file.o page.o args.o util.o gcc -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 -DPAGE_DEF=\"Letter\" -DLIBDIR=\"/usr/share/mpage\" -DDEFAULT_ENCODING=1 -DDEFAULT_DUPLEX=0 -DDEFAULTSMARGIN=18 -DSPOOLER=BSD_SPOOLER -DKANJI -Wall -c -o sample.o sample.c gcc -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 -DPAGE_DEF=\"Letter\" -DLIBDIR=\"/usr/share/mpage\" -DDEFAULT_ENCODING=1 -DDEFAULT_DUPLEX=0 -DDEFAULTSMARGIN=18 -DSPOOLER=BSD_SPOOLER -DKANJI -Wall -o msample sample.o page.o glob.o args.o sed 's:PREFIX:/usr:' < mpage.1.in > mpage.1 Done! + iconv -f iso-8859-2 -t utf-8 CHANGES + touch -r CHANGES CHANGES.tmp + mv CHANGES.tmp CHANGES + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.yZswpi + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64 + cd mpage-2.5.7 + mkdir -p /builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64/usr/bin /builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64/usr/share/mpage /builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64/usr/share/man/man1 + make PREFIX=/builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64//usr BINDIR=/builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64//usr/bin LIBDIR=/builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64//usr/share MANDIR=/builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64//usr/share/man/man1 install if [ ! -d /builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64//usr/share/mpage ] ; then mkdir -p /builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64//usr/share/mpage ; fi if [ ! -d /builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64//usr/bin ] ; then mkdir -p /builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64//usr/bin ; fi if [ ! -d /builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64//usr/share/man/man1 ] ; then mkdir -p /builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64//usr/share/man/man1 ; fi cp mpage /builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64//usr/bin cp mpage.1 /builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64//usr/share/man/man1 install -p -m 644 Encodings/* /builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64//usr/share/mpage + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.5.7-8.fc31 --unique-debug-suffix -2.5.7-8.fc31.riscv64 --unique-debug-src-base mpage-2.5.7-8.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mpage-2.5.7 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64/usr/bin/mpage extracting debug info from /builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64/usr/bin/mpage original debug info size: 220kB, size after compression: 204kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 302 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 Processing files: mpage-2.5.7-8.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.cZFpYf + umask 022 + cd /builddir/build/BUILD + cd mpage-2.5.7 + DOCDIR=/builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64/usr/share/doc/mpage + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64/usr/share/doc/mpage + cp -pr CHANGES /builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64/usr/share/doc/mpage + cp -pr Copyright /builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64/usr/share/doc/mpage + cp -pr README /builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64/usr/share/doc/mpage + cp -pr NEWS /builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64/usr/share/doc/mpage + cp -pr TODO /builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64/usr/share/doc/mpage + cp -pr FAQ /builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64/usr/share/doc/mpage + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.vOmMEe + umask 022 + cd /builddir/build/BUILD + cd mpage-2.5.7 + LICENSEDIR=/builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64/usr/share/licenses/mpage + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64/usr/share/licenses/mpage + cp -pr COPYING /builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64/usr/share/licenses/mpage + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: mpage = 2.5.7-8.fc31 mpage(riscv-64) = 2.5.7-8.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: mpage-debugsource-2.5.7-8.fc31.riscv64 Provides: mpage-debugsource = 2.5.7-8.fc31 mpage-debugsource(riscv-64) = 2.5.7-8.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mpage-debuginfo-2.5.7-8.fc31.riscv64 Provides: debuginfo(build-id) = 40cc930573bb620806c4fb858fce47b5ca74eda8 mpage-debuginfo = 2.5.7-8.fc31 mpage-debuginfo(riscv-64) = 2.5.7-8.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mpage-debugsource(riscv-64) = 2.5.7-8.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64 Wrote: /builddir/build/RPMS/mpage-2.5.7-8.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/mpage-debugsource-2.5.7-8.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/mpage-debuginfo-2.5.7-8.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LWJSbe + umask 022 + cd /builddir/build/BUILD + cd mpage-2.5.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mpage-2.5.7-8.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0