+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/bcache-tools.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.sMVm3v
+ 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):'
Patch #0 (bcache-tools-status-20160804-man.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .man --fuzz=0
patching file bcache-status.8
+ echo 'Patch #1 (bcache-tools-1.0.8-cmdline.patch):'
Patch #1 (bcache-tools-1.0.8-cmdline.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cmdline --fuzz=0
patching file 69-bcache.rules
patching file bcache-params.c
patching file dracut/module-setup.sh
patching file .gitignore
patching file Makefile
+ echo 'Patch #2 (bcache-tools-20131018-fedconf.patch):'
Patch #2 (bcache-tools-20131018-fedconf.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fedconfmake --fuzz=0
patching file configure
+ chmod +x configure
+ echo 'Patch #3 (bcache-tools-1.0.8-noprobe.2.patch):'
Patch #3 (bcache-tools-1.0.8-noprobe.2.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .noprobe --fuzz=0
patching file 69-bcache.rules
patching file dracut/module-setup.sh
+ echo 'Patch #4 (bcache-tools-1.0.8-crc64.patch):'
Patch #4 (bcache-tools-1.0.8-crc64.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .crc64 --fuzz=0
patching file bcache.c
patching file bcache.h
+ echo 'Patch #5 (bcache-status-python3.patch):'
Patch #5 (bcache-status-python3.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .python3 --fuzz=0
patching file bcache-status
+ echo 'Patch #6 (bcache-status-rootgc.patch):'
Patch #6 (bcache-status-rootgc.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rootgc --fuzz=0
patching file bcache-status
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.79RHOu
+ 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 '
+ 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 '
+ 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  -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  -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ '[' 1 = 1 ']'
+++ dirname ./configure
++ find . -name config.guess -o -name config.sub
+ '[' 1 = 1 ']'
+ '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']'
++ find . -name ltmain.sh
+ ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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
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  -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  -O2 -Wall -g `pkg-config --cflags uuid blkid`  -Wl,-z,relro  -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  -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  -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  -O2 -Wall -g `pkg-config --cflags uuid blkid`  -Wl,-z,relro  -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  -O2 -Wall -g -std=gnu99  -Wl,-z,relro  -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  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld  bcache-register.o   -o bcache-register
cc -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld  bcache-params.o   -o bcache-params
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7UA2GX
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/bcache-tools-1.0.8-10.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/bcache-tools-1.0.8-10.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/bcache-tools-1.0.8-10.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/bcache-tools-1.0.8-10.fc28.riscv64
+ cd bcache-tools-1.0.8
+ mkdir -p /builddir/build/BUILDROOT/bcache-tools-1.0.8-10.fc28.riscv64/usr/sbin /builddir/build/BUILDROOT/bcache-tools-1.0.8-10.fc28.riscv64/usr/share/man/man8 /builddir/build/BUILDROOT/bcache-tools-1.0.8-10.fc28.riscv64/usr/lib/udev /builddir/build/BUILDROOT/bcache-tools-1.0.8-10.fc28.riscv64/usr/lib/udev/rules.d /builddir/build/BUILDROOT/bcache-tools-1.0.8-10.fc28.riscv64/usr/lib/dracut/modules.d
+ /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/bcache-tools-1.0.8-10.fc28.riscv64 'INSTALL=/usr/bin/install -p' 'INSTALL=install -p' UDEVLIBDIR=/usr/lib/udev DRACUTLIBDIR=/usr/lib/dracut MANDIR=/usr/share/man
install -p -m0755 make-bcache bcache-super-show	/builddir/build/BUILDROOT/bcache-tools-1.0.8-10.fc28.riscv64/usr/sbin/
install -p -m0755 probe-bcache bcache-register bcache-params	/builddir/build/BUILDROOT/bcache-tools-1.0.8-10.fc28.riscv64/usr/lib/udev/
install -p -m0644 69-bcache.rules	/builddir/build/BUILDROOT/bcache-tools-1.0.8-10.fc28.riscv64/usr/lib/udev/rules.d/
install -p -m0644 -- *.8 /builddir/build/BUILDROOT/bcache-tools-1.0.8-10.fc28.riscv64/usr/share/man/man8/
install -p -D -m0755 initramfs/hook	/builddir/build/BUILDROOT/bcache-tools-1.0.8-10.fc28.riscv64/usr/share/initramfs-tools/hooks/bcache
install -p -D -m0755 initcpio/install	/builddir/build/BUILDROOT/bcache-tools-1.0.8-10.fc28.riscv64/usr/lib/initcpio/install/bcache
install -p -D -m0755 dracut/module-setup.sh /builddir/build/BUILDROOT/bcache-tools-1.0.8-10.fc28.riscv64/usr/lib/dracut/modules.d/90bcache/module-setup.sh
+ rm /builddir/build/BUILDROOT/bcache-tools-1.0.8-10.fc28.riscv64/usr/lib/udev/probe-bcache
+ rm /builddir/build/BUILDROOT/bcache-tools-1.0.8-10.fc28.riscv64/usr/share/man/man8/probe-bcache.8
+ rm /builddir/build/BUILDROOT/bcache-tools-1.0.8-10.fc28.riscv64/usr/lib/initcpio/install/bcache
+ rm /builddir/build/BUILDROOT/bcache-tools-1.0.8-10.fc28.riscv64/usr/share/initramfs-tools/hooks/bcache
+ install -p -m 755 bcache-status /builddir/build/BUILDROOT/bcache-tools-1.0.8-10.fc28.riscv64/usr/sbin/bcache-status
+ /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
mangling shebang in ./usr/sbin/bcache-status from #!/usr/bin/env python3 to #!/usr/bin/python3
Processing files: bcache-tools-1.0.8-10.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.P1hpcl
+ umask 022
+ cd /builddir/build/BUILD
+ cd bcache-tools-1.0.8
+ DOCDIR=/builddir/build/BUILDROOT/bcache-tools-1.0.8-10.fc28.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-10.fc28.riscv64/usr/share/doc/bcache-tools
+ cp -pr README /builddir/build/BUILDROOT/bcache-tools-1.0.8-10.fc28.riscv64/usr/share/doc/bcache-tools
+ cp -pr COPYING /builddir/build/BUILDROOT/bcache-tools-1.0.8-10.fc28.riscv64/usr/share/doc/bcache-tools
+ exit 0
Provides: bcache-tools = 1.0.8-10.fc28 bcache-tools(riscv-64) = 1.0.8-10.fc28
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /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
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bcache-tools-1.0.8-10.fc28.riscv64
Wrote: /builddir/build/SRPMS/bcache-tools-1.0.8-10.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/bcache-tools-1.0.8-10.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9ZlCGr
+ umask 022
+ cd /builddir/build/BUILD
+ cd bcache-tools-1.0.8
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/bcache-tools-1.0.8-10.fc28.riscv64
+ exit 0
+ touch /buildok
+ cleanup
+ set +e
+ sync
+ sleep 5
+ sync
+ poweroff
Terminated
++ cleanup
++ set +e
++ sync
Terminated
+++ cleanup
+++ set +e
+++ sync
+++ sleep 5
+++ sync
+++ poweroff