<86>Jun 6 03:13:05 userdel[9871]: delete user 'rooter' <86>Jun 6 03:13:05 userdel[9871]: removed group 'rooter' owned by 'rooter' <86>Jun 6 03:13:05 userdel[9871]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 6 03:13:05 groupadd[9955]: group added to /etc/group: name=rooter, GID=579 <86>Jun 6 03:13:05 groupadd[9955]: group added to /etc/gshadow: name=rooter <86>Jun 6 03:13:05 groupadd[9955]: new group: name=rooter, GID=579 <86>Jun 6 03:13:05 useradd[9979]: new user: name=rooter, UID=579, GID=579, home=/root, shell=/bin/bash <86>Jun 6 03:13:05 userdel[10002]: delete user 'builder' <86>Jun 6 03:13:05 userdel[10002]: removed group 'builder' owned by 'builder' <86>Jun 6 03:13:05 userdel[10002]: removed shadow group 'builder' owned by 'builder' <86>Jun 6 03:13:05 groupadd[10014]: group added to /etc/group: name=builder, GID=580 <86>Jun 6 03:13:05 groupadd[10014]: group added to /etc/gshadow: name=builder <86>Jun 6 03:13:05 groupadd[10014]: new group: name=builder, GID=580 <86>Jun 6 03:13:05 useradd[10036]: new user: name=builder, UID=580, GID=580, home=/usr/src, shell=/bin/bash <13>Jun 6 03:13:09 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Jun 6 03:13:09 rpmi: libexpat-2.2.4-alt1 1503305341 installed <13>Jun 6 03:13:09 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Jun 6 03:13:09 rpmi: libtasn1-4.13-alt2 1521133848 installed <13>Jun 6 03:13:09 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jun 6 03:13:09 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jun 6 03:13:09 rpmi: ca-certificates-2019.03.31-alt1 sisyphus+226302.100.1.1 1554055265 installed <13>Jun 6 03:13:09 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Jun 6 03:13:09 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Jun 6 03:13:10 rpmi: libcrypto1.1-1.1.1b-alt2 sisyphus+227249.100.2.1 1555667802 installed <13>Jun 6 03:13:10 rpmi: libssl1.1-1.1.1b-alt2 sisyphus+227249.100.2.1 1555667802 installed <13>Jun 6 03:13:10 rpmi: python3-3.7.3-alt1 sisyphus+225625.574.90.1 1555274084 installed <13>Jun 6 03:13:10 rpmi: libpython3-3.7.3-alt1 sisyphus+225625.574.90.1 1555274084 installed <13>Jun 6 03:13:11 rpmi: python3-base-3.7.3-alt1 sisyphus+225625.574.90.1 1555274084 installed <13>Jun 6 03:13:11 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Jun 6 03:13:11 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Jun 6 03:13:11 rpmi: rpm-macros-sphinx-1:1.6.5-alt5 sisyphus+231269.100.1.1 1559340565 installed <13>Jun 6 03:13:24 rpmi: python-module-sphinxcontrib-2.1.1-alt2.1.2 sisyphus+227529.1100.1.2 1555924423 installed <13>Jun 6 03:13:24 rpmi: python3-module-pkg_resources-1:41.0.1-alt2 sisyphus+231415.100.1.1 1559574158 installed <13>Jun 6 03:13:24 rpmi: python-module-wcwidth-0.1.7-alt2.1 sisyphus+227536.2000.1.2 1555963469 installed <13>Jun 6 03:13:24 rpmi: python-module-iniconfig-1.0.0-alt1 sisyphus+227494.1100.1.3 1555839106 installed <13>Jun 6 03:13:24 rpmi: python-module-apipkg-1.5-alt1 1531926894 installed <13>Jun 6 03:13:24 rpmi: python-module-imagesize-1.1.0-alt1 sisyphus+229015.100.2.1 1557233756 installed <13>Jun 6 03:13:24 rpmi: python-sphinx-objects.inv-1:2.3.8.20190603-alt1 sisyphus+231439.100.1.1 1559605756 installed <13>Jun 6 03:13:24 rpmi: python-module-google-0.4.2-alt2.1 sisyphus+228356.1500.3.1 1556633038 installed <13>Jun 6 03:13:24 rpmi: python-module-enum34-1.1.6-alt3 1527251693 installed <13>Jun 6 03:13:25 rpmi: libxapian-1.4.5-alt3 sisyphus+222778.100.1.1 1551144769 installed <13>Jun 6 03:13:25 rpmi: libsqlite3-3.28.0-alt1 sisyphus+231334.100.1.1 1559488286 installed <13>Jun 6 03:13:25 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521088 installed <13>Jun 6 03:13:25 rpmi: libgcrypt20-1.8.4-alt2 sisyphus+229280.100.1.1 1557741896 installed <13>Jun 6 03:13:25 rpmi: libxslt-1.1.33-alt1 sisyphus+226936.100.1.1 1554820927 installed <13>Jun 6 03:13:25 rpmi: python-modules-curses-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 6 03:13:25 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Jun 6 03:13:25 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Jun 6 03:13:25 rpmi: python3-dev-3.7.3-alt1 sisyphus+225625.574.90.1 1555274084 installed <13>Jun 6 03:13:25 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>Jun 6 03:13:25 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>Jun 6 03:13:25 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <86>Jun 6 03:13:25 groupadd[57024]: group added to /etc/group: name=_keytab, GID=499 <86>Jun 6 03:13:25 groupadd[57024]: group added to /etc/gshadow: name=_keytab <86>Jun 6 03:13:25 groupadd[57024]: new group: name=_keytab, GID=499 <13>Jun 6 03:13:25 rpmi: libkrb5-1.16.3-alt1 sisyphus+223678.100.1.1 1551746443 installed <13>Jun 6 03:13:25 rpmi: libtirpc-1.0.3-alt1 1532008015 installed <13>Jun 6 03:13:26 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>Jun 6 03:13:26 rpmi: python-modules-compiler-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 6 03:13:26 rpmi: python-modules-email-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 6 03:13:26 rpmi: python-modules-unittest-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 6 03:13:26 rpmi: python-modules-encodings-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 6 03:13:26 rpmi: python-modules-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 6 03:13:26 rpmi: python-modules-nis-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 6 03:13:26 rpmi: python-module-six-1.12.0-alt1 sisyphus+219665.100.2.1 1548148570 installed <13>Jun 6 03:13:26 rpmi: python-module-pkg_resources-1:41.0.1-alt2 sisyphus+231415.100.1.1 1559574158 installed <13>Jun 6 03:13:26 rpmi: python-modules-ctypes-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 6 03:13:26 rpmi: python-modules-json-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 6 03:13:26 rpmi: python-modules-xml-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 6 03:13:26 rpmi: python-modules-multiprocessing-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 6 03:13:26 rpmi: python-modules-logging-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 6 03:13:26 rpmi: python-modules-hotshot-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 6 03:13:26 rpmi: python-module-chardet-3.0.4-alt1 sisyphus+227476.1700.1.2 1555756717 installed <13>Jun 6 03:13:26 rpmi: python-module-whoosh-2.7.4-alt1 1527697941 installed <13>Jun 6 03:13:26 rpmi: python-module-webencodings-0.5.1-alt1.1 1517943573 installed <13>Jun 6 03:13:26 rpmi: python-module-more-itertools-1:5.0.0-alt2 sisyphus+226536.200.1.1 1554329977 installed <13>Jun 6 03:13:26 rpmi: python-modules-bsddb-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 6 03:13:26 rpmi: python-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 6 03:13:26 rpmi: python-strict-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 6 03:13:27 rpmi: python-modules-distutils-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 6 03:13:27 rpmi: python-module-pycparser-2.19-alt1 sisyphus+228366.1000.2.3 1556706938 installed <13>Jun 6 03:13:27 rpmi: python-module-cffi-1.12.3-alt1 sisyphus+229040.200.3.1 1557316502 installed <13>Jun 6 03:13:27 rpmi: python-module-asn1crypto-0.24.0-alt1 sisyphus+227473.1300.1.2 1555756512 installed <13>Jun 6 03:13:27 rpmi: python-module-PyStemmer-1.0.1-alt1.2.1 1321387369 installed <13>Jun 6 03:13:27 rpmi: python-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>Jun 6 03:13:27 rpmi: python-module-cssselect-0.9.1-alt1.2 sisyphus+227479.1100.1.2 1555757152 installed <13>Jun 6 03:13:27 rpmi: python-module-html5lib-1:0.999999999-alt5 sisyphus+231157.100.1.1 1559210416 installed <13>Jun 6 03:13:27 rpmi: python-module-lxml-4.3.3-alt1.1 sisyphus+225625.33200.91.1 1555315088 installed <13>Jun 6 03:13:27 rpmi: python-module-docutils-0.14-alt2 1535729778 installed <13>Jun 6 03:13:27 rpmi: python-module-idna-2.8-alt1 sisyphus+227494.400.1.3 1555838720 installed <13>Jun 6 03:13:27 rpmi: python-module-ntlm-1.1.0-alt1.2 sisyphus+228512.100.1.1 1556654575 installed <13>Jun 6 03:13:27 rpmi: python-module-pytz-1:2016.10-alt1 1484291011 installed <13>Jun 6 03:13:28 rpmi: python-module-babel-1:2.6.0-alt1 sisyphus+228351.2400.6.2 1556652168 installed <13>Jun 6 03:13:28 rpmi: python-module-attrs-19.1.0-alt1 sisyphus+227473.2100.1.2 1555756986 installed <13>Jun 6 03:13:28 rpmi: python-module-ipaddress-1.0.18-alt1.1 sisyphus+227494.1700.1.3 1555839523 installed <13>Jun 6 03:13:29 rpmi: python-module-cryptography-2.7-alt1 sisyphus+231440.140.2.1 1559612347 installed <13>Jun 6 03:13:29 rpmi: python-module-OpenSSL-18.0.0-alt1 1532996168 installed <13>Jun 6 03:13:29 rpmi: python-module-simplejson-3.15.0-alt1.qa1 sisyphus+225625.16100.91.1 1555293606 installed <13>Jun 6 03:13:29 rpmi: python-module-ndg-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853074 installed <13>Jun 6 03:13:29 rpmi: python-module-ndg-httpsclient-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853074 installed <13>Jun 6 03:13:29 rpmi: python-module-backports-3.5.0.1-alt1.1.1 1517645428 installed <13>Jun 6 03:13:29 rpmi: python-module-backports.ssl_match_hostname-3.5.0.1-alt1.1.1 1517645428 installed <13>Jun 6 03:13:29 rpmi: python-module-urllib3-2:1.24.3-alt1 sisyphus+228978.100.1.1 1557126149 installed <13>Jun 6 03:13:29 rpmi: python-module-requests-2.21.0-alt1 sisyphus+228370.100.2.2 1556711628 installed <13>Jun 6 03:13:29 rpmi: python-module-typing-3.6.6-alt2 sisyphus+220108.100.1.1 1548749697 installed <13>Jun 6 03:13:29 rpmi: python-module-markupsafe-0.23-alt1.2.1.1 sisyphus+225625.12200.91.1 1555290677 installed <13>Jun 6 03:13:29 rpmi: python-module-jinja2-2.10-alt1 1521724576 installed <13>Jun 6 03:13:29 rpmi: python-modules-sqlite3-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 6 03:13:29 rpmi: python-module-SQLAlchemy-1.2.15-alt1 sisyphus+225625.4500.91.1 1555285684 installed <13>Jun 6 03:13:29 rpmi: python-module-funcsigs-1.0.2-alt2 sisyphus+228355.2600.2.1 1556560236 installed <13>Jun 6 03:13:29 rpmi: python-module-scandir-1.10.0-alt1 sisyphus+225192.100.1.2 1552968852 installed <13>Jun 6 03:13:29 rpmi: python-module-pathlib2-2.3.3-alt1 sisyphus+228364.300.4.1 1556886257 installed <13>Jun 6 03:13:29 rpmi: python-module-py-1.8.0-alt3 sisyphus+231485.100.1.1 1559653885 installed <13>Jun 6 03:13:29 rpmi: python-module-atomicwrites-1.3.0-alt1 sisyphus+227473.2000.1.3 1555763467 installed <13>Jun 6 03:13:29 rpmi: python-module-xapian-1.4.5-alt3 sisyphus+225625.23000.91.1 1555297606 installed <13>Jun 6 03:13:29 rpmi: python-module-pluggy-0.11.0-alt1 sisyphus+229116.100.1.1 1557316655 installed <13>Jun 6 03:13:29 rpmi: python-module-pytest-4.5.0-alt1 sisyphus+230597.300.4.1 1559642675 installed <13>Jun 6 03:13:29 rpmi: python-module-sphinxcontrib-websupport-1.0.1-alt3.qa1 sisyphus+227529.1200.1.2 1555924506 installed <13>Jun 6 03:13:29 rpmi: python-module-alabaster-0.7.6-alt3 sisyphus+228351.700.4.1 1556637370 installed <13>Jun 6 03:13:29 rpmi: python-module-Pygments-2.2.0-alt2 1526455576 installed <13>Jun 6 03:13:30 rpmi: python-module-sphinx-1:1.6.5-alt5 sisyphus+231269.100.1.1 1559340565 installed <13>Jun 6 03:13:30 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548748 installed <13>Jun 6 03:13:30 rpmi: python-dev-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 6 03:13:31 rpmi: python3-module-setuptools-1:41.0.1-alt2 sisyphus+231415.100.1.1 1559574158 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/python-module-flup-1.0.3-alt2.hg20120223.1.2.nosrc.rpm <13>Jun 6 03:13:42 rpmi: python-tools-2to3-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 6 03:13:43 rpmi: python-module-setuptools-1:41.0.1-alt2 sisyphus+231415.100.1.1 1559574158 installed Installing python-module-flup-1.0.3-alt2.hg20120223.1.2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.92610 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-flup-1.0.3 + echo 'Source #0 (flup.tar.bz2):' Source #0 (flup.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/flup.tar.bz2 + /bin/tar -xf - + cd python-module-flup-1.0.3 + /bin/chmod -c -Rf u+rwX,go-w . + rm -rf ../python3 + cp -a . ../python3 + install -pm644 /usr/share/python-sphinx/objects.inv docs/source/ + '[' -e docs/source/conf.py ']' + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.74441 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-flup-1.0.3 + 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/python2.7 setup.py build running build running build_py creating build creating build/lib creating build/lib/flup copying flup/__init__.py -> build/lib/flup creating build/lib/flup/server copying flup/server/threadpool.py -> build/lib/flup/server copying flup/server/threadedserver.py -> build/lib/flup/server copying flup/server/singleserver.py -> build/lib/flup/server copying flup/server/scgi_fork.py -> build/lib/flup/server copying flup/server/scgi_base.py -> build/lib/flup/server copying flup/server/scgi.py -> build/lib/flup/server copying flup/server/preforkserver.py -> build/lib/flup/server copying flup/server/paste_factory.py -> build/lib/flup/server copying flup/server/fcgi_single.py -> build/lib/flup/server copying flup/server/fcgi_fork.py -> build/lib/flup/server copying flup/server/fcgi_base.py -> build/lib/flup/server copying flup/server/fcgi.py -> build/lib/flup/server copying flup/server/cgi.py -> build/lib/flup/server copying flup/server/ajp_fork.py -> build/lib/flup/server copying flup/server/ajp_base.py -> build/lib/flup/server copying flup/server/ajp.py -> build/lib/flup/server copying flup/server/__init__.py -> build/lib/flup/server creating build/lib/flup/client copying flup/client/scgi_app.py -> build/lib/flup/client copying flup/client/fcgi_app.py -> build/lib/flup/client copying flup/client/__init__.py -> build/lib/flup/client + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-flup-1.0.3 + find -type f -name '*.py' -exec 2to3 -w '{}' + 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 ./setup.py RefactoringTool: Refactored ./flup/server/threadpool.py RefactoringTool: Refactored ./flup/server/threadedserver.py RefactoringTool: Refactored ./flup/server/singleserver.py RefactoringTool: Refactored ./flup/server/scgi_fork.py --- ./flup/server/threadpool.py (original) +++ ./flup/server/threadpool.py (refactored) @@ -28,7 +28,7 @@ __version__ = '$Revision$' import sys -import thread +import _thread import threading class ThreadPool(object): @@ -38,7 +38,7 @@ the number of threads that can be started, but this can be controlled by maxThreads. """ - def __init__(self, minSpare=1, maxSpare=5, maxThreads=sys.maxint): + def __init__(self, minSpare=1, maxSpare=5, maxThreads=sys.maxsize): self._minSpare = minSpare self._maxSpare = maxSpare self._maxThreads = max(minSpare, maxThreads) @@ -92,7 +92,7 @@ self._workerCount < self._maxThreads: try: self._start_new_thread() - except thread.error: + except _thread.error: return False self._workerCount += 1 self._idleCount += 1 --- ./flup/server/threadedserver.py (original) +++ ./flup/server/threadedserver.py (refactored) @@ -74,7 +74,7 @@ while self._keepGoing: try: r, w, e = select.select([sock], [], [], timeout) - except select.error, e: + except select.error as e: if e[0] == errno.EINTR: continue raise @@ -82,7 +82,7 @@ if r: try: clientSock, addr = sock.accept() - except socket.error, e: + except socket.error as e: if e[0] in (errno.EINTR, errno.EAGAIN): continue raise @@ -167,12 +167,12 @@ self._sock = sock self._addr = addr def run(self): - print "Client connection opened from %s:%d" % self._addr + print("Client connection opened from %s:%d" % self._addr) self._sock.send('Hello World!\n') self._sock.setblocking(1) self._sock.recv(1) self._sock.close() - print "Client connection closed from %s:%d" % self._addr + print("Client connection closed from %s:%d" % self._addr) sock = socket.socket() sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) sock.bind(('', 8080)) --- ./flup/server/singleserver.py (original) +++ ./flup/server/singleserver.py (refactored) @@ -70,7 +70,7 @@ while self._keepGoing: try: r, w, e = select.select([sock], [], [], timeout) - except select.error, e: + except select.error as e: if e[0] == errno.EINTR: continue raise @@ -78,7 +78,7 @@ if r: try: clientSock, addr = sock.accept() - except socket.error, e: + except socket.error as e: if e[0] in (errno.EINTR, errno.EAGAIN): continue raise @@ -153,12 +153,12 @@ self._sock = sock self._addr = addr def run(self): - print "Client connection opened from %s:%d" % self._addr + print("Client connection opened from %s:%d" % self._addr) self._sock.send('Hello World!\n') self._sock.setblocking(1) self._sock.recv(1) self._sock.close() - print "Client connection closed from %s:%d" % self._addr + print("Client connection closed from %s:%d" % self._addr) sock = socket.socket() sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) sock.bind(('', 8080)) --- ./flup/server/scgi_fork.py (original) +++ ./flup/server/scgi_fork.py (refactored) @@ -135,7 +135,7 @@ loggingLevel=loggingLevel, debug=debug) for key in ('multithreaded', 'multiprocess', 'jobClass', 'jobArgs'): - if kw.has_key(key): + if key in kw: del kw[key] RefactoringTool: Refactored ./flup/server/scgi_base.py PreforkServer.__init__(self, jobClass=Connection, @@ -151,7 +151,7 @@ try: sock = self._setupSocket() - except socket.error, e: + except socket.error as e: self.logger.error('Failed to bind socket (%s), exiting', e[1]) return False @@ -167,17 +167,17 @@ if __name__ == '__main__': def test_app(environ, start_response): """Probably not the most efficient example.""" - import cgi + from . import cgi start_response('200 OK', [('Content-Type', 'text/html')]) yield 'Hello World!\n' \ '\n' \ '

