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/python-systemd.spec'], chrootPath='/var/lib/mock/dist-an23-build-234064-62690/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/python-systemd.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: extra tokens at the end of %endif directive in line 23: %endif # with python2 warning: extra tokens at the end of %endif directive in line 28: %endif #{with doc} warning: extra tokens at the end of %endif directive in line 52: %endif # with python2 warning: extra tokens at the end of %endif directive in line 72: %endif #{with doc} warning: extra tokens at the end of %endif directive in line 81: %endif # with python2 warning: extra tokens at the end of %endif directive in line 86: %endif #{with doc} warning: extra tokens at the end of %endif directive in line 91: %endif # with python2 warning: extra tokens at the end of %endif directive in line 98: %endif #{with doc} warning: extra tokens at the end of %endif directive in line 106: %endif # with python2 warning: extra tokens at the end of %endif directive in line 115: %endif # with python2 warning: extra tokens at the end of %endif directive in line 128: %endif #{with doc} Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1531094400 Wrote: /builddir/build/SRPMS/python-systemd-234-8.an23.src.rpm RPM build warnings: extra tokens at the end of %endif directive in line 23: %endif # with python2 extra tokens at the end of %endif directive in line 28: %endif #{with doc} extra tokens at the end of %endif directive in line 52: %endif # with python2 extra tokens at the end of %endif directive in line 72: %endif #{with doc} extra tokens at the end of %endif directive in line 81: %endif # with python2 extra tokens at the end of %endif directive in line 86: %endif #{with doc} extra tokens at the end of %endif directive in line 91: %endif # with python2 extra tokens at the end of %endif directive in line 98: %endif #{with doc} extra tokens at the end of %endif directive in line 106: %endif # with python2 extra tokens at the end of %endif directive in line 115: %endif # with python2 extra tokens at the end of %endif directive in line 128: %endif #{with doc} Child return code was: 0