Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-plyplus.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1682459425.700358/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-plyplus.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-PlyPlus-0.7.5-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-plyplus.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1682459425.700358/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-plyplus.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-PlyPlus-0.7.5-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-plyplus.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1682459425.700358/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-plyplus.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.8Q1KB0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf PlyPlus-0.7.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/PlyPlus-0.7.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd PlyPlus-0.7.5 + /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.B2ciqB + umask 022 + cd /builddir/build/BUILD + cd PlyPlus-0.7.5 + 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' /usr/lib64/python3.9/distutils/dist.py:274: UserWarning: Unknown distribution option: 'install_requires' warnings.warn(msg) running build running build_py creating build creating build/lib creating build/lib/plyplus copying plyplus/stree_collection.py -> build/lib/plyplus copying plyplus/utils.py -> build/lib/plyplus copying plyplus/pearley.py -> build/lib/plyplus copying plyplus/common.py -> build/lib/plyplus copying plyplus/grammar_lexer.py -> build/lib/plyplus copying plyplus/plyplus.py -> build/lib/plyplus copying plyplus/engine_pearley.py -> build/lib/plyplus copying plyplus/grammar_parser.py -> build/lib/plyplus copying plyplus/__init__.py -> build/lib/plyplus copying plyplus/selector.py -> build/lib/plyplus copying plyplus/strees.py -> build/lib/plyplus copying plyplus/engine_ply.py -> build/lib/plyplus creating build/lib/plyplus/test copying plyplus/test/test_trees.py -> build/lib/plyplus/test copying plyplus/test/test_grammars.py -> build/lib/plyplus/test copying plyplus/test/test_selectors.py -> build/lib/plyplus/test copying plyplus/test/python_sample1.py -> build/lib/plyplus/test copying plyplus/test/test_parser.py -> build/lib/plyplus/test copying plyplus/test/__init__.py -> build/lib/plyplus/test copying plyplus/test/__main__.py -> build/lib/plyplus/test copying plyplus/test/python_sample2.py -> build/lib/plyplus/test copying plyplus/test/python4ply-sample.py -> build/lib/plyplus/test creating build/lib/plyplus/grammars copying plyplus/grammars/python_indent_postlex.py -> build/lib/plyplus/grammars copying plyplus/grammars/__init__.py -> build/lib/plyplus/grammars creating build/lib/examples copying examples/permutations.py -> build/lib/examples copying examples/calc.py -> build/lib/examples copying examples/json.py -> build/lib/examples copying examples/__init__.py -> build/lib/examples package init file 'docs/__init__.py' not found (or not a regular file) copying plyplus/test/python.g -> build/lib/plyplus/test copying plyplus/grammars/selector.g -> build/lib/plyplus/grammars copying plyplus/grammars/config.g -> build/lib/plyplus/grammars copying plyplus/grammars/python.g -> build/lib/plyplus/grammars creating build/lib/docs copying docs/tutorial.md -> build/lib/docs copying docs/selectors.md -> build/lib/docs copying docs/calling_popen.png -> build/lib/docs copying docs/list_parser_tree.png -> build/lib/docs package init file 'docs/__init__.py' not found (or not a regular file) + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ygyzIp + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64 ++ dirname /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64 + cd PlyPlus-0.7.5 + 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-PlyPlus-0.7.5-1.x86_64 /usr/lib64/python3.9/distutils/dist.py:274: UserWarning: Unknown distribution option: 'install_requires' warnings.warn(msg) running install running install_lib creating /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr creating /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/docs copying build/lib/docs/calling_popen.png -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/docs copying build/lib/docs/tutorial.md -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/docs copying build/lib/docs/selectors.md -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/docs copying build/lib/docs/list_parser_tree.png -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/docs creating /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/examples copying build/lib/examples/permutations.py -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/examples copying build/lib/examples/calc.py -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/examples copying build/lib/examples/json.py -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/examples copying build/lib/examples/__init__.py -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/examples creating /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus copying build/lib/plyplus/stree_collection.py -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus copying build/lib/plyplus/utils.py -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus copying build/lib/plyplus/pearley.py -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus creating /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/grammars copying build/lib/plyplus/grammars/python_indent_postlex.py -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/grammars copying build/lib/plyplus/grammars/selector.g -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/grammars copying build/lib/plyplus/grammars/config.g -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/grammars copying build/lib/plyplus/grammars/python.g -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/grammars copying build/lib/plyplus/grammars/__init__.py -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/grammars creating /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/test copying build/lib/plyplus/test/test_trees.py -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/test copying build/lib/plyplus/test/test_grammars.py -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/test copying build/lib/plyplus/test/test_selectors.py -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/test copying build/lib/plyplus/test/python.g -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/test copying build/lib/plyplus/test/python_sample1.py -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/test copying build/lib/plyplus/test/test_parser.py -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/test copying build/lib/plyplus/test/__init__.py -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/test copying build/lib/plyplus/test/__main__.py -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/test copying build/lib/plyplus/test/python_sample2.py -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/test copying build/lib/plyplus/test/python4ply-sample.py -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/test copying build/lib/plyplus/common.py -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus copying build/lib/plyplus/grammar_lexer.py -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus copying build/lib/plyplus/plyplus.py -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus copying build/lib/plyplus/engine_pearley.py -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus copying build/lib/plyplus/grammar_parser.py -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus copying build/lib/plyplus/__init__.py -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus copying build/lib/plyplus/selector.py -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus copying build/lib/plyplus/strees.py -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus copying build/lib/plyplus/engine_ply.py -> /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus byte-compiling /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/examples/permutations.py to permutations.cpython-39.pyc File "/usr/lib/python3.9/site-packages/examples/permutations.py", line 15 print perm1.parse(' a c b').pretty() ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/examples/calc.py to calc.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/examples/json.py to json.cpython-39.pyc File "/usr/lib/python3.9/site-packages/examples/json.py", line 44 print '### JSON Parser using PlyPlus' ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print('### JSON Parser using PlyPlus')? byte-compiling /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/examples/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/stree_collection.py to stree_collection.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/utils.py to utils.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/pearley.py to pearley.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/grammars/python_indent_postlex.py to python_indent_postlex.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/grammars/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/test/test_trees.py to test_trees.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/test/test_grammars.py to test_grammars.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/test/test_selectors.py to test_selectors.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/test/python_sample1.py to python_sample1.cpython-39.pyc File "/usr/lib/python3.9/site-packages/plyplus/test/python_sample1.py", line 6 print fib(i), ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/test/test_parser.py to test_parser.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/test/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/test/__main__.py to __main__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/test/python_sample2.py to python_sample2.cpython-39.pyc File "/usr/lib/python3.9/site-packages/plyplus/test/python_sample2.py", line 6 print "Calculating Fib sequence, %d members" % N ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Calculating Fib sequence, %d members" % N)? byte-compiling /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/test/python4ply-sample.py to python4ply-sample.cpython-39.pyc File "/usr/lib/python3.9/site-packages/plyplus/test/python4ply-sample.py", line 63 0xDeadBeefCafeL ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/common.py to common.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/grammar_lexer.py to grammar_lexer.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/plyplus.py to plyplus.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/engine_pearley.py to engine_pearley.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/grammar_parser.py to grammar_parser.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/selector.py to selector.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/strees.py to strees.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/engine_ply.py to engine_ply.cpython-39.pyc writing byte-compilation script '/tmp/tmpq70fwft5.py' /usr/bin/python3 /tmp/tmpq70fwft5.py File "/usr/lib/python3.9/site-packages/examples/permutations.py", line 15 print perm1.parse(' a c b').pretty() ^ SyntaxError: invalid syntax File "/usr/lib/python3.9/site-packages/examples/json.py", line 44 print '### JSON Parser using PlyPlus' ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print('### JSON Parser using PlyPlus')? File "/usr/lib/python3.9/site-packages/plyplus/test/python_sample1.py", line 6 print fib(i), ^ SyntaxError: invalid syntax File "/usr/lib/python3.9/site-packages/plyplus/test/python_sample2.py", line 6 print "Calculating Fib sequence, %d members" % N ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Calculating Fib sequence, %d members" % N)? File "/usr/lib/python3.9/site-packages/plyplus/test/python4ply-sample.py", line 63 0xDeadBeefCafeL ^ SyntaxError: invalid syntax removing /tmp/tmpq70fwft5.py running install_egg_info Writing /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/PlyPlus-0.7.5-py3.9.egg-info + install -d -m755 /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64//usr/share/doc/python-PlyPlus + '[' -d doc ']' + '[' -d docs ']' + cp -arf docs /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64//usr/share/doc/python-PlyPlus + '[' -d example ']' + '[' -d examples ']' + cp -arf examples /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64//usr/share/doc/python-PlyPlus + pushd /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64 ~/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64 ~/build/BUILD/PlyPlus-0.7.5 + '[' -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 ']' + popd ~/build/BUILD/PlyPlus-0.7.5 + mv /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/filelist.lst . + mv /builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/doclist.lst . + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 0.7.5-1 --unique-debug-suffix -0.7.5-1.x86_64 --unique-debug-src-base python-PlyPlus-0.7.5-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/PlyPlus-0.7.5 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-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9 using /usr/bin/python3.9 *** Error compiling '/builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/examples/json.py'... File "/usr/lib/python3.9/site-packages/examples/json.py", line 44 print '### JSON Parser using PlyPlus' ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print('### JSON Parser using PlyPlus')? *** Error compiling '/builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/examples/permutations.py'... File "/usr/lib/python3.9/site-packages/examples/permutations.py", line 15 print perm1.parse(' a c b').pretty() ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/test/python4ply-sample.py'... File "/usr/lib/python3.9/site-packages/plyplus/test/python4ply-sample.py", line 63 0xDeadBeefCafeL ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/test/python_sample1.py'... File "/usr/lib/python3.9/site-packages/plyplus/test/python_sample1.py", line 6 print fib(i), ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-PlyPlus-0.7.5-1.x86_64/usr/lib/python3.9/site-packages/plyplus/test/python_sample2.py'... File "/usr/lib/python3.9/site-packages/plyplus/test/python_sample2.py", line 6 print "Calculating Fib sequence, %d members" % N ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Calculating Fib sequence, %d members" % N)? error: Bad exit status from /var/tmp/rpm-tmp.ygyzIp (%install) Bad exit status from /var/tmp/rpm-tmp.ygyzIp (%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-plyplus.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-plyplus.spec