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/bcache-tools.spec'], chrootPath='/var/lib/mock/f31-build-75586-31247/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/bcache-tools.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=1563926400 Wrote: /builddir/build/SRPMS/bcache-tools-1.0.8-16.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/bcache-tools.spec'], chrootPath='/var/lib/mock/f31-build-75586-31247/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/bcache-tools.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=1563926400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tbAA7L + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bcache-tools-1.0.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/bcache-tools-1.0.8.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd bcache-tools-1.0.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + tar xzf /builddir/build/SOURCES/bcache-status-20140220.tar.gz --strip-components=1 + echo 'Patch #0 (bcache-tools-status-20160804-man.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .man --fuzz=0 + echo 'Patch #1 (bcache-tools-1.0.8-cmdline.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cmdline --fuzz=0 + echo 'Patch #2 (bcache-tools-20131018-fedconf.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fedconfmake --fuzz=0 + chmod +x configure + echo 'Patch #3 (bcache-tools-1.0.8-noprobe.2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .noprobe --fuzz=0 + echo 'Patch #4 (bcache-tools-1.0.8-crc64.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .crc64 --fuzz=0 + echo 'Patch #5 (bcache-status-python3.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .python3 --fuzz=0 + echo 'Patch #6 (bcache-status-rootgc.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rootgc --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (bcache-tools-status-20160804-man.patch): patching file bcache-status.8 Patch #1 (bcache-tools-1.0.8-cmdline.patch): patching file 69-bcache.rules patching file bcache-params.c patching file dracut/module-setup.sh patching file .gitignore patching file Makefile Patch #2 (bcache-tools-20131018-fedconf.patch): patching file configure Patch #3 (bcache-tools-1.0.8-noprobe.2.patch): patching file 69-bcache.rules patching file dracut/module-setup.sh Patch #4 (bcache-tools-1.0.8-crc64.patch): patching file bcache.c patching file bcache.h Patch #5 (bcache-status-python3.patch): patching file bcache-status Patch #6 (bcache-status-rootgc.patch): patching file bcache-status Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.y1EycL + umask 022 + cd /builddir/build/BUILD + cd bcache-tools-1.0.8 + 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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info + make -j4 + 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 -O2 -Wall -g `pkg-config --cflags uuid blkid` -c -o bcache.o bcache.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 -O2 -Wall -g `pkg-config --cflags uuid blkid` -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld probe-bcache.c `pkg-config --libs uuid blkid` -o probe-bcache 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 -O2 -Wall -g -c -o bcache-register.o bcache-register.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 -O2 -Wall -g -c -o bcache-params.o bcache-params.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 -O2 -Wall -g `pkg-config --cflags uuid blkid` -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld make-bcache.c bcache.o `pkg-config --libs uuid blkid` -o make-bcache 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 -O2 -Wall -g -std=gnu99 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld bcache-super-show.c bcache.o `pkg-config --libs uuid` -o bcache-super-show cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld bcache-register.o -o bcache-register cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld bcache-params.o -o bcache-params Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dETb9I + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64 + cd bcache-tools-1.0.8 + mkdir -p /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64/usr/sbin /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64/usr/share/man/man8 /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64/usr/lib/udev /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64/usr/lib/udev/rules.d /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64/usr/lib/dracut/modules.d + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64 'INSTALL=/usr/bin/install -p' 'INSTALL=install -p' UDEVLIBDIR=/usr/lib/udev DRACUTLIBDIR=/usr/lib/dracut MANDIR=/usr/share/man + rm /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64/usr/lib/udev/probe-bcache + rm /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64/usr/share/man/man8/probe-bcache.8 + rm /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64/usr/lib/initcpio/install/bcache + rm /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64/usr/share/initramfs-tools/hooks/bcache + install -p -m 755 bcache-status /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64/usr/sbin/bcache-status + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.0.8-16.fc31 --unique-debug-suffix -1.0.8-16.fc31.riscv64 --unique-debug-src-base bcache-tools-1.0.8-16.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/bcache-tools-1.0.8 BUILDSTDERR: 66 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 -p -m0755 make-bcache bcache-super-show /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64/usr/sbin/ install -p -m0755 probe-bcache bcache-register bcache-params /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64/usr/lib/udev/ install -p -m0644 69-bcache.rules /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64/usr/lib/udev/rules.d/ install -p -m0644 -- *.8 /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64/usr/share/man/man8/ install -p -D -m0755 initramfs/hook /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64/usr/share/initramfs-tools/hooks/bcache install -p -D -m0755 initcpio/install /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64/usr/lib/initcpio/install/bcache install -p -D -m0755 dracut/module-setup.sh /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64/usr/lib/dracut/modules.d/90bcache/module-setup.sh explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64/usr/lib/udev/bcache-register explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64/usr/lib/udev/bcache-params explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64/usr/sbin/bcache-super-show extracting debug info from /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64/usr/lib/udev/bcache-register explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64/usr/sbin/make-bcache extracting debug info from /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64/usr/lib/udev/bcache-params extracting debug info from /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64/usr/sbin/bcache-super-show extracting debug info from /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64/usr/sbin/make-bcache original debug info size: 160kB, size after compression: 160kB /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. mangling shebang in /usr/lib/dracut/modules.d/90bcache/module-setup.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/sbin/bcache-status from /usr/bin/env python3 to #!/usr/bin/python3 Processing files: bcache-tools-1.0.8-16.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.lGaTrM + umask 022 + cd /builddir/build/BUILD + cd bcache-tools-1.0.8 + DOCDIR=/builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64/usr/share/doc/bcache-tools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64/usr/share/doc/bcache-tools + cp -pr README /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64/usr/share/doc/bcache-tools + cp -pr COPYING /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64/usr/share/doc/bcache-tools + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: bcache-tools = 1.0.8-16.fc31 bcache-tools(riscv-64) = 1.0.8-16.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash /usr/bin/python3 ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libblkid.so.1()(64bit) libblkid.so.1(BLKID_2.15)(64bit) libblkid.so.1(BLKID_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libuuid.so.1()(64bit) libuuid.so.1(UUID_1.0)(64bit) rtld(GNU_HASH) Conflicts: dracut < 034 Processing files: bcache-tools-debugsource-1.0.8-16.fc31.riscv64 Provides: bcache-tools-debugsource = 1.0.8-16.fc31 bcache-tools-debugsource(riscv-64) = 1.0.8-16.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: bcache-tools-debuginfo-1.0.8-16.fc31.riscv64 Provides: bcache-tools-debuginfo = 1.0.8-16.fc31 bcache-tools-debuginfo(riscv-64) = 1.0.8-16.fc31 debuginfo(build-id) = 0b76f67524f55a51e8c5c846b5783ac5633712f5 debuginfo(build-id) = 782257d9b6db5f9d24c3c29517a9cffdc5d03c3f debuginfo(build-id) = ee343f00d34a8c666ae4d776d0c6b7669dad2fa6 debuginfo(build-id) = fdff4e93fb0b7008281487de94cad6d9c1a1501d Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: bcache-tools-debugsource(riscv-64) = 1.0.8-16.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64 Wrote: /builddir/build/RPMS/bcache-tools-debugsource-1.0.8-16.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/bcache-tools-1.0.8-16.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/bcache-tools-debuginfo-1.0.8-16.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.HsV95I + umask 022 + cd /builddir/build/BUILD + cd bcache-tools-1.0.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/bcache-tools-1.0.8-16.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0