<86>Jan 26 02:20:45 userdel[2550987]: delete user 'rooter' <86>Jan 26 02:20:45 groupadd[2551006]: group added to /etc/group: name=rooter, GID=621 <86>Jan 26 02:20:45 groupadd[2551006]: group added to /etc/gshadow: name=rooter <86>Jan 26 02:20:45 groupadd[2551006]: new group: name=rooter, GID=621 <86>Jan 26 02:20:45 useradd[2551026]: new user: name=rooter, UID=621, GID=621, home=/root, shell=/bin/bash <86>Jan 26 02:20:45 userdel[2551077]: delete user 'builder' <86>Jan 26 02:20:45 userdel[2551077]: removed group 'builder' owned by 'builder' <86>Jan 26 02:20:45 userdel[2551077]: removed shadow group 'builder' owned by 'builder' <86>Jan 26 02:20:45 groupadd[2551088]: group added to /etc/group: name=builder, GID=622 <86>Jan 26 02:20:45 groupadd[2551088]: group added to /etc/gshadow: name=builder <86>Jan 26 02:20:45 groupadd[2551088]: new group: name=builder, GID=622 <86>Jan 26 02:20:45 useradd[2551101]: new user: name=builder, UID=622, GID=622, home=/usr/src, shell=/bin/bash <13>Jan 26 02:20:49 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Jan 26 02:20:49 rpmi: libexpat-2.2.4-alt1 1503305341 installed <13>Jan 26 02:20:49 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Jan 26 02:20:49 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Jan 26 02:20:49 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 26 02:20:49 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 26 02:20:49 rpmi: ca-certificates-2019.10.28-alt1 p9+240634.100.1.1 1573575926 installed <13>Jan 26 02:20:49 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Jan 26 02:20:49 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Jan 26 02:20:50 rpmi: libcrypto1.1-1.1.1d-alt1.1 p9+237853.200.3.1 1569251778 installed <13>Jan 26 02:20:50 rpmi: libssl1.1-1.1.1d-alt1.1 p9+237853.200.3.1 1569251778 installed <13>Jan 26 02:20:50 rpmi: python3-3.7.4-alt2 p9+239459.100.1.1 1571444591 installed <13>Jan 26 02:20:50 rpmi: libpython3-3.7.4-alt2 p9+239459.100.1.1 1571444591 installed <13>Jan 26 02:20:52 rpmi: python3-base-3.7.4-alt2 p9+239459.100.1.1 1571444591 installed <13>Jan 26 02:20:52 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Jan 26 02:20:52 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Jan 26 02:20:58 rpmi: python3-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Jan 26 02:20:58 rpmi: python-modules-curses-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 02:20:58 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Jan 26 02:20:58 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Jan 26 02:20:58 rpmi: python3-dev-3.7.4-alt2 p9+239459.100.1.1 1571444591 installed <13>Jan 26 02:20:58 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>Jan 26 02:20:58 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>Jan 26 02:20:58 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <86>Jan 26 02:20:58 groupadd[2564033]: group added to /etc/group: name=_keytab, GID=499 <86>Jan 26 02:20:58 groupadd[2564033]: group added to /etc/gshadow: name=_keytab <86>Jan 26 02:20:58 groupadd[2564033]: new group: name=_keytab, GID=499 <13>Jan 26 02:20:58 rpmi: libkrb5-1.17.1-alt1 p9+242852.100.2.1 1576572448 installed <13>Jan 26 02:20:58 rpmi: libtirpc-1.0.3-alt1 1532008015 installed <13>Jan 26 02:20:58 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>Jan 26 02:20:58 rpmi: python-modules-compiler-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 02:20:58 rpmi: python-modules-email-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 02:20:58 rpmi: python-modules-unittest-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 02:20:58 rpmi: python-modules-encodings-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 02:20:58 rpmi: python-modules-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 02:20:58 rpmi: python-modules-nis-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 02:20:58 rpmi: python-modules-ctypes-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 02:20:58 rpmi: python-modules-multiprocessing-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 02:20:58 rpmi: python-modules-logging-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 02:20:58 rpmi: python-tools-2to3-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 02:20:58 rpmi: python-modules-xml-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 02:20:58 rpmi: python-modules-hotshot-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 02:20:58 rpmi: python-modules-bsddb-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 02:20:58 rpmi: python-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 02:20:58 rpmi: python-modules-distutils-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 02:20:58 rpmi: python-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Jan 26 02:20:58 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548748 installed <13>Jan 26 02:20:58 rpmi: python-dev-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 02:20:58 rpmi: python-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Jan 26 02:20:58 rpmi: python3-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/python-module-WSGIUtils-0.7-alt2.2.nosrc.rpm Installing python-module-WSGIUtils-0.7-alt2.2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.91357 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-WSGIUtils-0.7 + echo 'Source #0 (python-module-WSGIUtils-0.7.tar):' Source #0 (python-module-WSGIUtils-0.7.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-WSGIUtils-0.7.tar + cd python-module-WSGIUtils-0.7 + /bin/chmod -c -Rf u+rwX,go-w . + cp -fR . ../python3 + find ../python3 -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: No changes to ../python3/setup.py RefactoringTool: Refactored ../python3/lib/wsgiutils/wsgiServer.py RefactoringTool: Refactored ../python3/lib/wsgiutils/wsgiAdaptor.py --- ../python3/lib/wsgiutils/wsgiServer.py (original) +++ ../python3/lib/wsgiutils/wsgiServer.py (refactored) @@ -30,9 +30,9 @@ A basic multi-threaded WSGI server. """ -import SimpleHTTPServer, SocketServer, BaseHTTPServer, urlparse +import http.server, socketserver, http.server, urllib.parse import sys, logging, socket, errno -import traceback, StringIO +import traceback, io SERVER_ERROR = """\ @@ -47,7 +47,7 @@ """ -class WSGIHandler (SimpleHTTPServer.SimpleHTTPRequestHandler): +class WSGIHandler (http.server.SimpleHTTPRequestHandler): def log_message (self, *args): pass @@ -55,7 +55,7 @@ pass def getApp (self): - protocol, host, path, parameters, query, fragment = urlparse.urlparse ('http://dummyhost%s' % self.path) + protocol, host, path, parameters, query, fragment = urllib.parse.urlparse ('http://dummyhost%s' % self.path) # Find any application we might have for appPath, app in self.server.wsgiApplications: @@ -79,7 +79,7 @@ if (not app): if (self.server.serveFiles): # Not a request for an application, just a file. - SimpleHTTPServer.SimpleHTTPRequestHandler.do_GET (self) + http.server.SimpleHTTPRequestHandler.do_GET (self) return self.send_error (404, 'Application not found.') return @@ -114,7 +114,7 @@ ,'SERVER_PORT': str (self.server.server_address [1]) ,'SERVER_PROTOCOL': self.request_version } - for httpHeader, httpValue in self.headers.items(): + for httpHeader, httpValue in list(self.headers.items()): env ['HTTP_%s' % httpHeader.replace ('-', '_').upper()] = httpValue # Setup the state @@ -132,18 +132,18 @@ finally: if hasattr(result, 'close'): result.close() - except socket.error, socketErr: + except socket.error as socketErr: # Catch common network errors and suppress them if (socketErr.args[0] in (errno.ECONNABORTED, errno.EPIPE)): logging.debug ("Network error caught: (%s) %s" % (str (socketErr.args[0]), socketErr.args[1])) # For common network errors we just return return - except socket.timeout, socketTimeout: + except socket.timeout as socketTimeout: # Socket time-out logging.debug ("Socket timeout") return except: - errorMsg = StringIO.StringIO() + errorMsg = io.StringIO() traceback.print_exc(file=errorMsg) logging.error (errorMsg.getvalue()) if not self.wsgiSentHeaders: @@ -176,11 +176,11 @@ # Send the data self.wfile.write (data) -class WSGIServer (SocketServer.ThreadingMixIn, BaseHTTPServer.HTTPServer): +class WSGIServer (socketserver.ThreadingMixIn, http.server.HTTPServer): def __init__ (self, serverAddress, wsgiApplications, serveFiles=1): - BaseHTTPServer.HTTPServer.__init__ (self, serverAddress, WSGIHandler) + http.server.HTTPServer.__init__ (self, serverAddress, WSGIHandler) appList = [] - for urlPath, wsgiApp in wsgiApplications.items(): + for urlPath, wsgiApp in list(wsgiApplications.items()): appList.append ((urlPath, wsgiApp)) self.wsgiApplications = appList self.serveFiles = serveFiles --- ../python3/lib/wsgiutils/wsgiAdaptor.py (original) +++ ../python3/lib/wsgiutils/wsgiAdaptor.py (refactored) @@ -30,23 +30,23 @@ Provides a basic web environment within a WSGI server. """ -import Cookie, hmac, base64, socket, xdrlib, struct, pickle, cgi, urllib, os, os.path, SimpleHTTPServer +import http.cookies, hmac, base64, socket, xdrlib, struct, pickle, cgi, urllib.request, urllib.parse, urllib.error, os, os.path, http.server import logging -class simpleCookie (Cookie.SimpleCookie): +class simpleCookie (http.cookies.SimpleCookie): def __init__ (self, digestKey, dataToLoad = None): self.digestKey = digestKey self.log = logging.getLogger ("simpleCookie") if (dataToLoad is not None): - Cookie.BaseCookie.__init__ (self, dataToLoad) - else: - Cookie.BaseCookie.__init__ (self) + http.cookies.BaseCookie.__init__ (self, dataToLoad) + else: + http.cookies.BaseCookie.__init__ (self) def value_decode (self, avalue): """ Return the valRefactoringTool: No changes to ../python3/lib/wsgiutils/__init__.py RefactoringTool: Refactored ../python3/lib/wsgiutils/SessionServer.py ue decoded - note that the documentation is wrong and the return value is actuall a tuple of unquotedvalue, originalvalue """ - unqoutedvalue, dummy = Cookie.SimpleCookie.value_decode (self, avalue) + unqoutedvalue, dummy = http.cookies.SimpleCookie.value_decode (self, avalue) if (self.digestKey is None): return unqoutedvalue, dummy coder = hmac.new(self.digestKey) @@ -65,11 +65,11 @@ is actuall a tuple of originalvalue, quotedevalue """ if (self.digestKey is None): - return Cookie.SimpleCookie.value_encode (self, avalue) + return http.cookies.SimpleCookie.value_encode (self, avalue) coder = hmac.new(self.digestKey) coder.update (avalue) valuetostore = coder.hexdigest() + avalue - return Cookie.SimpleCookie.value_encode (self, valuetostore) + return http.cookies.SimpleCookie.value_encode (self, valuetostore) class Request (object): def __init__ (self, environment): @@ -88,7 +88,7 @@ # Re-construct the URL prefix. url = environment ['wsgi.url_scheme'] + '://' - if environment.has_key ('HTTP_HOST'): + if 'HTTP_HOST' in environment: url += environment ['HTTP_HOST'] else: url += environment ['SERVER_NAME'] @@ -100,7 +100,7 @@ if environment ['SERVER_PORT'] != '80': url += ':' + environment ['SERVER_PORT'] - url += urllib.quote(environment.get('SCRIPT_NAME','')) + url += urllib.parse.quote(environment.get('SCRIPT_NAME','')) self.urlPrefix = url def getFormFields (self): @@ -154,7 +154,7 @@ else: startDir = os.path.abspath (rootDir) - decodedPath = urllib.unquote (path) + decodedPath = urllib.parse.unquote (path) if (decodedPath.startswith ('/')): decodedPath = decodedPath [1:] # Build the path and collapse any indirection (../) @@ -175,7 +175,7 @@ # Guess the content type. fileExtension = os.path.splitext (realPath)[1] - contentType = SimpleHTTPServer.SimpleHTTPRequestHandler.extensions_map [fileExtension] + contentType = http.server.SimpleHTTPRequestHandler.extensions_map [fileExtension] self.contentValue = theFileContents self.contentType = contentType self.response = "200 OK" @@ -196,7 +196,7 @@ # Find authorisation headers and handle them, updating the request object. # If a response is to be immediately sent to the user then return true, otherwise false # Look for authorised users. - if (environment.has_key ('HTTP_AUTHORIZATION')): + if ('HTTP_AUTHORIZATION' in environment): self.log.debug ("Found authorization header.") credentials = environment ['HTTP_AUTHORIZATION'] authTypeOffset = credentials.find (' ') @@ -215,7 +215,7 @@ def getCookies (self, environment): # Do we have any cookies? - if (environment.has_key ('HTTP_COOKIE')): + if ('HTTP_COOKIE' in environment): # Yes we have cookies! cookieValue = environment ['HTTP_COOKIE'] cookies = simpleCookie (self.cookieKey, cookieValue) @@ -246,7 +246,7 @@ try: self.application.requestHandler (request) - except Exception, e: + except Exception as e: self.log.critical ("Application experienced unhandled error: " + str (e)) request.sendResponse ("500 Internal Server Error", "Internal application error") return self.renderToClient (start_response, request, cookies) @@ -269,7 +269,7 @@ headers.append (('Content-length', str (len (request.contentValue)))) if (cookies is not None): # Add the cookies - for cookie in cookies.values(): + for cookie in list(cookies.values()): headers.append (('Set-Cookie', cookie.OutputString())) # Finally start the transaction with wsgi --- ../python3/lib/wsgiutils/SessionServer.py (original) +++ ../python3/lib/wsgiutils/SessionServer.py (refactored) @@ -30,7 +30,7 @@ A Unix daemon server that provides Session persistence. """ -import os, logging, threading, Queue, socket, anydbm, xdrlib, struct +import os, logging, threading, queue, socket, dbm, xdrlib, struct # Wire protocol is based on XDR messages. Each message is precedded by a 4 byte length in network byte order. # Client can issue a messageRefactoringTool: Refactored ../python3/lib/wsgiutils/SessionClient.py of two strings, GET, KEY @@ -41,7 +41,7 @@ def __init__ (self, addr, dbfile): self.addr = addr self.dbfile = dbfile - self.db = anydbm.open (dbfile, 'c') + self.db = dbm.open (dbfile, 'c') self.log = logging.getLogger ("SessionServer") self.log.info ("Server init function.") @@ -55,20 +55,20 @@ listenSocket.bind (self.addr) listenSocket.listen(2) serving = True - except Exception, e: + except Exception as e: self.log.critical ("Unable to start listening on socket: %s" % str (e)) serving = False while (serving): try: connSocket, connAddr = listenSocket.accept() - except Exception, e: + except Exception as e: self.log.error ("Exception occured while waiting for a client: " + str (e)) self.db.sync() self.db.close() return try: self.handleClient (connSocket) - except Exception, e: + except Exception as e: try: self.log.info ("Error handling client (%s), closing socket." % str (e)) connSocket.close() @@ -96,7 +96,7 @@ replymsg.pack_string ("OK") elif (msgType == "GET"): key = msg.unpack_string() - if (self.db.has_key (key)): + if (key in self.db): self.log.info ("Loading session ID %s" % key) value = self.db [key] replymsg.pack_string ("FOUND") --- ../python3/lib/wsgiutils/SessionClient.py (original) +++ ../python3/lib/wsgiutils/SessionClient.py (refactored) @@ -30,8 +30,8 @@ Clients that provide Session services. """ -import socket, xdrlib, struct, cPickle, random, time -import anydbm +import socket, xdrlib, struct, pickle, random, time +import dbm import threading import logging @@ -56,11 +56,11 @@ self.cookieName = cookieName self.log = logging.getLogger ("LocalSessionClient") self.dbLock = threading.Lock() - self.db = anydbm.open (dbFileLocation, 'c') + self.db = dbm.open (dbFileLocation, 'c') def getSession (self, cookies): cookieValue = None - if (cookies.has_key (self.cookieName)): + if (self.cookieName in cookies): cookieValue = cookies [self.cookieName].value self.log.info ("Found session ID %s" % cookieValue) else: @@ -72,7 +72,7 @@ return Session (sessID) self.dbLock.acquire() - if (self.db.has_key (cookieValue)): + if (cookieValue in self.db): pickledSessionData = self.db [cookieValue] self.dbLock.release() else: @@ -83,7 +83,7 @@ return Session(sessID) self.log.info ("Session for ID %s found in db." % str (cookieValue)) - sessionData = cPickle.loads (pickledSessionData) + sessionData = pickle.loads (pickledSessionData) if ((time.time() - sessionData.getLastAccessed()) > self.lifeSpan): self.log.info ("Session has expired - cleaning up old data.") sessionData.clear() @@ -92,7 +92,7 @@ def saveSession (self, session): self.dbLock.acquire() session.lastAccessed = time.time() - self.db [session.getSessionID()] = cPickle.dumps (session) + self.db [session.getSessionID()] = pickle.dumps (session) self.db.sync() self.dbLock.release() @@ -123,7 +123,7 @@ self.sessionServerSocket = None oldSock.close() self.log.debug ("Close succedded") - except Exception, e: + except Exception as e: self.log.warn ("Error attempting to close old socket (%s) carrying on." % str (e)) try: @@ -131,14 +131,14 @@ self.sessionServerSocket = socket.socket (socket.AF_UNIX, socket.SOCK_STREAM) self.sessionServerSocket.connect (self.socketLocation) self.log.info ("Connection to session server established!") - except Exception, e: + except Exception as e: self.log.error ("Unable to connect to session server: %s" % str (e)) self.sessionServerSocket = None self.socketLock.release() def getSession (self, cookies): cookieValue = None - if (cookies.has_key (self.cookieName)): + if (self.cookieName in cookies): cookieValue = cookies [self.cookieName].value self.log.info ("Found session ID %s" % cookieValue) else: @@ -166,7 +166,7 @@ rawmsg = self.sessionServerSocket.recv (msgLen) # Can now release the lock self.sockRefactoringTool: Files that were modified: RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/lib/wsgiutils/wsgiServer.py RefactoringTool: ../python3/lib/wsgiutils/wsgiAdaptor.py RefactoringTool: ../python3/lib/wsgiutils/__init__.py RefactoringTool: ../python3/lib/wsgiutils/SessionServer.py RefactoringTool: ../python3/lib/wsgiutils/SessionClient.py etLock.release() - except Exception, e: + except Exception as e: # Something went wrong talking to the session server. self.socketLock.release() self.log.error ("Error communicating with the session server (%s), trying to re-connect." % str (e)) @@ -187,7 +187,7 @@ pickledSessionData = msg.unpack_string() # The pickled object # Now de-pickle the list of name-value pairs. - sessionData = cPickle.loads (pickledSessionData) + sessionData = pickle.loads (pickledSessionData) if ((time.time() - sessionData.getLastAccessed()) > self.lifeSpan): self.log.info ("Session has expired - cleaning up old data.") sessionData.clear() @@ -201,7 +201,7 @@ msg.pack_string ("SET") session.lastAccessed = time.time() msg.pack_string (session.getSessionID()) - msg.pack_string (cPickle.dumps (session)) + msg.pack_string (pickle.dumps (session)) msg = msg.get_buffer() msgLen = struct.pack ('!l', len (msg)) # Must get the lock at this stage! @@ -216,7 +216,7 @@ rawmsg = self.sessionServerSocket.recv (msgLen) # Can now release the lock self.socketLock.release() - except Exception, e: + except Exception as e: # Something went wrong talking to the session server. self.socketLock.release() self.log.error ("Error communicating with the session server (%s), trying to re-connect." % str (e)) @@ -252,7 +252,7 @@ self.sessionServerSocket = None # Can now release the lock self.socketLock.release() - except Exception, e: + except Exception as e: # Something went wrong talking to the session server. self.socketLock.release() self.log.error ("Error communicating with the session server (%s), trying to re-connect." % str (e)) + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.42974 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-WSGIUtils-0.7 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python setup.py build running build running build_py creating build creating build/lib creating build/lib/wsgiutils copying lib/wsgiutils/wsgiServer.py -> build/lib/wsgiutils copying lib/wsgiutils/wsgiAdaptor.py -> build/lib/wsgiutils copying lib/wsgiutils/__init__.py -> build/lib/wsgiutils copying lib/wsgiutils/SessionServer.py -> build/lib/wsgiutils copying lib/wsgiutils/SessionClient.py -> build/lib/wsgiutils + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-WSGIUtils-0.7 + 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/wsgiutils copying lib/wsgiutils/wsgiServer.py -> build/lib/wsgiutils copying lib/wsgiutils/wsgiAdaptor.py -> build/lib/wsgiutils copying lib/wsgiutils/__init__.py -> build/lib/wsgiutils copying lib/wsgiutils/SessionServer.py -> build/lib/wsgiutils copying lib/wsgiutils/SessionClient.py -> build/lib/wsgiutils + popd ~/RPM/BUILD/python-module-WSGIUtils-0.7 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.35876 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-WSGIUtils-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-WSGIUtils-buildroot + cd python-module-WSGIUtils-0.7 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-WSGIUtils-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-WSGIUtils-buildroot creating /usr/src/tmp/python-module-WSGIUtils-buildroot/usr creating /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib creating /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python2.7/site-packages/wsgiutils copying build/lib/wsgiutils/SessionClient.py -> /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python2.7/site-packages/wsgiutils copying build/lib/wsgiutils/SessionServer.py -> /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python2.7/site-packages/wsgiutils copying build/lib/wsgiutils/__init__.py -> /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python2.7/site-packages/wsgiutils copying build/lib/wsgiutils/wsgiAdaptor.py -> /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python2.7/site-packages/wsgiutils copying build/lib/wsgiutils/wsgiServer.py -> /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python2.7/site-packages/wsgiutils byte-compiling /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python2.7/site-packages/wsgiutils/SessionClient.py to SessionClient.pyc byte-compiling /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python2.7/site-packages/wsgiutils/SessionServer.py to SessionServer.pyc byte-compiling /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python2.7/site-packages/wsgiutils/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python2.7/site-packages/wsgiutils/wsgiAdaptor.py to wsgiAdaptor.pyc byte-compiling /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python2.7/site-packages/wsgiutils/wsgiServer.py to wsgiServer.pyc running install_egg_info running egg_info creating lib/WSGIUtils.egg-info writing lib/WSGIUtils.egg-info/PKG-INFO writing top-level names to lib/WSGIUtils.egg-info/top_level.txt writing dependency_links to lib/WSGIUtils.egg-info/dependency_links.txt writing manifest file 'lib/WSGIUtils.egg-info/SOURCES.txt' reading manifest file 'lib/WSGIUtils.egg-info/SOURCES.txt' writing manifest file 'lib/WSGIUtils.egg-info/SOURCES.txt' Copying lib/WSGIUtils.egg-info to /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python2.7/site-packages/WSGIUtils-0.7-py2.7.egg-info running install_scripts + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-WSGIUtils-0.7 + 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-WSGIUtils-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils copying build/lib/wsgiutils/SessionClient.py -> /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils copying build/lib/wsgiutils/SessionServer.py -> /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils copying build/lib/wsgiutils/__init__.py -> /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils copying build/lib/wsgiutils/wsgiAdaptor.py -> /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils copying build/lib/wsgiutils/wsgiServer.py -> /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils byte-compiling /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils/SessionClient.py to SessionClient.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils/SessionServer.py to SessionServer.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils/wsgiAdaptor.py to wsgiAdaptor.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils/wsgiServer.py to wsgiServer.cpython-37.pyc running install_egg_info running egg_info creating lib/WSGIUtils.egg-info writing lib/WSGIUtils.egg-info/PKG-INFO writing dependency_links to lib/WSGIUtils.egg-info/dependency_links.txt writing top-level names to lib/WSGIUtils.egg-info/top_level.txt writing manifest file 'lib/WSGIUtils.egg-info/SOURCES.txt' reading manifest file 'lib/WSGIUtils.egg-info/SOURCES.txt' writing manifest file 'lib/WSGIUtils.egg-info/SOURCES.txt' Copying lib/WSGIUtils.egg-info to /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/WSGIUtils-0.7-py3.7.egg-info running install_scripts + popd ~/RPM/BUILD/python-module-WSGIUtils-0.7 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-WSGIUtils-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-WSGIUtils-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python-module-WSGIUtils-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-WSGIUtils-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-WSGIUtils-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-WSGIUtils-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-WSGIUtils-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python2.7/site-packages/wsgiutils/SessionClient.pyc unlink /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python2.7/site-packages/wsgiutils/SessionServer.pyc unlink /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python2.7/site-packages/wsgiutils/__init__.pyc unlink /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python2.7/site-packages/wsgiutils/wsgiAdaptor.pyc unlink /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python2.7/site-packages/wsgiutils/wsgiServer.pyc compile /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python2.7/site-packages/wsgiutils/SessionClient.py compile /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python2.7/site-packages/wsgiutils/SessionServer.py compile /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python2.7/site-packages/wsgiutils/__init__.py compile /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python2.7/site-packages/wsgiutils/wsgiAdaptor.py compile /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python2.7/site-packages/wsgiutils/wsgiServer.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-WSGIUtils-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python2.7/site-packages/wsgiutils/SessionClient.py compile /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python2.7/site-packages/wsgiutils/SessionServer.py compile /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python2.7/site-packages/wsgiutils/__init__.py compile /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python2.7/site-packages/wsgiutils/wsgiAdaptor.py compile /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python2.7/site-packages/wsgiutils/wsgiServer.py Bytecompiling python3 modules in /usr/src/tmp/python-module-WSGIUtils-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils/__pycache__/SessionClient.cpython-37.pyc unlink /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils/__pycache__/SessionServer.cpython-37.pyc unlink /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils/__pycache__/wsgiAdaptor.cpython-37.pyc unlink /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils/__pycache__/wsgiServer.cpython-37.pyc compile /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils/SessionClient.py compile /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils/SessionServer.py compile /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils/__init__.py compile /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils/wsgiAdaptor.py compile /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils/wsgiServer.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-WSGIUtils-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils/SessionClient.py compile /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils/SessionServer.py compile /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils/__init__.py compile /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils/wsgiAdaptor.py compile /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils/wsgiServer.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-WSGIUtils-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils/SessionClient.py compile /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils/SessionServer.py compile /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils/__init__.py compile /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils/wsgiAdaptor.py compile /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils/wsgiServer.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/wsgiutils/__pycache__/wsgiServer.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/wsgiutils/__pycache__/wsgiServer.cpython-37.pyc' './usr/lib/python3/site-packages/wsgiutils/__pycache__/wsgiAdaptor.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/wsgiutils/__pycache__/wsgiAdaptor.cpython-37.pyc' './usr/lib/python3/site-packages/wsgiutils/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/wsgiutils/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/wsgiutils/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/wsgiutils/__pycache__/__init__.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/wsgiutils/__pycache__/SessionServer.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/wsgiutils/__pycache__/SessionServer.cpython-37.pyc' './usr/lib/python3/site-packages/wsgiutils/__pycache__/SessionClient.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/wsgiutils/__pycache__/SessionClient.cpython-37.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/wsgiutils/wsgiServer.pyo' => './usr/lib/python2.7/site-packages/wsgiutils/wsgiServer.pyc' './usr/lib/python2.7/site-packages/wsgiutils/wsgiAdaptor.pyo' => './usr/lib/python2.7/site-packages/wsgiutils/wsgiAdaptor.pyc' './usr/lib/python2.7/site-packages/wsgiutils/__init__.pyo' => './usr/lib/python2.7/site-packages/wsgiutils/__init__.pyc' './usr/lib/python2.7/site-packages/wsgiutils/SessionServer.pyo' => './usr/lib/python2.7/site-packages/wsgiutils/SessionServer.pyc' './usr/lib/python2.7/site-packages/wsgiutils/SessionClient.pyo' => './usr/lib/python2.7/site-packages/wsgiutils/SessionClient.pyc' Processing files: python-module-WSGIUtils-0.7-alt2.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.14133 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-WSGIUtils-0.7 + DOCDIR=/usr/src/tmp/python-module-WSGIUtils-buildroot/usr/share/doc/python-module-WSGIUtils-0.7 + export DOCDIR + rm -rf /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/share/doc/python-module-WSGIUtils-0.7 + /bin/mkdir -p /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/share/doc/python-module-WSGIUtils-0.7 + cp -prL README.txt /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/share/doc/python-module-WSGIUtils-0.7 + chmod -R go-w /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/share/doc/python-module-WSGIUtils-0.7 + chmod -R a+rX /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/share/doc/python-module-WSGIUtils-0.7 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.GQxDtI 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.NC07Fc 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-WSGIUtils-buildroot/usr/lib/python2.7/site-packages/wsgiutils/wsgiServer.py: skipping sys python.req: /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python2.7/site-packages/wsgiutils/wsgiServer.py: skipping errno Provides: python2.7(WSGIUtils), python2.7(wsgiutils), python2.7(wsgiutils.SessionClient), python2.7(wsgiutils.SessionServer), python2.7(wsgiutils.wsgiAdaptor), python2.7(wsgiutils.wsgiServer) Requires: /usr/lib/python2.7/site-packages, python-modules, python2.7(logging) Processing files: python3-module-WSGIUtils-0.7-alt2.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.82534 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-WSGIUtils-0.7 + DOCDIR=/usr/src/tmp/python-module-WSGIUtils-buildroot/usr/share/doc/python3-module-WSGIUtils-0.7 + export DOCDIR + rm -rf /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/share/doc/python3-module-WSGIUtils-0.7 + /bin/mkdir -p /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/share/doc/python3-module-WSGIUtils-0.7 + cp -prL README.txt /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/share/doc/python3-module-WSGIUtils-0.7 + chmod -R go-w /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/share/doc/python3-module-WSGIUtils-0.7 + chmod -R a+rX /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/share/doc/python3-module-WSGIUtils-0.7 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.oQZrXK 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.NNhiAm 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-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils/SessionClient.py: skipping time python3.req: /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils/wsgiServer.py: skipping sys python3.req: /usr/src/tmp/python-module-WSGIUtils-buildroot/usr/lib/python3/site-packages/wsgiutils/wsgiServer.py: skipping errno Provides: python3(WSGIUtils), python3(wsgiutils), python3(wsgiutils.SessionClient), python3(wsgiutils.SessionServer), python3(wsgiutils.wsgiAdaptor), python3(wsgiutils.wsgiServer) Requires: /usr/lib/python3/site-packages, python3(base64) < 0, python3(cgi) < 0, python3(dbm) < 0, python3(hmac) < 0, python3(http.cookies) < 0, python3(http.server) < 0, python3(io) < 0, python3(logging) < 0, python3(os) < 0, python3(os.path) < 0, python3(pickle) < 0, python3(queue) < 0, python3(random) < 0, python3(socket) < 0, python3(socketserver) < 0, python3(struct) < 0, python3(threading) < 0, python3(traceback) < 0, python3(urllib.error) < 0, python3(urllib.parse) < 0, python3(urllib.request) < 0, python3(xdrlib) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python-module-WSGIUtils-0.7-alt2.2.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python3-module-WSGIUtils-0.7-alt2.2.noarch.rpm 5.81user 0.65system 0:09.75elapsed 66%CPU (0avgtext+0avgdata 29748maxresident)k 0inputs+0outputs (0major+268472minor)pagefaults 0swaps 17.74user 4.37system 0:30.13elapsed 73%CPU (0avgtext+0avgdata 115416maxresident)k 0inputs+0outputs (0major+699872minor)pagefaults 0swaps