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/os-prober.spec'], chrootPath='/var/lib/mock/f31-build-66538-29874/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/os-prober.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/os-prober-1.77-3.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/os-prober.spec'], chrootPath='/var/lib/mock/f31-build-66538-29874/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/os-prober.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.WSOMcN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf os-prober-1.77 + /usr/bin/xz -dc /builddir/build/SOURCES/os-prober_1.77.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd os-prober-1.77 + /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 --allow-empty -a --author 'rpm-build ' -m 'os-prober-1.77 base' + /usr/bin/git apply --index - + /usr/bin/cat /builddir/build/SOURCES/os-prober-no-dummy-mach-kernel.patch + /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-btrfsfix.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m os-prober-btrfsfix.patch --author 'rpm-build ' + /usr/bin/git apply --index - + /usr/bin/cat /builddir/build/SOURCES/os-prober-bootpart-name-fix.patch + /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 - BUILDSTDERR: :13: trailing whitespace. BUILDSTDERR: # fd_logger: bind value now, possibly after assigning default. BUILDSTDERR: 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 - BUILDSTDERR: :18: new blank line at EOF. BUILDSTDERR: + BUILDSTDERR: 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 + sed -i -e 's|grub-mount|grub2-mount|g' os-probes/common/50mounted-tests linux-boot-probes/common/50mounted-tests common.sh + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.86KBUP + umask 022 + cd /builddir/build/BUILD + cd os-prober-1.77 + 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 + /usr/bin/make -O -j4 V=1 VERBOSE=1 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fPIC' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 cc -Os -g -Wall -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fPIC newns.c -o newns Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sDxJnP + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/os-prober-1.77-3.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/os-prober-1.77-3.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/os-prober-1.77-3.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/os-prober-1.77-3.fc31.riscv64 + cd os-prober-1.77 + install -m 0755 -d /builddir/build/BUILDROOT/os-prober-1.77-3.fc31.riscv64/usr/bin + install -m 0755 -d /builddir/build/BUILDROOT/os-prober-1.77-3.fc31.riscv64/var/lib/os-prober + install -m 0755 -p os-prober linux-boot-prober /builddir/build/BUILDROOT/os-prober-1.77-3.fc31.riscv64/usr/bin + install -m 0755 -Dp newns /builddir/build/BUILDROOT/os-prober-1.77-3.fc31.riscv64/usr/libexec/os-prober/newns + install -m 0644 -Dp common.sh /builddir/build/BUILDROOT/os-prober-1.77-3.fc31.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.77-3.fc31.riscv64/usr/libexec/os-probes + cp -a os-probes/common/50mounted-tests /builddir/build/BUILDROOT/os-prober-1.77-3.fc31.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.77-3.fc31.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.77-3.fc31.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.77-3.fc31.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.77-3.fc31.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.77-3.fc31.riscv64/usr/libexec/os-probes/init + cp -a os-probes/init/common/10filesystems /builddir/build/BUILDROOT/os-prober-1.77-3.fc31.riscv64/usr/libexec/os-probes/init + '[' -e os-probes/init/ ']' + cp -a os-probes/init//common /builddir/build/BUILDROOT/os-prober-1.77-3.fc31.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.77-3.fc31.riscv64/usr/libexec/linux-boot-probes + cp -a linux-boot-probes/common/50mounted-tests /builddir/build/BUILDROOT/os-prober-1.77-3.fc31.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.77-3.fc31.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.77-3.fc31.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.77-3.fc31.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.77-3.fc31.riscv64/usr/libexec/linux-boot-probes/mounted + '[' '' = x86 ']' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.77-3.fc31 --unique-debug-suffix -1.77-3.fc31.riscv64 --unique-debug-src-base os-prober-1.77-3.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/os-prober-1.77 BUILDSTDERR: 2 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 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/os-prober-1.77-3.fc31.riscv64/usr/libexec/os-prober/newns extracting debug info from /builddir/build/BUILDROOT/os-prober-1.77-3.fc31.riscv64/usr/libexec/os-prober/newns original debug info size: 36kB, size after compression: 40kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. mangling shebang in /usr/bin/linux-boot-prober from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/os-prober from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/os-probes/init/common/10filesystems from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/os-probes/init/10filesystems from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/os-probes/mounted/x86/10qnx from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/os-probes/mounted/x86/30utility from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/os-probes/mounted/x86/20microsoft from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/os-probes/mounted/x86/83haiku from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/os-probes/mounted/x86/70hurd from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/os-probes/mounted/x86/90solaris from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/os-probes/mounted/x86/80minix from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/os-probes/mounted/x86/10freedos from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/os-probes/mounted/x86/05efi from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/os-probes/mounted/x86/efi/20microsoft from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/os-probes/mounted/x86/efi/10elilo from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/os-probes/mounted/90linux-distro from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/os-probes/mounted/m68k/10macos6-9 from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/os-probes/mounted/common/90linux-distro from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/os-probes/mounted/common/40lsb from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/os-probes/mounted/40lsb from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/os-probes/mounted/sparc/80solaris from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/os-probes/mounted/powerpc/10macos6-9 from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/os-probes/mounted/powerpc/20macosx from /bin/sh -e to #!/usr/bin/sh -e mangling shebang in /usr/libexec/os-probes/common/50mounted-tests from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/os-probes/50mounted-tests from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/linux-boot-probes/mounted/90fallback from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/linux-boot-probes/mounted/40grub2 from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/linux-boot-probes/mounted/x86/40grub from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/linux-boot-probes/mounted/x86/50lilo from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/linux-boot-probes/mounted/common/90fallback from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/linux-boot-probes/mounted/common/40grub2 from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/linux-boot-probes/mounted/sparc/50silo from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/linux-boot-probes/mounted/powerpc/40yaboot from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/linux-boot-probes/common/50mounted-tests from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/linux-boot-probes/50mounted-tests from /bin/sh to #!/usr/bin/sh Processing files: os-prober-1.77-3.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.YHBR6N + umask 022 + cd /builddir/build/BUILD + cd os-prober-1.77 + DOCDIR=/builddir/build/BUILDROOT/os-prober-1.77-3.fc31.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.77-3.fc31.riscv64/usr/share/doc/os-prober + cp -pr README /builddir/build/BUILDROOT/os-prober-1.77-3.fc31.riscv64/usr/share/doc/os-prober + cp -pr TODO /builddir/build/BUILDROOT/os-prober-1.77-3.fc31.riscv64/usr/share/doc/os-prober + cp -pr debian/changelog /builddir/build/BUILDROOT/os-prober-1.77-3.fc31.riscv64/usr/share/doc/os-prober + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.LuVnlM + umask 022 + cd /builddir/build/BUILD + cd os-prober-1.77 + LICENSEDIR=/builddir/build/BUILDROOT/os-prober-1.77-3.fc31.riscv64/usr/share/licenses/os-prober + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/os-prober-1.77-3.fc31.riscv64/usr/share/licenses/os-prober + cp -pr debian/copyright /builddir/build/BUILDROOT/os-prober-1.77-3.fc31.riscv64/usr/share/licenses/os-prober + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: os-prober = 1.77-3.fc31 os-prober(riscv-64) = 1.77-3.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: os-prober-debugsource-1.77-3.fc31.riscv64 Provides: os-prober-debugsource = 1.77-3.fc31 os-prober-debugsource(riscv-64) = 1.77-3.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: os-prober-debuginfo-1.77-3.fc31.riscv64 Provides: debuginfo(build-id) = 3332a596c4156a8538a2d9c665dc05ee8c4c45c7 os-prober-debuginfo = 1.77-3.fc31 os-prober-debuginfo(riscv-64) = 1.77-3.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: os-prober-debugsource(riscv-64) = 1.77-3.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/os-prober-1.77-3.fc31.riscv64 Wrote: /builddir/build/RPMS/os-prober-debugsource-1.77-3.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/os-prober-debuginfo-1.77-3.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/os-prober-1.77-3.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.XTJOwO + umask 022 + cd /builddir/build/BUILD + cd os-prober-1.77 + /usr/bin/rm -rf /builddir/build/BUILDROOT/os-prober-1.77-3.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0