Hello World!

\n' \ '' - names = environ.keys() + names = list(environ.keys()) names.sort() for name in names: yield '\n' % ( - name, cgi.escape(`environ[name]`)) + name, cgi.escape(repr(environ[name]))) form = cgi.FieldStorage(fp=environ['wsgi.input'], environ=environ, keep_blank_values=1) --- ./flup/server/scgi_base.py (original) +++ ./flup/server/scgi_base.py (refactored) @@ -32,7 +32,7 @@ import socket import select import errno -import cStringIO as StringIO +import io as StringIO import signal import datetime import os @@ -41,7 +41,7 @@ # Threads are required. If you want a non-threaded (forking) version, look at # SWAP . -import thread +import _thread import threading __all__ = ['BaseSCGIServer'] @@ -76,7 +76,7 @@ while length: try: data = sock.recv(length) - except socket.error, e: + except socket.error as e: if e[0] == errno.EAGAIN: select.select([sock], [], []) continue @@ -99,7 +99,7 @@ while True: try: c = sock.recv(1) - except socket.error, e: + except socket.error as e: if e[0] == errno.EAGAIN: select.select([sock], [], []) continue @@ -117,7 +117,7 @@ if size < 0: raise ValueError except ValueError: - raise ProtocolError, 'invalid netstring length' + raise ProtocolError('invalid netstring length') # Now read the string. s, length = recvall(sock, size) @@ -132,7 +132,7 @@ raise EOFError if trailer != ',': - raise ProtocolError, 'invalid netstring trailer' + raise ProtocolError('invalid netstring trailer') return s @@ -229,7 +229,7 @@ self.processInput() except (EOFError, KeyboardInterrupt): pass - except ProtocolError, e: + except ProtocolError as e: self.logger.error("Protocol error '%s'", str(e)) except: self.logger.exception('Exception caught in Connection') @@ -246,20 +246,20 @@ headers = readNetstring(self._sock) headers = headers.split('\x00')[:-1] if len(headers) % 2 != 0: - raise ProtocolError, 'invalid headers' + raise ProtocolError('invalid headers') environ = {} for i in range(len(headers) / 2): environ[headers[2*i]] = headers[2*i+1] clen = environ.get('CONTENT_LENGTH') if clen is None: - raise ProtocolError, 'missing CONTENT_LENGTH' + raise ProtocolError('missing CONTENT_LENGTH') try: clen = int(clen) if clen < 0: raise ValueError except ValueError: - raise ProtocolError, 'invalid CONTENT_LENGTH' + raise ProtocolError('invalid CONTENT_LENGTH') self._sock.setblocking(1) if clen: @@ -348,7 +348,7 @@ self._allowedServers = allowedServers # Used to force single-threadedness. - self._appLock = thread.allocate_lock() + self._appLock = _thread.allocate_lock() self.logger = logging.getLogger(RefactoringTool: Refactored ./flup/server/scgi.py RefactoringTool: Refactored ./flup/server/preforkserver.py LoggerName) self.logger.setLevel(loggingLevel) @@ -451,7 +451,7 @@ try: if headers_sent: # Re-raise if too late - raise exc_info[0], exc_info[1], exc_info[2] + raise exc_info[0](exc_info[1]).with_traceback(exc_info[2]) finally: exc_info = None # avoid dangling circular ref else: @@ -484,7 +484,7 @@ finally: if hasattr(result, 'close'): result.close() - except socket.error, e: + except socket.error as e: if e[0] != errno.EPIPE: raise # Don't let EPIPE propagate beyond server finally: @@ -494,11 +494,11 @@ def _sanitizeEnv(self, environ): """Fill-in/deduce missing values in environ.""" reqUri = None - if environ.has_key('REQUEST_URI'): + if 'REQUEST_URI' in environ: reqUri = environ['REQUEST_URI'].split('?', 1) # Ensure QUERY_STRING exists - if not environ.has_key('QUERY_STRING') or not environ['QUERY_STRING']: + if 'QUERY_STRING' not in environ or not environ['QUERY_STRING']: if reqUri is not None and len(reqUri) > 1: environ['QUERY_STRING'] = reqUri[1] else: @@ -521,9 +521,9 @@ if scriptName is NoDefault: # Pull SCRIPT_NAME/PATH_INFO from environment, with empty defaults - if not environ.has_key('SCRIPT_NAME'): + if 'SCRIPT_NAME' not in environ: environ['SCRIPT_NAME'] = '' - if not environ.has_key('PATH_INFO') or not environ['PATH_INFO']: + if 'PATH_INFO' not in environ or not environ['PATH_INFO']: if reqUri is not None: scriptName = environ['SCRIPT_NAME'] if not reqUri[0].startswith(scriptName): --- ./flup/server/scgi.py (original) +++ ./flup/server/scgi.py (refactored) @@ -136,7 +136,7 @@ loggingLevel=loggingLevel, debug=debug) for key in ('jobClass', 'jobArgs'): - if kw.has_key(key): + if key in kw: del kw[key] ThreadedServer.__init__(self, jobClass=Connection, jobArgs=(self, None), **kw) @@ -151,7 +151,7 @@ try: sock = self._setupSocket() - except socket.error, e: + except socket.error as e: self.logger.error('Failed to bind socket (%s), exiting', e[1]) return False @@ -168,17 +168,17 @@ if __name__ == '__main__': def test_app(environ, start_response): """Probably not the most efficient example.""" - import cgi + from . import cgi start_response('200 OK', [('Content-Type', 'text/html')]) yield 'Hello World!\n' \ '\n' \ '

Hello World!

