Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/container-selinux.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-111410-45849/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/container-selinux.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: line 31: Possible unexpanded macro in: BuildRequires: selinux-policy >= %_selinux_policy_version warning: line 32: Possible unexpanded macro in: BuildRequires: selinux-policy-devel >= %_selinux_policy_version warning: line 33: Possible unexpanded macro in: Requires: selinux-policy >= %_selinux_policy_version warning: line 34: Possible unexpanded macro in: Requires(post): selinux-policy-base >= %_selinux_policy_version warning: line 35: Possible unexpanded macro in: Requires(post): selinux-policy-targeted >= %_selinux_policy_version Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/container-selinux-2.178.0-1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/container-selinux.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-111410-45849/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/container-selinux.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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oQ8Teh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf container-selinux-2.178.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/v2.178.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd container-selinux-2.178.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git add . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'container-selinux-2.178.0 base' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0zCSth + umask 022 + cd /builddir/build/BUILD + cd container-selinux-2.178.0 + make make -f /usr/share/selinux/devel/Makefile container.pp make[1]: Entering directory '/builddir/build/BUILD/container-selinux-2.178.0' Compiling targeted container module container.te:474:ERROR 'syntax error' at token 'systemd_chat_resolved' on line 19280: systemd_chat_resolved(container_runtime_domain) /usr/bin/checkmodule: error(s) encountered while parsing configuration make[1]: Leaving directory '/builddir/build/BUILD/container-selinux-2.178.0' make[1]: *** [/usr/share/selinux/devel/include/Makefile:157: tmp/container.mod] Error 1 make: *** [Makefile:12: container.pp] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.0zCSth (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.0zCSth (%build) 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 600, 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 noarch --nodeps /builddir/build/SPECS/container-selinux.spec