<86>Dec 30 10:17:42 userdel[20514]: delete user 'rooter' <86>Dec 30 10:17:42 userdel[20514]: removed group 'rooter' owned by 'rooter' <86>Dec 30 10:17:42 userdel[20514]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 30 10:17:42 groupadd[20538]: group added to /etc/group: name=rooter, GID=567 <86>Dec 30 10:17:42 groupadd[20538]: group added to /etc/gshadow: name=rooter <86>Dec 30 10:17:42 groupadd[20538]: new group: name=rooter, GID=567 <86>Dec 30 10:17:42 useradd[20557]: new user: name=rooter, UID=567, GID=567, home=/root, shell=/bin/bash <86>Dec 30 10:17:42 userdel[20588]: delete user 'builder' <86>Dec 30 10:17:42 userdel[20588]: removed group 'builder' owned by 'builder' <86>Dec 30 10:17:42 userdel[20588]: removed shadow group 'builder' owned by 'builder' <86>Dec 30 10:17:42 groupadd[20607]: group added to /etc/group: name=builder, GID=568 <86>Dec 30 10:17:42 groupadd[20607]: group added to /etc/gshadow: name=builder <86>Dec 30 10:17:42 groupadd[20607]: new group: name=builder, GID=568 <86>Dec 30 10:17:42 useradd[20617]: new user: name=builder, UID=568, GID=568, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/python3-module-zc.testbrowser-1.0.0a5-alt4.src.rpm: license not found in '/usr/share/license' directory: ZPLv2.1 <13>Dec 30 10:17:45 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Dec 30 10:17:45 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Dec 30 10:17:45 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Dec 30 10:17:45 rpmi: libtasn1-4.15.0-alt1 sisyphus+241940.100.1.1 1574959866 installed <13>Dec 30 10:17:45 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 30 10:17:45 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 30 10:17:45 rpmi: ca-certificates-2019.10.28-alt1 sisyphus+239875.300.1.1 1572267834 installed <13>Dec 30 10:17:45 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Dec 30 10:17:45 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Dec 30 10:17:46 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Dec 30 10:17:46 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Dec 30 10:17:46 rpmi: python3-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Dec 30 10:17:46 rpmi: libpython3-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Dec 30 10:17:47 rpmi: python3-base-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Dec 30 10:17:47 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Dec 30 10:17:47 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Dec 30 10:17:51 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Dec 30 10:17:51 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Dec 30 10:17:51 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Dec 30 10:17:51 groupadd[326]: group added to /etc/group: name=_keytab, GID=499 <86>Dec 30 10:17:51 groupadd[326]: group added to /etc/gshadow: name=_keytab <86>Dec 30 10:17:51 groupadd[326]: new group: name=_keytab, GID=499 <13>Dec 30 10:17:51 rpmi: libkrb5-1.17.1-alt1 sisyphus+242784.100.1.1 1576137330 installed <13>Dec 30 10:17:51 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Dec 30 10:17:51 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Dec 30 10:17:52 rpmi: python-modules-encodings-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Dec 30 10:17:52 rpmi: python-modules-compiler-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Dec 30 10:17:52 rpmi: python-modules-email-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Dec 30 10:17:52 rpmi: python-modules-unittest-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Dec 30 10:17:52 rpmi: python-modules-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Dec 30 10:17:52 rpmi: python-modules-nis-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Dec 30 10:17:52 rpmi: python-modules-ctypes-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Dec 30 10:17:52 rpmi: python-modules-multiprocessing-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Dec 30 10:17:52 rpmi: python-modules-logging-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Dec 30 10:17:52 rpmi: python-tools-2to3-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-zc.testbrowser-1.0.0a5-alt4.nosrc.rpm <13>Dec 30 10:17:56 rpmi: python3-module-pkg_resources-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed <13>Dec 30 10:17:56 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Dec 30 10:17:56 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Dec 30 10:17:56 rpmi: python3-dev-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Dec 30 10:17:56 rpmi: python3-module-setuptools-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed Installing python3-module-zc.testbrowser-1.0.0a5-alt4.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.21769 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-zc.testbrowser-1.0.0a5 + echo 'Source #0 (python3-module-zc.testbrowser-1.0.0a5.tar):' Source #0 (python3-module-zc.testbrowser-1.0.0a5.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-zc.testbrowser-1.0.0a5.tar + cd python3-module-zc.testbrowser-1.0.0a5 + /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: Refactored ./src/zc/testbrowser/tests.py RefactoringTool: Refactored ./src/zc/testbrowser/real.py --- ./src/zc/testbrowser/tests.py (original) +++ ./src/zc/testbrowser/tests.py (refactored) @@ -12,12 +12,12 @@ # ############################################################################## -from cStringIO import StringIO +from io import StringIO from zc.testbrowser import browser from zope.testing import renormalizing, doctest -import BaseHTTPServer +import http.server import cgi -import httplib +import http.client import mechanize import os.path import pprint @@ -26,8 +26,8 @@ import string import threading import unittest -import urllib -import urllib2 +import urllib.request, urllib.parse, urllib.error +import urllib.request, urllib.error, urllib.parse import zc.testbrowser.browser import zc.testbrowser.real @@ -35,7 +35,7 @@ web_server_base_path = os.path.join(os.path.split(__file__)[0], 'ftests') -class TestHandler(BaseHTTPServer.BaseHTTPRequestHandler): +class TestHandler(http.server.BaseHTTPRequestHandler): def version_string(self): return 'BaseHTTP' @@ -134,7 +134,7 @@ # Construct the headers. header_chunks = [] if headers is not None: - for header in headers.items(): + for header in list(headers.items()): header_chunks.append('%s: %s' % header) headers = '\n'.join(header_chunks) + '\n' else: @@ -145,7 +145,7 @@ request_string = (method + ' ' + url + ' HTTP/1.1\n' + headers + '\n' + body) - print request_string.replace('\r', '') + print(request_string.replace('\r', '')) def getresponse(self): return FauxResponse(next_response_body, @@ -161,7 +161,7 @@ self.content = content self.status = status self.reason = reason - self.msg = httplib.HTTPMessage(StringIO(headers), 0) + self.msg = http.client.HTTPMessage(StringIO(headers), 0) self.content_as_file = StringIO(self.content) def read(self, amt=None): @@ -172,7 +172,7 @@ pass -class FauxHTTPHandler(urllib2.HTTPHandler): +class FauxHTTPHandler(urllib.request.HTTPHandler): http_request = urllib2.AbstractHTTPHandler.do_request_ @@ -190,10 +190,10 @@ "_http_error": mechanize.HTTPErrorProcessor, "_http_request_upgrade": mechanize.HTTPRequestUpgradeProcessor, - "_http_default_error": urllib2.HTTPDefaultErrorHandler, + "_http_default_error": urllib.request.HTTPDefaultErrorHandler, # feature handlers - "_authen": urllib2.HTTPBasicAuthHandler, + "_authen": urllib.request.HTTPBasicAuthHandler, "_redirect": mechanize.HTTPRedirectHandler, "_cookies": mechanize.HTTPCookieProcessor, "_refresh": mechanize.HTTPRefreshProcessor, @@ -442,7 +442,7 @@ server_stop = False port = random.randint(20000, 30000) test.globs['TEST_PORT'] = port - server = BaseHTTPServer.HTTPServer(('localhost', port), TestHandler) + server = http.server.HTTPServer(('localhost', port), TestHandler) thread = threading.Thread(target=serve_requests, args=[server]) thread.setDaemon(True) thread.start() @@ -453,7 +453,7 @@ server_stop = True # make a request, so the last call to `handle_one_request` will return try: - urllib.urlretrieve('http://localhost:%d/' % test.globs['TEST_PORT']) + urllib.request.urlretrieve('http://localhost:%d/' % test.globs['TEST_PORT']) except IOError: pass # it's ok, server is already dead test.globs['web_server_thread'].join() --- ./src/zc/testbrowser/real.py (original) +++ ./src/zc/testbrowser/real.py (refactored) @@ -5,7 +5,7 @@ import telnetlib import tempfile import time -import urlparse +import urllib.parse import zc.testbrowser.browser import zc.testbrowser.interfaces import zope.interface @@ -114,7 +114,7 @@ def init_repl(self, host, port): try: self.telnet = telnetlib.Telnet(host, port) - except socket.error, e: + except socket.error as e: raise RuntimeError('Error connecting to FirefRefactoringTool: Refactored ./src/zc/testbrowser/interfaces.py ox at %s:%s.' ' Is MozRepl running?' % (host, port)) self.load_realjs() @@ -202,7 +202,7 @@ def open(self, url, data=None): if self.base is not None: - url = urlparse.urljoin(self.base, url) + url = urllib.parse.urljoin(self.base, url) assert data is None try: self.execute('content.location = ' + simplejson.dumps(url)) @@ -666,7 +666,7 @@ raise zc.testbrowser.interfaces.ExpiredError action = self.browser.getAttribute(self.token, 'action') if action: - return urlparse.urljoin(self.browser.base, action) + return urllib.parse.urljoin(self.browser.base, action) return self.browser.url @property --- ./src/zc/testbrowser/interfaces.py (original) +++ ./src/zc/testbrowser/interfaces.py (refactored) @@ -25,28 +25,28 @@ """A Programmatic Web Browser""" url = zope.schema.URI( - title=u"URL", - description=u"The URL the browser is currently showing.", + title="URL", + description="The URL the browser is currently showing.", required=True) contents = zope.schema.Text( - title=u"Contents", - description=u"The complete response body of the HTTP request.", + title="Contents", + description="The complete response body of the HTTP request.", required=True) isHtml = zope.schema.Bool( - title=u"Is HTML", - description=u"Tells whether the output is HTML or not.", + title="Is HTML", + description="Tells whether the output is HTML or not.", required=True) base = zope.schema.TextLine( - title=u"Base", - description=u"Base URL for opening relative paths", + title="Base", + description="Base URL for opening relative paths", required=False) title = zope.schema.TextLine( - title=u"Title", - description=u"Title of the displayed page", + title="Title", + description="Title of the displayed page", required=False) def open(url, data=None): @@ -138,8 +138,8 @@ """Expose HTTP headers and the manipulation thereof""" headers = zope.schema.Field( - title=u"Headers", - description=(u"Headers of the HTTP response; a " + title="Headers", + description=("Headers of the HTTP response; a " "``httplib.HTTPMessage``."), required=True) @@ -155,9 +155,9 @@ """Keep up with how long requests take in seconds and pystones""" lastRequestSeconds = zope.schema.Field( - title=u"Seconds to Process Last Request", + title="Seconds to Process Last Request", description=( - u"""Return how many seconds (or fractions) the last request took. + """Return how many seconds (or fractions) the last request took. The values returned have the same resolution as the results from ``time.clock``. @@ -167,9 +167,9 @@ lastRequestPystones = zope.schema.Field( title= - u"Approximate System-Independent Effort of Last Request (Pystones)", + "Approximate System-Independent Effort of Last Request (Pystones)", description=( - u"""Return how many pystones the last request took. + """Return how many pystones the last request took. This number is found by multiplying the number of pystones/second at which this system benchmarks and the result of ``lastRequestSeconds``. @@ -182,11 +182,11 @@ """A browser for use with the Zope functional testing framework""" handleErrors = zope.schema.Bool( - title=u"Handle Errors", - description=(u"Describes whether server-side errors will be handled " - u"by the publisher. If set to ``False``, the error will " - u"progress all the way to the test, which is good for " - u"debugging."), + title="Handle Errors", + description=("Describes whether server-side errors will be handled " + "by the publisher. If set to ``False``, the error will " + "progress all the way to the test, which is good for " + "debugging."), default=True, required=True) @@ -199,32 +199,32 @@ """A control (input field) of a page.""" name = zope.schema.TextLine( - title=u"Name", - description=u"The name of the control.", + title="Name", + description="The name of the control.", required=True) value = zope.schema.Field( - title=u"Value", - description=u"The value of the control", + title="Value", + description="The value of the control", default=None, required=True) type = zope.schema.Choice( - title=u"Type", - description=u"The type of the control", + title="Type", + description="The type of the control", values=['text', 'password', 'hidden', 'submit', 'checkbox', 'select', 'radio', 'image', 'file'], required=True) disabled = zope.schema.Bool( - title=u"Disabled", - description=u"Describes whether a control is disabled.", + title="Disabled", + description="Describes whether a control is disabled.", default=False, required=False) multiple = zope.schema.Bool( - title=u"Multiple", - description=u"Describes whether this control can hold multiple values.", + title="Multiple", + description="Describes whether this control can hold multiple values.", default=False, required=False) @@ -236,22 +236,22 @@ """A radio button, checkbox, or select control""" options = zope.schema.List( - title=u"Options", - description=u"""\ + title="Options", + description="""\ A list of possible values for the control.""", required=True) displayOptions = zope.schema.List( # TODO: currently only implemented for select by ClientForm - title=u"Options", - description=u"""\ + title="Options", + description="""\ A list of possible display values for the control.""", required=True) displayValue = zope.schema.Field( # TODO: currently only implemented for select by ClientForm - title=u"Value", - description=u"The value of the control, as rendered by the display", + title="Value", + description="The value of the control, as rendered by the display", default=None, required=True) @@ -283,26 +283,26 @@ """a radio button or checkbox within a larger multiple-choice control""" control = zope.schema.Object( - title=u"Control", - description=(u"The parent control element."), + title="Control", + description=("The parent control element."), schema=IControl, required=True) disabled = zope.schema.Bool( - title=u"Disabled", - description=u"Describes whether a subcontrol is disabled.", + title="Disabled", + description="Describes whether a subcontrol is disabled.", default=False, required=False) selected = zope.schema.Bool( - title=u"Selected", - description=u"Whether the subcontrol is selected", + title="Selected", + description="Whether the subcontrol is selected", default=None, required=True) optionValue = zope.schema.TextLine( - title=u"Value", - description=u"The value of the subcontrol", + title="Value", + description="The value of the subcontrol", default=None, required=False) @@ -313,13 +313,13 @@ """click the link, going to the URL referenced""" url = zope.schema.TextLine( - title=u"URL", - description=u"The normalized URL of the link", + title="URL", + description="The normalized URL of the link", required=False) text = zope.schema.TextLine( - RefactoringTool: No changes to ./src/zc/testbrowser/dummymodules.py RefactoringTool: Refactored ./src/zc/testbrowser/browser.py RefactoringTool: No changes to ./src/zc/__init__.py RefactoringTool: No changes to ./setup.py RefactoringTool: Refactored ./bootstrap/bootstrap.py RefactoringTool: Files that were modified: RefactoringTool: ./src/zc/testbrowser/tests.py RefactoringTool: ./src/zc/testbrowser/real.py RefactoringTool: ./src/zc/testbrowser/interfaces.py RefactoringTool: ./src/zc/testbrowser/dummymodules.py RefactoringTool: ./src/zc/testbrowser/browser.py RefactoringTool: ./src/zc/__init__.py RefactoringTool: ./setup.py RefactoringTool: ./bootstrap/bootstrap.py title=u'Text', - description=u'The contained text of the link', + title='Text', + description='The contained text of the link', required=False) @@ -327,20 +327,20 @@ """An HTML form of the page""" action = zope.schema.TextLine( - title=u"Action", - description=u"The action (or URI) that is opened upon submittance.", + title="Action", + description="The action (or URI) that is opened upon submittance.", required=True) name = zope.schema.TextLine( - title=u"Name", - description=u"The value of the `name` attribute in the form tag, " - u"if specified.", + title="Name", + description="The value of the `name` attribute in the form tag, " + "if specified.", required=True) id = zope.schema.TextLine( - title=u"Id", - description=u"The value of the `id` attribute in the form tag, " - u"if specified.", + title="Id", + description="The value of the `id` attribute in the form tag, " + "if specified.", required=True) def getControl(label=None, name=None, index=None): --- ./src/zc/testbrowser/browser.py (original) +++ ./src/zc/testbrowser/browser.py (refactored) @@ -13,15 +13,15 @@ ############################################################################## __docformat__ = "reStructuredText" -from cStringIO import StringIO +from io import StringIO import ClientForm import mechanize import operator import re import sys import time -import urllib2 -import urlparse +import urllib.request, urllib.error, urllib.parse +import urllib.parse import zc.testbrowser.interfaces import zope.interface @@ -210,12 +210,12 @@ def open(self, url, data=None): if self.base is not None: - url = urlparse.urljoin(self.base, url) + url = urllib.parse.urljoin(self.base, url) self._start_timer() try: try: self.mech_browser.open(url, data) - except urllib2.HTTPError, e: + except urllib.error.HTTPError as e: if e.code >= 200 and e.code <= 299: # 200s aren't really errors pass @@ -230,7 +230,7 @@ code, msg = self.headers['Status'].split(' ', 1) code = int(code) if self.raiseHttpErrors and code >= 400: - raise urllib2.HTTPError(url, code, msg, self.headers, fp=None) + raise urllib.error.HTTPError(url, code, msg, self.headers, fp=None) def _start_timer(self): self.timer.start() @@ -694,7 +694,7 @@ if index is not None or coord != (1,1): raise ValueError( 'May not use index or coord without a control') - request = self.mech_form._switch_click("request", urllib2.Request) + request = self.mech_form._switch_click("request", urllib.request.Request) self.browser._start_timer() self.browser.mech_browser.open(request) self.browser._stop_timer() --- ./bootstrap/bootstrap.py (original) +++ ./bootstrap/bootstrap.py (refactored) @@ -20,7 +20,7 @@ $Id: bootstrap.py 90478 2008-08-27 22:44:46Z georgyberdyshev $ """ -import os, shutil, sys, tempfile, urllib2 +import os, shutil, sys, tempfile, urllib.request, urllib.error, urllib.parse tmpeggs = tempfile.mkdtemp() @@ -30,8 +30,8 @@ import pkg_resources except ImportError: ez = {} - exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py' - ).read() in ez + exec(urllib.request.urlopen('http://peak.telecommunity.com/dist/ez_setup.py' + ).read(), ez) ez['use_setuptools'](to_dir=tmpeggs, download_delay=0) import pkg_resources + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.60975 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-zc.testbrowser-1.0.0a5 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py build running build running build_py creating build creating build/lib creating build/lib/zc copying src/zc/__init__.py -> build/lib/zc creating build/lib/zc/testbrowser copying src/zc/testbrowser/tests.py -> build/lib/zc/testbrowser copying src/zc/testbrowser/real.py -> build/lib/zc/testbrowser copying src/zc/testbrowser/interfaces.py -> build/lib/zc/testbrowser copying src/zc/testbrowser/dummymodules.py -> build/lib/zc/testbrowser copying src/zc/testbrowser/browser.py -> build/lib/zc/testbrowser copying src/zc/testbrowser/__init__.py -> build/lib/zc/testbrowser creating build/lib/zc/testbrowser/ftests copying src/zc/testbrowser/ftests/__init__.py -> build/lib/zc/testbrowser/ftests running egg_info writing src/zc.testbrowser.egg-info/PKG-INFO writing dependency_links to src/zc.testbrowser.egg-info/dependency_links.txt writing namespace_packages to src/zc.testbrowser.egg-info/namespace_packages.txt writing requirements to src/zc.testbrowser.egg-info/requires.txt writing top-level names to src/zc.testbrowser.egg-info/top_level.txt reading manifest file 'src/zc.testbrowser.egg-info/SOURCES.txt' writing manifest file 'src/zc.testbrowser.egg-info/SOURCES.txt' copying src/zc/testbrowser/README.txt -> build/lib/zc/testbrowser copying src/zc/testbrowser/headers.txt -> build/lib/zc/testbrowser copying src/zc/testbrowser/performance.txt -> build/lib/zc/testbrowser copying src/zc/testbrowser/real.js -> build/lib/zc/testbrowser copying src/zc/testbrowser/screen-shots.txt -> build/lib/zc/testbrowser copying src/zc/testbrowser/ftests/controls.html -> build/lib/zc/testbrowser/ftests copying src/zc/testbrowser/ftests/doctype.html -> build/lib/zc/testbrowser/ftests copying src/zc/testbrowser/ftests/forms.html -> build/lib/zc/testbrowser/ftests copying src/zc/testbrowser/ftests/ftesting.zcml -> build/lib/zc/testbrowser/ftests copying src/zc/testbrowser/ftests/index.html -> build/lib/zc/testbrowser/ftests copying src/zc/testbrowser/ftests/navigate.html -> build/lib/zc/testbrowser/ftests copying src/zc/testbrowser/ftests/notitle.html -> build/lib/zc/testbrowser/ftests copying src/zc/testbrowser/ftests/oneform.html -> build/lib/zc/testbrowser/ftests copying src/zc/testbrowser/ftests/target.html -> build/lib/zc/testbrowser/ftests copying src/zc/testbrowser/ftests/test.css -> build/lib/zc/testbrowser/ftests copying src/zc/testbrowser/ftests/test.txt -> build/lib/zc/testbrowser/ftests copying src/zc/testbrowser/ftests/zope3logo.gif -> build/lib/zc/testbrowser/ftests + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.48936 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-zc.testbrowser-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-zc.testbrowser-buildroot + cd python3-module-zc.testbrowser-1.0.0a5 + 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-zc.testbrowser-buildroot --force running install running install_lib Skipping installation of /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/__init__.py (namespace package) copying zc/testbrowser/screen-shots.txt -> /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser copying zc/testbrowser/real.js -> /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser copying zc/testbrowser/performance.txt -> /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser copying zc/testbrowser/headers.txt -> /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser copying zc/testbrowser/README.txt -> /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser copying zc/testbrowser/__init__.py -> /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser copying zc/testbrowser/browser.py -> /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser copying zc/testbrowser/dummymodules.py -> /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser copying zc/testbrowser/interfaces.py -> /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser copying zc/testbrowser/real.py -> /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser copying zc/testbrowser/tests.py -> /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser copying zc/testbrowser/ftests/zope3logo.gif -> /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/ftests copying zc/testbrowser/ftests/test.txt -> /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/ftests copying zc/testbrowser/ftests/test.css -> /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/ftests copying zc/testbrowser/ftests/target.html -> /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/ftests copying zc/testbrowser/ftests/oneform.html -> /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/ftests copying zc/testbrowser/ftests/notitle.html -> /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/ftests copying zc/testbrowser/ftests/navigate.html -> /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/ftests copying zc/testbrowser/ftests/index.html -> /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/ftests copying zc/testbrowser/ftests/ftesting.zcml -> /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/ftests copying zc/testbrowser/ftests/forms.html -> /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/ftests copying zc/testbrowser/ftests/doctype.html -> /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/ftests copying zc/testbrowser/ftests/controls.html -> /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/ftests copying zc/testbrowser/ftests/__init__.py -> /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/ftests byte-compiling /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/browser.py to browser.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/dummymodules.py to dummymodules.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/interfaces.py to interfaces.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/real.py to real.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/tests.py to tests.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/ftests/__init__.py to __init__.cpython-37.pyc running install_egg_info running egg_info writing src/zc.testbrowser.egg-info/PKG-INFO writing dependency_links to src/zc.testbrowser.egg-info/dependency_links.txt writing namespace_packages to src/zc.testbrowser.egg-info/namespace_packages.txt writing requirements to src/zc.testbrowser.egg-info/requires.txt writing top-level names to src/zc.testbrowser.egg-info/top_level.txt reading manifest file 'src/zc.testbrowser.egg-info/SOURCES.txt' writing manifest file 'src/zc.testbrowser.egg-info/SOURCES.txt' Copying src/zc.testbrowser.egg-info to /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc.testbrowser-1.0.0a5-py3.7.egg-info Installing /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc.testbrowser-1.0.0a5-py3.7-nspkg.pth running install_scripts + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-zc.testbrowser-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-zc.testbrowser-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python3-module-zc.testbrowser-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-zc.testbrowser-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-zc.testbrowser-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python3-module-zc.testbrowser-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-zc.testbrowser-buildroot using /usr/bin/python2.7 Bytecompiling python modules with optimization in /usr/src/tmp/python3-module-zc.testbrowser-buildroot using /usr/bin/python2.7 -O Bytecompiling python3 modules in /usr/src/tmp/python3-module-zc.testbrowser-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/__pycache__/browser.cpython-37.pyc unlink /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/__pycache__/dummymodules.cpython-37.pyc unlink /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/__pycache__/interfaces.cpython-37.pyc unlink /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/__pycache__/real.cpython-37.pyc unlink /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/__pycache__/tests.cpython-37.pyc unlink /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/ftests/__pycache__/__init__.cpython-37.pyc compile /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/ftests/__init__.py compile /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/__init__.py compile /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/browser.py compile /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/dummymodules.py compile /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/interfaces.py compile /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/real.py compile /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/tests.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-zc.testbrowser-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/ftests/__init__.py compile /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/__init__.py compile /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/browser.py compile /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/dummymodules.py compile /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/interfaces.py compile /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/real.py compile /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/tests.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-zc.testbrowser-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/ftests/__init__.py compile /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/__init__.py compile /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/browser.py compile /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/dummymodules.py compile /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/interfaces.py compile /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/real.py compile /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/tests.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/zc/testbrowser/__pycache__/tests.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/zc/testbrowser/__pycache__/tests.cpython-37.pyc' './usr/lib/python3/site-packages/zc/testbrowser/__pycache__/interfaces.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/zc/testbrowser/__pycache__/interfaces.cpython-37.pyc' './usr/lib/python3/site-packages/zc/testbrowser/__pycache__/dummymodules.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/zc/testbrowser/__pycache__/dummymodules.cpython-37.pyc' './usr/lib/python3/site-packages/zc/testbrowser/__pycache__/dummymodules.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/zc/testbrowser/__pycache__/dummymodules.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/zc/testbrowser/__pycache__/browser.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/zc/testbrowser/__pycache__/browser.cpython-37.pyc' './usr/lib/python3/site-packages/zc/testbrowser/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/zc/testbrowser/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/zc/testbrowser/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/zc/testbrowser/__pycache__/__init__.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/zc/testbrowser/ftests/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/zc/testbrowser/ftests/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/zc/testbrowser/ftests/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/zc/testbrowser/ftests/__pycache__/__init__.cpython-37.opt-1.pyc' Hardlinking identical .pyc and .pyo files Processing files: python3-module-zc.testbrowser-1.0.0a5-alt4 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.7237 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-zc.testbrowser-1.0.0a5 + DOCDIR=/usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/share/doc/python3-module-zc.testbrowser-1.0.0a5 + export DOCDIR + rm -rf /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/share/doc/python3-module-zc.testbrowser-1.0.0a5 + /bin/mkdir -p /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/share/doc/python3-module-zc.testbrowser-1.0.0a5 + cp -prL CHANGES.txt README.txt TODO.txt /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/share/doc/python3-module-zc.testbrowser-1.0.0a5 + chmod -R go-w /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/share/doc/python3-module-zc.testbrowser-1.0.0a5 + chmod -R a+rX /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/share/doc/python3-module-zc.testbrowser-1.0.0a5 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.cFjyuZ 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.OK3dmY find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) python3.req: /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/browser.py: skipping sys python3.req: /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/browser.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/browser.py: line=99 IGNORE (for REQ=slight and deep=12) module=test python3.req: /usr/src/tmp/python3-module-zc.testbrowser-buildroot/usr/lib/python3/site-packages/zc/testbrowser/real.py: skipping time Provides: python3(zc.testbrowser), python3(zc.testbrowser.browser), python3(zc.testbrowser.dummymodules), python3(zc.testbrowser.ftests), python3(zc.testbrowser.interfaces), python3(zc.testbrowser.real) Requires: python3(zc) < 0, python3(ClientForm) < 0, python3(mechanize) < 0, python3(simplejson) < 0, python3(zope.interface) < 0, python3(zope.schema) < 0, /usr/lib/python3/site-packages, python3(io) < 0, python3(operator) < 0, python3(os.path) < 0, python3(re) < 0, python3(socket) < 0, python3(telnetlib) < 0, python3(tempfile) < 0, python3(urllib.error) < 0, python3(urllib.parse) < 0, python3(urllib.request) < 0 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.00O8CY Processing files: python3-module-zc.testbrowser-tests-1.0.0a5-alt4 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.VUdLq1 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.WGRns2 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) Provides: python3(zc.testbrowser.tests) Requires: python3-module-zc.testbrowser = 1.0.0a5-alt4, python3(zope.testing) < 0, /usr/lib/python3/site-packages, python3(cgi) < 0, python3(http.client) < 0, python3(http.server) < 0, python3(io) < 0, python3(mechanize) < 0, python3(os.path) < 0, python3(pprint) < 0, python3(random) < 0, python3(re) < 0, python3(string) < 0, python3(threading) < 0, python3(unittest) < 0, python3(urllib.error) < 0, python3(urllib.parse) < 0, python3(urllib.request) < 0, python3(zc.testbrowser) < 0, python3(zc.testbrowser.browser) < 0, python3(zc.testbrowser.real) < 0 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.8gnGgY Adding to python3-module-zc.testbrowser-tests a strict dependency on python3-module-zc.testbrowser Removing 3 extra deps from python3-module-zc.testbrowser-tests due to dependency on python3-module-zc.testbrowser Removing 8 extra deps from python3-module-zc.testbrowser-tests due to repentancy on python3-module-zc.testbrowser Wrote: /usr/src/RPM/RPMS/i586/python3-module-zc.testbrowser-1.0.0a5-alt4.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/python3-module-zc.testbrowser-tests-1.0.0a5-alt4.i586.rpm 15.23user 1.37system 0:24.93elapsed 66%CPU (0avgtext+0avgdata 21020maxresident)k 0inputs+0outputs (0major+207710minor)pagefaults 0swaps /.out/python3-module-zc.testbrowser-1.0.0a5-alt4.i586.rpm: license not found in '/usr/share/license' directory: ZPLv2.1 /.out/python3-module-zc.testbrowser-tests-1.0.0a5-alt4.i586.rpm: license not found in '/usr/share/license' directory: ZPLv2.1 28.11user 8.73system 0:46.33elapsed 79%CPU (0avgtext+0avgdata 109200maxresident)k 0inputs+0outputs (0major+685765minor)pagefaults 0swaps