Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-jinja2.spec'], chrootPath='/var/lib/mock/dist-an7-els-build-415906-72790/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4zzq5hmu:/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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4zzq5hmu:/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', 'ed8e853dec294f3fb6f0a4284af0e9a8', '-D', '/var/lib/mock/dist-an7-els-build-415906-72790/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4zzq5hmu:/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', '--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 noarch --nodeps /builddir/build/SPECS/python-jinja2.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: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-jinja2-2.7.2-5.an7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-jinja2.spec'], chrootPath='/var/lib/mock/dist-an7-els-build-415906-72790/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4zzq5hmu:/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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4zzq5hmu:/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', '49bbbee2db5c4da382b92e2ba895b1b4', '-D', '/var/lib/mock/dist-an7-els-build-415906-72790/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4zzq5hmu:/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', '--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 noarch --nodeps /builddir/build/SPECS/python-jinja2.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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0MN1ps + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Jinja2-2.7.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/Jinja2-2.7.2.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd Jinja2-2.7.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (python-jinja2-align-jinjaext-with-compatibility-cleanups.patch):' Patch #1 (python-jinja2-align-jinjaext-with-compatibility-cleanups.patch): + /usr/bin/cat /builddir/build/SOURCES/python-jinja2-align-jinjaext-with-compatibility-cleanups.patch + /usr/bin/patch -p1 --fuzz=0 patching file docs/jinjaext.py + echo 'Patch #2 (python-jinja2-fix-CVE-2014-0012.patch):' Patch #2 (python-jinja2-fix-CVE-2014-0012.patch): + /usr/bin/cat /builddir/build/SOURCES/python-jinja2-fix-CVE-2014-0012.patch + /usr/bin/patch -p1 --fuzz=0 patching file jinja2/bccache.py + echo 'Patch #3 (python-jinja2-lambda-to-dict.patch):' Patch #3 (python-jinja2-lambda-to-dict.patch): + /usr/bin/cat /builddir/build/SOURCES/python-jinja2-lambda-to-dict.patch + /usr/bin/patch -p1 --fuzz=0 patching file jinja2/defaults.py + echo 'Patch #4 (python-jinja2-fix-CVE-2016-10745.patch):' Patch #4 (python-jinja2-fix-CVE-2016-10745.patch): + /usr/bin/cat /builddir/build/SOURCES/python-jinja2-fix-CVE-2016-10745.patch + /usr/bin/patch -p1 --fuzz=0 patching file jinja2/nodes.py patching file jinja2/sandbox.py + echo 'Patch #5 (0001-fix-cve-CVE-2024-56326.patch):' Patch #5 (0001-fix-cve-CVE-2024-56326.patch): + /usr/bin/cat /builddir/build/SOURCES/0001-fix-cve-CVE-2024-56326.patch + /usr/bin/patch -p1 --fuzz=0 patching file jinja2/sandbox.py + find . -name '*.pyo' -o -name '*.pyc' -delete + sed -i 's|\r$||g' LICENSE + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.u4OpqK + umask 022 + cd /builddir/build/BUILD + cd Jinja2-2.7.2 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib creating build/lib/jinja2 copying jinja2/__init__.py -> build/lib/jinja2 copying jinja2/_compat.py -> build/lib/jinja2 copying jinja2/_stringdefs.py -> build/lib/jinja2 copying jinja2/bccache.py -> build/lib/jinja2 copying jinja2/compiler.py -> build/lib/jinja2 copying jinja2/constants.py -> build/lib/jinja2 copying jinja2/debug.py -> build/lib/jinja2 copying jinja2/defaults.py -> build/lib/jinja2 copying jinja2/environment.py -> build/lib/jinja2 copying jinja2/exceptions.py -> build/lib/jinja2 copying jinja2/ext.py -> build/lib/jinja2 copying jinja2/filters.py -> build/lib/jinja2 copying jinja2/lexer.py -> build/lib/jinja2 copying jinja2/loaders.py -> build/lib/jinja2 copying jinja2/meta.py -> build/lib/jinja2 copying jinja2/nodes.py -> build/lib/jinja2 copying jinja2/optimizer.py -> build/lib/jinja2 copying jinja2/parser.py -> build/lib/jinja2 copying jinja2/runtime.py -> build/lib/jinja2 copying jinja2/sandbox.py -> build/lib/jinja2 copying jinja2/tests.py -> build/lib/jinja2 copying jinja2/utils.py -> build/lib/jinja2 copying jinja2/visitor.py -> build/lib/jinja2 creating build/lib/jinja2/testsuite copying jinja2/testsuite/__init__.py -> build/lib/jinja2/testsuite copying jinja2/testsuite/api.py -> build/lib/jinja2/testsuite copying jinja2/testsuite/bytecode_cache.py -> build/lib/jinja2/testsuite copying jinja2/testsuite/core_tags.py -> build/lib/jinja2/testsuite copying jinja2/testsuite/debug.py -> build/lib/jinja2/testsuite copying jinja2/testsuite/doctests.py -> build/lib/jinja2/testsuite copying jinja2/testsuite/ext.py -> build/lib/jinja2/testsuite copying jinja2/testsuite/filters.py -> build/lib/jinja2/testsuite copying jinja2/testsuite/imports.py -> build/lib/jinja2/testsuite copying jinja2/testsuite/inheritance.py -> build/lib/jinja2/testsuite copying jinja2/testsuite/lexnparse.py -> build/lib/jinja2/testsuite copying jinja2/testsuite/loader.py -> build/lib/jinja2/testsuite copying jinja2/testsuite/regression.py -> build/lib/jinja2/testsuite copying jinja2/testsuite/security.py -> build/lib/jinja2/testsuite copying jinja2/testsuite/tests.py -> build/lib/jinja2/testsuite copying jinja2/testsuite/utils.py -> build/lib/jinja2/testsuite creating build/lib/jinja2/testsuite/res copying jinja2/testsuite/res/__init__.py -> build/lib/jinja2/testsuite/res running egg_info writing requirements to Jinja2.egg-info/requires.txt writing Jinja2.egg-info/PKG-INFO writing top-level names to Jinja2.egg-info/top_level.txt writing dependency_links to Jinja2.egg-info/dependency_links.txt writing entry points to Jinja2.egg-info/entry_points.txt reading manifest file 'Jinja2.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*' under directory 'custom_fixers' warning: no previously-included files matching '*' found under directory 'docs/_build' warning: no previously-included files matching '*.pyc' found under directory 'jinja2' warning: no previously-included files matching '*.pyc' found under directory 'docs' warning: no previously-included files matching '*.pyo' found under directory 'jinja2' warning: no previously-included files matching '*.pyo' found under directory 'docs' writing manifest file 'Jinja2.egg-info/SOURCES.txt' creating build/lib/jinja2/testsuite/res/templates copying jinja2/testsuite/res/templates/broken.html -> build/lib/jinja2/testsuite/res/templates copying jinja2/testsuite/res/templates/syntaxerror.html -> build/lib/jinja2/testsuite/res/templates copying jinja2/testsuite/res/templates/test.html -> build/lib/jinja2/testsuite/res/templates creating build/lib/jinja2/testsuite/res/templates/foo copying jinja2/testsuite/res/templates/foo/test.html -> build/lib/jinja2/testsuite/res/templates/foo + sleep 1 ++ pwd + make -C docs html PYTHONPATH=/builddir/build/BUILD/Jinja2-2.7.2 make: Entering directory `/builddir/build/BUILD/Jinja2-2.7.2/docs' sphinx-build -b html -d _build/doctrees . _build/html Making output directory... Running Sphinx v1.1.3 loading pickled environment... not yet created building [html]: targets for 12 source files that are out of date updating environment: 12 added, 0 changed, 0 removed reading sources... [ 8%] api reading sources... [ 16%] changelog reading sources... [ 25%] extensions reading sources... [ 33%] faq reading sources... [ 41%] index reading sources... [ 50%] integration reading sources... [ 58%] intro reading sources... [ 66%] latexindex reading sources... [ 75%] sandbox reading sources... [ 83%] switching reading sources... [ 91%] templates reading sources... [100%] tricks /builddir/build/BUILD/Jinja2-2.7.2/docs/faq.rst:160: WARNING: Title underline too short. My Macros are overridden by something ------------------------------------ /builddir/build/BUILD/Jinja2-2.7.2/docs/faq.rst:160: WARNING: Title underline too short. My Macros are overridden by something ------------------------------------ /builddir/build/BUILD/Jinja2-2.7.2/docs/templates.rst:583: WARNING: Inline interpreted text or phrase reference start-string without end-string. looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 8%] api Exception occurred: File "/builddir/build/BUILD/Jinja2-2.7.2/jinja2/sandbox.py", line 420, in getattr fmt = self.wrap_str_format(value) AttributeError: 'SandboxedEnvironment' object has no attribute 'wrap_str_format' The full traceback has been saved in /tmp/sphinx-err-0PR_7H.log, if you want to report the issue to the developers. Please also report this if it was a user error, so that a better error message can be provided next time. Either send bugs to the mailing list at , or report them in the tracker at . Thanks! make: *** [html] Error 1 make: Leaving directory `/builddir/build/BUILD/Jinja2-2.7.2/docs' error: Bad exit status from /var/tmp/rpm-tmp.u4OpqK (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.u4OpqK (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 49bbbee2db5c4da382b92e2ba895b1b4 -D /var/lib/mock/dist-an7-els-build-415906-72790/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.4zzq5hmu:/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 --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 noarch --nodeps /builddir/build/SPECS/python-jinja2.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 612, 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 49bbbee2db5c4da382b92e2ba895b1b4 -D /var/lib/mock/dist-an7-els-build-415906-72790/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.4zzq5hmu:/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 --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 noarch --nodeps /builddir/build/SPECS/python-jinja2.spec'