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 noarch --nodeps /builddir/build/SPECS/opencloudos-release.spec'], chrootPath='/var/lib/mock/dist-oc9-build-52312-14596/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 --noclean --target noarch --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 warning: Macro expanded in comment on line 123: %{_sysconfdir}/opencloudos-release Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/opencloudos-release-9.0-7.oc9.src.rpm RPM build warnings: Macro expanded in comment on line 123: %{_sysconfdir}/opencloudos-release Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/opencloudos-release.spec'], chrootPath='/var/lib/mock/dist-oc9-build-52312-14596/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 --noclean --target noarch --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 warning: Macro expanded in comment on line 123: %{_sysconfdir}/opencloudos-release Building target platforms: noarch Building for target noarch Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Jq8AaJ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/opencloudos-release-9.0-7.oc9.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/opencloudos-release-9.0-7.oc9.noarch ++ dirname /builddir/build/BUILDROOT/opencloudos-release-9.0-7.oc9.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/opencloudos-release-9.0-7.oc9.noarch + mkdir -p ./docs + cp /builddir/build/SOURCES/LICENSE ./docs + install -d -m 0755 /builddir/build/BUILDROOT/opencloudos-release-9.0-7.oc9.noarch/etc + echo 'OpenCloudOS release 9.0' + ln -s opencloudos-release /builddir/build/BUILDROOT/opencloudos-release-9.0-7.oc9.noarch/etc/system-release + install -d -m 0755 /builddir/build/BUILDROOT/opencloudos-release-9.0-7.oc9.noarch/usr/lib + cat + ln -s ../usr/lib/os-release /builddir/build/BUILDROOT/opencloudos-release-9.0-7.oc9.noarch/etc/os-release + echo cpe:/o:opencloudos:opencloudos:9.0 + echo '\S' + echo 'Kernel \r on an \m' + cp /builddir/build/BUILDROOT/opencloudos-release-9.0-7.oc9.noarch/etc/issue /builddir/build/BUILDROOT/opencloudos-release-9.0-7.oc9.noarch/etc/issue.net + echo + mkdir -p /builddir/build/BUILDROOT/opencloudos-release-9.0-7.oc9.noarch/etc/issue.d + mkdir -p /builddir/build/BUILDROOT/opencloudos-release-9.0-7.oc9.noarch/usr/lib/rpm/macros.d + cat + install -d -m 0755 /builddir/build/BUILDROOT/opencloudos-release-9.0-7.oc9.noarch/usr/share/opencloudos-release + install -p -m 0644 /builddir/build/SOURCES/EULA /builddir/build/BUILDROOT/opencloudos-release-9.0-7.oc9.noarch/usr/share/opencloudos-release/ + install -d -m 0755 /builddir/build/BUILDROOT/opencloudos-release-9.0-7.oc9.noarch/usr/lib/systemd/system-preset/ + install -d -m 0755 /builddir/build/BUILDROOT/opencloudos-release-9.0-7.oc9.noarch/usr/lib/systemd/user-preset + install -p -m 0644 /builddir/build/SOURCES/90-default.preset /builddir/build/SOURCES/99-default-disable.preset /builddir/build/SOURCES/85-display-manager.preset /builddir/build/BUILDROOT/opencloudos-release-9.0-7.oc9.noarch/usr/lib/systemd/system-preset/ + install -p -m 0644 /builddir/build/SOURCES/90-default.preset /builddir/build/SOURCES/99-default-disable.preset /builddir/build/BUILDROOT/opencloudos-release-9.0-7.oc9.noarch/usr/lib/systemd/user-preset/ + mkdir -p /builddir/build/BUILDROOT/opencloudos-release-9.0-7.oc9.noarch//usr/lib/sysctl.d/ + install -m 0644 /builddir/build/SOURCES/50-opencloudos.conf /builddir/build/BUILDROOT/opencloudos-release-9.0-7.oc9.noarch//usr/lib/sysctl.d/ + mkdir /builddir/build/BUILDROOT/opencloudos-release-9.0-7.oc9.noarch/etc/yum.repos.d + mkdir -p -m 0755 /builddir/build/BUILDROOT/opencloudos-release-9.0-7.oc9.noarch/etc/pki/rpm-gpg + install -m 0644 /builddir/build/SOURCES/RPM-GPG-KEY-OpenCloudOS-9 /builddir/build/BUILDROOT/opencloudos-release-9.0-7.oc9.noarch/etc/pki/rpm-gpg + install -d -m 0755 /builddir/build/BUILDROOT/opencloudos-release-9.0-7.oc9.noarch/etc/yum.repos.d + install -m 0644 /builddir/build/SOURCES/OpenCloudOS.repo /builddir/build/BUILDROOT/opencloudos-release-9.0-7.oc9.noarch/etc/yum.repos.d/ + install -d -m 0755 /builddir/build/BUILDROOT/opencloudos-release-9.0-7.oc9.noarch/etc/dnf/vars + echo 9.0 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /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/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 + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: opencloudos-release-9.0-7.oc9.noarch error: File must begin with "/": #zy-add Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.yyBgwn + umask 022 + cd /builddir/build/BUILD + LICENSEDIR=/builddir/build/BUILDROOT/opencloudos-release-9.0-7.oc9.noarch/usr/share/licenses/opencloudos-release + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/opencloudos-release-9.0-7.oc9.noarch/usr/share/licenses/opencloudos-release + cp -pr docs/LICENSE /builddir/build/BUILDROOT/opencloudos-release-9.0-7.oc9.noarch/usr/share/licenses/opencloudos-release + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: RPM build errors: Macro expanded in comment on line 123: %{_sysconfdir}/opencloudos-release File must begin with "/": #zy-add Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/opencloudos-release.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 597, 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 noarch --nodeps /builddir/build/SPECS/opencloudos-release.spec