Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-webhelpers.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1681738665.975151/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-webhelpers.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-WebHelpers-1.3-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-webhelpers.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1681738665.975151/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-webhelpers.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-WebHelpers-1.3-1.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/python-webhelpers.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1681738665.975151/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-webhelpers.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.s99h1N + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf WebHelpers-1.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/WebHelpers-1.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd WebHelpers-1.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0ISTkx + umask 022 + cd /builddir/build/BUILD + cd WebHelpers-1.3 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/webhelpers copying webhelpers/text.py -> build/lib/webhelpers copying webhelpers/media.py -> build/lib/webhelpers copying webhelpers/__init__.py -> build/lib/webhelpers copying webhelpers/date.py -> build/lib/webhelpers copying webhelpers/containers.py -> build/lib/webhelpers copying webhelpers/util.py -> build/lib/webhelpers copying webhelpers/paginate.py -> build/lib/webhelpers copying webhelpers/number.py -> build/lib/webhelpers copying webhelpers/markdown.py -> build/lib/webhelpers copying webhelpers/textile.py -> build/lib/webhelpers copying webhelpers/misc.py -> build/lib/webhelpers copying webhelpers/mimehelper.py -> build/lib/webhelpers copying webhelpers/constants.py -> build/lib/webhelpers copying webhelpers/feedgenerator.py -> build/lib/webhelpers creating build/lib/webhelpers/pylonslib copying webhelpers/pylonslib/_jsmin.py -> build/lib/webhelpers/pylonslib copying webhelpers/pylonslib/__init__.py -> build/lib/webhelpers/pylonslib copying webhelpers/pylonslib/grid.py -> build/lib/webhelpers/pylonslib copying webhelpers/pylonslib/flash.py -> build/lib/webhelpers/pylonslib copying webhelpers/pylonslib/secure_form.py -> build/lib/webhelpers/pylonslib copying webhelpers/pylonslib/minify.py -> build/lib/webhelpers/pylonslib creating build/lib/webhelpers/html copying webhelpers/html/__init__.py -> build/lib/webhelpers/html copying webhelpers/html/tags.py -> build/lib/webhelpers/html copying webhelpers/html/grid.py -> build/lib/webhelpers/html copying webhelpers/html/converters.py -> build/lib/webhelpers/html copying webhelpers/html/builder.py -> build/lib/webhelpers/html copying webhelpers/html/tools.py -> build/lib/webhelpers/html copying webhelpers/html/render.py -> build/lib/webhelpers/html copying webhelpers/html/grid_demo.py -> build/lib/webhelpers/html running egg_info writing WebHelpers.egg-info/PKG-INFO writing dependency_links to WebHelpers.egg-info/dependency_links.txt writing entry points to WebHelpers.egg-info/entry_points.txt writing requirements to WebHelpers.egg-info/requires.txt writing top-level names to WebHelpers.egg-info/top_level.txt reading manifest file 'WebHelpers.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/_build' adding license file 'LICENSE' writing manifest file 'WebHelpers.egg-info/SOURCES.txt' creating build/lib/webhelpers/public creating build/lib/webhelpers/public/stylesheets copying webhelpers/public/stylesheets/grid.css -> build/lib/webhelpers/public/stylesheets copying webhelpers/public/stylesheets/webhelpers.css -> build/lib/webhelpers/public/stylesheets + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.yQvW4O + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64 ++ dirname /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64 + cd WebHelpers-1.3 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64 running install /usr/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr creating /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers copying build/lib/webhelpers/text.py -> /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers copying build/lib/webhelpers/media.py -> /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers copying build/lib/webhelpers/__init__.py -> /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers creating /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/pylonslib copying build/lib/webhelpers/pylonslib/_jsmin.py -> /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/pylonslib copying build/lib/webhelpers/pylonslib/__init__.py -> /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/pylonslib copying build/lib/webhelpers/pylonslib/grid.py -> /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/pylonslib copying build/lib/webhelpers/pylonslib/flash.py -> /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/pylonslib copying build/lib/webhelpers/pylonslib/secure_form.py -> /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/pylonslib copying build/lib/webhelpers/pylonslib/minify.py -> /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/pylonslib copying build/lib/webhelpers/date.py -> /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers copying build/lib/webhelpers/containers.py -> /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers copying build/lib/webhelpers/util.py -> /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers copying build/lib/webhelpers/paginate.py -> /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers copying build/lib/webhelpers/number.py -> /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers creating /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/public creating /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/public/stylesheets copying build/lib/webhelpers/public/stylesheets/grid.css -> /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/public/stylesheets copying build/lib/webhelpers/public/stylesheets/webhelpers.css -> /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/public/stylesheets creating /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/html copying build/lib/webhelpers/html/__init__.py -> /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/html copying build/lib/webhelpers/html/tags.py -> /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/html copying build/lib/webhelpers/html/grid.py -> /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/html copying build/lib/webhelpers/html/converters.py -> /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/html copying build/lib/webhelpers/html/builder.py -> /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/html copying build/lib/webhelpers/html/tools.py -> /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/html copying build/lib/webhelpers/html/render.py -> /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/html copying build/lib/webhelpers/html/grid_demo.py -> /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/html copying build/lib/webhelpers/markdown.py -> /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers copying build/lib/webhelpers/textile.py -> /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers copying build/lib/webhelpers/misc.py -> /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers copying build/lib/webhelpers/mimehelper.py -> /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers copying build/lib/webhelpers/constants.py -> /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers copying build/lib/webhelpers/feedgenerator.py -> /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers byte-compiling /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/text.py to text.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/media.py to media.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/__init__.py to __init__.cpython-39.pyc File "/usr/lib/python3.9/site-packages/webhelpers/media.py", line 120 print "%s:" % apath, ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("%s:" % apath, end=" ")? byte-compiling /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/pylonslib/_jsmin.py to _jsmin.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/pylonslib/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/pylonslib/grid.py to grid.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/pylonslib/flash.py to flash.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/pylonslib/secure_form.py to secure_form.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/pylonslib/minify.py to minify.cpython-39.pyc /usr/lib/python3.9/site-packages/webhelpers/pylonslib/minify.py:178: SyntaxWarning: "is not" with a literal. Did you mean "!="? byte-compiling /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/date.py to date.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/containers.py to containers.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/util.py to util.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/paginate.py to paginate.cpython-39.pyc File "/usr/lib/python3.9/site-packages/webhelpers/paginate.py", line 250 raise Exception, "__getitem__ without slicing not supported" ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/number.py to number.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/html/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/html/tags.py to tags.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/html/grid.py to grid.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/html/converters.py to converters.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/html/builder.py to builder.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/html/tools.py to tools.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/html/render.py to render.cpython-39.pyc File "/usr/lib/python3.9/site-packages/webhelpers/html/render.py", line 395 print render(html) ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/html/grid_demo.py to grid_demo.cpython-39.pyc File "/usr/lib/python3.9/site-packages/webhelpers/html/grid_demo.py", line 289 print "... writing '%s'" % filename ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("... writing '%s'" % filename)? byte-compiling /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/markdown.py to markdown.cpython-39.pyc File "/usr/lib/python3.9/site-packages/webhelpers/markdown.py", line 1865 print OPTPARSE_WARNING ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(OPTPARSE_WARNING)? byte-compiling /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/textile.py to textile.cpython-39.pyc File "/usr/lib/python3.9/site-packages/webhelpers/textile.py", line 2882 print textile('tell me about textile.', head_offset=1) ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/misc.py to misc.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/mimehelper.py to mimehelper.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/constants.py to constants.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/feedgenerator.py to feedgenerator.cpython-39.pyc writing byte-compilation script '/tmp/tmpye6a7i4t.py' /usr/bin/python3 /tmp/tmpye6a7i4t.py File "/usr/lib/python3.9/site-packages/webhelpers/media.py", line 120 print "%s:" % apath, ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("%s:" % apath, end=" ")? /usr/lib/python3.9/site-packages/webhelpers/pylonslib/minify.py:178: SyntaxWarning: "is not" with a literal. Did you mean "!="? File "/usr/lib/python3.9/site-packages/webhelpers/paginate.py", line 250 raise Exception, "__getitem__ without slicing not supported" ^ SyntaxError: invalid syntax File "/usr/lib/python3.9/site-packages/webhelpers/html/render.py", line 395 print render(html) ^ SyntaxError: invalid syntax File "/usr/lib/python3.9/site-packages/webhelpers/html/grid_demo.py", line 289 print "... writing '%s'" % filename ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("... writing '%s'" % filename)? File "/usr/lib/python3.9/site-packages/webhelpers/markdown.py", line 1865 print OPTPARSE_WARNING ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(OPTPARSE_WARNING)? File "/usr/lib/python3.9/site-packages/webhelpers/textile.py", line 2882 print textile('tell me about textile.', head_offset=1) ^ SyntaxError: invalid syntax removing /tmp/tmpye6a7i4t.py running install_egg_info running egg_info writing WebHelpers.egg-info/PKG-INFO writing dependency_links to WebHelpers.egg-info/dependency_links.txt writing entry points to WebHelpers.egg-info/entry_points.txt writing requirements to WebHelpers.egg-info/requires.txt writing top-level names to WebHelpers.egg-info/top_level.txt reading manifest file 'WebHelpers.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/_build' adding license file 'LICENSE' writing manifest file 'WebHelpers.egg-info/SOURCES.txt' Copying WebHelpers.egg-info to /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/WebHelpers-1.3-py3.9.egg-info running install_scripts + install -d -m755 /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64//usr/share/doc/python-WebHelpers + '[' -d doc ']' + '[' -d docs ']' + cp -arf docs /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64//usr/share/doc/python-WebHelpers + '[' -d example ']' + '[' -d examples ']' ~/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64 ~/build/BUILD/WebHelpers-1.3 + pushd /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64 + '[' -d usr/lib ']' + find usr/lib -type f -printf '/%h/%f\n' + '[' -d usr/lib64 ']' + '[' -d usr/bin ']' + '[' -d usr/sbin ']' + touch doclist.lst + '[' -d usr/share/man ']' ~/build/BUILD/WebHelpers-1.3 + popd + mv /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/filelist.lst . + mv /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/doclist.lst . + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 1.3-1 --unique-debug-suffix -1.3-1.x86_64 --unique-debug-src-base python-WebHelpers-1.3-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/WebHelpers-1.3 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9 using /usr/bin/python3.9 /usr/lib/python3.9/site-packages/webhelpers/pylonslib/minify.py:178: SyntaxWarning: "is not" with a literal. Did you mean "!="? *** Error compiling '/builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/html/grid_demo.py'... File "/usr/lib/python3.9/site-packages/webhelpers/html/grid_demo.py", line 289 print "... writing '%s'" % filename ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("... writing '%s'" % filename)? *** Error compiling '/builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/html/render.py'... File "/usr/lib/python3.9/site-packages/webhelpers/html/render.py", line 395 print render(html) ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/markdown.py'... File "/usr/lib/python3.9/site-packages/webhelpers/markdown.py", line 1865 print OPTPARSE_WARNING ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(OPTPARSE_WARNING)? *** Error compiling '/builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/media.py'... File "/usr/lib/python3.9/site-packages/webhelpers/media.py", line 120 print "%s:" % apath, ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("%s:" % apath, end=" ")? *** Error compiling '/builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/paginate.py'... File "/usr/lib/python3.9/site-packages/webhelpers/paginate.py", line 250 raise Exception, "__getitem__ without slicing not supported" ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-WebHelpers-1.3-1.x86_64/usr/lib/python3.9/site-packages/webhelpers/textile.py'... File "/usr/lib/python3.9/site-packages/webhelpers/textile.py", line 2882 print textile('tell me about textile.', head_offset=1) ^ SyntaxError: invalid syntax error: Bad exit status from /var/tmp/rpm-tmp.yQvW4O (%install) Bad exit status from /var/tmp/rpm-tmp.yQvW4O (%install) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-webhelpers.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/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/python-webhelpers.spec