Mock Version: 4.1
Mock Version: 4.1
Mock Version: 4.1
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/os-prober.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-100092-6114/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f19c853ebf0>timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: x86_64
Building for target x86_64
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 x86_64 --nodeps /builddir/build/SPECS/os-prober.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-100092-6114/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f19c853ebf0>timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VPuY6I
+ 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/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/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /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/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/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /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/lib/rpm/rpmuncompress /builddir/build/SOURCES/os-prober-grub2-mount-workaround.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ 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.JBInWW
+ 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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.YhLzFm
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.x86_64
++ dirname /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.x86_64
+ cd os-prober-1.81
+ mkdir -p /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.x86_64/usr/bin
+ install -p -m 0755 os-prober linux-boot-prober /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.x86_64/usr/bin
+ install -p -m 0755 -D newns /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.x86_64/usr/libexec/os-prober/newns
+ install -p -m 0644 -D common.sh /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.x86_64/usr/share/os-prober/common.sh
+ mkdir -p /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.x86_64/var/lib/os-prober
+ ARCH=x86
+ 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.x86_64/usr/libexec/os-probes
+ cp -a os-probes/common/50mounted-tests /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.x86_64/usr/libexec/os-probes
+ '[' -e os-probes/x86 ']'
+ 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.x86_64/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.x86_64/usr/libexec/os-probes/mounted
+ '[' -e os-probes/mounted/x86 ']'
+ cp -a os-probes/mounted/x86/05efi os-probes/mounted/x86/10freedos os-probes/mounted/x86/10qnx os-probes/mounted/x86/20microsoft os-probes/mounted/x86/30utility os-probes/mounted/x86/70hurd os-probes/mounted/x86/80minix os-probes/mounted/x86/83haiku os-probes/mounted/x86/90solaris os-probes/mounted/x86/efi /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.x86_64/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.x86_64/usr/libexec/os-probes/init
+ cp -a os-probes/init/common/10filesystems /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.x86_64/usr/libexec/os-probes/init
+ '[' -e os-probes/init/x86 ']'
+ 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.x86_64/usr/libexec/linux-boot-probes
+ cp -a linux-boot-probes/common/50mounted-tests /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.x86_64/usr/libexec/linux-boot-probes
+ '[' -e linux-boot-probes/x86 ']'
+ 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.x86_64/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.x86_64/usr/libexec/linux-boot-probes/mounted
+ '[' -e linux-boot-probes/mounted/x86 ']'
+ cp -a linux-boot-probes/mounted/x86/40grub linux-boot-probes/mounted/x86/50lilo /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.x86_64/usr/libexec/linux-boot-probes/mounted
+ '[' x86 = x86 ']'
+ install -p -m 0755 os-probes/mounted/powerpc/20macosx /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.x86_64/usr/libexec/os-probes/mounted
+ /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.81-4.ocs23 --unique-debug-suffix -1.81-4.ocs23.x86_64 --unique-debug-src-base os-prober-1.81-4.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/os-prober-1.81
extracting debug info from /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.x86_64/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/init/10filesystems from /bin/sh to #!/usr/bin/sh
mangling shebang in /usr/libexec/os-probes/mounted/10qnx from /bin/sh to #!/usr/bin/sh
mangling shebang in /usr/libexec/os-probes/mounted/05efi 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/30utility 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/80minix from /bin/sh to #!/usr/bin/sh
mangling shebang in /usr/libexec/os-probes/mounted/70hurd from /bin/sh to #!/usr/bin/sh
mangling shebang in /usr/libexec/os-probes/mounted/83haiku from /bin/sh to #!/usr/bin/sh
mangling shebang in /usr/libexec/os-probes/mounted/90solaris from /bin/sh to #!/usr/bin/sh
mangling shebang in /usr/libexec/os-probes/mounted/efi/20microsoft from /bin/sh to #!/usr/bin/sh
mangling shebang in /usr/libexec/os-probes/mounted/efi/10elilo from /bin/sh to #!/usr/bin/sh
mangling shebang in /usr/libexec/os-probes/mounted/20microsoft from /bin/sh to #!/usr/bin/sh
mangling shebang in /usr/libexec/os-probes/mounted/10freedos from /bin/sh to #!/usr/bin/sh
mangling shebang in /usr/libexec/os-probes/mounted/20macosx from /bin/sh -e to #!/usr/bin/sh -e
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/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
mangling shebang in /usr/libexec/linux-boot-probes/mounted/50lilo from /bin/sh to #!/usr/bin/sh
mangling shebang in /usr/libexec/linux-boot-probes/mounted/40grub 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.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xyH4Ys
+ umask 022
+ cd /builddir/build/BUILD
+ cd os-prober-1.81
+ DOCDIR=/builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.x86_64/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.x86_64/usr/share/doc/os-prober
+ cp -pr README /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.x86_64/usr/share/doc/os-prober
+ cp -pr TODO /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.x86_64/usr/share/doc/os-prober
+ cp -pr debian/changelog /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.x86_64/usr/share/doc/os-prober
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.omY1Hv
+ umask 022
+ cd /builddir/build/BUILD
+ cd os-prober-1.81
+ LICENSEDIR=/builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.x86_64/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.x86_64/usr/share/licenses/os-prober
+ cp -pr debian/copyright /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.x86_64/usr/share/licenses/os-prober
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: os-prober = 1.81-4.ocs23 os-prober(x86-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.2.5)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH)
Processing files: os-prober-debugsource-1.81-4.ocs23.x86_64
Provides: os-prober-debugsource = 1.81-4.ocs23 os-prober-debugsource(x86-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.x86_64
Provides: debuginfo(build-id) = fcfd22169bf381129439236ab7e122bae0525497 os-prober-debuginfo = 1.81-4.ocs23 os-prober-debuginfo(x86-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(x86-64) = 1.81-4.ocs23
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/os-prober-1.81-4.ocs23.x86_64
Wrote: /builddir/build/RPMS/os-prober-debuginfo-1.81-4.ocs23.x86_64.rpm
Wrote: /builddir/build/RPMS/os-prober-debugsource-1.81-4.ocs23.x86_64.rpm
Wrote: /builddir/build/RPMS/os-prober-1.81-4.ocs23.x86_64.rpm
Child return code was: 0