Mock Version: 6.3 Mock Version: 6.3 Mock Version: 6.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/xcp-ng-release.spec'], chrootPath='/var/lib/mock/v8.3-u-ydi1-9776-28491/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=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lbvq3uqt:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lbvq3uqt:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6cf12ed59a7f487c8a70377226e3e4f0', '-D', '/var/lib/mock/v8.3-u-ydi1-9776-28491/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lbvq3uqt:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/xcp-ng-release.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/xcp-ng-release-8.99.0-0.8.ydi.15.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/xcp-ng-release.spec'], chrootPath='/var/lib/mock/v8.3-u-ydi1-9776-28491/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=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lbvq3uqt:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lbvq3uqt:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '16a72b771fa3459b91f778edd3680d9f', '-D', '/var/lib/mock/v8.3-u-ydi1-9776-28491/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lbvq3uqt:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/xcp-ng-release.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RepL8j + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xcp-ng-release-8.3.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/xcp-ng-release-8.3.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd xcp-ng-release-8.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-fix-curl-resolve-TLS-issue-caused-by-restrictive-con.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0002-Sync-vm.slice-with-xenserver-release-v8.4.0-12.tar.g.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0003-Sync-systemd-presets-with-xenserver-release-v8.4.0-1.patch + /usr/bin/patch -p1 -s + rm src/common/etc/systemd/system/xapi.service.d/local.conf + rm src/common/etc/systemd/system/xenopsd-xc.service.d/local.conf + rmdir src/common/etc/systemd/system/xapi.service.d/ + rmdir src/common/etc/systemd/system/xenopsd-xc.service.d/ + cp /usr/src/branding/LICENSES . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.r87euf + umask 022 + cd /builddir/build/BUILD + cd xcp-ng-release-8.3.0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IKL8Pa + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64 ++ dirname /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64 + cd xcp-ng-release-8.3.0 + rm -rf /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64 + /usr/src/branding/brand-directory.py /usr/src/branding/branding src/common /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64 + /usr/src/branding/brand-directory.py /usr/src/branding/branding src/xenserver /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64 + install -d -m 755 /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64/usr/lib/python2.7/site-packages/xcp + /usr/src/branding/branding-compile.py --format=python + install -d -m 755 /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64/usr/lib/python3.6/site-packages/xcp + /usr/src/branding/branding-compile.py --format=python + install -m 644 /usr/src/branding/EULA /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64/ + ln -s centos-release /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64/etc/system-release + ln -s centos-release /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64/etc/redhat-release + cp /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64/etc/issue.net /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64/etc/issue + echo + touch -r /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64/etc/issue.net /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64/etc/issue + install -d -m 755 /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64/etc/yum.repos.d + cat + install -d -m 755 /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64/etc/rpm + cat + mkdir -p /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64/etc/rpm + install -d -m 755 /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64//usr/share/centos-release + ln -s centos-release /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64//usr/share/redhat-release + install -d -m 755 /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64//usr/share/doc/centos-release + ln -s centos-release /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64//usr/share/doc/redhat-release + mkdir -p /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64/etc/systemd/system + ln -s /dev/null /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64/etc/systemd/system/getty@tty1.service + ln -s /dev/null /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64/etc/systemd/system/getty@tty2.service + ln -s /dev/null /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64/etc/systemd/system/autovt@tty1.service + ln -s /dev/null /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64/etc/systemd/system/autovt@tty2.service + mv /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64/etc/yum /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64/etc/dnf + rm /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64/etc/systemd/system/rsyslog.service + sed -i '/^kernel.core_pattern=/ s/^/#/' /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64/etc/sysctl.d/90-dom0.conf + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64/usr/lib/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64/usr/lib/python3.6 using /usr/bin/python3.6 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: xcp-ng-release-8.99.0-0.8.ydi.15.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.QAJji7 + umask 022 + cd /builddir/build/BUILD + cd xcp-ng-release-8.3.0 + DOCDIR=/builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64/usr/share/doc/xcp-ng-release-8.99.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64/usr/share/doc/xcp-ng-release-8.99.0 + cp -pr xcp-ng.repo /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64/usr/share/doc/xcp-ng-release-8.99.0 + cp -pr LICENSES /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64/usr/share/doc/xcp-ng-release-8.99.0 + exit 0 Provides: almalinux-release = 10.0-32.el10 almalinux-release(x86-64) = 10.0-32.el10 centos-release = 10 config(xcp-ng-release) = 8.99.0-0.8.ydi.15 platform-name = XCP platform-version = 3.4.0 product-brand = XCP-ng product-build = 0x product-version = 8.99.0 product-version-text = 8.99 product-version-text-short = 8.99 redhat-release = 10.0-32.el10 system-release = 10.0-32.el10 system-release(releasever) = 10 xcp-ng-release = 8.99.0-0.8.ydi.15 xcp-ng-release(x86-64) = 8.99.0-0.8.ydi.15 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): coreutils grep Requires(posttrans): /bin/sh Requires: python(abi) = 3.6 Obsoletes: almalinux-release centos-release Processing files: xcp-ng-release-presets-8.99.0-0.8.ydi.15.x86_64 Provides: xcp-ng-release-presets = 8.99.0-0.8.ydi.15 xcp-ng-release-presets(x86-64) = 8.99.0-0.8.ydi.15 xs-presets = 1.4 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(posttrans): /bin/sh systemd Processing files: xcp-ng-release-config-8.99.0-0.8.ydi.15.x86_64 Provides: config(xcp-ng-release-config) = 8.99.0-0.8.ydi.15 xcp-ng-release-config = 8.99.0-0.8.ydi.15 xcp-ng-release-config(x86-64) = 8.99.0-0.8.ydi.15 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh sed systemd xs-presets >= 1.4 Requires(preun): /bin/sh systemd xs-presets >= 1.4 Requires(postun): /bin/sh systemd xs-presets >= 1.4 Requires(posttrans): /bin/sh Requires: /bin/bash /bin/sh /usr/bin/python3 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xcp-ng-release-8.99.0-0.8.ydi.15.x86_64 RPM build errors: error: Installed (but unpackaged) file(s) found: /usr/lib/python2.7/site-packages/xcp/branding.py /usr/lib/python2.7/site-packages/xcp/branding.pyc /usr/lib/python2.7/site-packages/xcp/branding.pyo Installed (but unpackaged) file(s) found: /usr/lib/python2.7/site-packages/xcp/branding.py /usr/lib/python2.7/site-packages/xcp/branding.pyc /usr/lib/python2.7/site-packages/xcp/branding.pyo Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 16a72b771fa3459b91f778edd3680d9f -D /var/lib/mock/v8.3-u-ydi1-9776-28491/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.lbvq3uqt:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/xcp-ng-release.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 16a72b771fa3459b91f778edd3680d9f -D /var/lib/mock/v8.3-u-ydi1-9776-28491/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.lbvq3uqt:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/xcp-ng-release.spec'