<86>Mar 15 10:46:46 userdel[2565102]: delete user 'rooter' <86>Mar 15 10:46:46 userdel[2565102]: removed group 'rooter' owned by 'rooter' <86>Mar 15 10:46:46 userdel[2565102]: removed shadow group 'rooter' owned by 'rooter' <86>Mar 15 10:46:46 groupadd[2565126]: group added to /etc/group: name=rooter, GID=615 <86>Mar 15 10:46:46 groupadd[2565126]: group added to /etc/gshadow: name=rooter <86>Mar 15 10:46:46 groupadd[2565126]: new group: name=rooter, GID=615 <86>Mar 15 10:46:46 useradd[2565143]: new user: name=rooter, UID=615, GID=615, home=/root, shell=/bin/bash <86>Mar 15 10:46:46 userdel[2565167]: delete user 'builder' <86>Mar 15 10:46:46 userdel[2565167]: removed group 'builder' owned by 'builder' <86>Mar 15 10:46:46 userdel[2565167]: removed shadow group 'builder' owned by 'builder' <86>Mar 15 10:46:46 groupadd[2565188]: group added to /etc/group: name=builder, GID=616 <86>Mar 15 10:46:46 groupadd[2565188]: group added to /etc/gshadow: name=builder <86>Mar 15 10:46:46 groupadd[2565188]: new group: name=builder, GID=616 <86>Mar 15 10:46:46 useradd[2565207]: new user: name=builder, UID=616, GID=616, home=/usr/src, shell=/bin/bash <13>Mar 15 10:46:49 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Mar 15 10:46:49 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Mar 15 10:46:49 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Mar 15 10:46:49 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Mar 15 10:46:49 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Mar 15 10:46:49 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Mar 15 10:46:49 rpmi: ca-certificates-2020.01.23-alt1 p9+245253.100.3.1 1580749631 installed <13>Mar 15 10:46:49 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Mar 15 10:46:49 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Mar 15 10:46:49 rpmi: libcrypto1.1-1.1.1d-alt1.1 p9+237853.200.3.1 1569251834 installed <13>Mar 15 10:46:49 rpmi: libssl1.1-1.1.1d-alt1.1 p9+237853.200.3.1 1569251834 installed <13>Mar 15 10:46:49 rpmi: python3-3.7.4-alt2 p9+239459.100.1.1 1571444790 installed <13>Mar 15 10:46:49 rpmi: libpython3-3.7.4-alt2 p9+239459.100.1.1 1571444790 installed <13>Mar 15 10:46:50 rpmi: python3-base-3.7.4-alt2 p9+239459.100.1.1 1571444790 installed <13>Mar 15 10:46:50 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Mar 15 10:46:50 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Mar 15 10:46:54 rpmi: python3-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Mar 15 10:46:54 rpmi: python-modules-curses-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Mar 15 10:46:54 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Mar 15 10:46:54 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Mar 15 10:46:54 rpmi: python3-dev-3.7.4-alt2 p9+239459.100.1.1 1571444790 installed <13>Mar 15 10:46:54 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Mar 15 10:46:54 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Mar 15 10:46:54 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Mar 15 10:46:54 groupadd[2589447]: group added to /etc/group: name=_keytab, GID=499 <86>Mar 15 10:46:54 groupadd[2589447]: group added to /etc/gshadow: name=_keytab <86>Mar 15 10:46:54 groupadd[2589447]: new group: name=_keytab, GID=499 <13>Mar 15 10:46:55 rpmi: libkrb5-1.17.1-alt1 p9+242852.100.2.1 1576572639 installed <13>Mar 15 10:46:55 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Mar 15 10:46:55 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Mar 15 10:46:55 rpmi: python-modules-compiler-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Mar 15 10:46:55 rpmi: python-modules-email-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Mar 15 10:46:55 rpmi: python-modules-unittest-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Mar 15 10:46:55 rpmi: python-modules-encodings-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Mar 15 10:46:55 rpmi: python-modules-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Mar 15 10:46:55 rpmi: python-modules-nis-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Mar 15 10:46:55 rpmi: python-modules-ctypes-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Mar 15 10:46:55 rpmi: python-modules-multiprocessing-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Mar 15 10:46:55 rpmi: python-modules-logging-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Mar 15 10:46:55 rpmi: python-tools-2to3-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Mar 15 10:46:55 rpmi: python-modules-xml-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Mar 15 10:46:55 rpmi: python-modules-hotshot-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Mar 15 10:46:55 rpmi: python-modules-bsddb-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Mar 15 10:46:55 rpmi: python-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Mar 15 10:46:55 rpmi: python-modules-distutils-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Mar 15 10:46:55 rpmi: python-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Mar 15 10:46:55 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>Mar 15 10:46:55 rpmi: python-dev-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Mar 15 10:46:55 rpmi: python-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Mar 15 10:46:55 rpmi: python3-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python-module-zc.ngi-2.0.1-alt2.1.1.nosrc.rpm Installing python-module-zc.ngi-2.0.1-alt2.1.1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.86039 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-zc.ngi-2.0.1 + echo 'Source #0 (python-module-zc.ngi-2.0.1.tar):' Source #0 (python-module-zc.ngi-2.0.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-zc.ngi-2.0.1.tar + cd python-module-zc.ngi-2.0.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: Refactored ../python3/src/zc/ngi/wordcount.py RefactoringTool: Refactored ../python3/src/zc/ngi/tests.py RefactoringTool: Refactored ../python3/src/zc/ngi/testing.py --- ../python3/src/zc/ngi/wordcount.py (original) +++ ../python3/src/zc/ngi/wordcount.py (refactored) @@ -113,7 +113,7 @@ s.close() if up: break - except socket.error, e: + except socket.error as e: if e[0] not in (errno.ECONNREFUSED, errno.ECONNRESET): raise s.close() @@ -121,9 +121,9 @@ break else: if up: - print "Could not connect" + print("Could not connect") else: - print "Server still accepting connections" + print("Server still accepting connections") def start_server_process(loglevel=None): """Start a server in a subprocess and return the port used @@ -147,7 +147,7 @@ wait(addr, up=False) log = open('server.log').read() os.remove('server.log') - print log, + print(log, end=' ') sample_docs = [ """Hello world @@ -181,7 +181,7 @@ connection.set_handler(self) def failed_connect(self, reason): - print 'Failed to connect:', reason + print('Failed to connect:', reason) self.notify() def handle_input(self, connection, data): @@ -196,7 +196,7 @@ wc = len(doc.split()) expected = "%s %s %s" % (lc, wc, cc) if data != expected: - print '%r != %r' % (data, expected) + print('%r != %r' % (data, expected)) if self.docs: connection.write(self.docs[0]+'\0') else: @@ -208,7 +208,7 @@ if __debug__: logger.debug("client handle_close(%r, %r)", connection, reason) if self.docs: - print 'unexpected close', reason + print('unexpected close', reason) def client_thread(connect, addr): logger.info('client started for %s', addr) --- ../python3/src/zc/ngi/tests.py (original) +++ ../python3/src/zc/ngi/tests.py (refactored) @@ -11,7 +11,7 @@ # FOR A PARTICULAR PURPOSE. # ############################################################################## -from __future__ import with_statement + from zope.testing import setupstack import doctest --- ../python3/src/zc/ngi/testing.py (original) +++ ../python3/src/zc/ngi/testing.py (refactored) @@ -29,20 +29,20 @@ def handle_input(self, connection, data): data = repr(data) - print '->', data[:50] + print('->', data[:50]) data = data[50:] while data: - print '.>', data[:50] + print('.>', data[:50]) data = data[50:] def handle_close(self, connection, reason): if reason != 'closed': - print '-> CLOSE', reason - else: - print '-> CLOSE' + print('-> CLOSE', reason) + else: + print('-> CLOSE') def handle_exception(self, connection, exception): - print '-> EXCEPTION', exception.__class__.__name__, exception + print('-> EXCEPTION', exception.__class__.__name__, exception) class Connection: @@ -60,7 +60,7 @@ handler(peer) self.peer = peer - def __nonzero__(self): + def __bool__(self): return not self.closed queue = None @@ -102,8 +102,8 @@ raise handler(self, arg) - except Exception, v: - print "Error test connection calling connection handler:" + except Exception as v: + print("Error test connection calling connection handler:") traceback.print_exc(file=sys.stdout) if method != 'handle_close': self.close() @@ -160,7 +160,7 @@ if not isinstance(d, str): raise TypeError("Got a non-string result from iterable") self.write(d) - except Exception, v: + except Exception as v: self._exception(v) @property @@ -177,7 +177,7 @@ class TextPrintingHandler(PrintingHandler): def handle_inRefactoringTool: No changes to ../python3/src/zc/ngi/message.py RefactoringTool: No changes to ../python3/src/zc/ngi/interfaces.py RefactoringTool: Refactored ../python3/src/zc/ngi/generator.py RefactoringTool: Refactored ../python3/src/zc/ngi/doc/echo_server.py RefactoringTool: Refactored ../python3/src/zc/ngi/doc/conf.py RefactoringTool: Refactored ../python3/src/zc/ngi/blocking.py RefactoringTool: Refactored ../python3/src/zc/ngi/async.py put(self, connection, data): - print data, + print(data, end=' ') def TextConnection(peer=None, handler=TextPrintingHandler): return Connection(peer, handler) @@ -196,10 +196,10 @@ return connections.connect(handler=handler, client_address=client_address) elif connections is _recursing: - print ( + print(( "For address, %r, a connect handler called connect from a\n" "failed_connect call." - % (addr, )) + % (addr, ))) del _connectable[addr] return --- ../python3/src/zc/ngi/generator.py (original) +++ ../python3/src/zc/ngi/generator.py (refactored) @@ -59,7 +59,7 @@ def __init__(self, gen, connection): try: - gen.next() + next(gen) except StopIteration: return --- ../python3/src/zc/ngi/doc/echo_server.py (original) +++ ../python3/src/zc/ngi/doc/echo_server.py (refactored) @@ -9,10 +9,10 @@ connection.write(data.upper()) def handle_close(self, connection, reason): - print 'closed', reason + print('closed', reason) def handle_exception(self, connection, exception): - print 'oops', exception + print('oops', exception) def echo_server(connection): connection.set_handler(Echo()) --- ../python3/src/zc/ngi/doc/conf.py (original) +++ ../python3/src/zc/ngi/doc/conf.py (refactored) @@ -12,8 +12,8 @@ # serve to show the default. # General information about the project. -project = u'zc.ngi' -copyright = u'2009, Jim Fulton' +project = 'zc.ngi' +copyright = '2009, Jim Fulton' version = '2.0' import sys, os @@ -175,8 +175,8 @@ # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [ - ('contents', 'zcngi.tex', u'zc.ngi Documentation', - u'Jim Fulton', 'manual'), + ('contents', 'zcngi.tex', 'zc.ngi Documentation', + 'Jim Fulton', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of --- ../python3/src/zc/ngi/blocking.py (original) +++ ../python3/src/zc/ngi/blocking.py (refactored) @@ -116,7 +116,7 @@ exception = connector.exception del connector.exception if isinstance(exception, tuple): - raise exception[0], exception[1], exception[2] + raise exception[0](exception[1]).with_traceback(exception[2]) else: raise exception @@ -248,9 +248,9 @@ def __iter__(self): return self - def next(self): - try: - data = self._base.next() + def __next__(self): + try: + data = next(self._base) self._file._position += 1 return data except StopIteration: @@ -310,7 +310,7 @@ def __iter__(self): return self - def next(self): + def __next__(self): s = self.readline() if s: return s --- ../python3/src/zc/ngi/async.py (original) +++ ../python3/src/zc/ngi/async.py (refactored) @@ -13,7 +13,7 @@ ############################################################################## """Asyncore-based implementation of the NGI """ -from __future__ import with_statement + import asyncore import errno @@ -21,7 +21,7 @@ import os import socket import sys -import thread +import _thread import threading import time import warnings @@ -62,7 +62,7 @@ thread_ident = None def call_from_thread(self, func): - if thread.get_ident() == self.thread_ident: + if _thread.get_ident() == self.thread_ident: func() return self._callbacks.append(func) @@ -118,7 +118,7 @@ raise zc.ngi.interfaces.Timeout def loop(self, timeout=None): - self.thread_ident = thread.get_ident() + self.thread_ident = _thread.get_ident() if timeout is not None: deadline = time.time() + timeout else: @@ -169,11 +169,11 @@ trigRefactoringTool: Refactored ../python3/src/zc/ngi/adapters.py RefactoringTool: No changes to ../python3/src/zc/ngi/__init__.py RefactoringTool: No changes to ../python3/src/zc/__init__.py RefactoringTool: No changes to ../python3/setup.py RefactoringTool: Refactored ../python3/bootstrap.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/src/zc/ngi/wordcount.py RefactoringTool: ../python3/src/zc/ngi/tests.py RefactoringTool: ../python3/src/zc/ngi/testing.py RefactoringTool: ../python3/src/zc/ngi/message.py RefactoringTool: ../python3/src/zc/ngi/interfaces.py RefactoringTool: ../python3/src/zc/ngi/generator.py RefactoringTool: ../python3/src/zc/ngi/doc/echo_server.py RefactoringTool: ../python3/src/zc/ngi/doc/conf.py RefactoringTool: ../python3/src/zc/ngi/blocking.py RefactoringTool: ../python3/src/zc/ngi/async.py RefactoringTool: ../python3/src/zc/ngi/adapters.py RefactoringTool: ../python3/src/zc/ngi/__init__.py RefactoringTool: ../python3/src/zc/__init__.py RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/bootstrap.py ger.close() def cleanup_map(self): - for c in self._map.values(): + for c in list(self._map.values()): if isinstance(c, _Trigger): continue c.close() - for c in self._map.values(): + for c in list(self._map.values()): if isinstance(c, _Trigger): continue c.close() @@ -234,7 +234,7 @@ dispatcher.__init__(self, sock, addr, implementation) self.logger = logger - def __nonzero__(self): + def __bool__(self): return self.__output is not None def set_handler(self, handler): @@ -314,7 +314,7 @@ while 1: try: d = self.recv(BUFFER_SIZE) - except socket.error, err: + except socket.error as err: if err[0] in expected_socket_read_errors: return raise @@ -356,14 +356,14 @@ else: # Must be an iterator try: - v = v.next() + v = next(v) if not isinstance(v, str): raise TypeError( "writelines iterator must return strings", v) except StopIteration: # all done output.pop(0) - except Exception, v: + except Exception as v: self.logger.exception("writelines iterator failed") if self.__handler is None: self.__iterator_exception = v @@ -380,11 +380,11 @@ v = ''.join(tosend) try: n = self.send(v) - except socket.error, err: + except socket.error as err: if err[0] in expected_socket_write_errors: return # we couldn't write anything raise - except Exception, v: + except Exception as v: self.logger.exception("send failed") raise @@ -436,7 +436,7 @@ self._dispatcher = dispatcher dispatcher._connection = self - def __nonzero__(self): + def __bool__(self): return bool(self._dispatcher) def set_handler(self, handler): @@ -652,7 +652,7 @@ else: # didn't get anything. Hm. Ignore. return - except socket.error, msg: + except socket.error as msg: self.logger.exception("accepted failed: %s", msg) return if __debug__: @@ -849,7 +849,7 @@ try: w.connect(connect_address) break # success - except socket.error, detail: + except socket.error as detail: if detail[0] != errno.WSAEADDRINUSE: # "Address already in use" is the only error # I've seen on two WinXP Pro SP2 boxes, under --- ../python3/src/zc/ngi/adapters.py (original) +++ ../python3/src/zc/ngi/adapters.py (refactored) @@ -65,7 +65,7 @@ def peer_address(self): return self.connection.peer_address - def __nonzero__(self): + def __bool__(self): return bool(self.connection) class Lines(Base): --- ../python3/bootstrap.py (original) +++ ../python3/bootstrap.py (refactored) @@ -20,13 +20,13 @@ $Id: bootstrap.py 121158 2011-03-30 06:46:34Z icemac $ """ -import os, shutil, sys, tempfile, urllib2 +import os, shutil, sys, tempfile, urllib.request, urllib.error, urllib.parse tmpeggs = tempfile.mkdtemp() ez = {} -exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py' - ).read() in ez +exec(urllib.request.urlopen('http://peak.telecommunity.com/dist/ez_setup.py' + ).read(), ez) ez['use_setuptools'](to_dir=tmpeggs, download_delay=0) import pkg_resources + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.8187 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-zc.ngi-2.0.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + 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/ngi copying src/zc/ngi/wordcount.py -> build/lib/zc/ngi copying src/zc/ngi/tests.py -> build/lib/zc/ngi copying src/zc/ngi/testing.py -> build/lib/zc/ngi copying src/zc/ngi/message.py -> build/lib/zc/ngi copying src/zc/ngi/interfaces.py -> build/lib/zc/ngi copying src/zc/ngi/generator.py -> build/lib/zc/ngi copying src/zc/ngi/blocking.py -> build/lib/zc/ngi copying src/zc/ngi/async.py -> build/lib/zc/ngi copying src/zc/ngi/adapters.py -> build/lib/zc/ngi copying src/zc/ngi/__init__.py -> build/lib/zc/ngi running egg_info writing requirements to src/zc.ngi.egg-info/requires.txt writing src/zc.ngi.egg-info/PKG-INFO writing namespace_packages to src/zc.ngi.egg-info/namespace_packages.txt writing top-level names to src/zc.ngi.egg-info/top_level.txt writing dependency_links to src/zc.ngi.egg-info/dependency_links.txt reading manifest file 'src/zc.ngi.egg-info/SOURCES.txt' writing manifest file 'src/zc.ngi.egg-info/SOURCES.txt' copying src/zc/ngi/adapters.test -> build/lib/zc/ngi copying src/zc/ngi/async-udp.test -> build/lib/zc/ngi copying src/zc/ngi/async.test -> build/lib/zc/ngi copying src/zc/ngi/blocking.test -> build/lib/zc/ngi copying src/zc/ngi/message.test -> build/lib/zc/ngi copying src/zc/ngi/old.test -> build/lib/zc/ngi copying src/zc/ngi/testing.test -> build/lib/zc/ngi creating build/lib/zc/ngi/doc copying src/zc/ngi/doc/Makefile -> build/lib/zc/ngi/doc copying src/zc/ngi/doc/conf.py -> build/lib/zc/ngi/doc copying src/zc/ngi/doc/contents.txt -> build/lib/zc/ngi/doc copying src/zc/ngi/doc/echo_server.py -> build/lib/zc/ngi/doc copying src/zc/ngi/doc/index.txt -> build/lib/zc/ngi/doc copying src/zc/ngi/doc/reference.txt -> build/lib/zc/ngi/doc + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-zc.ngi-2.0.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + 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/ngi copying src/zc/ngi/wordcount.py -> build/lib/zc/ngi copying src/zc/ngi/tests.py -> build/lib/zc/ngi copying src/zc/ngi/testing.py -> build/lib/zc/ngi copying src/zc/ngi/message.py -> build/lib/zc/ngi copying src/zc/ngi/interfaces.py -> build/lib/zc/ngi copying src/zc/ngi/generator.py -> build/lib/zc/ngi copying src/zc/ngi/blocking.py -> build/lib/zc/ngi copying src/zc/ngi/async.py -> build/lib/zc/ngi copying src/zc/ngi/adapters.py -> build/lib/zc/ngi copying src/zc/ngi/__init__.py -> build/lib/zc/ngi running egg_info writing src/zc.ngi.egg-info/PKG-INFO writing dependency_links to src/zc.ngi.egg-info/dependency_links.txt writing namespace_packages to src/zc.ngi.egg-info/namespace_packages.txt writing requirements to src/zc.ngi.egg-info/requires.txt writing top-level names to src/zc.ngi.egg-info/top_level.txt reading manifest file 'src/zc.ngi.egg-info/SOURCES.txt' writing manifest file 'src/zc.ngi.egg-info/SOURCES.txt' copying src/zc/ngi/adapters.test -> build/lib/zc/ngi copying src/zc/ngi/async-udp.test -> build/lib/zc/ngi copying src/zc/ngi/async.test -> build/lib/zc/ngi copying src/zc/ngi/blocking.test -> build/lib/zc/ngi copying src/zc/ngi/message.test -> build/lib/zc/ngi copying src/zc/ngi/old.test -> build/lib/zc/ngi copying src/zc/ngi/testing.test -> build/lib/zc/ngi creating build/lib/zc/ngi/doc copying src/zc/ngi/doc/Makefile -> build/lib/zc/ngi/doc copying src/zc/ngi/doc/conf.py -> build/lib/zc/ngi/doc copying src/zc/ngi/doc/contents.txt -> build/lib/zc/ngi/doc copying src/zc/ngi/doc/echo_server.py -> build/lib/zc/ngi/doc copying src/zc/ngi/doc/index.txt -> build/lib/zc/ngi/doc copying src/zc/ngi/doc/reference.txt -> build/lib/zc/ngi/doc + popd ~/RPM/BUILD/python-module-zc.ngi-2.0.1 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.76812 + 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.ngi-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-zc.ngi-buildroot + cd python-module-zc.ngi-2.0.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-zc.ngi-buildroot --force running install running install_lib Skipping installation of /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/__init__.py (namespace package) copying zc/ngi/testing.test -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi copying zc/ngi/old.test -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi copying zc/ngi/message.test -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi copying zc/ngi/blocking.test -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi copying zc/ngi/async.test -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi copying zc/ngi/async-udp.test -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi copying zc/ngi/adapters.test -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi copying zc/ngi/__init__.py -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi copying zc/ngi/adapters.py -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi copying zc/ngi/async.py -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi copying zc/ngi/blocking.py -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi copying zc/ngi/generator.py -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi copying zc/ngi/interfaces.py -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi copying zc/ngi/message.py -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi copying zc/ngi/testing.py -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi copying zc/ngi/tests.py -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi copying zc/ngi/wordcount.py -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi copying zc/ngi/doc/reference.txt -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/doc copying zc/ngi/doc/index.txt -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/doc copying zc/ngi/doc/echo_server.py -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/doc copying zc/ngi/doc/contents.txt -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/doc copying zc/ngi/doc/conf.py -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/doc copying zc/ngi/doc/Makefile -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/doc byte-compiling /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/adapters.py to adapters.pyc byte-compiling /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/async.py to async.pyc byte-compiling /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/blocking.py to blocking.pyc byte-compiling /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/generator.py to generator.pyc byte-compiling /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/interfaces.py to interfaces.pyc byte-compiling /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/message.py to message.pyc byte-compiling /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/testing.py to testing.pyc byte-compiling /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/tests.py to tests.pyc byte-compiling /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/wordcount.py to wordcount.pyc byte-compiling /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/doc/echo_server.py to echo_server.pyc byte-compiling /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/doc/conf.py to conf.pyc running install_egg_info running egg_info writing requirements to src/zc.ngi.egg-info/requires.txt writing src/zc.ngi.egg-info/PKG-INFO writing namespace_packages to src/zc.ngi.egg-info/namespace_packages.txt writing top-level names to src/zc.ngi.egg-info/top_level.txt writing dependency_links to src/zc.ngi.egg-info/dependency_links.txt reading manifest file 'src/zc.ngi.egg-info/SOURCES.txt' writing manifest file 'src/zc.ngi.egg-info/SOURCES.txt' Copying src/zc.ngi.egg-info to /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc.ngi-2.0.1-py2.7.egg-info Installing /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc.ngi-2.0.1-py2.7-nspkg.pth running install_scripts + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-zc.ngi-2.0.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-zc.ngi-buildroot --force running install running install_lib Skipping installation of /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/__init__.py (namespace package) copying zc/ngi/testing.test -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi copying zc/ngi/old.test -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi copying zc/ngi/message.test -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi copying zc/ngi/blocking.test -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi copying zc/ngi/async.test -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi copying zc/ngi/async-udp.test -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi copying zc/ngi/adapters.test -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi copying zc/ngi/__init__.py -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi copying zc/ngi/adapters.py -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi copying zc/ngi/async.py -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi copying zc/ngi/blocking.py -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi copying zc/ngi/generator.py -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi copying zc/ngi/interfaces.py -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi copying zc/ngi/message.py -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi copying zc/ngi/testing.py -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi copying zc/ngi/tests.py -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi copying zc/ngi/wordcount.py -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi copying zc/ngi/doc/reference.txt -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/doc copying zc/ngi/doc/index.txt -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/doc copying zc/ngi/doc/echo_server.py -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/doc copying zc/ngi/doc/contents.txt -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/doc copying zc/ngi/doc/conf.py -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/doc copying zc/ngi/doc/Makefile -> /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/doc byte-compiling /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/adapters.py to adapters.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/async.py to async.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/blocking.py to blocking.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/generator.py to generator.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/interfaces.py to interfaces.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/message.py to message.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/testing.py to testing.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/tests.py to tests.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/wordcount.py to wordcount.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/doc/echo_server.py to echo_server.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/doc/conf.py to conf.cpython-37.pyc running install_egg_info running egg_info writing src/zc.ngi.egg-info/PKG-INFO writing dependency_links to src/zc.ngi.egg-info/dependency_links.txt writing namespace_packages to src/zc.ngi.egg-info/namespace_packages.txt writing requirements to src/zc.ngi.egg-info/requires.txt writing top-level names to src/zc.ngi.egg-info/top_level.txt reading manifest file 'src/zc.ngi.egg-info/SOURCES.txt' writing manifest file 'src/zc.ngi.egg-info/SOURCES.txt' Copying src/zc.ngi.egg-info to /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc.ngi-2.0.1-py3.7.egg-info Installing /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc.ngi-2.0.1-py3.7-nspkg.pth running install_scripts File "/usr/lib/python3/site-packages/zc/ngi/tests.py", line 30 import zc.ngi.async ^ SyntaxError: invalid syntax File "/usr/lib/python3/site-packages/zc/ngi/wordcount.py", line 31 import zc.ngi.async ^ SyntaxError: invalid syntax File "/usr/lib/python3/site-packages/zc/ngi/doc/echo_server.py", line 1 import logging, os, sys, zc.ngi.async ^ SyntaxError: invalid syntax + popd ~/RPM/BUILD/python-module-zc.ngi-2.0.1 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-zc.ngi-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-zc.ngi-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python-module-zc.ngi-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-zc.ngi-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-zc.ngi-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-zc.ngi-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.ngi-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/doc/conf.pyc unlink /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/doc/echo_server.pyc compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/doc/conf.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/doc/echo_server.py unlink /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/__init__.pyc unlink /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/adapters.pyc unlink /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/async.pyc unlink /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/blocking.pyc unlink /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/generator.pyc unlink /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/interfaces.pyc unlink /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/message.pyc unlink /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/testing.pyc unlink /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/tests.pyc unlink /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/wordcount.pyc compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/__init__.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/adapters.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/async.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/blocking.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/generator.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/interfaces.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/message.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/testing.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/tests.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/wordcount.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-zc.ngi-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/doc/conf.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/doc/echo_server.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/__init__.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/adapters.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/async.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/blocking.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/generator.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/interfaces.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/message.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/testing.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/tests.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/wordcount.py Bytecompiling python3 modules in /usr/src/tmp/python-module-zc.ngi-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/__pycache__/adapters.cpython-37.pyc unlink /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/__pycache__/async.cpython-37.pyc unlink /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/__pycache__/blocking.cpython-37.pyc unlink /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/__pycache__/generator.cpython-37.pyc unlink /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/__pycache__/interfaces.cpython-37.pyc unlink /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/__pycache__/message.cpython-37.pyc unlink /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/__pycache__/testing.cpython-37.pyc unlink /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/doc/__pycache__/conf.cpython-37.pyc compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/doc/conf.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/doc/echo_server.py /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/doc/echo_server.py can't be compiled : File "/usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/doc/echo_server.py", line 1 import logging, os, sys, zc.ngi.async ^ SyntaxError: invalid syntax compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/__init__.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/adapters.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/async.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/blocking.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/generator.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/interfaces.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/message.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/testing.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/tests.py /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/tests.py can't be compiled : File "/usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/tests.py", line 30 import zc.ngi.async ^ SyntaxError: invalid syntax compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/wordcount.py /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/wordcount.py can't be compiled : File "/usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/wordcount.py", line 31 import zc.ngi.async ^ SyntaxError: invalid syntax Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-zc.ngi-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/doc/conf.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/doc/echo_server.py /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/doc/echo_server.py can't be compiled : File "/usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/doc/echo_server.py", line 1 import logging, os, sys, zc.ngi.async ^ SyntaxError: invalid syntax compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/__init__.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/adapters.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/async.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/blocking.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/generator.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/interfaces.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/message.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/testing.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/tests.py /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/tests.py can't be compiled : File "/usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/tests.py", line 30 import zc.ngi.async ^ SyntaxError: invalid syntax compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/wordcount.py /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/wordcount.py can't be compiled : File "/usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/wordcount.py", line 31 import zc.ngi.async ^ SyntaxError: invalid syntax Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-zc.ngi-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/doc/conf.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/doc/echo_server.py /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/doc/echo_server.py can't be compiled : File "/usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/doc/echo_server.py", line 1 import logging, os, sys, zc.ngi.async ^ SyntaxError: invalid syntax compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/__init__.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/adapters.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/async.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/blocking.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/generator.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/interfaces.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/message.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/testing.py compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/tests.py /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/tests.py can't be compiled : File "/usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/tests.py", line 30 import zc.ngi.async ^ SyntaxError: invalid syntax compile /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/wordcount.py /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/wordcount.py can't be compiled : File "/usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/wordcount.py", line 31 import zc.ngi.async ^ SyntaxError: invalid syntax Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/zc/ngi/__pycache__/message.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/zc/ngi/__pycache__/message.cpython-37.pyc' './usr/lib/python3/site-packages/zc/ngi/__pycache__/interfaces.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/zc/ngi/__pycache__/interfaces.cpython-37.pyc' './usr/lib/python3/site-packages/zc/ngi/__pycache__/generator.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/zc/ngi/__pycache__/generator.cpython-37.pyc' './usr/lib/python3/site-packages/zc/ngi/__pycache__/generator.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/zc/ngi/__pycache__/generator.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/zc/ngi/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/zc/ngi/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/zc/ngi/doc/__pycache__/conf.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/zc/ngi/doc/__pycache__/conf.cpython-37.pyc' './usr/lib/python3/site-packages/zc/ngi/doc/__pycache__/conf.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/zc/ngi/doc/__pycache__/conf.cpython-37.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/zc/ngi/tests.pyo' => './usr/lib/python2.7/site-packages/zc/ngi/tests.pyc' './usr/lib/python2.7/site-packages/zc/ngi/message.pyo' => './usr/lib/python2.7/site-packages/zc/ngi/message.pyc' './usr/lib/python2.7/site-packages/zc/ngi/interfaces.pyo' => './usr/lib/python2.7/site-packages/zc/ngi/interfaces.pyc' './usr/lib/python2.7/site-packages/zc/ngi/generator.pyo' => './usr/lib/python2.7/site-packages/zc/ngi/generator.pyc' './usr/lib/python2.7/site-packages/zc/ngi/__init__.pyo' => './usr/lib/python2.7/site-packages/zc/ngi/__init__.pyc' './usr/lib/python2.7/site-packages/zc/ngi/doc/echo_server.pyo' => './usr/lib/python2.7/site-packages/zc/ngi/doc/echo_server.pyc' './usr/lib/python2.7/site-packages/zc/ngi/doc/conf.pyo' => './usr/lib/python2.7/site-packages/zc/ngi/doc/conf.pyc' Processing files: python-module-zc.ngi-2.0.1-alt2.1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.56654 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-zc.ngi-2.0.1 + DOCDIR=/usr/src/tmp/python-module-zc.ngi-buildroot/usr/share/doc/python-module-zc.ngi-2.0.1 + export DOCDIR + rm -rf /usr/src/tmp/python-module-zc.ngi-buildroot/usr/share/doc/python-module-zc.ngi-2.0.1 + /bin/mkdir -p /usr/src/tmp/python-module-zc.ngi-buildroot/usr/share/doc/python-module-zc.ngi-2.0.1 + cp -prL COPYRIGHT.txt LICENSE.txt README.txt /usr/src/tmp/python-module-zc.ngi-buildroot/usr/share/doc/python-module-zc.ngi-2.0.1 + chmod -R go-w /usr/src/tmp/python-module-zc.ngi-buildroot/usr/share/doc/python-module-zc.ngi-2.0.1 + chmod -R a+rX /usr/src/tmp/python-module-zc.ngi-buildroot/usr/share/doc/python-module-zc.ngi-2.0.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.nSWfOn 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.DMYyI5 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.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/async.py: skipping errno python.req: /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/async.py: skipping sys python.req: /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/async.py: skipping thread /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/async.py: line=614 IGNORE (for REQ=slight and deep=19) module=random python.req: /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/blocking.py: skipping sys python.req: /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/doc/conf.py: skipping sys python.req: /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/doc/echo_server.py: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/doc/echo_server.py: line=8 IGNORE (for REQ=slight and deep=11) module=time /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/interfaces.py: line=24 IGNORE (for REQ=slight and deep=8) module=zope python.req: /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/wordcount.py: skipping errno python.req: /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python2.7/site-packages/zc/ngi/wordcount.py: skipping sys Provides: python2.7(zc.ngi), python2.7(zc.ngi.adapters), python2.7(zc.ngi.async), python2.7(zc.ngi.blocking), python2.7(zc.ngi.generator), python2.7(zc.ngi.interfaces), python2.7(zc.ngi.message), python2.7(zc.ngi.wordcount) Requires: python2.7(zc), python2.7(zope.interface), /usr/lib/python2.7/site-packages, python-modules, python2.7(logging) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.WI9zL9 Processing files: python3-module-zc.ngi-2.0.1-alt2.1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.62782 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-zc.ngi-2.0.1 + DOCDIR=/usr/src/tmp/python-module-zc.ngi-buildroot/usr/share/doc/python3-module-zc.ngi-2.0.1 + export DOCDIR + rm -rf /usr/src/tmp/python-module-zc.ngi-buildroot/usr/share/doc/python3-module-zc.ngi-2.0.1 + /bin/mkdir -p /usr/src/tmp/python-module-zc.ngi-buildroot/usr/share/doc/python3-module-zc.ngi-2.0.1 + cp -prL COPYRIGHT.txt LICENSE.txt README.txt /usr/src/tmp/python-module-zc.ngi-buildroot/usr/share/doc/python3-module-zc.ngi-2.0.1 + chmod -R go-w /usr/src/tmp/python-module-zc.ngi-buildroot/usr/share/doc/python3-module-zc.ngi-2.0.1 + chmod -R a+rX /usr/src/tmp/python-module-zc.ngi-buildroot/usr/share/doc/python3-module-zc.ngi-2.0.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.dJFwTV 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.i0HZ07 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) python3.req: /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/async.py: skipping errno python3.req: /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/async.py: skipping sys python3.req: /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/async.py: skipping _thread python3.req: /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/async.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/async.py: line=614 IGNORE (for REQ=slight and deep=19) module=random python3.req: /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/blocking.py: skipping sys python3.req: /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/blocking.py: skipping time python3.req: /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/doc/conf.py: skipping sys python3.req: ERROR: /usr/src/tmp/python-module-zc.ngi-buildroot/usr/lib/python3/site-packages/zc/ngi/doc/echo_server.py: invalid syntax (, line 1) 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 1 import logging, os, sys, 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 9.69user 0.81system 0:16.82elapsed 62%CPU (0avgtext+0avgdata 19820maxresident)k 0inputs+0outputs (0major+240619minor)pagefaults 0swaps hsh-rebuild: rebuild of `python-module-zc.ngi-2.0.1-alt2.1.1.src.rpm' failed. Command exited with non-zero status 1 19.87user 3.61system 0:32.49elapsed 72%CPU (0avgtext+0avgdata 115376maxresident)k 0inputs+0outputs (0major+619923minor)pagefaults 0swaps