\n' \ '
%s%s
' - names = environ.keys() + names = list(environ.keys()) names.sort() for name in names: yield '\n' % ( - name, cgi.escape(`environ[name]`)) + name, cgi.escape(repr(environ[name]))) form = cgi.FieldStorage(fp=environ['wsgi.input'], environ=environ, keep_blank_values=1) --- ./flup/server/preforkserver.py (original) +++ ./flup/server/preforkserver.py (refactored) @@ -52,7 +52,7 @@ import eunuchs.socketpair except ImportError: # TODO: Other alternatives? Perhaps using os.pipe()? - raise ImportError, 'Requires eunuchs module for Python < 2.4' + raise ImportError('Requires eunuchs module for Python < 2.4') def socketpair(): s1, s2 = eunuchs.socketpair.socketpair() @@ -146,7 +146,7 @@ if not self._spawnChild(sock): break # Wait on any socket activity from live children. - r = [x['file'] for x in self._children.values() + r = [x['file'] for x in list(self._children.values()) if x['file'] is not None] if len(r) == len(self._children) and not self._children_to_purge: @@ -162,7 +162,7 @@ w = [x for x in self._children_to_purge if x.fileno() != -1] try: r, w, e = select.select(r, w, [], timeout) - except select.error, e: + except select.error as e: if e[0] != errno.EINTR: raise @@ -171,13 +171,13 @@ # Receive status byte. try: state = child.recv(1) - except socket.error, e: + except socket.error as e: if e[0] in (errno.EAGAIN, errno.EINTR): # Guess it really didn't need attention? continue raise # Try to match it with a child. (Do we need a reverse map?) - for pid,d in self._children.items(): + for pid,d in list(self._children.items()): if child is d['file']: if state: # Set availability status accordingly. @@ -197,7 +197,7 @@ self._last_purge = time.time() # Try to match it with a child. (Do we need a reverse map?) - for pid,d in self._children.items(): + for pid,d in list(self._children.items()): if child is d['file']: d['file'].close() d['file'] = None @@ -208,7 +208,7 @@ self._reapChildren() # See who and how many children are available. - availList = filter(lambda x: x[1]['avail'], self._children.items()) + availList = [x for x in list(self._children.items()) if x[1]['avail']] avail = len(availList) if avail < self._minSpare: @@ -246,7 +246,7 @@ Any children remaining after 10 seconds is SIGKILLed. """ # Let all children know it's time to go. - for pid,d in self._children.items(): + for pid,d in list(self._children.items()): if d['file'] is not None: d['file'].close() d['file'] = None @@ -254,7 +254,7 @@ # Child is unavailable. SIGINT it. try: os.kill(pid, signal.SIGINT) - except OSError, e: + except OSError as e: if e[0] != errno.ESRCH: raise @@ -270,20 +270,20 @@ while len(self._children): try: pid, status = os.wait() - except OSError, e: + except OSError as e: if e[0] in (errno.ECHILD, errno.EINTR): break - if self._children.has_key(pid): + if pid in self._children: del self._children[pid] signal.alarm(0) signal.signal(signal.SIGALRM, oldSIGALRM) # Forcefully kill any remaining children. - for pid in self._children.keys(): + for pid in list(self._children.keys()): try: os.kill(pid, signal.SIGKILL) - except OSError, e: + except OSError as e: if e[0] != errno.ESRCH: raise @@ -292,13 +292,13 @@ while True: try: pid, status = os.waitpid(-1, os.WNOHANG) - except OSError, e: + except OSError as e: if e[0] == errno.ECHILD: break raise if pid <= 0: break - if self._children.has_key(pid): # Sanity check. + if pid in self._children: # Sanity check. if self._children[pid]['file'] is not None: self._childRefactoringTool: Refactored ./flup/server/paste_factory.py RefactoringTool: Refactored ./flup/server/fcgi_single.py ren[pid]['file'].close() self._children[pid]['file'] = None @@ -317,7 +317,7 @@ setCloseOnExec(child) try: pid = os.fork() - except OSError, e: + except OSError as e: if e[0] in (errno.EAGAIN, errno.ENOMEM): return False # Can't fork anymore. raise @@ -330,7 +330,7 @@ # Restore signal handlers. self._restoreSignalHandlers() # Close copies of child sockets. - for f in [x['file'] for x in self._children.values() + for f in [x['file'] for x in list(self._children.values()) if x['file'] is not None]: f.close() self._children = {} @@ -358,7 +358,7 @@ try: parent.send(msg) return True - except socket.error, e: + except socket.error as e: if e[0] == errno.EPIPE: return False # Parent is gone if e[0] == errno.EAGAIN: @@ -397,7 +397,7 @@ # Otherwise, there's activity on the main socket... try: clientSock, addr = sock.accept() - except socket.error, e: + except socket.error as e: if e[0] == errno.EAGAIN: # Or maybe not. continue @@ -440,7 +440,7 @@ pass def _usr1Handler(self, signum, frame): - self._children_to_purge = [x['file'] for x in self._children.values() + self._children_to_purge = [x['file'] for x in list(self._children.values()) if x['file'] is not None] def _installSignalHandlers(self): @@ -471,12 +471,12 @@ self._sock = sock self._addr = addr def run(self): - print "Client connection opened from %s:%d" % self._addr + print("Client connection opened from %s:%d" % self._addr) self._sock.send('Hello World!\n') self._sock.setblocking(1) self._sock.recv(1) self._sock.close() - print "Client connection closed from %s:%d" % self._addr + print("Client connection closed from %s:%d" % self._addr) sock = socket.socket() sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) sock.bind(('', 8080)) --- ./flup/server/paste_factory.py (original) +++ ./flup/server/paste_factory.py (refactored) @@ -4,7 +4,7 @@ from flup.server import NoDefault def asbool(obj): - if isinstance(obj, (str, unicode)): + if isinstance(obj, str): obj = obj.strip().lower() if obj in ['true', 'yes', 'on', 'y', 't', '1']: return True @@ -16,7 +16,7 @@ return bool(obj) def aslist(obj, sep=None, strip=True): - if isinstance(obj, (str, unicode)): + if isinstance(obj, str): lst = obj.split(sep) if strip: lst = [v.strip() for v in lst] --- ./flup/server/fcgi_single.py (original) +++ ./flup/server/fcgi_single.py (refactored) @@ -90,7 +90,7 @@ roles=roles, forceCGI=forceCGI) for key in ('jobClass', 'jobArgs'): - if kw.has_key(key): + if key in kw: del kw[key] SingleServer.__init__(self, jobClass=self._connectionClass, jobArgs=(self, None), **kw) @@ -111,8 +111,7 @@ """ self._web_server_addrs = os.environ.get('FCGI_WEB_SERVER_ADDRS') if self._web_server_addrs is not None: - self._web_server_addrs = map(lambda x: x.strip(), - self._web_server_addrs.split(',')) + self._web_server_addrs = [x.strip() for x in self._web_server_addrs.split(',')] sock = self._setupSocket() @@ -125,17 +124,17 @@ if __name__ == '__main__': def test_app(environ, start_response): """Probably not the most efficient example.""" - import cgi + from . imporRefactoringTool: Refactored ./flup/server/fcgi_fork.py RefactoringTool: Refactored ./flup/server/fcgi_base.py t cgi start_response('200 OK', [('Content-Type', 'text/html')]) yield 'Hello World!\n' \ '\n' \ '

Hello World!

\n' \ '
%s%s
' - names = environ.keys() + names = list(environ.keys()) names.sort() for name in names: yield '\n' % ( - name, cgi.escape(`environ[name]`)) + name, cgi.escape(repr(environ[name]))) form = cgi.FieldStorage(fp=environ['wsgi.input'], environ=environ, keep_blank_values=1) --- ./flup/server/fcgi_fork.py (original) +++ ./flup/server/fcgi_fork.py (refactored) @@ -97,7 +97,7 @@ roles=roles, forceCGI=forceCGI) for key in ('multithreaded', 'multiprocess', 'jobClass', 'jobArgs'): - if kw.has_key(key): + if key in kw: del kw[key] PreforkServer.__init__(self, jobClass=self._connectionClass, jobArgs=(self, timeout), **kw) @@ -132,8 +132,7 @@ """ self._web_server_addrs = os.environ.get('FCGI_WEB_SERVER_ADDRS') if self._web_server_addrs is not None: - self._web_server_addrs = map(lambda x: x.strip(), - self._web_server_addrs.split(',')) + self._web_server_addrs = [x.strip() for x in self._web_server_addrs.split(',')] sock = self._setupSocket() @@ -146,17 +145,17 @@ if __name__ == '__main__': def test_app(environ, start_response): """Probably not the most efficient example.""" - import cgi + from . import cgi start_response('200 OK', [('Content-Type', 'text/html')]) yield 'Hello World!\n' \ '\n' \ '

Hello World!

