<86>Apr 23 00:57:48 userdel[85135]: delete user 'rooter' <86>Apr 23 00:57:48 userdel[85135]: removed group 'rooter' owned by 'rooter' <86>Apr 23 00:57:48 groupadd[85140]: group added to /etc/group: name=rooter, GID=567 <86>Apr 23 00:57:48 groupadd[85140]: group added to /etc/gshadow: name=rooter <86>Apr 23 00:57:48 groupadd[85140]: new group: name=rooter, GID=567 <86>Apr 23 00:57:48 useradd[85145]: new user: name=rooter, UID=567, GID=567, home=/root, shell=/bin/bash <86>Apr 23 00:57:48 userdel[85166]: delete user 'builder' <86>Apr 23 00:57:48 userdel[85166]: removed group 'builder' owned by 'builder' <86>Apr 23 00:57:48 userdel[85166]: removed shadow group 'builder' owned by 'builder' <86>Apr 23 00:57:48 groupadd[85178]: group added to /etc/group: name=builder, GID=568 <86>Apr 23 00:57:48 groupadd[85178]: group added to /etc/gshadow: name=builder <86>Apr 23 00:57:48 groupadd[85178]: new group: name=builder, GID=568 <86>Apr 23 00:57:48 useradd[85195]: new user: name=builder, UID=568, GID=568, home=/usr/src, shell=/bin/bash <13>Apr 23 00:57:51 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Apr 23 00:57:51 rpmi: libexpat-2.2.4-alt1 1503305341 installed <13>Apr 23 00:57:51 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Apr 23 00:57:51 rpmi: libtasn1-4.13-alt2 1521133848 installed <13>Apr 23 00:57:51 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 23 00:57:51 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 23 00:57:51 rpmi: ca-certificates-2019.03.31-alt1 sisyphus+226302.100.1.1 1554055265 installed <13>Apr 23 00:57:51 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Apr 23 00:57:51 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Apr 23 00:57:51 rpmi: libcrypto1.1-1.1.1b-alt2 sisyphus+227249.100.2.1 1555667802 installed <13>Apr 23 00:57:51 rpmi: libssl1.1-1.1.1b-alt2 sisyphus+227249.100.2.1 1555667802 installed <13>Apr 23 00:57:51 rpmi: python3-3.7.3-alt1 sisyphus+225625.574.90.1 1555274084 installed <13>Apr 23 00:57:52 rpmi: libpython3-3.7.3-alt1 sisyphus+225625.574.90.1 1555274084 installed <13>Apr 23 00:57:53 rpmi: python3-base-3.7.3-alt1 sisyphus+225625.574.90.1 1555274084 installed <13>Apr 23 00:57:53 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Apr 23 00:57:53 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Apr 23 00:57:58 rpmi: python3-module-pkg_resources-1:40.8.0-alt1 sisyphus+221229.100.2.1 1550559950 installed <13>Apr 23 00:57:58 rpmi: python-modules-curses-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Apr 23 00:57:58 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Apr 23 00:57:58 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Apr 23 00:57:58 rpmi: python3-dev-3.7.3-alt1 sisyphus+225625.574.90.1 1555274084 installed <13>Apr 23 00:57:58 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>Apr 23 00:57:58 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>Apr 23 00:57:58 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <86>Apr 23 00:57:58 groupadd[93093]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 23 00:57:58 groupadd[93093]: group added to /etc/gshadow: name=_keytab <86>Apr 23 00:57:58 groupadd[93093]: new group: name=_keytab, GID=499 <13>Apr 23 00:57:58 rpmi: libkrb5-1.16.3-alt1 sisyphus+223678.100.1.1 1551746443 installed <13>Apr 23 00:57:58 rpmi: libtirpc-1.0.3-alt1 1532008015 installed <13>Apr 23 00:57:58 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>Apr 23 00:57:58 rpmi: python-modules-compiler-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Apr 23 00:57:58 rpmi: python-modules-email-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Apr 23 00:57:58 rpmi: python-modules-unittest-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Apr 23 00:57:58 rpmi: python-modules-encodings-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Apr 23 00:57:59 rpmi: python-modules-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Apr 23 00:57:59 rpmi: python-modules-nis-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Apr 23 00:57:59 rpmi: python-modules-ctypes-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Apr 23 00:57:59 rpmi: python-modules-multiprocessing-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Apr 23 00:57:59 rpmi: python-modules-logging-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Apr 23 00:57:59 rpmi: python-tools-2to3-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Apr 23 00:57:59 rpmi: python-modules-xml-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Apr 23 00:57:59 rpmi: python-modules-hotshot-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Apr 23 00:57:59 rpmi: python-modules-bsddb-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Apr 23 00:57:59 rpmi: python-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Apr 23 00:57:59 rpmi: python-modules-distutils-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Apr 23 00:57:59 rpmi: python-module-pkg_resources-1:40.8.0-alt1 sisyphus+221229.100.2.1 1550559950 installed <13>Apr 23 00:57:59 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548748 installed <13>Apr 23 00:57:59 rpmi: python-dev-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Apr 23 00:57:59 rpmi: python-module-setuptools-1:40.8.0-alt1 sisyphus+221229.100.2.1 1550559950 installed <13>Apr 23 00:57:59 rpmi: python3-module-setuptools-1:40.8.0-alt1 sisyphus+221229.100.2.1 1550559950 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/python-module-zc.monitor-0.3.1-alt2.1.1.nosrc.rpm Installing python-module-zc.monitor-0.3.1-alt2.1.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.82992 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-zc.monitor-0.3.1 + echo 'Source #0 (python-module-zc.monitor-0.3.1.tar):' Source #0 (python-module-zc.monitor-0.3.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-zc.monitor-0.3.1.tar + cd python-module-zc.monitor-0.3.1 + /bin/chmod -c -Rf u+rwX,go-w . + cp -fR . ../python3 + find ../python3 -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: No changes to ../python3/src/zc/monitor/tests.py RefactoringTool: No changes to ../python3/src/zc/monitor/interfaces.py RefactoringTool: Refactored ../python3/src/zc/monitor/__init__.py RefactoringTool: No changes to ../python3/src/zc/__init__.py RefactoringTool: No changes to ../python3/setup.py RefactoringTool: Refactored ../python3/.bootstrap/bootstrap.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/src/zc/monitor/tests.py RefactoringTool: ../python3/src/zc/monitor/interfaces.py RefactoringTool: ../python3/src/zc/monitor/__init__.py RefactoringTool: ../python3/src/zc/__init__.py RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/.bootstrap/bootstrap.py --- ../python3/src/zc/monitor/__init__.py (original) +++ ../python3/src/zc/monitor/__init__.py (refactored) @@ -56,9 +56,9 @@ else: try: res = command(connection, *args) - except Exception, v: + except Exception as v: traceback.print_exc(100, connection) - print >> connection, "%s: %s\n" % (v.__class__.__name__, v) + print("%s: %s\n" % (v.__class__.__name__, v), file=connection) else: if res in (INTERACTIVE_MARKER, QUIT_MARKER, MORE_MARKER): self.mode = res @@ -88,7 +88,7 @@ elif isinstance(address, tuple): #an (address, port) tuple is passed ourAddress = address - elif isinstance(address, basestring): + elif isinstance(address, str): #a unix domain socket string is passed ourAddress = address if os.path.exists(ourAddress): @@ -99,7 +99,7 @@ try: global last_listener last_listener = zc.ngi.async.listener(ourAddress, Server) - except socket.error, e: + except socket.error as e: if e.args[0] == errno.EADDRINUSE: # Don't kill the process just because somebody else has our port. # This might be a zopectl debug or some other innocuous problem. --- ../python3/.bootstrap/bootstrap.py (original) +++ ../python3/.bootstrap/bootstrap.py (refactored) @@ -18,7 +18,7 @@ use the -c option to specify an alternate configuration file. """ -import os, shutil, sys, tempfile, urllib, urllib2, subprocess +import os, shutil, sys, tempfile, urllib.request, urllib.parse, urllib.error, urllib.request, urllib.error, urllib.parse, subprocess from optparse import OptionParser if sys.platform == 'win32': @@ -50,7 +50,7 @@ # We will restart with python -S. args = sys.argv[:] args[0:0] = [sys.executable, '-S'] - args = map(quote, args) + args = list(map(quote, args)) os.execv(sys.executable, args) # Now we are running with -S. We'll get the clean sys.path, import site # because distutils will do it later, and then reset the path and clean @@ -59,7 +59,7 @@ clean_path = sys.path[:] import site # imported because of its side effects sys.path[:] = clean_path -for k, v in sys.modules.items(): +for k, v in list(sys.modules.items()): if k in ('setuptools', 'pkg_resources') or ( hasattr(v, '__path__') and len(v.__path__) == 1 and @@ -78,7 +78,7 @@ if value: if '://' not in value: # It doesn't smell like a URL. value = 'file://%s' % ( - urllib.pathname2url( + urllib.request.pathname2url( os.path.abspath(os.path.expanduser(value))),) if opt_str == '--download-base' and not value.endswith('/'): # Download base needs a trailing slash to make the world happy. @@ -161,10 +161,10 @@ if not hasattr(pkg_resources, '_distribute'): raise ImportError except ImportError: - ez_code = urllib2.urlopen( + ez_code = urllib.request.urlopen( options.setup_source).read().replace('\r\n', '\n') ez = {} - exec ez_code in ez + exec(ez_code, ez) setup_args = dict(to_dir=eggs_dir, download_delay=0) if options.download_base: setup_args['download_base'] = options.download_base + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.54795 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-zc.monitor-0.3.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python setup.py build running build running build_py creating build creating build/lib creating build/lib/zc copying src/zc/__init__.py -> build/lib/zc creating build/lib/zc/monitor copying src/zc/monitor/tests.py -> build/lib/zc/monitor copying src/zc/monitor/interfaces.py -> build/lib/zc/monitor copying src/zc/monitor/__init__.py -> build/lib/zc/monitor running egg_info writing requirements to src/zc.monitor.egg-info/requires.txt writing src/zc.monitor.egg-info/PKG-INFO writing namespace_packages to src/zc.monitor.egg-info/namespace_packages.txt writing top-level names to src/zc.monitor.egg-info/top_level.txt writing dependency_links to src/zc.monitor.egg-info/dependency_links.txt reading manifest file 'src/zc.monitor.egg-info/SOURCES.txt' writing manifest file 'src/zc.monitor.egg-info/SOURCES.txt' copying src/zc/monitor/CHANGES.txt -> build/lib/zc/monitor copying src/zc/monitor/README.txt -> build/lib/zc/monitor copying src/zc/monitor/unix-sockets.txt -> build/lib/zc/monitor + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-zc.monitor-0.3.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python3 setup.py build running build running build_py creating build creating build/lib creating build/lib/zc copying src/zc/__init__.py -> build/lib/zc creating build/lib/zc/monitor copying src/zc/monitor/tests.py -> build/lib/zc/monitor copying src/zc/monitor/interfaces.py -> build/lib/zc/monitor copying src/zc/monitor/__init__.py -> build/lib/zc/monitor running egg_info writing src/zc.monitor.egg-info/PKG-INFO writing dependency_links to src/zc.monitor.egg-info/dependency_links.txt writing namespace_packages to src/zc.monitor.egg-info/namespace_packages.txt writing requirements to src/zc.monitor.egg-info/requires.txt writing top-level names to src/zc.monitor.egg-info/top_level.txt reading manifest file 'src/zc.monitor.egg-info/SOURCES.txt' writing manifest file 'src/zc.monitor.egg-info/SOURCES.txt' copying src/zc/monitor/CHANGES.txt -> build/lib/zc/monitor copying src/zc/monitor/README.txt -> build/lib/zc/monitor copying src/zc/monitor/unix-sockets.txt -> build/lib/zc/monitor + popd ~/RPM/BUILD/python-module-zc.monitor-0.3.1 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.4536 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-zc.monitor-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-zc.monitor-buildroot + cd python-module-zc.monitor-0.3.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-zc.monitor-buildroot --force running install running install_lib Skipping installation of /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib/python2.7/site-packages/zc/__init__.py (namespace package) copying zc/monitor/unix-sockets.txt -> /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib/python2.7/site-packages/zc/monitor copying zc/monitor/README.txt -> /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib/python2.7/site-packages/zc/monitor copying zc/monitor/CHANGES.txt -> /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib/python2.7/site-packages/zc/monitor copying zc/monitor/__init__.py -> /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib/python2.7/site-packages/zc/monitor copying zc/monitor/interfaces.py -> /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib/python2.7/site-packages/zc/monitor copying zc/monitor/tests.py -> /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib/python2.7/site-packages/zc/monitor byte-compiling /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib/python2.7/site-packages/zc/monitor/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib/python2.7/site-packages/zc/monitor/interfaces.py to interfaces.pyc byte-compiling /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib/python2.7/site-packages/zc/monitor/tests.py to tests.pyc running install_egg_info running egg_info writing requirements to src/zc.monitor.egg-info/requires.txt writing src/zc.monitor.egg-info/PKG-INFO writing namespace_packages to src/zc.monitor.egg-info/namespace_packages.txt writing top-level names to src/zc.monitor.egg-info/top_level.txt writing dependency_links to src/zc.monitor.egg-info/dependency_links.txt reading manifest file 'src/zc.monitor.egg-info/SOURCES.txt' writing manifest file 'src/zc.monitor.egg-info/SOURCES.txt' Copying src/zc.monitor.egg-info to /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib/python2.7/site-packages/zc.monitor-0.3.1-py2.7.egg-info Installing /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib/python2.7/site-packages/zc.monitor-0.3.1-py2.7-nspkg.pth running install_scripts + install -d /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python2.7/site-packages + mv /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib/python2.7/site-packages/zc /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib/python2.7/site-packages/zc.monitor-0.3.1-py2.7-nspkg.pth /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib/python2.7/site-packages/zc.monitor-0.3.1-py2.7.egg-info /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python2.7/site-packages/ + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-zc.monitor-0.3.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-zc.monitor-buildroot --force running install running install_lib Skipping installation of /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib/python3/site-packages/zc/__init__.py (namespace package) copying zc/monitor/unix-sockets.txt -> /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib/python3/site-packages/zc/monitor copying zc/monitor/README.txt -> /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib/python3/site-packages/zc/monitor copying zc/monitor/CHANGES.txt -> /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib/python3/site-packages/zc/monitor copying zc/monitor/__init__.py -> /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib/python3/site-packages/zc/monitor copying zc/monitor/interfaces.py -> /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib/python3/site-packages/zc/monitor copying zc/monitor/tests.py -> /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib/python3/site-packages/zc/monitor byte-compiling /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib/python3/site-packages/zc/monitor/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib/python3/site-packages/zc/monitor/interfaces.py to interfaces.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib/python3/site-packages/zc/monitor/tests.py to tests.cpython-37.pyc running install_egg_info running egg_info writing src/zc.monitor.egg-info/PKG-INFO writing dependency_links to src/zc.monitor.egg-info/dependency_links.txt writing namespace_packages to src/zc.monitor.egg-info/namespace_packages.txt writing requirements to src/zc.monitor.egg-info/requires.txt writing top-level names to src/zc.monitor.egg-info/top_level.txt reading manifest file 'src/zc.monitor.egg-info/SOURCES.txt' writing manifest file 'src/zc.monitor.egg-info/SOURCES.txt' Copying src/zc.monitor.egg-info to /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib/python3/site-packages/zc.monitor-0.3.1-py3.7.egg-info Installing /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib/python3/site-packages/zc.monitor-0.3.1-py3.7-nspkg.pth running install_scripts File "/usr/lib/python3/site-packages/zc/monitor/__init__.py", line 82 import zc.ngi.async ^ SyntaxError: invalid syntax + popd ~/RPM/BUILD/python-module-zc.monitor-0.3.1 + install -d /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python3/site-packages + mv /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib/python3/site-packages/zc /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib/python3/site-packages/zc.monitor-0.3.1-py3.7-nspkg.pth /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib/python3/site-packages/zc.monitor-0.3.1-py3.7.egg-info /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python3/site-packages/ + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-zc.monitor-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-zc.monitor-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python-module-zc.monitor-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-zc.monitor-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-zc.monitor-buildroot ./usr/lib64: ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-zc.monitor-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/python-module-zc.monitor-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python2.7/site-packages/zc/monitor/__init__.pyc unlink /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python2.7/site-packages/zc/monitor/interfaces.pyc unlink /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python2.7/site-packages/zc/monitor/tests.pyc compile /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python2.7/site-packages/zc/monitor/__init__.py compile /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python2.7/site-packages/zc/monitor/interfaces.py compile /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python2.7/site-packages/zc/monitor/tests.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-zc.monitor-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python2.7/site-packages/zc/monitor/__init__.py compile /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python2.7/site-packages/zc/monitor/interfaces.py compile /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python2.7/site-packages/zc/monitor/tests.py Bytecompiling python3 modules in /usr/src/tmp/python-module-zc.monitor-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python3/site-packages/zc/monitor/__pycache__/interfaces.cpython-37.pyc unlink /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python3/site-packages/zc/monitor/__pycache__/tests.cpython-37.pyc compile /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python3/site-packages/zc/monitor/__init__.py /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python3/site-packages/zc/monitor/__init__.py can't be compiled : File "/usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python3/site-packages/zc/monitor/__init__.py", line 82 import zc.ngi.async ^ SyntaxError: invalid syntax compile /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python3/site-packages/zc/monitor/interfaces.py compile /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python3/site-packages/zc/monitor/tests.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-zc.monitor-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python3/site-packages/zc/monitor/__init__.py /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python3/site-packages/zc/monitor/__init__.py can't be compiled : File "/usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python3/site-packages/zc/monitor/__init__.py", line 82 import zc.ngi.async ^ SyntaxError: invalid syntax compile /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python3/site-packages/zc/monitor/interfaces.py compile /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python3/site-packages/zc/monitor/tests.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-zc.monitor-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python3/site-packages/zc/monitor/__init__.py /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python3/site-packages/zc/monitor/__init__.py can't be compiled : File "/usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python3/site-packages/zc/monitor/__init__.py", line 82 import zc.ngi.async ^ SyntaxError: invalid syntax compile /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python3/site-packages/zc/monitor/interfaces.py compile /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python3/site-packages/zc/monitor/tests.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib64/python3/site-packages/zc/monitor/__pycache__/tests.cpython-37.opt-1.pyc' => './usr/lib64/python3/site-packages/zc/monitor/__pycache__/tests.cpython-37.pyc' './usr/lib64/python3/site-packages/zc/monitor/__pycache__/tests.cpython-37.opt-2.pyc' => './usr/lib64/python3/site-packages/zc/monitor/__pycache__/tests.cpython-37.opt-1.pyc' './usr/lib64/python3/site-packages/zc/monitor/__pycache__/interfaces.cpython-37.opt-1.pyc' => './usr/lib64/python3/site-packages/zc/monitor/__pycache__/interfaces.cpython-37.pyc' Hardlinking identical .pyc and .pyo files './usr/lib64/python2.7/site-packages/zc/monitor/tests.pyo' => './usr/lib64/python2.7/site-packages/zc/monitor/tests.pyc' './usr/lib64/python2.7/site-packages/zc/monitor/interfaces.pyo' => './usr/lib64/python2.7/site-packages/zc/monitor/interfaces.pyc' './usr/lib64/python2.7/site-packages/zc/monitor/__init__.pyo' => './usr/lib64/python2.7/site-packages/zc/monitor/__init__.pyc' Processing files: python-module-zc.monitor-0.3.1-alt2.1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.97987 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-zc.monitor-0.3.1 + DOCDIR=/usr/src/tmp/python-module-zc.monitor-buildroot/usr/share/doc/python-module-zc.monitor-0.3.1 + export DOCDIR + rm -rf /usr/src/tmp/python-module-zc.monitor-buildroot/usr/share/doc/python-module-zc.monitor-0.3.1 + /bin/mkdir -p /usr/src/tmp/python-module-zc.monitor-buildroot/usr/share/doc/python-module-zc.monitor-0.3.1 + cp -prL CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt /usr/src/tmp/python-module-zc.monitor-buildroot/usr/share/doc/python-module-zc.monitor-0.3.1 + chmod -R go-w /usr/src/tmp/python-module-zc.monitor-buildroot/usr/share/doc/python-module-zc.monitor-0.3.1 + chmod -R a+rX /usr/src/tmp/python-module-zc.monitor-buildroot/usr/share/doc/python-module-zc.monitor-0.3.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.WHbfuJ find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.swkWsR find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) python.req: /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python2.7/site-packages/zc/monitor/__init__.py: skipping errno /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python2.7/site-packages/zc/monitor/__init__.py: line=32 IGNORE (for REQ=slight and deep=11) module=zc /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python2.7/site-packages/zc/monitor/__init__.py: line=82 IGNORE (for REQ=slight and deep=8) module=zc Provides: python2.7(zc.monitor), python2.7(zc.monitor.interfaces) Requires: python2.7(zc.ngi), python2.7(zope.component), python2.7(zope.testing), /usr/lib64/python2.7/site-packages, python-modules, python2.7(logging), python2.7(zc), python2.7(zope) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.s4mOW2 Processing files: python3-module-zc.monitor-0.3.1-alt2.1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.58780 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-zc.monitor-0.3.1 + DOCDIR=/usr/src/tmp/python-module-zc.monitor-buildroot/usr/share/doc/python3-module-zc.monitor-0.3.1 + export DOCDIR + rm -rf /usr/src/tmp/python-module-zc.monitor-buildroot/usr/share/doc/python3-module-zc.monitor-0.3.1 + /bin/mkdir -p /usr/src/tmp/python-module-zc.monitor-buildroot/usr/share/doc/python3-module-zc.monitor-0.3.1 + cp -prL CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt /usr/src/tmp/python-module-zc.monitor-buildroot/usr/share/doc/python3-module-zc.monitor-0.3.1 + chmod -R go-w /usr/src/tmp/python-module-zc.monitor-buildroot/usr/share/doc/python3-module-zc.monitor-0.3.1 + chmod -R a+rX /usr/src/tmp/python-module-zc.monitor-buildroot/usr/share/doc/python3-module-zc.monitor-0.3.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.IU0exj find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.U4vNDD find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) python3.req: ERROR: /usr/src/tmp/python-module-zc.monitor-buildroot/usr/lib64/python3/site-packages/zc/monitor/__init__.py: invalid syntax (, line 82) Traceback (most recent call last): File "/usr/lib/rpm/python3.req.py", line 286, in lis = parser.suite('\n'.join(lines)+'\n').tolist(line_info=1) File "", line 82 import zc.ngi.async ^ SyntaxError: invalid syntax find-requires: ERROR: /usr/lib/rpm/python3.req failed error: /bin/sh failed error: Failed to find Requires RPM build errors: /bin/sh failed Failed to find Requires Command exited with non-zero status 1 8.52user 1.02system 0:14.56elapsed 65%CPU (0avgtext+0avgdata 28320maxresident)k 0inputs+0outputs (0major+289557minor)pagefaults 0swaps hsh-rebuild: rebuild of `python-module-zc.monitor-0.3.1-alt2.1.1.src.rpm' failed. Command exited with non-zero status 1 24.87user 6.43system 0:37.38elapsed 83%CPU (0avgtext+0avgdata 113820maxresident)k 0inputs+0outputs (0major+687697minor)pagefaults 0swaps