Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-spark.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1681811538.998246/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 aarch64 --nodeps /builddir/build/SPECS/python-spark.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-spark-0.2.1-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-spark.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1681811538.998246/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 aarch64 --nodeps /builddir/build/SPECS/python-spark.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-spark-0.2.1-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-spark.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1681811538.998246/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 aarch64 --nodeps /builddir/build/SPECS/python-spark.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wcHlp2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf spark-0.2.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/spark-0.2.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd spark-0.2.1 + /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.UADYdO + umask 022 + cd /builddir/build/BUILD + cd spark-0.2.1 + 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 -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/spark copying spark/storm.py -> build/lib/spark copying spark/spark_admin.py -> build/lib/spark copying spark/dbmysql.py -> build/lib/spark copying spark/ReqWSGI.py -> build/lib/spark copying spark/storm_testsqlite.py -> build/lib/spark copying spark/sprite.py -> build/lib/spark copying spark/storm_test.py -> build/lib/spark copying spark/ReqModPython.py -> build/lib/spark copying spark/storm_testmysql.py -> build/lib/spark copying spark/__init__.py -> build/lib/spark copying spark/session.py -> build/lib/spark copying spark/dbsqlite.py -> build/lib/spark copying spark/ReqTwisted.py -> build/lib/spark copying spark/ReqBase.py -> build/lib/spark creating build/lib/spark/contribs copying spark/contribs/ez_setup.py -> build/lib/spark/contribs copying spark/contribs/__init__.py -> build/lib/spark/contribs copying spark/contribs/progress.py -> build/lib/spark/contribs creating build/lib/spark/proj creating build/lib/spark/proj/controllers copying spark/proj/controllers/default_controller.py -> build/lib/spark/proj/controllers copying spark/proj/controllers/__init__.py -> build/lib/spark/proj/controllers creating build/lib/spark/proj/etc copying spark/proj/etc/ruby.fcgi -> build/lib/spark/proj/etc copying spark/proj/etc/python.fcgi -> build/lib/spark/proj/etc copying spark/proj/etc/modpython.py -> build/lib/spark/proj/etc copying spark/proj/etc/modruby.rb -> build/lib/spark/proj/etc copying spark/proj/etc/cgiserver.py -> build/lib/spark/proj/etc copying spark/proj/etc/__init__.py -> build/lib/spark/proj/etc copying spark/proj/etc/runcgi.py -> build/lib/spark/proj/etc creating build/lib/spark/proj/scripts copying spark/proj/scripts/twistedctl.py -> build/lib/spark/proj/scripts copying spark/proj/scripts/__init__.py -> build/lib/spark/proj/scripts copying spark/proj/scripts/server2.py -> build/lib/spark/proj/scripts copying spark/proj/scripts/server.py -> build/lib/spark/proj/scripts copying spark/proj/scripts/twisted_server.py -> build/lib/spark/proj/scripts creating build/lib/spark/proj/files copying spark/proj/files/lighttpd_python.conf -> build/lib/spark/proj/files copying spark/proj/files/lighttpd_ruby.conf -> build/lib/spark/proj/files copying spark/proj/files/confs.tmpl -> build/lib/spark/proj/files copying spark/proj/files/ajaxwiki_controller.pytp -> build/lib/spark/proj/files copying spark/proj/files/awiki.js -> build/lib/spark/proj/files copying spark/proj/files/wiki.html -> build/lib/spark/proj/files copying spark/proj/files/apache_modpython.conf -> build/lib/spark/proj/files copying spark/proj/files/admin_controller.pytp -> build/lib/spark/proj/files copying spark/proj/files/create_admin.py -> build/lib/spark/proj/files copying spark/proj/files/apache_modruby.conf -> build/lib/spark/proj/files copying spark/proj/files/wiki_controller.pytp -> build/lib/spark/proj/files copying spark/proj/files/table.html -> build/lib/spark/proj/files copying spark/proj/files/sparkdemo.sql -> build/lib/spark/proj/files copying spark/proj/files/ajax_tables.css -> build/lib/spark/proj/files running build_scripts creating build/scripts-3.9 copying and adjusting spark/bin/spark -> build/scripts-3.9 changing mode of build/scripts-3.9/spark from 644 to 755 + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lZVUyT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64 ++ dirname /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64 + cd spark-0.2.1 + 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 -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-spark-0.2.1-1.aarch64 running install running install_lib creating /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr creating /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib creating /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark creating /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj creating /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/files copying build/lib/spark/proj/files/lighttpd_python.conf -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/files copying build/lib/spark/proj/files/lighttpd_ruby.conf -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/files copying build/lib/spark/proj/files/confs.tmpl -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/files copying build/lib/spark/proj/files/ajaxwiki_controller.pytp -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/files copying build/lib/spark/proj/files/awiki.js -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/files copying build/lib/spark/proj/files/wiki.html -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/files copying build/lib/spark/proj/files/apache_modpython.conf -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/files copying build/lib/spark/proj/files/admin_controller.pytp -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/files copying build/lib/spark/proj/files/create_admin.py -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/files copying build/lib/spark/proj/files/apache_modruby.conf -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/files copying build/lib/spark/proj/files/wiki_controller.pytp -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/files copying build/lib/spark/proj/files/table.html -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/files copying build/lib/spark/proj/files/sparkdemo.sql -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/files copying build/lib/spark/proj/files/ajax_tables.css -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/files creating /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/etc copying build/lib/spark/proj/etc/ruby.fcgi -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/etc copying build/lib/spark/proj/etc/python.fcgi -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/etc copying build/lib/spark/proj/etc/modpython.py -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/etc copying build/lib/spark/proj/etc/modruby.rb -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/etc copying build/lib/spark/proj/etc/cgiserver.py -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/etc copying build/lib/spark/proj/etc/__init__.py -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/etc copying build/lib/spark/proj/etc/runcgi.py -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/etc creating /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/scripts copying build/lib/spark/proj/scripts/twistedctl.py -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/scripts copying build/lib/spark/proj/scripts/__init__.py -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/scripts copying build/lib/spark/proj/scripts/server2.py -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/scripts copying build/lib/spark/proj/scripts/server.py -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/scripts copying build/lib/spark/proj/scripts/twisted_server.py -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/scripts creating /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/controllers copying build/lib/spark/proj/controllers/default_controller.py -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/controllers copying build/lib/spark/proj/controllers/__init__.py -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/controllers copying build/lib/spark/storm.py -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark copying build/lib/spark/spark_admin.py -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark copying build/lib/spark/dbmysql.py -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark copying build/lib/spark/ReqWSGI.py -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark copying build/lib/spark/storm_testsqlite.py -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark copying build/lib/spark/sprite.py -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark copying build/lib/spark/storm_test.py -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark copying build/lib/spark/ReqModPython.py -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark copying build/lib/spark/storm_testmysql.py -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark copying build/lib/spark/__init__.py -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark copying build/lib/spark/session.py -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark copying build/lib/spark/dbsqlite.py -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark creating /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/contribs copying build/lib/spark/contribs/ez_setup.py -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/contribs copying build/lib/spark/contribs/__init__.py -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/contribs copying build/lib/spark/contribs/progress.py -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/contribs copying build/lib/spark/ReqTwisted.py -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark copying build/lib/spark/ReqBase.py -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark byte-compiling /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/files/create_admin.py to create_admin.cpython-39.pyc File "/usr/lib/python3.9/site-packages/spark/proj/files/create_admin.py", line 20 print "Username too short!" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Username too short!")? byte-compiling /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/etc/modpython.py to modpython.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/etc/cgiserver.py to cgiserver.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/etc/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/etc/runcgi.py to runcgi.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/scripts/twistedctl.py to twistedctl.cpython-39.pyc File "/usr/lib/python3.9/site-packages/spark/proj/scripts/twistedctl.py", line 18 print 'Error:', msg ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print('Error:', msg)? byte-compiling /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/scripts/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/scripts/server2.py to server2.cpython-39.pyc File "/usr/lib/python3.9/site-packages/spark/proj/scripts/server2.py", line 43 print "script missing" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("script missing")? byte-compiling /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/scripts/server.py to server.cpython-39.pyc File "/usr/lib/python3.9/site-packages/spark/proj/scripts/server.py", line 165 except SystemExit, sts: ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/scripts/twisted_server.py to twisted_server.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/controllers/default_controller.py to default_controller.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/controllers/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/storm.py to storm.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/spark_admin.py to spark_admin.cpython-39.pyc File "/usr/lib/python3.9/site-packages/spark/spark_admin.py", line 49 os.chmod(join(proj_dir,'etc','cgiserver.py'),0755) ^ SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers byte-compiling /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/dbmysql.py to dbmysql.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/ReqWSGI.py to ReqWSGI.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/storm_testsqlite.py to storm_testsqlite.cpython-39.pyc File "/usr/lib/python3.9/site-packages/spark/storm_testsqlite.py", line 83 print "%s %s said:" % (o3.firstname,o3.lastname) ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/sprite.py to sprite.cpython-39.pyc File "/usr/lib/python3.9/site-packages/spark/sprite.py", line 113 os.chmod(self.cache_file, 0644) ^ SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers byte-compiling /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/storm_test.py to storm_test.cpython-39.pyc File "/usr/lib/python3.9/site-packages/spark/storm_test.py", line 86 print "%s %s said:" % (o3.firstname,o3.lastname) ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/ReqModPython.py to ReqModPython.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/storm_testmysql.py to storm_testmysql.cpython-39.pyc File "/usr/lib/python3.9/site-packages/spark/storm_testmysql.py", line 86 print "%s %s said:" % (o3.firstname,o3.lastname) ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/session.py to session.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/dbsqlite.py to dbsqlite.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/contribs/ez_setup.py to ez_setup.cpython-39.pyc File "/usr/lib/python3.9/site-packages/spark/contribs/ez_setup.py", line 82 except pkg_resources.VersionConflict, e: ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/contribs/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/contribs/progress.py to progress.cpython-39.pyc File "/usr/lib/python3.9/site-packages/spark/contribs/progress.py", line 275 if type(number) == type(1) or type(number) == type(1L): ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/ReqTwisted.py to ReqTwisted.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/ReqBase.py to ReqBase.cpython-39.pyc writing byte-compilation script '/tmp/tmpr7sldvyc.py' /usr/bin/python3 /tmp/tmpr7sldvyc.py File "/usr/lib/python3.9/site-packages/spark/proj/files/create_admin.py", line 20 print "Username too short!" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Username too short!")? File "/usr/lib/python3.9/site-packages/spark/proj/scripts/twistedctl.py", line 18 print 'Error:', msg ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print('Error:', msg)? File "/usr/lib/python3.9/site-packages/spark/proj/scripts/server2.py", line 43 print "script missing" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("script missing")? File "/usr/lib/python3.9/site-packages/spark/proj/scripts/server.py", line 165 except SystemExit, sts: ^ SyntaxError: invalid syntax File "/usr/lib/python3.9/site-packages/spark/spark_admin.py", line 49 os.chmod(join(proj_dir,'etc','cgiserver.py'),0755) ^ SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers File "/usr/lib/python3.9/site-packages/spark/storm_testsqlite.py", line 83 print "%s %s said:" % (o3.firstname,o3.lastname) ^ SyntaxError: invalid syntax File "/usr/lib/python3.9/site-packages/spark/sprite.py", line 113 os.chmod(self.cache_file, 0644) ^ SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers File "/usr/lib/python3.9/site-packages/spark/storm_test.py", line 86 print "%s %s said:" % (o3.firstname,o3.lastname) ^ SyntaxError: invalid syntax File "/usr/lib/python3.9/site-packages/spark/storm_testmysql.py", line 86 print "%s %s said:" % (o3.firstname,o3.lastname) ^ SyntaxError: invalid syntax File "/usr/lib/python3.9/site-packages/spark/contribs/ez_setup.py", line 82 except pkg_resources.VersionConflict, e: ^ SyntaxError: invalid syntax File "/usr/lib/python3.9/site-packages/spark/contribs/progress.py", line 275 if type(number) == type(1) or type(number) == type(1L): ^ SyntaxError: invalid syntax removing /tmp/tmpr7sldvyc.py running install_scripts creating /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/bin copying build/scripts-3.9/spark -> /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/bin changing mode of /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/bin/spark to 755 running install_egg_info Writing /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark-0.2.1-py3.9.egg-info + install -d -m755 /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64//usr/share/doc/python-spark + '[' -d doc ']' ~/build/BUILDROOT/python-spark-0.2.1-1.aarch64 ~/build/BUILD/spark-0.2.1 + '[' -d docs ']' + '[' -d example ']' + '[' -d examples ']' + pushd /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64 + '[' -d usr/lib ']' + find usr/lib -type f -printf '/%h/%f\n' + '[' -d usr/lib64 ']' + '[' -d usr/bin ']' + find usr/bin -type f -printf '/%h/%f\n' + '[' -d usr/sbin ']' + touch doclist.lst + '[' -d usr/share/man ']' ~/build/BUILD/spark-0.2.1 + popd + mv /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/filelist.lst . + mv /builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/doclist.lst . + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 0.2.1-1 --unique-debug-suffix -0.2.1-1.aarch64 --unique-debug-src-base python-spark-0.2.1-1.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/spark-0.2.1 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-spark-0.2.1-1.aarch64/usr/lib/python3.9 using /usr/bin/python3.9 *** Error compiling '/builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/contribs/ez_setup.py'... File "/usr/lib/python3.9/site-packages/spark/contribs/ez_setup.py", line 82 except pkg_resources.VersionConflict, e: ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/contribs/progress.py'... File "/usr/lib/python3.9/site-packages/spark/contribs/progress.py", line 275 if type(number) == type(1) or type(number) == type(1L): ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/files/create_admin.py'... File "/usr/lib/python3.9/site-packages/spark/proj/files/create_admin.py", line 20 print "Username too short!" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Username too short!")? *** Error compiling '/builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/scripts/server.py'... File "/usr/lib/python3.9/site-packages/spark/proj/scripts/server.py", line 165 except SystemExit, sts: ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/scripts/server2.py'... File "/usr/lib/python3.9/site-packages/spark/proj/scripts/server2.py", line 43 print "script missing" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("script missing")? *** Error compiling '/builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/proj/scripts/twistedctl.py'... File "/usr/lib/python3.9/site-packages/spark/proj/scripts/twistedctl.py", line 18 print 'Error:', msg ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print('Error:', msg)? *** Error compiling '/builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/spark_admin.py'... File "/usr/lib/python3.9/site-packages/spark/spark_admin.py", line 49 os.chmod(join(proj_dir,'etc','cgiserver.py'),0755) ^ SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers *** Error compiling '/builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/sprite.py'... File "/usr/lib/python3.9/site-packages/spark/sprite.py", line 113 os.chmod(self.cache_file, 0644) ^ SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers *** Error compiling '/builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/storm_test.py'... File "/usr/lib/python3.9/site-packages/spark/storm_test.py", line 86 print "%s %s said:" % (o3.firstname,o3.lastname) ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/storm_testmysql.py'... File "/usr/lib/python3.9/site-packages/spark/storm_testmysql.py", line 86 print "%s %s said:" % (o3.firstname,o3.lastname) ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-spark-0.2.1-1.aarch64/usr/lib/python3.9/site-packages/spark/storm_testsqlite.py'... File "/usr/lib/python3.9/site-packages/spark/storm_testsqlite.py", line 83 print "%s %s said:" % (o3.firstname,o3.lastname) ^ SyntaxError: invalid syntax error: Bad exit status from /var/tmp/rpm-tmp.lZVUyT (%install) Bad exit status from /var/tmp/rpm-tmp.lZVUyT (%install) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-spark.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 aarch64 --nodeps /builddir/build/SPECS/python-spark.spec