<86>Apr 29 10:59:06 userdel[3776172]: delete user 'rooter' <86>Apr 29 10:59:06 userdel[3776172]: removed group 'rooter' owned by 'rooter' <86>Apr 29 10:59:06 userdel[3776172]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 29 10:59:06 groupadd[3776182]: group added to /etc/group: name=rooter, GID=651 <86>Apr 29 10:59:06 groupadd[3776182]: group added to /etc/gshadow: name=rooter <86>Apr 29 10:59:06 groupadd[3776182]: new group: name=rooter, GID=651 <86>Apr 29 10:59:06 useradd[3776188]: new user: name=rooter, UID=651, GID=651, home=/root, shell=/bin/bash <86>Apr 29 10:59:06 userdel[3776203]: delete user 'builder' <86>Apr 29 10:59:06 userdel[3776203]: removed group 'builder' owned by 'builder' <86>Apr 29 10:59:06 userdel[3776203]: removed shadow group 'builder' owned by 'builder' <86>Apr 29 10:59:06 groupadd[3776214]: group added to /etc/group: name=builder, GID=652 <86>Apr 29 10:59:06 groupadd[3776214]: group added to /etc/gshadow: name=builder <86>Apr 29 10:59:06 groupadd[3776214]: new group: name=builder, GID=652 <86>Apr 29 10:59:06 useradd[3776228]: new user: name=builder, UID=652, GID=652, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/python3-module-zope.testbrowser-5.0.0-alt3.src.rpm: license not found in '/usr/share/license' directory: ZPLv2.1 <13>Apr 29 10:59:08 rpmi: rpm-macros-python3-0.1.14-alt1 sisyphus+270922.100.1.1 1619661227 installed <13>Apr 29 10:59:08 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Apr 29 10:59:08 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>Apr 29 10:59:08 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Apr 29 10:59:08 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Apr 29 10:59:08 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 29 10:59:08 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 29 10:59:08 rpmi: ca-certificates-2021.03.24-alt1 sisyphus+268304.300.1.1 1616591829 installed <13>Apr 29 10:59:08 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Apr 29 10:59:08 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Apr 29 10:59:08 rpmi: libcrypto1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>Apr 29 10:59:08 rpmi: libssl1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>Apr 29 10:59:08 rpmi: python3-3.9.4-alt1 sisyphus+268966.100.1.1 1617609166 installed <13>Apr 29 10:59:09 rpmi: python3-base-3.9.4-alt1 sisyphus+268966.100.1.1 1617609166 installed <13>Apr 29 10:59:09 rpmi: libpython3-3.9.4-alt1 sisyphus+268966.100.1.1 1617609166 installed <13>Apr 29 10:59:09 rpmi: tests-for-installed-python3-pkgs-0.1.14-alt1 sisyphus+270922.100.1.1 1619661227 installed <13>Apr 29 10:59:09 rpmi: rpm-build-python3-0.1.14-alt1 sisyphus+270922.100.1.1 1619661227 installed <13>Apr 29 10:59:12 rpmi: libpython-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 10:59:12 rpmi: python2-base-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 10:59:12 rpmi: python-modules-encodings-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 10:59:12 rpmi: python-modules-compiler-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 10:59:12 rpmi: python-modules-email-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 10:59:12 rpmi: python-modules-unittest-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 10:59:12 rpmi: python-modules-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 10:59:12 rpmi: python-modules-ctypes-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 10:59:12 rpmi: python-modules-multiprocessing-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 10:59:12 rpmi: python-modules-logging-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 10:59:12 rpmi: python-tools-2to3-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-zope.testbrowser-5.0.0-alt3.nosrc.rpm (w1.gzdio) <13>Apr 29 10:59:14 rpmi: python3-module-pkg_resources-1:56.0.0-alt1 sisyphus+269911.100.2.1 1618475070 installed <13>Apr 29 10:59:14 rpmi: libtinfo-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed <13>Apr 29 10:59:14 rpmi: libncurses-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed <13>Apr 29 10:59:14 rpmi: python3-dev-3.9.4-alt1 sisyphus+268966.100.1.1 1617609166 installed <13>Apr 29 10:59:14 rpmi: python3-module-setuptools-1:56.0.0-alt1 sisyphus+269911.100.2.1 1618475070 installed Installing python3-module-zope.testbrowser-5.0.0-alt3.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.39728 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-zope.testbrowser-5.0.0 + echo 'Source #0 (python3-module-zope.testbrowser-5.0.0.tar):' Source #0 (python3-module-zope.testbrowser-5.0.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-zope.testbrowser-5.0.0.tar + cd python3-module-zope.testbrowser-5.0.0 + /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 ./src/zope/testbrowser/wsgi.py RefactoringTool: Refactored ./src/zope/testbrowser/utils.py RefactoringTool: Refactored ./src/zope/testbrowser/tests/test_wsgi.py WARNING: couldn't encode ./src/zope/testbrowser/tests/test_wsgi.py's diff for your terminal RefactoringTool: No changes to ./src/zope/testbrowser/tests/test_doctests.py RefactoringTool: Refactored ./src/zope/testbrowser/tests/test_browser.py RefactoringTool: No changes to ./src/zope/testbrowser/tests/helper.py RefactoringTool: No changes to ./src/zope/testbrowser/testing.py RefactoringTool: Refactored ./src/zope/testbrowser/interfaces.py --- ./src/zope/testbrowser/utils.py (original) +++ ./src/zope/testbrowser/utils.py (refactored) @@ -122,7 +122,7 @@ timezone_re = re.compile(r"^([-+])?(\d\d?):?(\d\d)?$") def offset_from_tz_string(tz): offset = None - if UTC_ZONES.has_key(tz): + if tz in UTC_ZONES: offset = 0 else: m = timezone_re.search(tz) --- ./src/zope/testbrowser/tests/test_wsgi.py (original) +++ ./src/zope/testbrowser/tests/test_wsgi.py (refactored) @@ -67,11 +67,11 @@ # we're also automatically redirected on submit browser.open('http://localhost/@@/testbrowser/forms.html') - self.assertEquals(browser.headers.get('status'), '200 OK') + self.assertEqual(browser.headers.get('status'), '200 OK') form = browser.getForm(name='redirect') form.submit() - self.assertEquals(browser.headers.get('status'), '200 OK') - self.assertEquals(browser.url, 'http://localhost/set_status.html') + self.assertEqual(browser.headers.get('status'), '200 OK') + self.assertEqual(browser.url, 'http://localhost/set_status.html') ## See https://github.com/zopefoundation/zope.testbrowser/pull/4#issuecomment-24302778 ## @@ -151,7 +151,7 @@ self.assertEqual(browser.contents, 'None') def test_non_ascii_urls(self): --- ./src/zope/testbrowser/tests/test_browser.py (original) +++ ./src/zope/testbrowser/tests/test_browser.py (refactored) @@ -13,7 +13,7 @@ ############################################################################## """Real test for file-upload and beginning of a better internal test framework """ -from __future__ import print_function + import io import doctest @@ -836,7 +836,7 @@ """ -UNICODE_TEST = u'\u4e2d\u6587\u7dad' # unicode in doctests is hard! +UNICODE_TEST = '\u4e2d\u6587\u7dad' # unicode in doctests is hard! def test_non_ascii_in_input_field(self): """ --- ./src/zope/testbrowser/interfaces.py (original) +++ ./src/zope/testbrowser/interfaces.py (refactored) @@ -30,13 +30,13 @@ """A mapping of cookies for a given url""" url = zope.schema.URI( - title=u"URL", - description=u"The URL the mapping is currently exposing.", + title="URL", + description="The URL the mapping is currently exposing.", required=True) header = zope.schema.TextLine( - title=u"Header", - description=u"The current value for the Cookie header for the URL", + title="Header", + description="The current value for the Cookie header for the URL", required=True) def forURL(url): @@ -110,42 +110,42 @@ """A Programmatic Web Browser.""" cookies = zope.schema.Field( - title=u"Cookies", - description=(u"An ICookies mapping for the browser's current URL."), + title="Cookies", + description=("An ICookies mapping for the browser's current URL."), required=True) 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) 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) 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) title = zope.schema.TextLine( - title=u"Title", - description=u"Title of the displayed page", + title="Title", + description="Title of the displayed page", required=False) 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) @@ -201,9 +201,9 @@ """ 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``. @@ -213,9 +213,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``. @@ -267,32 +267,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) @@ -304,22 +304,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 - 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 - 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, reRefactoringTool: Refactored ./src/zope/testbrowser/ftests/wsgitestapp.py quired=True) @@ -351,26 +351,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) @@ -381,23 +381,23 @@ """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) attrs = zope.schema.Dict( - title=u'Attributes', - description=u'The attributes of the link tag', + title='Attributes', + description='The attributes of the link tag', required=False) text = zope.schema.TextLine( - title=u'Text', - description=u'The contained text of the link', + title='Text', + description='The contained text of the link', required=False) tag = zope.schema.TextLine( - title=u'Tag', - description=u'The tag name of the link (a or area, typically)', + title='Tag', + description='The tag name of the link (a or area, typically)', required=True) @@ -405,31 +405,31 @@ """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) method = zope.schema.Choice( - title=u"Method", - description=u"The method used to submit the form.", + title="Method", + description="The method used to submit the form.", values=['post', 'get', 'put'], required=True) enctype = zope.schema.TextLine( - title=u"Encoding Type", - description=u"The type of encoding used to encode the form data.", + title="Encoding Type", + description="The type of encoding used to encode the form data.", 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/zope/testbrowser/ftests/wsgitestapp.py (original) +++ ./src/zope/testbrowser/ftests/wsgitestapp.py (refactored) @@ -105,7 +105,7 @@ def set_cookie(req): cookie_parms = {'path': None} - cookie_parms.update(dict((str(k), str(v)) for k, v in req.params.items())) + cookie_parms.update(dict((str(k), str(v)) for k, v in list(req.paramRefactoringTool: Refactored ./src/zope/testbrowser/cookies.py RefactoringTool: Refactored ./src/zope/testbrowser/connection.py RefactoringTool: Refactored ./src/zope/testbrowser/browser.py RefactoringTool: Refactored ./src/zope/testbrowser/_compat.py s.items()))) name = cookie_parms.pop('name') value = cookie_parms.pop('value') if 'max-age' in cookie_parms: @@ -118,11 +118,11 @@ def set_header(req): resp = Response() - body = [u"Set Headers:"] + body = ["Set Headers:"] for k, v in sorted(req.params.items()): body.extend([k, v]) resp.headers.add(k, v) - resp.unicode_body = u'\n'.join(body) + resp.unicode_body = '\n'.join(body) return resp _interesting_environ = ('CONTENT_LENGTH', --- ./src/zope/testbrowser/cookies.py (original) +++ ./src/zope/testbrowser/cookies.py (refactored) @@ -14,7 +14,7 @@ import datetime import time -import urllib +import urllib.request, urllib.parse, urllib.error from zope.testbrowser._compat import (httpcookies, urlparse, url_quote, MutableMapping, urllib_request) @@ -293,7 +293,7 @@ def _setCookie(self, name, value, domain, expires, path, secure, comment, commenturl, port, version=None, ck=None, now=None): - for nm, val in self._req_headers.items(): + for nm, val in list(self._req_headers.items()): if nm.lower() in ('cookie', 'cookie2'): raise ValueError('cookies are already set in `Cookie` header') @@ -396,9 +396,9 @@ def itervalues(self): # Method, missing in Py3' MutableMapping, but required by # IIterableMapping - return self.values() + return list(self.values()) def iterkeys(self): # Method, missing in Py3' MutableMapping, but required by # IIterableMapping - return self.keys() + return list(self.keys()) --- ./src/zope/testbrowser/connection.py (original) +++ ./src/zope/testbrowser/connection.py (refactored) @@ -13,8 +13,8 @@ ############################################################################## """Base classes sometimes useful to implement browsers """ -import cStringIO -import httplib +import io +import http.client import mechanize import socket import sys @@ -28,8 +28,8 @@ self.content = content self.status = status self.reason = reason - self.msg = httplib.HTTPMessage(cStringIO.StringIO(headers), 0) - self.content_as_file = cStringIO.StringIO(self.content) + self.msg = http.client.HTTPMessage(io.StringIO(headers), 0) + self.content_as_file = io.StringIO(self.content) def read(self, amt=None): return self.content_as_file.read(amt) --- ./src/zope/testbrowser/browser.py (original) +++ ./src/zope/testbrowser/browser.py (refactored) @@ -379,7 +379,7 @@ """ Return set of response forms in the order they appear in ``self._response.form``.""" respforms = self._response.forms - idxkeys = [k for k in respforms.keys() if isinstance(k, int)] + idxkeys = [k for k in list(respforms.keys()) if isinstance(k, int)] return [respforms[k] for k in sorted(idxkeys)] def _getAllControls(self, label, name, forms, include_subcontrols=False): @@ -599,7 +599,7 @@ @property def attrs(self): toStr = self.browser.toStr - return dict((toStr(k), toStr(v)) for k, v in self._link.attrs.items()) + return dict((toStr(k), toStr(v)) for k, v in list(self._link.attrs.items())) def __repr__(self): return "<%s text='%s' url='%s'>" % ( --- ./src/zope/testbrowser/_compat.py (original) +++ ./src/zope/testbrowser/_compat.py (refactored) @@ -22,13 +22,13 @@ HAVE_MECHANIZE = False if PYTHON2: - import Cookie as httpcookies - import urlparse - from urllib import quote as url_quote - import httplib as httpclient + import http.cookies as httpcookies + import urllib.parse + from urllib.parse import quote as url_quote + import http.client as httpclient import urllib2 as urllib_request from cgi import escape as html_escape - from urllib import urlencode + from urllib.parse import urlencode from UserDict import DictMixin from base64 import encodestring as base64_encodebytes class MutRefactoringTool: No changes to ./src/zope/testbrowser/__init__.py RefactoringTool: No changes to ./src/zope/__init__.py RefactoringTool: No changes to ./setup.py RefactoringTool: No changes to ./docs/conf.py RefactoringTool: Refactored ./bootstrap.py RefactoringTool: Files that were modified: RefactoringTool: ./src/zope/testbrowser/wsgi.py RefactoringTool: ./src/zope/testbrowser/utils.py RefactoringTool: ./src/zope/testbrowser/tests/test_wsgi.py RefactoringTool: ./src/zope/testbrowser/tests/test_doctests.py RefactoringTool: ./src/zope/testbrowser/tests/test_browser.py RefactoringTool: ./src/zope/testbrowser/tests/helper.py RefactoringTool: ./src/zope/testbrowser/testing.py RefactoringTool: ./src/zope/testbrowser/interfaces.py RefactoringTool: ./src/zope/testbrowser/ftests/wsgitestapp.py RefactoringTool: ./src/zope/testbrowser/cookies.py RefactoringTool: ./src/zope/testbrowser/connection.py RefactoringTool: ./src/zope/testbrowser/browser.py RefactoringTool: ./src/zope/testbrowser/_compat.py RefactoringTool: ./src/zope/testbrowser/__init__.py RefactoringTool: ./src/zope/__init__.py RefactoringTool: ./setup.py RefactoringTool: ./docs/conf.py RefactoringTool: ./bootstrap.py RefactoringTool: Warnings/messages while refactoring: RefactoringTool: ### In file ./src/zope/testbrowser/_compat.py ### RefactoringTool: Line 29: could not convert: import urllib2 as urllib_request RefactoringTool: This module is now multiple modules RefactoringTool: Line 29: could not convert: import urllib2 as urllib_request RefactoringTool: This module is now multiple modules RefactoringTool: Line 29: could not convert: import urllib2 as urllib_request RefactoringTool: This module is now multiple modules RefactoringTool: Line 29: could not convert: import urllib2 as urllib_request RefactoringTool: This module is now multiple modules RefactoringTool: Line 29: could not convert: import urllib2 as urllib_request RefactoringTool: This module is now multiple modules RefactoringTool: Line 29: could not convert: import urllib2 as urllib_request RefactoringTool: This module is now multiple modules RefactoringTool: Line 29: could not convert: import urllib2 as urllib_request RefactoringTool: This module is now multiple modules RefactoringTool: Line 29: could not convert: import urllib2 as urllib_request RefactoringTool: This module is now multiple modules RefactoringTool: Line 29: could not convert: import urllib2 as urllib_request RefactoringTool: This module is now multiple modules ableMapping(object, DictMixin): --- ./bootstrap.py (original) +++ ./bootstrap.py (refactored) @@ -72,7 +72,7 @@ import pkg_resources from urllib.request import urlopen except ImportError: - from urllib2 import urlopen + from urllib.request import urlopen ez = {} exec(urlopen('https://bootstrap.pypa.io/ez_setup.py').read(), ez) + ln -s README.rst README.txt + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.1945 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-zope.testbrowser-5.0.0 + 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/zope copying src/zope/__init__.py -> build/lib/zope creating build/lib/zope/testbrowser copying src/zope/testbrowser/wsgi.py -> build/lib/zope/testbrowser copying src/zope/testbrowser/utils.py -> build/lib/zope/testbrowser copying src/zope/testbrowser/testing.py -> build/lib/zope/testbrowser copying src/zope/testbrowser/interfaces.py -> build/lib/zope/testbrowser copying src/zope/testbrowser/cookies.py -> build/lib/zope/testbrowser copying src/zope/testbrowser/connection.py -> build/lib/zope/testbrowser copying src/zope/testbrowser/browser.py -> build/lib/zope/testbrowser copying src/zope/testbrowser/_compat.py -> build/lib/zope/testbrowser copying src/zope/testbrowser/__init__.py -> build/lib/zope/testbrowser creating build/lib/zope/testbrowser/tests copying src/zope/testbrowser/tests/test_wsgi.py -> build/lib/zope/testbrowser/tests copying src/zope/testbrowser/tests/test_doctests.py -> build/lib/zope/testbrowser/tests copying src/zope/testbrowser/tests/test_browser.py -> build/lib/zope/testbrowser/tests copying src/zope/testbrowser/tests/test_bbb.py -> build/lib/zope/testbrowser/tests copying src/zope/testbrowser/tests/helper.py -> build/lib/zope/testbrowser/tests copying src/zope/testbrowser/tests/__init__.py -> build/lib/zope/testbrowser/tests creating build/lib/zope/testbrowser/ftests copying src/zope/testbrowser/ftests/wsgitestapp.py -> build/lib/zope/testbrowser/ftests copying src/zope/testbrowser/ftests/__init__.py -> build/lib/zope/testbrowser/ftests running egg_info creating src/zope.testbrowser.egg-info writing src/zope.testbrowser.egg-info/PKG-INFO writing dependency_links to src/zope.testbrowser.egg-info/dependency_links.txt writing namespace_packages to src/zope.testbrowser.egg-info/namespace_packages.txt writing requirements to src/zope.testbrowser.egg-info/requires.txt writing top-level names to src/zope.testbrowser.egg-info/top_level.txt writing manifest file 'src/zope.testbrowser.egg-info/SOURCES.txt' adding license file 'LICENSE.rst' (matched pattern 'LICEN[CS]E*') reading manifest file 'src/zope.testbrowser.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'src/zope.testbrowser.egg-info/SOURCES.txt' copying src/zope/testbrowser/fixed-bugs.txt -> build/lib/zope/testbrowser copying src/zope/testbrowser/over_the_wire.txt -> build/lib/zope/testbrowser copying src/zope/testbrowser/ftests/controls.html -> build/lib/zope/testbrowser/ftests copying src/zope/testbrowser/ftests/cookies.html -> build/lib/zope/testbrowser/ftests copying src/zope/testbrowser/ftests/forms.html -> build/lib/zope/testbrowser/ftests copying src/zope/testbrowser/ftests/fragment.html -> build/lib/zope/testbrowser/ftests copying src/zope/testbrowser/ftests/navigate.html -> build/lib/zope/testbrowser/ftests copying src/zope/testbrowser/ftests/notitle.html -> build/lib/zope/testbrowser/ftests copying src/zope/testbrowser/ftests/oneform.html -> build/lib/zope/testbrowser/ftests copying src/zope/testbrowser/ftests/radio.html -> build/lib/zope/testbrowser/ftests copying src/zope/testbrowser/ftests/simple.html -> build/lib/zope/testbrowser/ftests copying src/zope/testbrowser/ftests/status_lead.html -> build/lib/zope/testbrowser/ftests copying src/zope/testbrowser/ftests/textarea.html -> build/lib/zope/testbrowser/ftests copying src/zope/testbrowser/ftests/zope3logo.gif -> build/lib/zope/testbrowser/ftests + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.1945 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-zope.testbrowser-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-zope.testbrowser-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd python3-module-zope.testbrowser-5.0.0 + 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-zope.testbrowser-buildroot --force running install running install_lib Skipping installation of /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/__init__.py (namespace package) copying zope/testbrowser/over_the_wire.txt -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser copying zope/testbrowser/fixed-bugs.txt -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser copying zope/testbrowser/__init__.py -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser copying zope/testbrowser/_compat.py -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser copying zope/testbrowser/browser.py -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser copying zope/testbrowser/connection.py -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser copying zope/testbrowser/cookies.py -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser copying zope/testbrowser/interfaces.py -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser copying zope/testbrowser/testing.py -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser copying zope/testbrowser/utils.py -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser copying zope/testbrowser/wsgi.py -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser copying zope/testbrowser/ftests/zope3logo.gif -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/ftests copying zope/testbrowser/ftests/textarea.html -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/ftests copying zope/testbrowser/ftests/status_lead.html -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/ftests copying zope/testbrowser/ftests/simple.html -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/ftests copying zope/testbrowser/ftests/radio.html -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/ftests copying zope/testbrowser/ftests/oneform.html -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/ftests copying zope/testbrowser/ftests/notitle.html -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/ftests copying zope/testbrowser/ftests/navigate.html -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/ftests copying zope/testbrowser/ftests/fragment.html -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/ftests copying zope/testbrowser/ftests/forms.html -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/ftests copying zope/testbrowser/ftests/cookies.html -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/ftests copying zope/testbrowser/ftests/controls.html -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/ftests copying zope/testbrowser/ftests/__init__.py -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/ftests copying zope/testbrowser/ftests/wsgitestapp.py -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/ftests copying zope/testbrowser/tests/__init__.py -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/tests copying zope/testbrowser/tests/helper.py -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/tests copying zope/testbrowser/tests/test_bbb.py -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/tests copying zope/testbrowser/tests/test_browser.py -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/tests copying zope/testbrowser/tests/test_doctests.py -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/tests copying zope/testbrowser/tests/test_wsgi.py -> /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/tests byte-compiling /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/__init__.py to __init__.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/_compat.py to _compat.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/browser.py to browser.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/connection.py to connection.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/cookies.py to cookies.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/interfaces.py to interfaces.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/testing.py to testing.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/utils.py to utils.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/wsgi.py to wsgi.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/ftests/__init__.py to __init__.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/ftests/wsgitestapp.py to wsgitestapp.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/tests/__init__.py to __init__.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/tests/helper.py to helper.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/tests/test_bbb.py to test_bbb.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/tests/test_browser.py to test_browser.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/tests/test_doctests.py to test_doctests.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope/testbrowser/tests/test_wsgi.py to test_wsgi.cpython-39.pyc running install_egg_info running egg_info writing src/zope.testbrowser.egg-info/PKG-INFO writing dependency_links to src/zope.testbrowser.egg-info/dependency_links.txt writing namespace_packages to src/zope.testbrowser.egg-info/namespace_packages.txt writing requirements to src/zope.testbrowser.egg-info/requires.txt writing top-level names to src/zope.testbrowser.egg-info/top_level.txt adding license file 'LICENSE.rst' (matched pattern 'LICEN[CS]E*') reading manifest file 'src/zope.testbrowser.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'src/zope.testbrowser.egg-info/SOURCES.txt' Copying src/zope.testbrowser.egg-info to /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope.testbrowser-5.0.0.dev0-py3.9.egg-info Installing /usr/src/tmp/python3-module-zope.testbrowser-buildroot/usr/lib/python3/site-packages/zope.testbrowser-5.0.0.dev0-py3.9-nspkg.pth running install_scripts + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-zope.testbrowser-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-zope.testbrowser-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python3-module-zope.testbrowser-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-zope.testbrowser-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-zope.testbrowser-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/python3-module-zope.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-zope.testbrowser-buildroot using /usr/bin/python2.7 /usr/bin/python2.7: can't open file '/usr/lib/rpm/python.compileall.py': [Errno 2] No such file or directory error: Bad exit status from /usr/src/tmp/rpm-tmp.1945 (%install) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.1945 (%install) Command exited with non-zero status 1 4.39user 0.24system 0:04.66elapsed 99%CPU (0avgtext+0avgdata 23896maxresident)k 0inputs+0outputs (0major+62762minor)pagefaults 0swaps hsh-rebuild: rebuild of `python3-module-zope.testbrowser-5.0.0-alt3.src.rpm' failed. Command exited with non-zero status 1 11.12user 3.26system 0:15.00elapsed 95%CPU (0avgtext+0avgdata 107704maxresident)k 0inputs+0outputs (0major+457523minor)pagefaults 0swaps