Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/os-prober.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-186625-12833/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --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': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/os-prober-1.81-4.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/os-prober.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-186625-12833/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --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': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7ZSYg5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf os-prober-1.81 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/os-prober_1.81.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd os-prober-1.81 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/os-prober-mdraidfix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/os-prober-btrfsfix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/os-prober-bootpart-name-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/os-prober-mounted-partitions-fix.patch + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/os-prober-factor-out-logger.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/os-prober-factored-logger-efi-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/os-prober-umount-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/os-prober-grub2-parsefix.patch + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/os-prober-grepfix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/os-prober-gentoo-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/os-prober-grub2-mount-workaround.patch + 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 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xZLj3r + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd os-prober-1.81 + /usr/bin/make -O -j32 V=1 VERBOSE=1 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -fPIC' gcc -Os -g -Wall -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -fPIC newns.c -o newns + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hK5BY6 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.loongarch64 + cd os-prober-1.81 + mkdir -p /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.loongarch64/usr/bin + install -p -m 0755 os-prober linux-boot-prober /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.loongarch64/usr/bin + install -p -m 0755 -D newns /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.loongarch64/usr/libexec/os-prober/newns + install -p -m 0644 -D common.sh /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.loongarch64/usr/share/os-prober/common.sh + mkdir -p /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.loongarch64/var/lib/os-prober + for probes in os-probes os-probes/mounted os-probes/init linux-boot-probes linux-boot-probes/mounted + mkdir -p /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.loongarch64/usr/libexec/os-probes + cp -a os-probes/common/50mounted-tests /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.loongarch64/usr/libexec/os-probes + '[' -e os-probes/ ']' + cp -a os-probes//common os-probes//init os-probes//mounted /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.loongarch64/usr/libexec/os-probes + for probes in os-probes os-probes/mounted os-probes/init linux-boot-probes linux-boot-probes/mounted + mkdir -p /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.loongarch64/usr/libexec/os-probes/mounted + cp -a os-probes/mounted/common/40lsb os-probes/mounted/common/90linux-distro /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.loongarch64/usr/libexec/os-probes/mounted + '[' -e os-probes/mounted/ ']' + cp -a os-probes/mounted//arm64 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.81-4.ocs23.loongarch64/usr/libexec/os-probes/mounted + for probes in os-probes os-probes/mounted os-probes/init linux-boot-probes linux-boot-probes/mounted + mkdir -p /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.loongarch64/usr/libexec/os-probes/init + cp -a os-probes/init/common/10filesystems /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.loongarch64/usr/libexec/os-probes/init + '[' -e os-probes/init/ ']' + cp -a os-probes/init//common /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.loongarch64/usr/libexec/os-probes/init + for probes in os-probes os-probes/mounted os-probes/init linux-boot-probes linux-boot-probes/mounted + mkdir -p /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.loongarch64/usr/libexec/linux-boot-probes + cp -a linux-boot-probes/common/50mounted-tests /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.loongarch64/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.81-4.ocs23.loongarch64/usr/libexec/linux-boot-probes + for probes in os-probes os-probes/mounted os-probes/init linux-boot-probes linux-boot-probes/mounted + mkdir -p /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.loongarch64/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.81-4.ocs23.loongarch64/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.81-4.ocs23.loongarch64/usr/libexec/linux-boot-probes/mounted + '[' '' = x86 ']' + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.81-4.ocs23 --unique-debug-suffix -1.81-4.ocs23.loongarch64 --unique-debug-src-base os-prober-1.81-4.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/os-prober-1.81 extracting debug info from /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.loongarch64/usr/libexec/os-prober/newns 2 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/bin/os-prober from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/linux-boot-prober 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/os-probes/common/50mounted-tests 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/m68k/10macos6-9 from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/os-probes/mounted/arm64/20microsoft from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/os-probes/mounted/arm64/05efi from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/os-probes/mounted/arm64/efi/20microsoft 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/mounted/sparc/80solaris 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/common/90linux-distro 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/x86/efi/20microsoft 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/90solaris 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/10freedos 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/70hurd 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/40lsb 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/linux-boot-probes/50mounted-tests 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/mounted/common/40grub2 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/powerpc/40yaboot 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/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/40grub2 from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/linux-boot-probes/mounted/90fallback from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: os-prober-1.81-4.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ARGO4m + umask 022 + cd /builddir/build/BUILD + cd os-prober-1.81 + DOCDIR=/builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.loongarch64/usr/share/doc/os-prober + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.loongarch64/usr/share/doc/os-prober + cp -pr README /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.loongarch64/usr/share/doc/os-prober + cp -pr TODO /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.loongarch64/usr/share/doc/os-prober + cp -pr debian/changelog /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.loongarch64/usr/share/doc/os-prober + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.hTOcpL + umask 022 + cd /builddir/build/BUILD + cd os-prober-1.81 + LICENSEDIR=/builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.loongarch64/usr/share/licenses/os-prober + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.loongarch64/usr/share/licenses/os-prober + cp -pr debian/copyright /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.loongarch64/usr/share/licenses/os-prober + RPM_EC=0 ++ jobs -p + exit 0 Provides: os-prober = 1.81-4.ocs23 os-prober(loongarch-64) = 1.81-4.ocs23 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.36)(64bit) rtld(GNU_HASH) Processing files: os-prober-debugsource-1.81-4.ocs23.loongarch64 Provides: os-prober-debugsource = 1.81-4.ocs23 os-prober-debugsource(loongarch-64) = 1.81-4.ocs23 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.81-4.ocs23.loongarch64 Provides: debuginfo(build-id) = 01e206f965df11a17a26459c502843e54e062194 os-prober-debuginfo = 1.81-4.ocs23 os-prober-debuginfo(loongarch-64) = 1.81-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: os-prober-debugsource(loongarch-64) = 1.81-4.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.loongarch64 Wrote: /builddir/build/RPMS/os-prober-debugsource-1.81-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/os-prober-debuginfo-1.81-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/os-prober-1.81-4.ocs23.loongarch64.rpm Child return code was: 0