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 x86_64 --nodeps /builddir/build/SPECS/os-prober.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-226533-62190/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=990gid=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;\\007"', 'PS1': ' \\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.79-2.an8.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-an8.7-build-226533-62190/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=990gid=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;\\007"', 'PS1': ' \\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.pY6jR1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf os-prober + /usr/bin/xz -dc /builddir/build/SOURCES/os-prober_1.79.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd os-prober + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + 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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ldSuZA + umask 022 + cd /builddir/build/BUILD + cd os-prober + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/make -O -j80 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fPIC' cc -Os -g -Wall -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fPIC newns.c -o newns + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IyXOpo + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/os-prober-1.79-2.an8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/os-prober-1.79-2.an8.x86_64 ++ dirname /builddir/build/BUILDROOT/os-prober-1.79-2.an8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/os-prober-1.79-2.an8.x86_64 + cd os-prober + install -m 0755 -d /builddir/build/BUILDROOT/os-prober-1.79-2.an8.x86_64/usr/bin + install -m 0755 -d /builddir/build/BUILDROOT/os-prober-1.79-2.an8.x86_64/var/lib/os-prober + install -m 0755 -p os-prober linux-boot-prober /builddir/build/BUILDROOT/os-prober-1.79-2.an8.x86_64/usr/bin + install -m 0755 -Dp newns /builddir/build/BUILDROOT/os-prober-1.79-2.an8.x86_64/usr/libexec/os-prober/newns + install -m 0644 -Dp common.sh /builddir/build/BUILDROOT/os-prober-1.79-2.an8.x86_64/usr/share/os-prober/common.sh + ARCH=x86 + 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.79-2.an8.x86_64/usr/libexec/os-probes + cp -a os-probes/common/50mounted-tests /builddir/build/BUILDROOT/os-prober-1.79-2.an8.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 + install -m 755 -d /builddir/build/BUILDROOT/os-prober-1.79-2.an8.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.79-2.an8.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.79-2.an8.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 + install -m 755 -d /builddir/build/BUILDROOT/os-prober-1.79-2.an8.x86_64/usr/libexec/os-probes/init + cp -a os-probes/init/common/10filesystems /builddir/build/BUILDROOT/os-prober-1.79-2.an8.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 + install -m 755 -d /builddir/build/BUILDROOT/os-prober-1.79-2.an8.x86_64/usr/libexec/linux-boot-probes + cp -a linux-boot-probes/common/50mounted-tests /builddir/build/BUILDROOT/os-prober-1.79-2.an8.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 + install -m 755 -d /builddir/build/BUILDROOT/os-prober-1.79-2.an8.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.79-2.an8.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.79-2.an8.x86_64/usr/libexec/linux-boot-probes/mounted + '[' x86 = x86 ']' + install -m 755 -p os-probes/mounted/powerpc/20macosx /builddir/build/BUILDROOT/os-prober-1.79-2.an8.x86_64/usr/libexec/os-probes/mounted + %generate_compatibility_deps /var/tmp/rpm-tmp.IyXOpo: line 61: fg: no job control error: Bad exit status from /var/tmp/rpm-tmp.IyXOpo (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.IyXOpo (%install) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/os-prober.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/os-prober.spec