\n' \ '
%s%s
' - names = environ.keys() + names = list(environ.keys()) names.sort() for name in names: yield '\n' % ( - name, cgi.escape(`environ[name]`)) + name, cgi.escape(repr(environ[name]))) form = cgi.FieldStorage(fp=environ['wsgi.input'], environ=environ, keep_blank_values=1) --- ./flup/server/fcgi_base.py (original) +++ ./flup/server/fcgi_base.py (refactored) @@ -31,18 +31,18 @@ import os import signal import struct -import cStringIO as StringIO +import io as StringIO import select import socket import errno import traceback try: - import thread + import _thread import threading thread_available = True except ImportError: - import dummy_thread as thread + import _dummy_thread as thread import dummy_threading as threading thread_available = False @@ -218,7 +218,7 @@ def __iter__(self): return self - def next(self): + def __next__(self): r = self.readline() if not r: raise StopIteration @@ -414,13 +414,13 @@ if nameLength < 128: s = chr(nameLength) else: - s = struct.pack('!L', nameLength | 0x80000000L) + s = struct.pack('!L', nameLength | 0x80000000) valueLength = len(value) if valueLength < 128: s += chr(valueLength) else: - s += struct.pack('!L', valueLength | 0x80000000L) + s += struct.pack('!L', valueLength | 0x80000000) return s + name + value @@ -448,7 +448,7 @@ while length: try: data = sock.recv(length) - except socket.error, e: + except socket.error as e: if e[0] == errno.EAGAIN: select.select([sock], [], []) continue @@ -505,7 +505,7 @@ while length: try: sent = sock.send(data) - except socket.error, e: + except socket.error as e: if e[0] == errno.EAGAIN: select.select([], [sock], []) continue @@ -591,11 +591,11 @@ try: self._flush() self._end(appStatus, protocolStatus) - except socket.error, e: + except socket.error as e: if e[0] != errno.EPIPE: raise - def _end(self, appStatus=0L, protocolStatus=FCGI_REQUEST_COMPLETE): + def _end(self, appStatus=0, protocolStatus=FCGI_REQUEST_COMPLETE): self._conn.end_request(self, appStatus, protocolStatus) def _flush(self): @@ -619,7 +619,7 @@ self.data = StringIO.StringIO() self._timeout = 0 - def _end(self, appStatus=0L, protocolStatus=FCGI_REQUEST_COMPLETE): + def _end(self, appStatus=0, protocolStatus=FCGI_REQUEST_COMPLETE): sys.exit(appStatus) def _flush(self): @@ -669,7 +669,7 @@ self.process_input() except (EOFError, KeyboardInterrupt): break - except (select.error, socket.error), e: + except (select.error, socket.error) as e: if e[0] == errno.EBADF: # Socket was closed by Request. break raise @@ -719,7 +719,7 @@ """ rec.write(self._sock) - def end_request(self, req, appStatus=0L, + def end_request(self, req, appStatus=0, protocolStatus=FCGI_REQUEST_COMPLETE, remove=True): """ End a Request. @@ -769,7 +769,7 @@ if not self._multiplexed and self._requests: # Can't multiplex requests. - self.end_request(req, 0L, FCGI_CANT_MPX_CONN, remove=False) + self.end_request(req, 0, FCGI_CANT_MPX_CONN, remove=False) else: self._requests[inrec.requestId] = req @@ -861,7 +861,7 @@ finally: self._lock.release() - def end_request(self, req, appStatus=0L, + def end_request(self, req, appStatus=0, protocolStatus=FCGI_REQUEST_COMPLETE, remove=True): self._lock.acquire() try: @@ -888,9 +888,9 @@ def _start_request(self, req): try: - thread.start_new_thread(req.run, ()) - except thread.error, e: - self.end_request(req, 0L, FCGI_OVERLOADED, remove=True) + _thread.start_new_thread(req.run, ()) + except _thread.error as e: + self.end_request(req, 0, FCGI_OVERLOADED, remove=True) def _do_params(self, inrec): self._lock.acquire() @@ -969,7 +969,7 @@ self._umask = umask # Used to force single-threadedness - self._appLock = thread.allocate_lock() + self._appLock = _thread.allocate_lock() if thread_available: try: @@ -1026,7 +1026,7 @@ isFCGI = True try: sock.getpeername() - except socket.error, e: + except socket.error as e: if e[0] == errno.ENOTSOCK: # Not a socket, assume CGI context. isFCGI = False @@ -1133,7 +1133,7 @@ try: if headers_sent: # Re-raise if too late - raise exc_info[0], exc_info[1], exc_info[2] + raise exc_info[0](exc_info[1]).with_traceback(exc_info[2]) finally: exc_info = None # avoid dangling circular ref else: @@ -1166,7 +1166,7 @@ finally: if hasattr(result, 'close'): result.close() - except socket.error, e: + except socket.error as e: if e[0] != errno.EPIPE: raise # Don't let EPIPE propagate beyond server finally: @@ -1177,14 +1177,14 @@ def _sanitizeEnv(self, environ): """Ensure certain values are present, if required by WSGI.""" - if not enviroRefactoringTool: Refactored ./flup/server/fcgi.py RefactoringTool: Refactored ./flup/server/cgi.py RefactoringTool: Refactored ./flup/server/ajp_fork.py n.has_key('SCRIPT_NAME'): + if 'SCRIPT_NAME' not in environ: environ['SCRIPT_NAME'] = '' reqUri = None - if environ.has_key('REQUEST_URI'): + if 'REQUEST_URI' in environ: reqUri = environ['REQUEST_URI'].split('?', 1) - if not environ.has_key('PATH_INFO') or not environ['PATH_INFO']: + if 'PATH_INFO' not in environ or not environ['PATH_INFO']: if reqUri is not None: scriptName = environ['SCRIPT_NAME'] if not reqUri[0].startswith(scriptName): @@ -1192,7 +1192,7 @@ environ['PATH_INFO'] = reqUri[0][len(scriptName):] else: environ['PATH_INFO'] = '' - if not environ.has_key('QUERY_STRING') or not environ['QUERY_STRING']: + if 'QUERY_STRING' not in environ or not environ['QUERY_STRING']: if reqUri is not None and len(reqUri) > 1: environ['QUERY_STRING'] = reqUri[1] else: @@ -1204,7 +1204,7 @@ ('SERVER_NAME', 'localhost'), ('SERVER_PORT', '80'), ('SERVER_PROTOCOL', 'HTTP/1.0')]: - if not environ.has_key(name): + if name not in environ: environ['wsgi.errors'].write('%s: missing FastCGI param %s ' 'required by WSGI!\n' % (self.__class__.__name__, name)) --- ./flup/server/fcgi.py (original) +++ ./flup/server/fcgi.py (refactored) @@ -90,7 +90,7 @@ roles=roles, forceCGI=forceCGI) for key in ('jobClass', 'jobArgs'): - if kw.has_key(key): + if key in kw: del kw[key] ThreadedServer.__init__(self, jobClass=self._connectionClass, jobArgs=(self, None), **kw) @@ -106,8 +106,7 @@ """ self._web_server_addrs = os.environ.get('FCGI_WEB_SERVER_ADDRS') if self._web_server_addrs is not None: - self._web_server_addrs = map(lambda x: x.strip(), - self._web_server_addrs.split(',')) + self._web_server_addrs = [x.strip() for x in self._web_server_addrs.split(',')] sock = self._setupSocket() @@ -121,17 +120,17 @@ if __name__ == '__main__': def test_app(environ, start_response): """Probably not the most efficient example.""" - import cgi + from . import cgi start_response('200 OK', [('Content-Type', 'text/html')]) yield 'Hello World!\n' \ '\n' \ '

Hello World!

\n' \ '
%s%s
' - names = environ.keys() + names = list(environ.keys()) names.sort() for name in names: yield '\n' % ( - name, cgi.escape(`environ[name]`)) + name, cgi.escape(repr(environ[name]))) form = cgi.FieldStorage(fp=environ['wsgi.input'], environ=environ, keep_blank_values=1) --- ./flup/server/cgi.py (original) +++ ./flup/server/cgi.py (refactored) @@ -14,7 +14,7 @@ def run(self): - environ = dict(os.environ.items()) + environ = dict(list(os.environ.items())) environ['wsgi.input'] = sys.stdin environ['wsgi.errors'] = sys.stderr environ['wsgi.version'] = (1,0) @@ -50,7 +50,7 @@ try: if headers_sent: # Re-raise original exception if headers sent - raise exc_info[0], exc_info[1], exc_info[2] + raise exc_info[0](exc_info[1]).with_traceback(exc_info[2]) finally: exc_info = None # avoid dangling circular ref elif headers_set: --- ./flup/server/ajp_fork.py (original) +++ ./flup/server/ajRefactoringTool: Refactored ./flup/server/ajp_base.py p_fork.py (refactored) @@ -139,7 +139,7 @@ loggingLevel=loggingLevel, debug=debug) for key in ('multithreaded', 'multiprocess', 'jobClass', 'jobArgs'): - if kw.has_key(key): + if key in kw: del kw[key] PreforkServer.__init__(self, jobClass=Connection, jobArgs=(self, timeout), **kw) @@ -154,7 +154,7 @@ try: sock = self._setupSocket() - except socket.error, e: + except socket.error as e: self.logger.error('Failed to bind socket (%s), exiting', e[1]) return False @@ -170,17 +170,17 @@ if __name__ == '__main__': def test_app(environ, start_response): """Probably not the most efficient example.""" - import cgi + from . import cgi start_response('200 OK', [('Content-Type', 'text/html')]) yield 'Hello World!\n' \ '\n' \ '

Hello World!

\n' \ '
%s%s
' - names = environ.keys() + names = list(environ.keys()) names.sort() for name in names: yield '\n' % ( - name, cgi.escape(`environ[name]`)) + name, cgi.escape(repr(environ[name]))) form = cgi.FieldStorage(fp=environ['wsgi.input'], environ=environ, keep_blank_values=1) --- ./flup/server/ajp_base.py (original) +++ ./flup/server/ajp_base.py (refactored) @@ -39,7 +39,7 @@ import traceback # Unfortunately, for now, threads are required. -import thread +import _thread import threading from flup.server import NoDefault @@ -170,8 +170,8 @@ return '', pos s = data[pos:pos+length] return s, pos+length+1 # Don't forget NUL - except Exception, e: - raise ProtocolError, 'decodeString: '+str(e) + except Exception as e: + raise ProtocolError('decodeString: '+str(e)) def decodeRequestHeader(data, pos=0): """Decode a request header/value pair.""" @@ -181,14 +181,14 @@ i = ord(data[pos+1]) name = requestHeaderTable[i] if name is None: - raise ValueError, 'bad request header code' + raise ValueError('bad request header code') pos += 2 else: name, pos = decodeString(data, pos) value, pos = decodeString(data, pos) return name, value, pos - except Exception, e: - raise ProtocolError, 'decodeRequestHeader: '+str(e) + except Exception as e: + raise ProtocolError('decodeRequestHeader: '+str(e)) def decodeAttribute(data, pos=0): """Decode a request attribute.""" @@ -210,11 +210,11 @@ else: name = attributeTable[i] if name is None: - raise ValueError, 'bad attribute code' + raise ValueError('bad attribute code') value, pos = decodeString(data, pos) return name, value, pos - except Exception, e: - raise ProtocolError, 'decodeAttribute: '+str(e) + except Exception as e: + raise ProtocolError('decodeAttribute: '+str(e)) def encodeString(s): """Encode a string.""" @@ -249,7 +249,7 @@ while length: try: data = sock.recv(length) - except socket.error, e: + except socket.error as e: if e[0] == errno.EAGAIN: select.select([sock], [], []) continue @@ -276,7 +276,7 @@ raise EOFError if header[:2] != SERVER_PREFIX: - raise ProtocolError, 'invalid header' + raise ProtocolError('invalid header') self.length = struct.unpack('>H', header[2:4])[0] if self.length: @@ -296,7 +296,7 @@ while length: try: sent = sock.send(data) - except socket.error, e: + eRefactoringTool: Refactored ./flup/server/ajp.py xcept socket.error as e: if e[0] == errno.EAGAIN: select.select([], [sock], []) continue @@ -427,7 +427,7 @@ def __iter__(self): return self - def next(self): + def __next__(self): r = self.readline() if not r: raise StopIteration @@ -446,12 +446,12 @@ never send us an EOF (empty string argument). """ if not data: - raise ProtocolError, 'short data' + raise ProtocolError('short data') self._bufList.append(data) length = len(data) self._avail += length if self._avail > self._length: - raise ProtocolError, 'too much data' + raise ProtocolError('too much data') class Request(object): """ @@ -626,7 +626,7 @@ while True: try: self.processInput() - except ProtocolError, e: + except ProtocolError as e: self.logger.error("Protocol error '%s'", str(e)) break except (EOFError, KeyboardInterrupt): @@ -652,7 +652,7 @@ return if not pkt.length: - raise ProtocolError, 'unexpected empty packet' + raise ProtocolError('unexpected empty packet') pkttype = pkt.data[0] if pkttype == PKTTYPE_FWD_REQ: @@ -664,7 +664,7 @@ elif pkttype == PKTTYPE_CPING: self._cping(pkt) else: - raise ProtocolError, 'unknown packet type' + raise ProtocolError('unknown packet type') def _forwardRequest(self, pkt): """ @@ -676,7 +676,7 @@ i = ord(pkt.data[1]) method = methodTable[i] if method is None: - raise ValueError, 'bad method field' + raise ValueError('bad method field') req.setMethod(method) value, pos = decodeString(pkt.data, 2) req.setProtocol(value) @@ -814,7 +814,7 @@ self._allowedServers = allowedServers # Used to force single-threadedness. - self._appLock = thread.allocate_lock() + self._appLock = _thread.allocate_lock() self.logger = logging.getLogger(LoggerName) self.logger.setLevel(loggingLevel) @@ -893,7 +893,7 @@ try: if headers_sent: # Re-raise if too late - raise exc_info[0], exc_info[1], exc_info[2] + raise exc_info[0](exc_info[1]).with_traceback(exc_info[2]) finally: exc_info = None # avoid dangling circular ref else: @@ -926,7 +926,7 @@ finally: if hasattr(result, 'close'): result.close() - except socket.error, e: + except socket.error as e: if e[0] != errno.EPIPE: raise # Don't let EPIPE propagate beyond server finally: @@ -945,10 +945,10 @@ environ['SCRIPT_NAME'] = scriptName reqUri = None - if environ.has_key('REQUEST_URI'): + if 'REQUEST_URI' in environ: reqUri = environ['REQUEST_URI'].split('?', 1) - if not environ.has_key('QUERY_STRING') or not environ['QUERY_STRING']: + if 'QUERY_STRING' not in environ or not environ['QUERY_STRING']: if reqUri is not None and len(reqUri) > 1: environ['QUERY_STRING'] = reqUri[1] else: --- ./flup/server/ajp.py (original) +++ ./flup/server/ajp.py (refactored) @@ -140,7 +140,7 @@ loggingLevel=loggingLevel, debug=debug) for key in ('jobClass', 'jobArgs'): - if kw.has_key(key): + if key in kw: del kw[key] ThreadedServer.__init__(self, jobClass=Connection, jobArgs=(self, None), **kw) @@ -155,7 +155,7 @@ try: sock = self._setupSocket() - except socRefactoringTool: No changes to ./flup/server/__init__.py RefactoringTool: Refactored ./flup/client/scgi_app.py RefactoringTool: Refactored ./flup/client/fcgi_app.py ket.error, e: + except socket.error as e: self.logger.error('Failed to bind socket (%s), exiting', e[1]) return False @@ -175,17 +175,17 @@ if __name__ == '__main__': def test_app(environ, start_response): """Probably not the most efficient example.""" - import cgi + from . import cgi start_response('200 OK', [('Content-Type', 'text/html')]) yield 'Hello World!\n' \ '\n' \ '

Hello World!

\n' \ '
%s%s
' - names = environ.keys() + names = list(environ.keys()) names.sort() for name in names: yield '\n' % ( - name, cgi.escape(`environ[name]`)) + name, cgi.escape(repr(environ[name]))) form = cgi.FieldStorage(fp=environ['wsgi.input'], environ=environ, keep_blank_values=1) --- ./flup/client/scgi_app.py (original) +++ ./flup/client/scgi_app.py (refactored) @@ -66,11 +66,11 @@ # TODO: Anything not from environ that needs to be sent also? content_length = int(environ.get('CONTENT_LENGTH') or 0) - if headers.has_key('CONTENT_LENGTH'): + if 'CONTENT_LENGTH' in headers: del headers['CONTENT_LENGTH'] headers_out = ['CONTENT_LENGTH', str(content_length), 'SCGI', '1'] - for k,v in headers.items(): + for k,v in list(headers.items()): headers_out.append(k) headers_out.append(v) headers_out.append('') # For trailing NUL @@ -137,7 +137,7 @@ return [result] def _getConnection(self): - if isinstance(self._connect, types.StringTypes): + if isinstance(self._connect, (str,)): sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) sock.connect(self._connect) elif hasattr(socket, 'create_connection'): @@ -154,7 +154,7 @@ def _defaultFilterEnviron(self, environ): result = {} - for n in environ.keys(): + for n in list(environ.keys()): for p in self._environPrefixes: if n.startswith(p): result[n] = environ[n] @@ -167,7 +167,7 @@ def _lightFilterEnviron(self, environ): result = {} - for n in environ.keys(): + for n in list(environ.keys()): if n.upper() == n: result[n] = environ[n] return result --- ./flup/client/fcgi_app.py (original) +++ ./flup/client/fcgi_app.py (refactored) @@ -137,13 +137,13 @@ if nameLength < 128: s = chr(nameLength) else: - s = struct.pack('!L', nameLength | 0x80000000L) + s = struct.pack('!L', nameLength | 0x80000000) valueLength = len(value) if valueLength < 128: s += chr(valueLength) else: - s += struct.pack('!L', valueLength | 0x80000000L) + s += struct.pack('!L', valueLength | 0x80000000) return s + name + value @@ -171,7 +171,7 @@ while length: try: data = sock.recv(length) - except socket.error, e: + except socket.error as e: if e[0] == errno.EAGAIN: select.select([sock], [], []) continue @@ -228,7 +228,7 @@ while length: try: sent = sock.send(data) - except socket.error, e: + except socket.error as e: if e[0] == errno.EAGAIN: select.select([], [sock], []) continue @@ -387,7 +387,7 @@ if self._connect is not None: # The simple case. Create a socket and connect to the # application. - if isinstance(self._connect, types.StringTypes): + if isinstance(self._connect, (str,)): sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) sock.connect(self._connect) RefactoringTool: Refactored ./ez_setup.py elif hasattr(socket, 'create_connection'): @@ -398,7 +398,7 @@ return sock # To be done when I have more time... - raise NotImplementedError, 'Launching and managing FastCGI programs not yet implemented' + raise NotImplementedError('Launching and managing FastCGI programs not yet implemented') def _fcgiGetValues(self, sock, vars): # Construct FCGI_GET_VALUES record @@ -425,7 +425,7 @@ def _fcgiParams(self, sock, requestId, params): rec = Record(FCGI_PARAMS, requestId) data = [] - for name,value in params.items(): + for name,value in list(params.items()): data.append(encode_pair(name, value)) data = ''.join(data) rec.contentData = data @@ -439,7 +439,7 @@ def _defaultFilterEnviron(self, environ): result = {} - for n in environ.keys(): + for n in list(environ.keys()): for p in self._environPrefixes: if n.startswith(p): result[n] = environ[n] @@ -452,7 +452,7 @@ def _lightFilterEnviron(self, environ): result = {} - for n in environ.keys(): + for n in list(environ.keys()): if n.upper() == n: result[n] = environ[n] return result --- ./ez_setup.py (original) +++ ./ez_setup.py (refactored) @@ -62,10 +62,10 @@ if egg_name in md5_data: digest = md5(data).hexdigest() if digest != md5_data[egg_name]: - print >>sys.stderr, ( + print(( "md5 validation of %s failed! (Possible download problem?)" % egg_name - ) + ), file=sys.stderr) sys.exit(2) return data @@ -95,14 +95,14 @@ return do_download() try: pkg_resources.require("setuptools>="+version); return - except pkg_resources.VersionConflict, e: + except pkg_resources.VersionConflict as e: if was_imported: - print >>sys.stderr, ( + print(( "The required version of setuptools (>=%s) is not available, and\n" "can't be installed while this script is running. Please install\n" " a more recent version first, using 'easy_install -U setuptools'." "\n\n(Currently using %r)" - ) % (version, e.args[0]) + ) % (version, e.args[0]), file=sys.stderr) sys.exit(2) else: del pkg_resources, sys.modules['pkg_resources'] # reload ok @@ -121,7 +121,7 @@ with a '/'). `to_dir` is the directory where the egg will be downloaded. `delay` is the number of seconds to pause before an actual download attempt. """ - import urllib2, shutil + import urllib.request, urllib.error, urllib.parse, shutil egg_name = "setuptools-%s-py%s.egg" % (version,sys.version[:3]) url = download_base + egg_name saveto = os.path.join(to_dir, egg_name) @@ -147,7 +147,7 @@ version, download_base, delay, url ); from time import sleep; sleep(delay) log.warn("Downloading %s", url) - src = urllib2.urlopen(url) + src = urllib.request.urlopen(url) # Read/write all in one block, so we don't create a corrupt file # if the download is interrupted. data = _validate_md5(egg_name, src.read()) @@ -208,10 +208,10 @@ os.unlink(egg) else: if setuptools.__version__ == '0.0.1': - print >>sys.stderr, ( + print(( "You have an obsolete version of setuptools installed. Please\n" "remove it from your system entirely before rerunning this script." - ) + ), file=sys.stderr) sys.exit(2) req = "setuptools>="+version @@ -230,8 +230,8 @@ from setuptools.command.easy_install import main main(argv) else: - print "Setuptools version",version,"or greater has been installed." - RefactoringTool: Refactored ./docs/source/conf.py RefactoringTool: Files that were modified: RefactoringTool: ./setup.py RefactoringTool: ./flup/server/threadpool.py RefactoringTool: ./flup/server/threadedserver.py RefactoringTool: ./flup/server/singleserver.py RefactoringTool: ./flup/server/scgi_fork.py RefactoringTool: ./flup/server/scgi_base.py RefactoringTool: ./flup/server/scgi.py RefactoringTool: ./flup/server/preforkserver.py RefactoringTool: ./flup/server/paste_factory.py RefactoringTool: ./flup/server/fcgi_single.py RefactoringTool: ./flup/server/fcgi_fork.py RefactoringTool: ./flup/server/fcgi_base.py RefactoringTool: ./flup/server/fcgi.py RefactoringTool: ./flup/server/cgi.py RefactoringTool: ./flup/server/ajp_fork.py RefactoringTool: ./flup/server/ajp_base.py RefactoringTool: ./flup/server/ajp.py RefactoringTool: ./flup/server/__init__.py RefactoringTool: ./flup/client/scgi_app.py RefactoringTool: ./flup/client/fcgi_app.py RefactoringTool: ./ez_setup.py RefactoringTool: ./docs/source/conf.py print '(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)' + print("Setuptools version",version,"or greater has been installed.") + print('(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)') def update_md5(filenames): """Update our built-in md5 registry""" @@ -244,7 +244,7 @@ md5_data[base] = md5(f.read()).hexdigest() f.close() - data = [" %r: %r,\n" % it for it in md5_data.items()] + data = [" %r: %r,\n" % it for it in list(md5_data.items())] data.sort() repl = "".join(data) @@ -254,7 +254,7 @@ match = re.search("\nmd5_data = {\n([^}]+)}", src) if not match: - print >>sys.stderr, "Internal error!" + print("Internal error!", file=sys.stderr) sys.exit(2) src = src[:match.start(1)] + repl + src[match.end(1):] --- ./docs/source/conf.py (original) +++ ./docs/source/conf.py (refactored) @@ -38,8 +38,8 @@ master_doc = 'index' # General information about the project. -project = u'flup' -copyright = u'2009, Allan Saddi' +project = 'flup' +copyright = '2009, Allan Saddi' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -173,8 +173,8 @@ # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [ - ('index', 'flup.tex', u'flup Documentation', - u'Allan Saddi', 'manual'), + ('index', 'flup.tex', 'flup Documentation', + 'Allan Saddi', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of + 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/flup copying flup/__init__.py -> build/lib/flup creating build/lib/flup/server copying flup/server/ajp.py -> build/lib/flup/server copying flup/server/ajp_base.py -> build/lib/flup/server copying flup/server/ajp_fork.py -> build/lib/flup/server copying flup/server/cgi.py -> build/lib/flup/server copying flup/server/fcgi.py -> build/lib/flup/server copying flup/server/fcgi_base.py -> build/lib/flup/server copying flup/server/fcgi_fork.py -> build/lib/flup/server copying flup/server/fcgi_single.py -> build/lib/flup/server copying flup/server/paste_factory.py -> build/lib/flup/server copying flup/server/preforkserver.py -> build/lib/flup/server copying flup/server/scgi.py -> build/lib/flup/server copying flup/server/scgi_base.py -> build/lib/flup/server copying flup/server/scgi_fork.py -> build/lib/flup/server copying flup/server/singleserver.py -> build/lib/flup/server copying flup/server/threadedserver.py -> build/lib/flup/server copying flup/server/threadpool.py -> build/lib/flup/server copying flup/server/__init__.py -> build/lib/flup/server creating build/lib/flup/client copying flup/client/fcgi_app.py -> build/lib/flup/client copying flup/client/scgi_app.py -> build/lib/flup/client copying flup/client/__init__.py -> build/lib/flup/client + popd ~/RPM/BUILD/python-module-flup-1.0.3 + make -C docs pickle make: Entering directory '/usr/src/RPM/BUILD/python-module-flup-1.0.3/docs' sphinx-build -b pickle -d build/doctrees source build/pickle Running Sphinx v1.6.5 making output directory... Generating grammar tables from /usr/lib/python2.7/site-packages/sphinx/pycode/Grammar-py2.txt loading pickled environment... not yet created building [mo]: targets for 0 po files that are out of date building [pickle]: targets for 17 source files that are out of date updating environment: 17 added, 0 changed, 0 removed reading sources... [ 5%] index /usr/lib/python2.7/site-packages/sphinx/environment/__init__.py:686: RemovedInSphinx17Warning: html_use_smartypants option is deprecated. Smart quotes are on by default; if you want to disable or customize them, use the smart_quotes option in docutils.conf. RemovedInSphinx17Warning) reading sources... [ 11%] modules/flup.server.ajp reading sources... [ 17%] modules/flup.server.ajp_base reading sources... [ 23%] modules/flup.server.ajp_fork reading sources... [ 29%] modules/flup.server.cgi reading sources... [ 35%] modules/flup.server.fcgi reading sources... [ 41%] modules/flup.server.fcgi_base reading sources... [ 47%] modules/flup.server.fcgi_fork reading sources... [ 52%] modules/flup.server.fcgi_single reading sources... [ 58%] modules/flup.server.paste_factory reading sources... [ 64%] modules/flup.server.preforkserver reading sources... [ 70%] modules/flup.server.scgi reading sources... [ 76%] modules/flup.server.scgi_base reading sources... [ 82%] modules/flup.server.scgi_fork reading sources... [ 88%] modules/flup.server.singleserver reading sources... [ 94%] modules/flup.server.threadedserver reading sources... [100%] modules/flup.server.threadpool looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 5%] index writing output... [ 11%] modules/flup.server.ajp writing output... [ 17%] modules/flup.server.ajp_base writing output... [ 23%] modules/flup.server.ajp_fork writing output... [ 29%] modules/flup.server.cgi writing output... [ 35%] modules/flup.server.fcgi writing output... [ 41%] modules/flup.server.fcgi_base writing output... [ 47%] modules/flup.server.fcgi_fork writing output... [ 52%] modules/flup.server.fcgi_single writing output... [ 58%] modules/flup.server.paste_factory writing output... [ 64%] modules/flup.server.preforkserver writing output... [ 70%] modules/flup.server.scgi writing output... [ 76%] modules/flup.server.scgi_base writing output... [ 82%] modules/flup.server.scgi_fork writing output... [ 88%] modules/flup.server.singleserver writing output... [ 94%] modules/flup.server.threadedserver writing output... [100%] modules/flup.server.threadpool generating indices... genindex py-modindex writing additional pages... search opensearch copying static files... WARNING: html_static_path entry u'/usr/src/RPM/BUILD/python-module-flup-1.0.3/docs/source/_static' does not exist done copying extra files... done dumping search index in English (code: en) ... done dumping object inventory... done build succeeded, 1 warning. Build finished; now you can process the pickle files. make: Leaving directory '/usr/src/RPM/BUILD/python-module-flup-1.0.3/docs' + make -C docs html make: Entering directory '/usr/src/RPM/BUILD/python-module-flup-1.0.3/docs' sphinx-build -b html -d build/doctrees source build/html Running Sphinx v1.6.5 making output directory... Generating grammar tables from /usr/lib/python2.7/site-packages/sphinx/pycode/Grammar-py2.txt loading pickled environment... done building [mo]: targets for 0 po files that are out of date building [html]: targets for 17 source files that are out of date updating environment: 0 added, 0 changed, 0 removed looking for now-outdated files... none found preparing documents... done writing output... [ 5%] index writing output... [ 11%] modules/flup.server.ajp writing output... [ 17%] modules/flup.server.ajp_base writing output... [ 23%] modules/flup.server.ajp_fork writing output... [ 29%] modules/flup.server.cgi writing output... [ 35%] modules/flup.server.fcgi writing output... [ 41%] modules/flup.server.fcgi_base writing output... [ 47%] modules/flup.server.fcgi_fork writing output... [ 52%] modules/flup.server.fcgi_single writing output... [ 58%] modules/flup.server.paste_factory writing output... [ 64%] modules/flup.server.preforkserver writing output... [ 70%] modules/flup.server.scgi writing output... [ 76%] modules/flup.server.scgi_base writing output... [ 82%] modules/flup.server.scgi_fork writing output... [ 88%] modules/flup.server.singleserver writing output... [ 94%] modules/flup.server.threadedserver writing output... [100%] modules/flup.server.threadpool generating indices... genindex py-modindex writing additional pages... search opensearch copying static files... WARNING: html_static_path entry u'/usr/src/RPM/BUILD/python-module-flup-1.0.3/docs/source/_static' does not exist done copying extra files... done dumping search index in English (code: en) ... done dumping object inventory... done build succeeded, 1 warning. Build finished. The HTML pages are in build/html. make: Leaving directory '/usr/src/RPM/BUILD/python-module-flup-1.0.3/docs' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.29202 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-flup-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-flup-buildroot + cd python-module-flup-1.0.3 + 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/python2.7 setup.py install --skip-build --root=/usr/src/tmp/python-module-flup-buildroot --force --optimize=2 --record=INSTALLED_FILES running install running install_lib creating /usr/src/tmp/python-module-flup-buildroot creating /usr/src/tmp/python-module-flup-buildroot/usr creating /usr/src/tmp/python-module-flup-buildroot/usr/lib creating /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup creating /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/client copying build/lib/flup/client/__init__.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/client copying build/lib/flup/client/fcgi_app.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/client copying build/lib/flup/client/scgi_app.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/client creating /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server copying build/lib/flup/server/__init__.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server copying build/lib/flup/server/ajp.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server copying build/lib/flup/server/ajp_base.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server copying build/lib/flup/server/ajp_fork.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server copying build/lib/flup/server/cgi.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server copying build/lib/flup/server/fcgi.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server copying build/lib/flup/server/fcgi_base.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server copying build/lib/flup/server/fcgi_fork.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server copying build/lib/flup/server/fcgi_single.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server copying build/lib/flup/server/paste_factory.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server copying build/lib/flup/server/preforkserver.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server copying build/lib/flup/server/scgi.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server copying build/lib/flup/server/scgi_base.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server copying build/lib/flup/server/scgi_fork.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server copying build/lib/flup/server/singleserver.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server copying build/lib/flup/server/threadedserver.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server copying build/lib/flup/server/threadpool.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server copying build/lib/flup/__init__.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/client/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/client/fcgi_app.py to fcgi_app.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/client/scgi_app.py to scgi_app.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/ajp.py to ajp.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/ajp_base.py to ajp_base.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/ajp_fork.py to ajp_fork.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/cgi.py to cgi.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi.py to fcgi.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_base.py to fcgi_base.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_fork.py to fcgi_fork.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_single.py to fcgi_single.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/paste_factory.py to paste_factory.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/preforkserver.py to preforkserver.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi.py to scgi.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi_base.py to scgi_base.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi_fork.py to scgi_fork.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/singleserver.py to singleserver.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/threadedserver.py to threadedserver.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/threadpool.py to threadpool.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/__init__.py to __init__.pyc writing byte-compilation script '/usr/src/tmp/tmpw50Qsf.py' /usr/bin/python2.7 -OO /usr/src/tmp/tmpw50Qsf.py removing /usr/src/tmp/tmpw50Qsf.py running install_egg_info running egg_info creating flup.egg-info writing flup.egg-info/PKG-INFO writing top-level names to flup.egg-info/top_level.txt writing dependency_links to flup.egg-info/dependency_links.txt writing entry points to flup.egg-info/entry_points.txt writing manifest file 'flup.egg-info/SOURCES.txt' reading manifest file 'flup.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'flup.egg-info/SOURCES.txt' Copying flup.egg-info to /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup-1.0.3.dev20190606-py2.7.egg-info running install_scripts writing list of installed files to 'INSTALLED_FILES' + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-flup-1.0.3 + 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-flup-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup creating /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/client copying build/lib/flup/client/__init__.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/client copying build/lib/flup/client/scgi_app.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/client copying build/lib/flup/client/fcgi_app.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/client creating /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server copying build/lib/flup/server/__init__.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server copying build/lib/flup/server/threadpool.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server copying build/lib/flup/server/threadedserver.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server copying build/lib/flup/server/singleserver.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server copying build/lib/flup/server/scgi_fork.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server copying build/lib/flup/server/scgi_base.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server copying build/lib/flup/server/scgi.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server copying build/lib/flup/server/preforkserver.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server copying build/lib/flup/server/paste_factory.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server copying build/lib/flup/server/fcgi_single.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server copying build/lib/flup/server/fcgi_fork.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server copying build/lib/flup/server/fcgi_base.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server copying build/lib/flup/server/fcgi.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server copying build/lib/flup/server/cgi.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server copying build/lib/flup/server/ajp_fork.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server copying build/lib/flup/server/ajp_base.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server copying build/lib/flup/server/ajp.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server copying build/lib/flup/__init__.py -> /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/client/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/client/scgi_app.py to scgi_app.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/client/fcgi_app.py to fcgi_app.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/threadpool.py to threadpool.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/threadedserver.py to threadedserver.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/singleserver.py to singleserver.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/scgi_fork.py to scgi_fork.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/scgi_base.py to scgi_base.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/scgi.py to scgi.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/preforkserver.py to preforkserver.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/paste_factory.py to paste_factory.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi_single.py to fcgi_single.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi_fork.py to fcgi_fork.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi_base.py to fcgi_base.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi.py to fcgi.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/cgi.py to cgi.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/ajp_fork.py to ajp_fork.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/ajp_base.py to ajp_base.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/ajp.py to ajp.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/__init__.py to __init__.cpython-37.pyc running install_egg_info running egg_info creating flup.egg-info writing flup.egg-info/PKG-INFO writing dependency_links to flup.egg-info/dependency_links.txt writing entry points to flup.egg-info/entry_points.txt writing top-level names to flup.egg-info/top_level.txt writing manifest file 'flup.egg-info/SOURCES.txt' reading manifest file 'flup.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'flup.egg-info/SOURCES.txt' Copying flup.egg-info to /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup-1.0.3.dev20190606-py3.7.egg-info running install_scripts + popd ~/RPM/BUILD/python-module-flup-1.0.3 + cp -fR docs/build/pickle /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/ + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-flup-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-flup-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python-module-flup-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-flup-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-flup-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-flup-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-flup-buildroot using /usr/bin/python2.7 unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/client/__init__.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/client/fcgi_app.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/client/scgi_app.pyc compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/client/__init__.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/client/fcgi_app.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/client/scgi_app.py unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/__init__.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/ajp.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/ajp_base.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/ajp_fork.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/cgi.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_base.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_fork.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_single.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/paste_factory.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/preforkserver.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi_base.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi_fork.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/singleserver.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/threadedserver.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/threadpool.pyc compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/__init__.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/ajp.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/ajp_base.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/ajp_fork.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/cgi.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_base.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_fork.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_single.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/paste_factory.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/preforkserver.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi_base.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi_fork.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/singleserver.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/threadedserver.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/threadpool.py unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/__init__.pyc compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/__init__.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-flup-buildroot using /usr/bin/python2.7 -O unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/client/__init__.pyo unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/client/fcgi_app.pyo unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/client/scgi_app.pyo compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/client/__init__.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/client/fcgi_app.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/client/scgi_app.py unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/__init__.pyo unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/ajp.pyo unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/ajp_base.pyo unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/ajp_fork.pyo unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/cgi.pyo unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi.pyo unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_base.pyo unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_fork.pyo unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_single.pyo unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/paste_factory.pyo unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/preforkserver.pyo unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi.pyo unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi_base.pyo unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi_fork.pyo unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/singleserver.pyo unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/threadedserver.pyo unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/threadpool.pyo compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/__init__.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/ajp.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/ajp_base.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/ajp_fork.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/cgi.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_base.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_fork.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_single.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/paste_factory.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/preforkserver.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi_base.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi_fork.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/singleserver.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/threadedserver.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/threadpool.py unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/__init__.pyo compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/__init__.py Bytecompiling python3 modules in /usr/src/tmp/python-module-flup-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/client/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/client/__pycache__/fcgi_app.cpython-37.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/client/__pycache__/scgi_app.cpython-37.pyc compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/client/__init__.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/client/fcgi_app.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/client/scgi_app.py unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/__pycache__/ajp.cpython-37.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/__pycache__/ajp_base.cpython-37.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/__pycache__/ajp_fork.cpython-37.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/__pycache__/cgi.cpython-37.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/__pycache__/fcgi.cpython-37.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/__pycache__/fcgi_base.cpython-37.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/__pycache__/fcgi_fork.cpython-37.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/__pycache__/fcgi_single.cpython-37.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/__pycache__/paste_factory.cpython-37.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/__pycache__/preforkserver.cpython-37.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/__pycache__/scgi.cpython-37.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/__pycache__/scgi_base.cpython-37.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/__pycache__/scgi_fork.cpython-37.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/__pycache__/singleserver.cpython-37.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/__pycache__/threadedserver.cpython-37.pyc unlink /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/__pycache__/threadpool.cpython-37.pyc compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/__init__.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/ajp.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/ajp_base.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/ajp_fork.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/cgi.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi_base.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi_fork.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi_single.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/paste_factory.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/preforkserver.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/scgi.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/scgi_base.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/scgi_fork.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/singleserver.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/threadedserver.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/threadpool.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/__init__.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-flup-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/client/__init__.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/client/fcgi_app.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/client/scgi_app.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/__init__.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/ajp.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/ajp_base.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/ajp_fork.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/cgi.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi_base.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi_fork.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi_single.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/paste_factory.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/preforkserver.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/scgi.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/scgi_base.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/scgi_fork.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/singleserver.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/threadedserver.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/threadpool.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/__init__.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-flup-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/client/__init__.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/client/fcgi_app.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/client/scgi_app.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/__init__.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/ajp.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/ajp_base.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/ajp_fork.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/cgi.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi_base.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi_fork.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi_single.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/paste_factory.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/preforkserver.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/scgi.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/scgi_base.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/scgi_fork.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/singleserver.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/threadedserver.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/threadpool.py compile /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/__init__.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/flup/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/flup/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/flup/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/flup/__pycache__/__init__.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/flup/server/__pycache__/threadedserver.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/flup/server/__pycache__/threadedserver.cpython-37.pyc' './usr/lib/python3/site-packages/flup/server/__pycache__/singleserver.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/flup/server/__pycache__/singleserver.cpython-37.pyc' './usr/lib/python3/site-packages/flup/server/__pycache__/scgi_fork.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/flup/server/__pycache__/scgi_fork.cpython-37.pyc' './usr/lib/python3/site-packages/flup/server/__pycache__/scgi.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/flup/server/__pycache__/scgi.cpython-37.pyc' './usr/lib/python3/site-packages/flup/server/__pycache__/preforkserver.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/flup/server/__pycache__/preforkserver.cpython-37.pyc' './usr/lib/python3/site-packages/flup/server/__pycache__/paste_factory.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/flup/server/__pycache__/paste_factory.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/flup/server/__pycache__/fcgi_single.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/flup/server/__pycache__/fcgi_single.cpython-37.pyc' './usr/lib/python3/site-packages/flup/server/__pycache__/fcgi_fork.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/flup/server/__pycache__/fcgi_fork.cpython-37.pyc' './usr/lib/python3/site-packages/flup/server/__pycache__/fcgi.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/flup/server/__pycache__/fcgi.cpython-37.pyc' './usr/lib/python3/site-packages/flup/server/__pycache__/cgi.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/flup/server/__pycache__/cgi.cpython-37.pyc' './usr/lib/python3/site-packages/flup/server/__pycache__/cgi.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/flup/server/__pycache__/cgi.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/flup/server/__pycache__/ajp_fork.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/flup/server/__pycache__/ajp_fork.cpython-37.pyc' './usr/lib/python3/site-packages/flup/server/__pycache__/ajp.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/flup/server/__pycache__/ajp.cpython-37.pyc' './usr/lib/python3/site-packages/flup/server/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/flup/server/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/flup/server/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/flup/server/__pycache__/__init__.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/flup/client/__pycache__/scgi_app.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/flup/client/__pycache__/scgi_app.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/flup/client/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/flup/client/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/flup/client/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/flup/client/__pycache__/__init__.cpython-37.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/flup/__init__.pyo' => './usr/lib/python2.7/site-packages/flup/__init__.pyc' './usr/lib/python2.7/site-packages/flup/server/threadedserver.pyo' => './usr/lib/python2.7/site-packages/flup/server/threadedserver.pyc' './usr/lib/python2.7/site-packages/flup/server/singleserver.pyo' => './usr/lib/python2.7/site-packages/flup/server/singleserver.pyc' './usr/lib/python2.7/site-packages/flup/server/scgi_fork.pyo' => './usr/lib/python2.7/site-packages/flup/server/scgi_fork.pyc' './usr/lib/python2.7/site-packages/flup/server/scgi.pyo' => './usr/lib/python2.7/site-packages/flup/server/scgi.pyc' './usr/lib/python2.7/site-packages/flup/server/preforkserver.pyo' => './usr/lib/python2.7/site-packages/flup/server/preforkserver.pyc' './usr/lib/python2.7/site-packages/flup/server/fcgi_single.pyo' => './usr/lib/python2.7/site-packages/flup/server/fcgi_single.pyc' './usr/lib/python2.7/site-packages/flup/server/fcgi_fork.pyo' => './usr/lib/python2.7/site-packages/flup/server/fcgi_fork.pyc' './usr/lib/python2.7/site-packages/flup/server/fcgi.pyo' => './usr/lib/python2.7/site-packages/flup/server/fcgi.pyc' './usr/lib/python2.7/site-packages/flup/server/cgi.pyo' => './usr/lib/python2.7/site-packages/flup/server/cgi.pyc' './usr/lib/python2.7/site-packages/flup/server/ajp_fork.pyo' => './usr/lib/python2.7/site-packages/flup/server/ajp_fork.pyc' './usr/lib/python2.7/site-packages/flup/server/ajp.pyo' => './usr/lib/python2.7/site-packages/flup/server/ajp.pyc' './usr/lib/python2.7/site-packages/flup/server/__init__.pyo' => './usr/lib/python2.7/site-packages/flup/server/__init__.pyc' './usr/lib/python2.7/site-packages/flup/client/__init__.pyo' => './usr/lib/python2.7/site-packages/flup/client/__init__.pyc' Processing files: python-module-flup-1.0.3-alt2.hg20120223.1.2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.iiyCXU 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.SvF5R8 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-flup-buildroot/usr/lib/python2.7/site-packages/flup/client/fcgi_app.py: skipping errno /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/client/fcgi_app.py: line=85 IGNORE (for REQ=slight and deep=8) module=time /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/client/fcgi_app.py: line=461 IGNORE (for REQ=slight and deep=8) module=flup python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/client/scgi_app.py: skipping errno /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/client/scgi_app.py: line=176 IGNORE (for REQ=slight and deep=8) module=flup python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/ajp.py: hiding flup, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/ajp.py: hiding flup, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/ajp.py: line=178 IGNORE (for REQ=slight and deep=12) module=cgi /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/ajp.py: line=202 IGNORE (for REQ=slight and deep=8) module=wsgiref python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/ajp_base.py: skipping sys python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/ajp_base.py: skipping signal python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/ajp_base.py: skipping errno python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/ajp_base.py: skipping thread python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/ajp_base.py: hiding flup, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/ajp_base.py: line=965 IGNORE (for REQ=slight and deep=15) module=cgitb python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/ajp_fork.py: hiding flup, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/ajp_fork.py: hiding flup, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/ajp_fork.py: line=173 IGNORE (for REQ=slight and deep=12) module=cgi /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/ajp_fork.py: line=197 IGNORE (for REQ=slight and deep=8) module=wsgiref python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/cgi.py: skipping sys python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi.py: hiding flup, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi.py: hiding flup, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi.py: line=124 IGNORE (for REQ=slight and deep=12) module=cgi /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi.py: line=148 IGNORE (for REQ=slight and deep=8) module=wsgiref python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_base.py: skipping sys python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_base.py: skipping signal python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_base.py: skipping errno /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_base.py: line=41 IGNORE (for REQ=slight and deep=8) module=thread /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_base.py: line=42 IGNORE (for REQ=slight and deep=8) module=threading /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_base.py: line=45 IGNORE (for REQ=slight and deep=8) module=dummy_thread /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_base.py: line=46 IGNORE (for REQ=slight and deep=8) module=dummy_threading /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_base.py: line=101 IGNORE (for REQ=slight and deep=8) module=time /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_base.py: line=976 IGNORE (for REQ=slight and deep=19) module=resource /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_base.py: line=1219 IGNORE (for REQ=slight and deep=15) module=cgitb python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_fork.py: hiding flup, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_fork.py: hiding flup, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_fork.py: line=106 IGNORE (for REQ=slight and deep=15) module=resource /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_fork.py: line=149 IGNORE (for REQ=slight and deep=12) module=cgi /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_fork.py: line=173 IGNORE (for REQ=slight and deep=8) module=wsgiref python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_single.py: hiding flup, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_single.py: hiding flup, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_single.py: line=128 IGNORE (for REQ=slight and deep=12) module=cgi /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/fcgi_single.py: line=152 IGNORE (for REQ=slight and deep=8) module=wsgiref python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/paste_factory.py: hiding flup, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/paste_factory.py: line=35 IGNORE (for REQ=slight and deep=8) module=flup /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/paste_factory.py: line=61 IGNORE (for REQ=slight and deep=8) module=flup /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/paste_factory.py: line=89 IGNORE (for REQ=slight and deep=8) module=flup /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/paste_factory.py: line=125 IGNORE (for REQ=slight and deep=8) module=flup /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/paste_factory.py: line=161 IGNORE (for REQ=slight and deep=8) module=flup /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/paste_factory.py: line=188 IGNORE (for REQ=slight and deep=8) module=flup python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/preforkserver.py: skipping sys python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/preforkserver.py: skipping errno python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/preforkserver.py: skipping signal /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/preforkserver.py: line=40 IGNORE (for REQ=slight and deep=8) module=fcntl /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/preforkserver.py: line=52 IGNORE (for REQ=slight and deep=12) module=eunuchs python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi.py: hiding flup, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi.py: hiding flup, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi.py: hiding flup, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi.py: line=171 IGNORE (for REQ=slight and deep=12) module=cgi /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi.py: line=195 IGNORE (for REQ=slight and deep=8) module=wsgiref python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi_base.py: skipping sys python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi_base.py: skipping errno python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi_base.py: skipping signal python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi_base.py: skipping thread python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi_base.py: hiding flup, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi_base.py: line=555 IGNORE (for REQ=slight and deep=15) module=cgitb python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi_fork.py: hiding flup, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi_fork.py: hiding flup, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi_fork.py: hiding flup, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi_fork.py: line=170 IGNORE (for REQ=slight and deep=12) module=cgi /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/scgi_fork.py: line=194 IGNORE (for REQ=slight and deep=8) module=wsgiref python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/singleserver.py: skipping sys python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/singleserver.py: skipping signal python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/singleserver.py: skipping errno /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/singleserver.py: line=37 IGNORE (for REQ=slight and deep=8) module=fcntl python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/threadedserver.py: skipping sys python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/threadedserver.py: skipping signal python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/threadedserver.py: skipping errno /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/threadedserver.py: line=37 IGNORE (for REQ=slight and deep=8) module=fcntl python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/threadedserver.py: hiding flup, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/threadpool.py: skipping sys python.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python2.7/site-packages/flup/server/threadpool.py: skipping thread Provides: python2.7-module-flup = 1.0.3-alt2, python2.7(flup), python2.7(flup.client), python2.7(flup.client.fcgi_app), python2.7(flup.client.scgi_app), python2.7(flup.server), python2.7(flup.server.ajp), python2.7(flup.server.ajp_base), python2.7(flup.server.ajp_fork), python2.7(flup.server.cgi), python2.7(flup.server.fcgi), python2.7(flup.server.fcgi_base), python2.7(flup.server.fcgi_fork), python2.7(flup.server.fcgi_single), python2.7(flup.server.paste_factory), python2.7(flup.server.preforkserver), python2.7(flup.server.scgi), python2.7(flup.server.scgi_base), python2.7(flup.server.scgi_fork), python2.7(flup.server.singleserver), python2.7(flup.server.threadedserver), python2.7(flup.server.threadpool) Requires: python = 2.7, /usr/lib/python2.7/site-packages, python-modules, python2.7(logging) Processing files: python3-module-flup-1.0.3-alt2.hg20120223.1.2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.4qNKrt 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.k40RuS 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-flup-buildroot/usr/lib/python3/site-packages/flup/client/fcgi_app.py: skipping errno /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/client/fcgi_app.py: line=85 IGNORE (for REQ=slight and deep=8) module=time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/client/fcgi_app.py: line=461 IGNORE (for REQ=slight and deep=8) module=flup.server.ajp python3.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/client/scgi_app.py: skipping errno /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/client/scgi_app.py: line=176 IGNORE (for REQ=slight and deep=8) module=flup.server.ajp /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/ajp.py: line=178 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/ajp.py: line=202 IGNORE (for REQ=slight and deep=8) module=wsgiref python3.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/ajp_base.py: skipping sys python3.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/ajp_base.py: skipping errno python3.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/ajp_base.py: skipping time python3.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/ajp_base.py: skipping _thread /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/ajp_base.py: line=965 IGNORE (for REQ=slight and deep=15) module=cgitb /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/ajp_fork.py: line=173 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/ajp_fork.py: line=197 IGNORE (for REQ=slight and deep=8) module=wsgiref python3.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/cgi.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi.py: line=123 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi.py: line=147 IGNORE (for REQ=slight and deep=8) module=wsgiref python3.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi_base.py: skipping sys python3.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi_base.py: skipping errno /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi_base.py: line=41 IGNORE (for REQ=slight and deep=8) module=_thread /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi_base.py: line=42 IGNORE (for REQ=slight and deep=8) module=threading /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi_base.py: line=45 IGNORE (for REQ=slight and deep=8) module=_dummy_thread /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi_base.py: line=46 IGNORE (for REQ=slight and deep=8) module=dummy_threading /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi_base.py: line=101 IGNORE (for REQ=slight and deep=8) module=time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi_base.py: line=976 IGNORE (for REQ=slight and deep=19) module=resource /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi_base.py: line=1219 IGNORE (for REQ=slight and deep=15) module=cgitb /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi_fork.py: line=106 IGNORE (for REQ=slight and deep=15) module=resource /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi_fork.py: line=148 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi_fork.py: line=172 IGNORE (for REQ=slight and deep=8) module=wsgiref /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi_single.py: line=127 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/fcgi_single.py: line=151 IGNORE (for REQ=slight and deep=8) module=wsgiref /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/paste_factory.py: line=35 IGNORE (for REQ=slight and deep=8) module=flup.server.ajp /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/paste_factory.py: line=61 IGNORE (for REQ=slight and deep=8) module=flup.server.ajp_fork /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/paste_factory.py: line=89 IGNORE (for REQ=slight and deep=8) module=flup.server.fcgi /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/paste_factory.py: line=125 IGNORE (for REQ=slight and deep=8) module=flup.server.fcgi_fork /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/paste_factory.py: line=161 IGNORE (for REQ=slight and deep=8) module=flup.server.scgi /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/paste_factory.py: line=188 IGNORE (for REQ=slight and deep=8) module=flup.server.scgi_fork python3.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/preforkserver.py: skipping sys python3.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/preforkserver.py: skipping errno python3.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/preforkserver.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/preforkserver.py: line=40 IGNORE (for REQ=slight and deep=8) module=fcntl /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/preforkserver.py: line=52 IGNORE (for REQ=slight and deep=12) module=eunuchs.socketpair /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/scgi.py: line=171 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/scgi.py: line=195 IGNORE (for REQ=slight and deep=8) module=wsgiref python3.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/scgi_base.py: skipping sys python3.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/scgi_base.py: skipping errno python3.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/scgi_base.py: skipping _thread /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/scgi_base.py: line=555 IGNORE (for REQ=slight and deep=15) module=cgitb /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/scgi_fork.py: line=170 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/scgi_fork.py: line=194 IGNORE (for REQ=slight and deep=8) module=wsgiref python3.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/singleserver.py: skipping sys python3.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/singleserver.py: skipping errno /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/singleserver.py: line=37 IGNORE (for REQ=slight and deep=8) module=fcntl python3.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/threadedserver.py: skipping sys python3.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/threadedserver.py: skipping errno /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/threadedserver.py: line=37 IGNORE (for REQ=slight and deep=8) module=fcntl python3.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/threadpool.py: skipping sys python3.req: /usr/src/tmp/python-module-flup-buildroot/usr/lib/python3/site-packages/flup/server/threadpool.py: skipping _thread Provides: python3(flup), python3(flup.client), python3(flup.client.fcgi_app), python3(flup.client.scgi_app), python3(flup.server), python3(flup.server.ajp), python3(flup.server.ajp_base), python3(flup.server.ajp_fork), python3(flup.server.cgi), python3(flup.server.fcgi), python3(flup.server.fcgi_base), python3(flup.server.fcgi_fork), python3(flup.server.fcgi_single), python3(flup.server.paste_factory), python3(flup.server.preforkserver), python3(flup.server.scgi), python3(flup.server.scgi_base), python3(flup.server.scgi_fork), python3(flup.server.singleserver), python3(flup.server.threadedserver), python3(flup.server.threadpool) Requires: /usr/lib/python3/site-packages, python3(datetime) < 0, python3(io) < 0, python3(logging) < 0, python3(os) < 0, python3(random) < 0, python3(select) < 0, python3(signal) < 0, python3(socket) < 0, python3(struct) < 0, python3(threading) < 0, python3(traceback) < 0, python3(types) < 0, python3(warnings) < 0 Processing files: python-module-flup-docs-1.0.3-alt2.hg20120223.1.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.50446 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-flup-1.0.3 + DOCDIR=/usr/src/tmp/python-module-flup-buildroot/usr/share/doc/python-module-flup-docs-1.0.3 + export DOCDIR + rm -rf /usr/src/tmp/python-module-flup-buildroot/usr/share/doc/python-module-flup-docs-1.0.3 + /bin/mkdir -p /usr/src/tmp/python-module-flup-buildroot/usr/share/doc/python-module-flup-docs-1.0.3 + cp -prL docs/build/html /usr/src/tmp/python-module-flup-buildroot/usr/share/doc/python-module-flup-docs-1.0.3 + chmod -R go-w /usr/src/tmp/python-module-flup-buildroot/usr/share/doc/python-module-flup-docs-1.0.3 + chmod -R a+rX /usr/src/tmp/python-module-flup-buildroot/usr/share/doc/python-module-flup-docs-1.0.3 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.yotHoV 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.kmpKW1 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) Processing files: python-module-flup-pickles-1.0.3-alt2.hg20120223.1.2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.KS4A0b 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.k4Ahyp find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) Requires: /usr/lib/python2.7/site-packages Wrote: /usr/src/RPM/RPMS/noarch/python-module-flup-1.0.3-alt2.hg20120223.1.2.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python3-module-flup-1.0.3-alt2.hg20120223.1.2.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python-module-flup-docs-1.0.3-alt2.hg20120223.1.2.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python-module-flup-pickles-1.0.3-alt2.hg20120223.1.2.noarch.rpm 21.03user 1.55system 0:45.76elapsed 49%CPU (0avgtext+0avgdata 73936maxresident)k 0inputs+0outputs (0major+506631minor)pagefaults 0swaps 39.29user 6.74system 1:29.37elapsed 51%CPU (0avgtext+0avgdata 113768maxresident)k 0inputs+0outputs (0major+1116662minor)pagefaults 0swaps --- python-module-flup-1.0.3-alt2.hg20120223.1.2.noarch.rpm.repo 2018-05-22 10:20:04.000000000 +0000 +++ python-module-flup-1.0.3-alt2.hg20120223.1.2.noarch.rpm.hasher 2019-06-06 03:14:32.548505503 +0000 @@ -1,7 +1,7 @@ -/usr/lib/python2.7/site-packages/flup-1.0.3.dev20180522-py2.7.egg-info/PKG-INFO 100644 -/usr/lib/python2.7/site-packages/flup-1.0.3.dev20180522-py2.7.egg-info/SOURCES.txt 100644 -/usr/lib/python2.7/site-packages/flup-1.0.3.dev20180522-py2.7.egg-info/dependency_links.txt 100644 -/usr/lib/python2.7/site-packages/flup-1.0.3.dev20180522-py2.7.egg-info/entry_points.txt 100644 -/usr/lib/python2.7/site-packages/flup-1.0.3.dev20180522-py2.7.egg-info/top_level.txt 100644 -/usr/lib/python2.7/site-packages/flup-1.0.3.dev20180522-py2.7.egg-info/zip-safe 100644 +/usr/lib/python2.7/site-packages/flup-1.0.3.dev20190606-py2.7.egg-info/PKG-INFO 100644 +/usr/lib/python2.7/site-packages/flup-1.0.3.dev20190606-py2.7.egg-info/SOURCES.txt 100644 +/usr/lib/python2.7/site-packages/flup-1.0.3.dev20190606-py2.7.egg-info/dependency_links.txt 100644 +/usr/lib/python2.7/site-packages/flup-1.0.3.dev20190606-py2.7.egg-info/entry_points.txt 100644 +/usr/lib/python2.7/site-packages/flup-1.0.3.dev20190606-py2.7.egg-info/top_level.txt 100644 +/usr/lib/python2.7/site-packages/flup-1.0.3.dev20190606-py2.7.egg-info/zip-safe 100644 /usr/lib/python2.7/site-packages/flup/__init__.py 100644 --- python3-module-flup-1.0.3-alt2.hg20120223.1.2.noarch.rpm.repo 2018-05-22 10:20:04.000000000 +0000 +++ python3-module-flup-1.0.3-alt2.hg20120223.1.2.noarch.rpm.hasher 2019-06-06 03:14:32.638505680 +0000 @@ -1,14 +1,14 @@ /usr/lib/python3/site-packages/flup 40755 -/usr/lib/python3/site-packages/flup-1.0.3.dev20180522-py3.6.egg-info 40755 -/usr/lib/python3/site-packages/flup-1.0.3.dev20180522-py3.6.egg-info/PKG-INFO 100644 -/usr/lib/python3/site-packages/flup-1.0.3.dev20180522-py3.6.egg-info/SOURCES.txt 100644 -/usr/lib/python3/site-packages/flup-1.0.3.dev20180522-py3.6.egg-info/dependency_links.txt 100644 -/usr/lib/python3/site-packages/flup-1.0.3.dev20180522-py3.6.egg-info/entry_points.txt 100644 -/usr/lib/python3/site-packages/flup-1.0.3.dev20180522-py3.6.egg-info/top_level.txt 100644 -/usr/lib/python3/site-packages/flup-1.0.3.dev20180522-py3.6.egg-info/zip-safe 100644 +/usr/lib/python3/site-packages/flup-1.0.3.dev20190606-py3.7.egg-info 40755 +/usr/lib/python3/site-packages/flup-1.0.3.dev20190606-py3.7.egg-info/PKG-INFO 100644 +/usr/lib/python3/site-packages/flup-1.0.3.dev20190606-py3.7.egg-info/SOURCES.txt 100644 +/usr/lib/python3/site-packages/flup-1.0.3.dev20190606-py3.7.egg-info/dependency_links.txt 100644 +/usr/lib/python3/site-packages/flup-1.0.3.dev20190606-py3.7.egg-info/entry_points.txt 100644 +/usr/lib/python3/site-packages/flup-1.0.3.dev20190606-py3.7.egg-info/top_level.txt 100644 +/usr/lib/python3/site-packages/flup-1.0.3.dev20190606-py3.7.egg-info/zip-safe 100644 /usr/lib/python3/site-packages/flup/__init__.py 100644 /usr/lib/python3/site-packages/flup/__pycache__ 40755 -/usr/lib/python3/site-packages/flup/__pycache__/__init__.cpython-36.opt-1.pyc 100644 -/usr/lib/python3/site-packages/flup/__pycache__/__init__.cpython-36.opt-2.pyc 100644 -/usr/lib/python3/site-packages/flup/__pycache__/__init__.cpython-36.pyc 100644 +/usr/lib/python3/site-packages/flup/__pycache__/__init__.cpython-37.opt-1.pyc 100644 +/usr/lib/python3/site-packages/flup/__pycache__/__init__.cpython-37.opt-2.pyc 100644 +/usr/lib/python3/site-packages/flup/__pycache__/__init__.cpython-37.pyc 100644 /usr/lib/python3/site-packages/flup/client 40755 @@ -16,11 +16,11 @@ /usr/lib/python3/site-packages/flup/client/__pycache__ 40755 -/usr/lib/python3/site-packages/flup/client/__pycache__/__init__.cpython-36.opt-1.pyc 100644 -/usr/lib/python3/site-packages/flup/client/__pycache__/__init__.cpython-36.opt-2.pyc 100644 -/usr/lib/python3/site-packages/flup/client/__pycache__/__init__.cpython-36.pyc 100644 -/usr/lib/python3/site-packages/flup/client/__pycache__/fcgi_app.cpython-36.opt-1.pyc 100644 -/usr/lib/python3/site-packages/flup/client/__pycache__/fcgi_app.cpython-36.opt-2.pyc 100644 -/usr/lib/python3/site-packages/flup/client/__pycache__/fcgi_app.cpython-36.pyc 100644 -/usr/lib/python3/site-packages/flup/client/__pycache__/scgi_app.cpython-36.opt-1.pyc 100644 -/usr/lib/python3/site-packages/flup/client/__pycache__/scgi_app.cpython-36.opt-2.pyc 100644 -/usr/lib/python3/site-packages/flup/client/__pycache__/scgi_app.cpython-36.pyc 100644 +/usr/lib/python3/site-packages/flup/client/__pycache__/__init__.cpython-37.opt-1.pyc 100644 +/usr/lib/python3/site-packages/flup/client/__pycache__/__init__.cpython-37.opt-2.pyc 100644 +/usr/lib/python3/site-packages/flup/client/__pycache__/__init__.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/flup/client/__pycache__/fcgi_app.cpython-37.opt-1.pyc 100644 +/usr/lib/python3/site-packages/flup/client/__pycache__/fcgi_app.cpython-37.opt-2.pyc 100644 +/usr/lib/python3/site-packages/flup/client/__pycache__/fcgi_app.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/flup/client/__pycache__/scgi_app.cpython-37.opt-1.pyc 100644 +/usr/lib/python3/site-packages/flup/client/__pycache__/scgi_app.cpython-37.opt-2.pyc 100644 +/usr/lib/python3/site-packages/flup/client/__pycache__/scgi_app.cpython-37.pyc 100644 /usr/lib/python3/site-packages/flup/client/fcgi_app.py 100644 @@ -30,53 +30,53 @@ /usr/lib/python3/site-packages/flup/server/__pycache__ 40755 -/usr/lib/python3/site-packages/flup/server/__pycache__/__init__.cpython-36.opt-1.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/__init__.cpython-36.opt-2.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/__init__.cpython-36.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/ajp.cpython-36.opt-1.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/ajp.cpython-36.opt-2.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/ajp.cpython-36.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/ajp_base.cpython-36.opt-1.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/ajp_base.cpython-36.opt-2.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/ajp_base.cpython-36.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/ajp_fork.cpython-36.opt-1.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/ajp_fork.cpython-36.opt-2.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/ajp_fork.cpython-36.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/cgi.cpython-36.opt-1.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/cgi.cpython-36.opt-2.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/cgi.cpython-36.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/fcgi.cpython-36.opt-1.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/fcgi.cpython-36.opt-2.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/fcgi.cpython-36.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/fcgi_base.cpython-36.opt-1.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/fcgi_base.cpython-36.opt-2.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/fcgi_base.cpython-36.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/fcgi_fork.cpython-36.opt-1.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/fcgi_fork.cpython-36.opt-2.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/fcgi_fork.cpython-36.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/fcgi_single.cpython-36.opt-1.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/fcgi_single.cpython-36.opt-2.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/fcgi_single.cpython-36.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/paste_factory.cpython-36.opt-1.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/paste_factory.cpython-36.opt-2.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/paste_factory.cpython-36.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/preforkserver.cpython-36.opt-1.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/preforkserver.cpython-36.opt-2.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/preforkserver.cpython-36.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/scgi.cpython-36.opt-1.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/scgi.cpython-36.opt-2.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/scgi.cpython-36.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/scgi_base.cpython-36.opt-1.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/scgi_base.cpython-36.opt-2.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/scgi_base.cpython-36.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/scgi_fork.cpython-36.opt-1.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/scgi_fork.cpython-36.opt-2.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/scgi_fork.cpython-36.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/singleserver.cpython-36.opt-1.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/singleserver.cpython-36.opt-2.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/singleserver.cpython-36.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/threadedserver.cpython-36.opt-1.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/threadedserver.cpython-36.opt-2.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/threadedserver.cpython-36.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/threadpool.cpython-36.opt-1.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/threadpool.cpython-36.opt-2.pyc 100644 -/usr/lib/python3/site-packages/flup/server/__pycache__/threadpool.cpython-36.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/__init__.cpython-37.opt-1.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/__init__.cpython-37.opt-2.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/__init__.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/ajp.cpython-37.opt-1.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/ajp.cpython-37.opt-2.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/ajp.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/ajp_base.cpython-37.opt-1.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/ajp_base.cpython-37.opt-2.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/ajp_base.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/ajp_fork.cpython-37.opt-1.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/ajp_fork.cpython-37.opt-2.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/ajp_fork.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/cgi.cpython-37.opt-1.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/cgi.cpython-37.opt-2.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/cgi.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/fcgi.cpython-37.opt-1.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/fcgi.cpython-37.opt-2.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/fcgi.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/fcgi_base.cpython-37.opt-1.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/fcgi_base.cpython-37.opt-2.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/fcgi_base.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/fcgi_fork.cpython-37.opt-1.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/fcgi_fork.cpython-37.opt-2.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/fcgi_fork.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/fcgi_single.cpython-37.opt-1.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/fcgi_single.cpython-37.opt-2.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/fcgi_single.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/paste_factory.cpython-37.opt-1.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/paste_factory.cpython-37.opt-2.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/paste_factory.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/preforkserver.cpython-37.opt-1.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/preforkserver.cpython-37.opt-2.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/preforkserver.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/scgi.cpython-37.opt-1.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/scgi.cpython-37.opt-2.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/scgi.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/scgi_base.cpython-37.opt-1.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/scgi_base.cpython-37.opt-2.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/scgi_base.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/scgi_fork.cpython-37.opt-1.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/scgi_fork.cpython-37.opt-2.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/scgi_fork.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/singleserver.cpython-37.opt-1.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/singleserver.cpython-37.opt-2.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/singleserver.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/threadedserver.cpython-37.opt-1.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/threadedserver.cpython-37.opt-2.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/threadedserver.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/threadpool.cpython-37.opt-1.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/threadpool.cpython-37.opt-2.pyc 100644 +/usr/lib/python3/site-packages/flup/server/__pycache__/threadpool.cpython-37.pyc 100644 /usr/lib/python3/site-packages/flup/server/ajp.py 100644
%s%s