+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/os-prober.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.bn6SML + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf os-prober-1.71 + /usr/bin/xz -dc /builddir/build/SOURCES/os-prober_1.71.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd os-prober-1.71 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git add . + /usr/bin/git commit -q -a --author 'rpm-build ' -m 'os-prober-1.71 base' + /usr/bin/cat /builddir/build/SOURCES/os-prober-newnsdirfix.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m os-prober-newnsdirfix.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/os-prober-no-dummy-mach-kernel.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m os-prober-no-dummy-mach-kernel.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/os-prober-mdraidfix.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m os-prober-mdraidfix.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/os-prober-yaboot-parsefix.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m os-prober-yaboot-parsefix.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/os-prober-usrmovefix.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m os-prober-usrmovefix.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/os-prober-remove-basename.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m os-prober-remove-basename.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/os-prober-disable-debug-test.patch + /usr/bin/git apply --index - :11: trailing whitespace. log "debug: $@" warning: 1 line adds whitespace errors. + /usr/bin/git commit -q -m os-prober-disable-debug-test.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/os-prober-btrfsfix.patch + /usr/bin/git apply --index - :29: trailing whitespace. bindfrom=$(grep " btrfs " /proc/self/mountinfo | :69: trailing whitespace. echo "$3" | grep -q "^subvol=" || ERR=y :167: trailing whitespace. :280: space before tab in indent. continue :497: new blank line at EOF. + warning: 5 lines add whitespace errors. + /usr/bin/git commit -q -m os-prober-btrfsfix.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/os-prober-bootpart-name-fix.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m os-prober-bootpart-name-fix.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/os-prober-mounted-partitions-fix.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m os-prober-mounted-partitions-fix.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/os-prober-factor-out-logger.patch + /usr/bin/git apply --index - :13: trailing whitespace. # fd_logger: bind value now, possibly after assigning default. warning: 1 line adds whitespace errors. + /usr/bin/git commit -q -m os-prober-factor-out-logger.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/os-prober-factored-logger-efi-fix.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m os-prober-factored-logger-efi-fix.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/os-prober-umount-fix.patch + /usr/bin/git apply --index - :18: new blank line at EOF. + warning: 1 line adds whitespace errors. + /usr/bin/git commit -q -m os-prober-umount-fix.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/os-prober-grub2-parsefix.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m os-prober-grub2-parsefix.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/os-prober-grepfix.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m os-prober-grepfix.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/os-prober-gentoo-fix.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m os-prober-gentoo-fix.patch --author 'rpm-build ' + find -type f -exec sed -i -e 's|usr/lib|usr/libexec|g' '{}' ';' + sed -i -e 's|grub-probe|grub2-probe|g' os-probes/common/50mounted-tests linux-boot-probes/common/50mounted-tests + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6yJYuM + umask 022 + cd /builddir/build/BUILD + cd os-prober-1.71 + make -j2 '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 ' 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 newns.c -o newns + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XvjRcT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64 + cd os-prober-1.71 + install -m 0755 -d /builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64/usr/bin + install -m 0755 -d /builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64/var/lib/os-prober + install -m 0755 -p os-prober linux-boot-prober /builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64/usr/bin + install -m 0755 -Dp newns /builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64/usr/libexec/newns + install -m 0644 -Dp common.sh /builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64/usr/share/os-prober/common.sh + for probes in os-probes os-probes/mounted os-probes/init linux-boot-probes linux-boot-probes/mounted + install -m 755 -d /builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64/usr/libexec/os-probes + cp -a os-probes/common/50mounted-tests /builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64/usr/libexec/os-probes + '[' -e os-probes/ ']' + cp -a os-probes//common os-probes//init os-probes//mounted /builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64/usr/libexec/os-probes + for probes in os-probes os-probes/mounted os-probes/init linux-boot-probes linux-boot-probes/mounted + install -m 755 -d /builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64/usr/libexec/os-probes/mounted + cp -a os-probes/mounted/common/40lsb os-probes/mounted/common/90linux-distro /builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64/usr/libexec/os-probes/mounted + '[' -e os-probes/mounted/ ']' + cp -a os-probes/mounted//common os-probes/mounted//m68k os-probes/mounted//powerpc os-probes/mounted//sparc os-probes/mounted//x86 /builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64/usr/libexec/os-probes/mounted + for probes in os-probes os-probes/mounted os-probes/init linux-boot-probes linux-boot-probes/mounted + install -m 755 -d /builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64/usr/libexec/os-probes/init + cp -a os-probes/init/common/10filesystems /builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64/usr/libexec/os-probes/init + '[' -e os-probes/init/ ']' + cp -a os-probes/init//common /builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64/usr/libexec/os-probes/init + for probes in os-probes os-probes/mounted os-probes/init linux-boot-probes linux-boot-probes/mounted + install -m 755 -d /builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64/usr/libexec/linux-boot-probes + cp -a linux-boot-probes/common/50mounted-tests /builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64/usr/libexec/linux-boot-probes + '[' -e linux-boot-probes/ ']' + cp -a linux-boot-probes//common linux-boot-probes//mounted /builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64/usr/libexec/linux-boot-probes + for probes in os-probes os-probes/mounted os-probes/init linux-boot-probes linux-boot-probes/mounted + install -m 755 -d /builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64/usr/libexec/linux-boot-probes/mounted + cp -a linux-boot-probes/mounted/common/40grub2 linux-boot-probes/mounted/common/90fallback /builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64/usr/libexec/linux-boot-probes/mounted + '[' -e linux-boot-probes/mounted/ ']' + cp -a linux-boot-probes/mounted//common linux-boot-probes/mounted//powerpc linux-boot-probes/mounted//sparc linux-boot-probes/mounted//x86 /builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64/usr/libexec/linux-boot-probes/mounted + '[' '' = x86 ']' + /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: os-prober-1.71-1.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Cl5NHa + umask 022 + cd /builddir/build/BUILD + cd os-prober-1.71 + DOCDIR=/builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64/usr/share/doc/os-prober + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64/usr/share/doc/os-prober + cp -pr README /builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64/usr/share/doc/os-prober + cp -pr TODO /builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64/usr/share/doc/os-prober + cp -pr debian/copyright /builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64/usr/share/doc/os-prober + cp -pr debian/changelog /builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64/usr/share/doc/os-prober + exit 0 Provides: os-prober = 1.71-1.fc28 os-prober(riscv-64) = 1.71-1.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh 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/os-prober-1.71-1.fc28.riscv64 Wrote: /builddir/build/SRPMS/os-prober-1.71-1.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/os-prober-1.71-1.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xcufQW + umask 022 + cd /builddir/build/BUILD + cd os-prober-1.71 + /usr/bin/rm -rf /builddir/build/BUILDROOT/os-prober-1.71-1.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff