Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/opencloudos-release.spec'], chrootPath='/var/lib/mock/dist-oc8-build-26748-7810/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/opencloudos-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'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/opencloudos-release-8.6-3.oc8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/opencloudos-release.spec'], chrootPath='/var/lib/mock/dist-oc8-build-26748-7810/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/opencloudos-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'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.v1e880 + umask 022 + cd /builddir/build/BUILD + echo OK + exit 0 OK Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qiyIs4 OK + umask 022 + cd /builddir/build/BUILD + echo OK + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xG3x10 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64 ++ dirname /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64 + rm -rf /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64 + mkdir -p /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64/etc + echo 'OpenCloudOS release 8.6.2205 (Core) ' + echo 'Derived from Red Hat Enterprise Linux 8.6 (Source)' + ln -s centos-release /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64/etc/redhat-release + echo 'OpenCloudOS 8.6' + ln -s opencloudos-release /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64/etc/system-release + install -d -m 0755 /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64/usr/lib + cat + ln -s ../usr/lib/os-release /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64/etc/os-release + echo cpe:/o:opencloudos:opencloudos:8 + echo '\S' + echo 'Kernel \r on an \m' + cp /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64/etc/issue /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64/etc/issue.net + echo + mkdir -p -m 755 /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64/etc/pki/rpm-gpg + install -m 644 /builddir/build/SOURCES/RPM-GPG-KEY-centosofficial /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64/etc/pki/rpm-gpg + install -m 644 /builddir/build/SOURCES/RPM-GPG-KEY-OpenCloudOS /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64/etc/pki/rpm-gpg + mkdir -p -m 755 /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64/etc/yum.repos.d + install -m 644 /builddir/build/SOURCES/OpenCloudOS.repo /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64/etc/yum.repos.d + install -m 644 /builddir/build/SOURCES/OpenCloudOS-Sources.repo /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64/etc/yum.repos.d + mkdir -p -m 755 /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64/etc/dnf/vars + echo stock + echo centos + echo 8 + install -d -m 755 /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64/etc/rpm + cat + mkdir -p -m 755 /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64//usr/share/centos-release + ln -s centos-release /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64//usr/share/redhat-release + ln -s centos-release /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64//usr/share/opencloudos-release + install -m 644 /builddir/build/SOURCES/EULA /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64//usr/share/centos-release + mkdir -p -m 755 /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64//usr/share/doc/centos-release + ln -s centos-release /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64//usr/share/doc/redhat-release + ln -s centos-release /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64//usr/share/doc/opencloudos-release + install -m 644 /builddir/build/SOURCES/LICENSE /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64//usr/share/doc/centos-release + mkdir -p /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64//usr/lib/systemd/system-preset/ + install -m 0644 /builddir/build/SOURCES/85-display-manager.preset /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64//usr/lib/systemd/system-preset/ + install -m 0644 /builddir/build/SOURCES/90-default.preset /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64//usr/lib/systemd/system-preset/ + install -m 0644 /builddir/build/SOURCES/99-default-disable.preset /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64//usr/lib/systemd/system-preset/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: opencloudos-release-8.6-3.oc8.x86_64 Provides: base-module(platform:el8) base-module(platform:oc8) centos-release = 8.6 centos-release(upstream) = 8.6 centos-release-eula config(opencloudos-release) = 8.6-3.oc8 opencloudos-release = 8.6 opencloudos-release = 8.6-3.oc8 opencloudos-release(x86-64) = 8.6-3.oc8 opencloudos-release-eula redhat-release = 8.6-0 redhat-release-eula system-release = 8.6 system-release(releasever) = 8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Obsoletes: centos-release centos-release-cr comps fedora-release rawhide-release redhat-release redhat-release-as redhat-release-de redhat-release-es redhat-release-ws rpmdb-redhat Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/opencloudos-release-8.6-3.oc8.x86_64 error: Installed (but unpackaged) file(s) found: /usr/lib/os-release Installed (but unpackaged) file(s) found: /usr/lib/os-release RPM build errors: Child return code was: 1 EXCEPTION: [Error()] 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 --target x86_64 --nodeps /builddir/build/SPECS/opencloudos-release.spec