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/shortrpm.spec'], chrootPath='/var/lib/mock/f31-build-52237-27625/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/shortrpm.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=1531526400 Wrote: /builddir/build/SRPMS/shortrpm-1.4-6.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/shortrpm.spec'], chrootPath='/var/lib/mock/f31-build-52237-27625/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/shortrpm.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=1531526400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9pyokr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf shortrpm-1.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/shortrpm-1.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd shortrpm-1.4 + /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.aQgF5r + umask 022 + cd /builddir/build/BUILD + cd shortrpm-1.4 + 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' PREFIX=/usr BUILDSTDERR: specmangle.c: In function 'fake_spec': BUILDSTDERR: specmangle.c:113:32: warning: format '%a' expects argument of type 'float *', but argument 3 has type 'char **' [-Wformat=] BUILDSTDERR: 113 | while ((rec = fscanf (real, "%a[^\n]", &line)) != -1) { BUILDSTDERR: | ~^ ~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | float * char ** BUILDSTDERR: specmangle.c:123:23: warning: format '%a' expects argument of type 'float *', but argument 3 has type 'char **' [-Wformat=] BUILDSTDERR: 123 | if (fscanf (real, "%a[\n]", &line) != 1) BUILDSTDERR: | ~^ ~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | float * char ** + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 cc -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 -fPIC -DRPMBUILD=\"/usr/bin/rpmbuild\" -DSPECMANGLE=\"/usr/libexec/shortrpm/specmangle.so\" -c -o shortrpm.o shortrpm.c cc -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 -fPIC -DRPMBUILD=\"/usr/bin/rpmbuild\" -DSPECMANGLE=\"/usr/libexec/shortrpm/specmangle.so\" -c -o specmangle.o specmangle.c cc shortrpm.o -o shortrpm cc -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 -fPIC -DRPMBUILD=\"/usr/bin/rpmbuild\" -DSPECMANGLE=\"/usr/libexec/shortrpm/specmangle.so\" -shared -ldl -o specmangle.so specmangle.o Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Xi4sJp + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/shortrpm-1.4-6.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/shortrpm-1.4-6.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/shortrpm-1.4-6.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/shortrpm-1.4-6.fc31.riscv64 + cd shortrpm-1.4 + make install DESTDIR=/builddir/build/BUILDROOT/shortrpm-1.4-6.fc31.riscv64 PREFIX=/usr + install -d /builddir/build/BUILDROOT/shortrpm-1.4-6.fc31.riscv64/etc/profile.d + install -pm 0644 shortrpm.sh shortrpm.csh /builddir/build/BUILDROOT/shortrpm-1.4-6.fc31.riscv64/etc/profile.d + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.4-6.fc31 --unique-debug-suffix -1.4-6.fc31.riscv64 --unique-debug-src-base shortrpm-1.4-6.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/shortrpm-1.4 BUILDSTDERR: 12 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 install -d /builddir/build/BUILDROOT/shortrpm-1.4-6.fc31.riscv64/usr/bin /builddir/build/BUILDROOT/shortrpm-1.4-6.fc31.riscv64/usr/libexec/shortrpm \ /builddir/build/BUILDROOT/shortrpm-1.4-6.fc31.riscv64/usr/share/man/man1 install -p shortrpm /builddir/build/BUILDROOT/shortrpm-1.4-6.fc31.riscv64/usr/bin install -p specmangle.so /builddir/build/BUILDROOT/shortrpm-1.4-6.fc31.riscv64/usr/libexec/shortrpm install -pm 0644 shortrpm.1 /builddir/build/BUILDROOT/shortrpm-1.4-6.fc31.riscv64/usr/share/man/man1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/shortrpm-1.4-6.fc31.riscv64/usr/bin/shortrpm explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/shortrpm-1.4-6.fc31.riscv64/usr/libexec/shortrpm/specmangle.so extracting debug info from /builddir/build/BUILDROOT/shortrpm-1.4-6.fc31.riscv64/usr/libexec/shortrpm/specmangle.so extracting debug info from /builddir/build/BUILDROOT/shortrpm-1.4-6.fc31.riscv64/usr/bin/shortrpm original debug info size: 72kB, size after compression: 76kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.GDn6tp Processing files: shortrpm-1.4-6.fc31.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.aM5AFr + umask 022 + cd /builddir/build/BUILD + cd shortrpm-1.4 + LICENSEDIR=/builddir/build/BUILDROOT/shortrpm-1.4-6.fc31.riscv64/usr/share/licenses/shortrpm + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/shortrpm-1.4-6.fc31.riscv64/usr/share/licenses/shortrpm + cp -pr COPYING /builddir/build/BUILDROOT/shortrpm-1.4-6.fc31.riscv64/usr/share/licenses/shortrpm + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: config(shortrpm) = 1.4-6.fc31 shortrpm = 1.4-6.fc31 shortrpm(riscv-64) = 1.4-6.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) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: shortrpm-debugsource-1.4-6.fc31.riscv64 Provides: shortrpm-debugsource = 1.4-6.fc31 shortrpm-debugsource(riscv-64) = 1.4-6.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: shortrpm-debuginfo-1.4-6.fc31.riscv64 Provides: debuginfo(build-id) = 6081461850bf320c840adaea16a8a9ba453ceab3 debuginfo(build-id) = 846eefab0c6a89b9b793cf981faae94dde79a91c shortrpm-debuginfo = 1.4-6.fc31 shortrpm-debuginfo(riscv-64) = 1.4-6.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: shortrpm-debugsource(riscv-64) = 1.4-6.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/shortrpm-1.4-6.fc31.riscv64 Wrote: /builddir/build/RPMS/shortrpm-debugsource-1.4-6.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/shortrpm-1.4-6.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/shortrpm-debuginfo-1.4-6.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xNJu1o + umask 022 + cd /builddir/build/BUILD + cd shortrpm-1.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/shortrpm-1.4-6.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0