<86>Dec 4 15:37:11 userdel[1169053]: delete user 'rooter' <86>Dec 4 15:37:11 userdel[1169053]: removed group 'rooter' owned by 'rooter' <86>Dec 4 15:37:11 userdel[1169053]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 4 15:37:11 groupadd[1169062]: group added to /etc/group: name=rooter, GID=627 <86>Dec 4 15:37:11 groupadd[1169062]: group added to /etc/gshadow: name=rooter <86>Dec 4 15:37:11 groupadd[1169062]: new group: name=rooter, GID=627 <86>Dec 4 15:37:11 useradd[1169066]: new user: name=rooter, UID=627, GID=627, home=/root, shell=/bin/bash <86>Dec 4 15:37:11 userdel[1169072]: delete user 'builder' <86>Dec 4 15:37:11 userdel[1169072]: removed group 'builder' owned by 'builder' <86>Dec 4 15:37:11 userdel[1169072]: removed shadow group 'builder' owned by 'builder' <86>Dec 4 15:37:11 groupadd[1169078]: group added to /etc/group: name=builder, GID=628 <86>Dec 4 15:37:11 groupadd[1169078]: group added to /etc/gshadow: name=builder <86>Dec 4 15:37:11 groupadd[1169078]: new group: name=builder, GID=628 <86>Dec 4 15:37:11 useradd[1169083]: new user: name=builder, UID=628, GID=628, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/python3-module-mozhttpd-0.7-alt3.src.rpm: The use of such a license name is ambiguous: MPL <13>Dec 4 15:37:14 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Dec 4 15:37:14 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>Dec 4 15:37:15 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Dec 4 15:37:15 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Dec 4 15:37:15 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 4 15:37:15 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 4 15:37:15 rpmi: ca-certificates-2020.10.22-alt1 sisyphus+260224.300.2.1 1603549301 installed <13>Dec 4 15:37:15 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Dec 4 15:37:15 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Dec 4 15:37:15 rpmi: libcrypto1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Dec 4 15:37:15 rpmi: libssl1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Dec 4 15:37:15 rpmi: python3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Dec 4 15:37:16 rpmi: python3-base-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Dec 4 15:37:16 rpmi: libpython3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Dec 4 15:37:16 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Dec 4 15:37:16 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Dec 4 15:37:20 rpmi: python3-module-pkg_resources-1:46.1.3-alt2 sisyphus+260458.600.6.1 1603876498 installed <13>Dec 4 15:37:20 rpmi: python3-module-mozinfo-1.2.1-alt2 sisyphus+247903.200.1.1 1584353252 installed <13>Dec 4 15:37:20 rpmi: python3-module-mozlog-3.3-alt2 sisyphus+244612.100.2.1 1579617899 installed <13>Dec 4 15:37:20 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Dec 4 15:37:20 rpmi: liblmdb-0.9.23-alt1 sisyphus+225277.100.2.1 1553001679 installed <13>Dec 4 15:37:20 rpmi: libkeyutils-1.6.1-alt1 sisyphus+256015.100.1.1 1596820124 installed <13>Dec 4 15:37:20 rpmi: libcom_err-1.45.6.0.24.af1a-alt1 sisyphus+262279.100.1.1 1606088229 installed <86>Dec 4 15:37:20 groupadd[1174559]: group added to /etc/group: name=_keytab, GID=499 <86>Dec 4 15:37:20 groupadd[1174559]: group added to /etc/gshadow: name=_keytab <86>Dec 4 15:37:20 groupadd[1174559]: new group: name=_keytab, GID=499 <13>Dec 4 15:37:20 rpmi: libkrb5-1.18.3-alt1 sisyphus+262109.100.1.1 1605777180 installed <13>Dec 4 15:37:20 rpmi: libtirpc-1.2.6-alt1 sisyphus+250076.100.1.1 1587038270 installed <13>Dec 4 15:37:20 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Dec 4 15:37:20 rpmi: python-modules-encodings-2.7.18-alt2 sisyphus+262143.200.4.1 1606132536 installed <13>Dec 4 15:37:20 rpmi: python-modules-compiler-2.7.18-alt2 sisyphus+262143.200.4.1 1606132536 installed <13>Dec 4 15:37:20 rpmi: python-modules-email-2.7.18-alt2 sisyphus+262143.200.4.1 1606132536 installed <13>Dec 4 15:37:20 rpmi: python-modules-unittest-2.7.18-alt2 sisyphus+262143.200.4.1 1606132536 installed <13>Dec 4 15:37:20 rpmi: python-modules-2.7.18-alt2 sisyphus+262143.200.4.1 1606132536 installed <13>Dec 4 15:37:20 rpmi: python-modules-nis-2.7.18-alt2 sisyphus+262143.200.4.1 1606132536 installed <13>Dec 4 15:37:20 rpmi: python-modules-ctypes-2.7.18-alt2 sisyphus+262143.200.4.1 1606132536 installed <13>Dec 4 15:37:20 rpmi: python-modules-multiprocessing-2.7.18-alt2 sisyphus+262143.200.4.1 1606132536 installed <13>Dec 4 15:37:20 rpmi: python-modules-logging-2.7.18-alt2 sisyphus+262143.200.4.1 1606132536 installed <13>Dec 4 15:37:20 rpmi: python-tools-2to3-2.7.18-alt2 sisyphus+262143.200.4.1 1606132536 installed <13>Dec 4 15:37:20 rpmi: python3-module-moznetwork-1.0.0-alt1 sisyphus+244614.100.2.1 1579674966 installed <13>Dec 4 15:37:20 rpmi: python3-module-six-1.15.0-alt1 sisyphus+255738.100.2.1 1596527214 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-mozhttpd-0.7-alt3.nosrc.rpm <13>Dec 4 15:37:23 rpmi: libtinfo-devel-6.2.20201107-alt1 sisyphus+261749.100.1.1 1605292929 installed <13>Dec 4 15:37:23 rpmi: libncurses-devel-6.2.20201107-alt1 sisyphus+261749.100.1.1 1605292929 installed <13>Dec 4 15:37:23 rpmi: python3-dev-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Dec 4 15:37:23 rpmi: python3-module-setuptools-1:46.1.3-alt2 sisyphus+260458.600.6.1 1603876498 installed Installing python3-module-mozhttpd-0.7-alt3.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.12577 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-mozhttpd-0.7 + echo 'Source #0 (python3-module-mozhttpd-0.7.tar):' Source #0 (python3-module-mozhttpd-0.7.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-mozhttpd-0.7.tar + cd python3-module-mozhttpd-0.7 + /bin/chmod -c -Rf u+rwX,go-w . + find -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 ./setup.py RefactoringTool: Refactored ./mozhttpd/mozhttpd.py --- ./mozhttpd/mozhttpd.py (original) +++ ./mozhttpd/mozhttpd.py (refactored) @@ -4,8 +4,8 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http://mozilla.org/MPL/2.0/. -import BaseHTTPServer -import SimpleHTTPServer +import http.server +import http.server import errno import logging import threading @@ -13,19 +13,19 @@ import socket import sys import os -import urllib -import urlparse +import urllib.request, urllib.parse, urllib.error +import urllib.parse import re import moznetwork import time -from SocketServer import ThreadingMixIn - -class EasyServer(ThreadingMixIn, BaseHTTPServer.HTTPServer): +from socketserver import ThreadingMixIn + +class EasyServer(ThreadingMixIn, http.server.HTTPServer): allow_reuse_address = True acceptable_errors = (errno.EPIPE, errno.ECONNABORTED) def handle_error(self, request, client_address): - error = sys.exc_value + error = sys.exc_info()[1] if ((isinstance(error, socket.error) and isinstance(error.args, tuple) and @@ -47,7 +47,7 @@ def __init__(self, uri, headers, rfile=None): self.uri = uri self.headers = headers - parsed = urlparse.urlsplit(uri) + parsed = urllib.parse.urlsplit(uri) for i, attr in enumerate(self.uri_attrs): setattr(self, attr, parsed[i]) try: @@ -60,7 +60,7 @@ self.body = None -class RequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): +class RequestHandler(http.server.SimpleHTTPRequestHandler): docroot = os.getcwd() # current working directory at time of import proxy_host_dirs = False @@ -69,7 +69,7 @@ request = None def __init__(self, *args, **kwargs): - SimpleHTTPServer.SimpleHTTPRequestHandler.__init__(self, *args, **kwargs) + http.server.SimpleHTTPRequestHandler.__init__(self, *args, **kwargs) self.extensions_map['.svg'] = 'image/svg+xml' def _try_handler(self, method): @@ -86,7 +86,7 @@ (response_code, headerdict, data) = \ handler['function'](self.request, *m.groups()) self.send_response(response_code) - for (keyword, value) in headerdict.iteritems(): + for (keyword, value) in headerdict.items(): self.send_header(keyword, value) self.end_headers() self.wfile.write(data) @@ -99,9 +99,9 @@ """Find the on-disk path to serve this request from, using self.path_mappings and self.docroot. Return (url_path, disk_path).""" - path_components = filter(None, self.request.path.split('/')) - for prefix, disk_path in self.path_mappings.iteritems(): - prefix_components = filter(None, prefix.split('/')) + path_components = [_f for _f in self.request.path.split('/') if _f] + for prefix, disk_path in self.path_mappings.items(): + prefix_components = [_f for _f in prefix.split('/') if _f] if len(path_components) < len(prefix_components): continue if path_components[:len(prefix_components)] == prefix_components: @@ -112,7 +112,7 @@ return None def parse_request(self): - retval = SimpleHTTPServer.SimpleHTTPRequestHandler.parse_request(self) + retval = http.server.SimpleHTTPRequestHandler.parse_request(self) self.request = Request(self.path, self.headers, self.rfile) return retval @@ -126,7 +126,7 @@ if self.request.netloc and self.proxy_host_dirs: self.path = '/' + self.request.netloc + \ self.path - SimpleHTTPServer.SimpleHTTPRequestHandler.do_GET(self) + http.server.SimpleHTTPRequestHandler.do_GET(self) else: self.send_response(404) self.end_headers() @@ -155,9 +155,9 @@ # except we serve from self.docroot instead of os.getcwd(), and # parse_request()/do_GERefactoringTool: No changes to ./mozhttpd/handlers.py RefactoringTool: Refactored ./mozhttpd/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ./setup.py RefactoringTool: ./mozhttpd/mozhttpd.py RefactoringTool: ./mozhttpd/handlers.py RefactoringTool: ./mozhttpd/__init__.py T() have already stripped the query string and # fragment and mangled the path for proxying, if required. - path = posixpath.normpath(urllib.unquote(self.path)) + path = posixpath.normpath(urllib.parse.unquote(self.path)) words = path.split('/') - words = filter(None, words) + words = [_f for _f in words if _f] path = self.disk_root for word in words: drive, word = os.path.splitdrive(word) @@ -322,7 +322,7 @@ # create the server server = MozHttpd(host=host, port=options.port, docroot=options.docroot) - print "Serving '%s' at %s:%s" % (server.docroot, server.host, server.port) + print("Serving '%s' at %s:%s" % (server.docroot, server.host, server.port)) server.start(block=True) if __name__ == '__main__': --- ./mozhttpd/__init__.py (original) +++ ./mozhttpd/__init__.py (refactored) @@ -42,5 +42,5 @@ """ -from mozhttpd import MozHttpd, Request, RequestHandler, main -from handlers import json_response +from .mozhttpd import MozHttpd, Request, RequestHandler, main +from .handlers import json_response + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.84574 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-mozhttpd-0.7 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py build --debug running build running build_py creating build creating build/lib creating build/lib/mozhttpd copying mozhttpd/mozhttpd.py -> build/lib/mozhttpd copying mozhttpd/handlers.py -> build/lib/mozhttpd copying mozhttpd/__init__.py -> build/lib/mozhttpd running egg_info writing mozhttpd.egg-info/PKG-INFO writing dependency_links to mozhttpd.egg-info/dependency_links.txt writing entry points to mozhttpd.egg-info/entry_points.txt writing requirements to mozhttpd.egg-info/requires.txt writing top-level names to mozhttpd.egg-info/top_level.txt reading manifest file 'mozhttpd.egg-info/SOURCES.txt' writing manifest file 'mozhttpd.egg-info/SOURCES.txt' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.3416 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-mozhttpd-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-mozhttpd-buildroot + cd python3-module-mozhttpd-0.7 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python3-module-mozhttpd-buildroot --force running install running install_lib creating /usr/src/tmp/python3-module-mozhttpd-buildroot creating /usr/src/tmp/python3-module-mozhttpd-buildroot/usr creating /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/lib creating /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/lib/python3/site-packages/mozhttpd copying build/lib/mozhttpd/__init__.py -> /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/lib/python3/site-packages/mozhttpd copying build/lib/mozhttpd/handlers.py -> /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/lib/python3/site-packages/mozhttpd copying build/lib/mozhttpd/mozhttpd.py -> /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/lib/python3/site-packages/mozhttpd byte-compiling /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/lib/python3/site-packages/mozhttpd/__init__.py to __init__.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/lib/python3/site-packages/mozhttpd/handlers.py to handlers.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/lib/python3/site-packages/mozhttpd/mozhttpd.py to mozhttpd.cpython-38.pyc running install_egg_info running egg_info writing mozhttpd.egg-info/PKG-INFO writing dependency_links to mozhttpd.egg-info/dependency_links.txt writing entry points to mozhttpd.egg-info/entry_points.txt writing requirements to mozhttpd.egg-info/requires.txt writing top-level names to mozhttpd.egg-info/top_level.txt reading manifest file 'mozhttpd.egg-info/SOURCES.txt' writing manifest file 'mozhttpd.egg-info/SOURCES.txt' Copying mozhttpd.egg-info to /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/lib/python3/site-packages/mozhttpd-0.7-py3.8.egg-info running install_scripts Installing mozhttpd script to /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/bin + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-mozhttpd-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-mozhttpd-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python3-module-mozhttpd-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-mozhttpd-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-mozhttpd-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python3-module-mozhttpd-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/python3-module-mozhttpd-buildroot using /usr/bin/python2.7 Bytecompiling python modules with optimization in /usr/src/tmp/python3-module-mozhttpd-buildroot using /usr/bin/python2.7 -O Bytecompiling python3 modules in /usr/src/tmp/python3-module-mozhttpd-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/lib/python3/site-packages/mozhttpd/__pycache__/__init__.cpython-38.pyc unlink /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/lib/python3/site-packages/mozhttpd/__pycache__/handlers.cpython-38.pyc unlink /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/lib/python3/site-packages/mozhttpd/__pycache__/mozhttpd.cpython-38.pyc compile /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/lib/python3/site-packages/mozhttpd/__init__.py compile /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/lib/python3/site-packages/mozhttpd/handlers.py compile /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/lib/python3/site-packages/mozhttpd/mozhttpd.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-mozhttpd-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/lib/python3/site-packages/mozhttpd/__init__.py compile /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/lib/python3/site-packages/mozhttpd/handlers.py compile /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/lib/python3/site-packages/mozhttpd/mozhttpd.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-mozhttpd-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/lib/python3/site-packages/mozhttpd/__init__.py compile /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/lib/python3/site-packages/mozhttpd/handlers.py compile /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/lib/python3/site-packages/mozhttpd/mozhttpd.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/mozhttpd/__pycache__/mozhttpd.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/mozhttpd/__pycache__/mozhttpd.cpython-38.pyc' './usr/lib/python3/site-packages/mozhttpd/__pycache__/handlers.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/mozhttpd/__pycache__/handlers.cpython-38.pyc' './usr/lib/python3/site-packages/mozhttpd/__pycache__/__init__.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/mozhttpd/__pycache__/__init__.cpython-38.pyc' Hardlinking identical .pyc and .pyo files Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.1158 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-mozhttpd-0.7 + /usr/bin/python3 setup.py test running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. running egg_info writing mozhttpd.egg-info/PKG-INFO writing dependency_links to mozhttpd.egg-info/dependency_links.txt writing entry points to mozhttpd.egg-info/entry_points.txt deleting mozhttpd.egg-info/requires.txt writing top-level names to mozhttpd.egg-info/top_level.txt reading manifest file 'mozhttpd.egg-info/SOURCES.txt' writing manifest file 'mozhttpd.egg-info/SOURCES.txt' running build_ext ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK + exit 0 Processing files: python3-module-mozhttpd-0.7-alt3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.57413 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-mozhttpd-0.7 + DOCDIR=/usr/src/tmp/python3-module-mozhttpd-buildroot/usr/share/doc/python3-module-mozhttpd-0.7 + export DOCDIR + rm -rf /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/share/doc/python3-module-mozhttpd-0.7 + /bin/mkdir -p /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/share/doc/python3-module-mozhttpd-0.7 + cp -prL PKG-INFO /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/share/doc/python3-module-mozhttpd-0.7 + chmod -R go-w /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/share/doc/python3-module-mozhttpd-0.7 + chmod -R a+rX /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/share/doc/python3-module-mozhttpd-0.7 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.gq8rw5 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.vDbB36 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) python3.req: /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/bin/mozhttpd: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/lib/python3/site-packages/mozhttpd/__init__.py: line=45 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/lib/python3/site-packages/mozhttpd/__init__.py: line=46 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/lib/python3/site-packages/mozhttpd/mozhttpd.py: skipping errno python3.req: /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/lib/python3/site-packages/mozhttpd/mozhttpd.py: skipping sys python3.req: /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/lib/python3/site-packages/mozhttpd/mozhttpd.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/lib/python3/site-packages/mozhttpd/mozhttpd.py: line=299 IGNORE (for REQ=slight and deep=8) module=optparse shebang.req.files: executable script /usr/src/tmp/python3-module-mozhttpd-buildroot/usr/lib/python3/site-packages/mozhttpd/mozhttpd.py is not executable Provides: python3(mozhttpd), python3(mozhttpd.handlers), python3(mozhttpd.mozhttpd) Requires: /usr/bin/python3, /usr/lib/python3/site-packages, python3(http.server) < 0, python3(json) < 0, python3(logging) < 0, python3(moznetwork) < 0, python3(os) < 0, python3(pkg_resources) < 0, python3(posixpath) < 0, python3(re) < 0, python3(socket) < 0, python3(socketserver) < 0, python3(threading) < 0, python3(urllib.error) < 0, python3(urllib.parse) < 0, python3(urllib.request) < 0 Conflicts: python-module-mozhttpd Wrote: /usr/src/RPM/RPMS/noarch/python3-module-mozhttpd-0.7-alt3.noarch.rpm 9.42user 1.11system 0:11.68elapsed 90%CPU (0avgtext+0avgdata 22080maxresident)k 0inputs+0outputs (0major+150678minor)pagefaults 0swaps /.out/python3-module-mozhttpd-0.7-alt3.noarch.rpm: The use of such a license name is ambiguous: MPL 21.23user 8.42system 0:29.43elapsed 100%CPU (0avgtext+0avgdata 109100maxresident)k 0inputs+0outputs (0major+599433minor)pagefaults 0swaps --- python3-module-mozhttpd-0.7-alt3.noarch.rpm.repo 2020-01-22 07:42:41.510144983 +0000 +++ python3-module-mozhttpd-0.7-alt3.noarch.rpm.hasher 2020-12-04 15:37:37.318366128 +0000 @@ -2,21 +2,21 @@ /usr/lib/python3/site-packages/mozhttpd 40755 -/usr/lib/python3/site-packages/mozhttpd-0.7-py3.7.egg-info 40755 -/usr/lib/python3/site-packages/mozhttpd-0.7-py3.7.egg-info/PKG-INFO 100644 -/usr/lib/python3/site-packages/mozhttpd-0.7-py3.7.egg-info/SOURCES.txt 100644 -/usr/lib/python3/site-packages/mozhttpd-0.7-py3.7.egg-info/dependency_links.txt 100644 -/usr/lib/python3/site-packages/mozhttpd-0.7-py3.7.egg-info/entry_points.txt 100644 -/usr/lib/python3/site-packages/mozhttpd-0.7-py3.7.egg-info/not-zip-safe 100644 -/usr/lib/python3/site-packages/mozhttpd-0.7-py3.7.egg-info/requires.txt 100644 -/usr/lib/python3/site-packages/mozhttpd-0.7-py3.7.egg-info/top_level.txt 100644 +/usr/lib/python3/site-packages/mozhttpd-0.7-py3.8.egg-info 40755 +/usr/lib/python3/site-packages/mozhttpd-0.7-py3.8.egg-info/PKG-INFO 100644 +/usr/lib/python3/site-packages/mozhttpd-0.7-py3.8.egg-info/SOURCES.txt 100644 +/usr/lib/python3/site-packages/mozhttpd-0.7-py3.8.egg-info/dependency_links.txt 100644 +/usr/lib/python3/site-packages/mozhttpd-0.7-py3.8.egg-info/entry_points.txt 100644 +/usr/lib/python3/site-packages/mozhttpd-0.7-py3.8.egg-info/not-zip-safe 100644 +/usr/lib/python3/site-packages/mozhttpd-0.7-py3.8.egg-info/requires.txt 100644 +/usr/lib/python3/site-packages/mozhttpd-0.7-py3.8.egg-info/top_level.txt 100644 /usr/lib/python3/site-packages/mozhttpd/__init__.py 100644 /usr/lib/python3/site-packages/mozhttpd/__pycache__ 40755 -/usr/lib/python3/site-packages/mozhttpd/__pycache__/__init__.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/mozhttpd/__pycache__/__init__.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/mozhttpd/__pycache__/__init__.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/mozhttpd/__pycache__/handlers.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/mozhttpd/__pycache__/handlers.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/mozhttpd/__pycache__/handlers.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/mozhttpd/__pycache__/mozhttpd.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/mozhttpd/__pycache__/mozhttpd.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/mozhttpd/__pycache__/mozhttpd.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/mozhttpd/__pycache__/__init__.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/mozhttpd/__pycache__/__init__.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/mozhttpd/__pycache__/__init__.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/mozhttpd/__pycache__/handlers.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/mozhttpd/__pycache__/handlers.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/mozhttpd/__pycache__/handlers.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/mozhttpd/__pycache__/mozhttpd.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/mozhttpd/__pycache__/mozhttpd.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/mozhttpd/__pycache__/mozhttpd.cpython-38.pyc 100644 /usr/lib/python3/site-packages/mozhttpd/handlers.py 100644