<86>Apr 9 07:41:14 userdel[95549]: delete user 'rooter' <86>Apr 9 07:41:14 groupadd[95695]: group added to /etc/group: name=rooter, GID=699 <86>Apr 9 07:41:14 groupadd[95695]: group added to /etc/gshadow: name=rooter <86>Apr 9 07:41:14 groupadd[95695]: new group: name=rooter, GID=699 <86>Apr 9 07:41:14 useradd[95789]: new user: name=rooter, UID=699, GID=699, home=/root, shell=/bin/bash <86>Apr 9 07:41:14 userdel[95973]: delete user 'builder' <86>Apr 9 07:41:14 groupadd[96117]: group added to /etc/group: name=builder, GID=700 <86>Apr 9 07:41:14 groupadd[96117]: new group: name=builder, GID=700 <86>Apr 9 07:41:14 useradd[96163]: new user: name=builder, UID=700, GID=700, home=/usr/src, shell=/bin/bash <13>Apr 9 07:41:17 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Apr 9 07:41:17 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Apr 9 07:41:17 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Apr 9 07:41:17 rpmi: libtasn1-4.13-alt2 1521133850 installed <13>Apr 9 07:41:17 rpmi: rpm-macros-alternatives-0.5.0-alt1 sisyphus+221902.300.4.1 1550587121 installed <13>Apr 9 07:41:17 rpmi: alternatives-0.5.0-alt1 sisyphus+221902.300.4.1 1550587121 installed <13>Apr 9 07:41:17 rpmi: ca-certificates-2019.03.31-alt1 sisyphus+226302.100.1.1 1554055265 installed <13>Apr 9 07:41:17 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Apr 9 07:41:17 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Apr 9 07:41:17 rpmi: libcrypto1.1-1.1.1b-alt1 sisyphus+225327.200.2.1 1553099317 installed <13>Apr 9 07:41:17 rpmi: libssl1.1-1.1.1b-alt1 sisyphus+225327.200.2.1 1553099317 installed <13>Apr 9 07:41:17 rpmi: python3-3.6.8-alt1 sisyphus+220164.200.3.1 1548842636 installed <13>Apr 9 07:41:18 rpmi: python3-base-3.6.8-alt1 sisyphus+220164.200.3.1 1548842636 installed <13>Apr 9 07:41:18 rpmi: libpython3-3.6.8-alt1 sisyphus+220164.200.3.1 1548842636 installed <13>Apr 9 07:41:18 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Apr 9 07:41:18 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Apr 9 07:41:26 rpmi: python3-module-zope.interface-4.5.0-alt1.qa1 sisyphus.214938.100 1539939473 installed <13>Apr 9 07:41:26 rpmi: python3-module-six-1.12.0-alt1 sisyphus+219665.100.2.1 1548148570 installed <13>Apr 9 07:41:26 rpmi: python3-module-zope.i18nmessageid-4.3.1-alt1 sisyphus+224306.100.1.1 1552241539 installed <13>Apr 9 07:41:26 rpmi: python3-module-pkg_resources-1:40.8.0-alt1 sisyphus+221229.100.2.1 1550559950 installed <13>Apr 9 07:41:26 rpmi: python3-module-transaction-2.1.2-alt1.1 1517934220 installed <13>Apr 9 07:41:26 rpmi: python3-module-zope.dottedname-4.1.1-alt1.dev0.git20150226.1.1.1 1517974055 installed <13>Apr 9 07:41:26 rpmi: python3-module-z3c-3.0.0-alt3 sisyphus+220440.100.1.1 1549119447 installed <13>Apr 9 07:41:26 rpmi: python3-module-zc-1.0.0-alt6.2 1458024175 installed <13>Apr 9 07:41:26 rpmi: python3-module-zope-3.3.0-alt8.4 1458261152 installed <13>Apr 9 07:41:26 rpmi: python3-module-zope.proxy-4.2.0-alt1.1 1525144300 installed <13>Apr 9 07:41:26 rpmi: python3-module-zope.event-4.4-alt1 sisyphus+223130.100.1.1 1551336296 installed <13>Apr 9 07:41:26 rpmi: python3-module-zope.schema-4.9.3-alt1 sisyphus+223130.200.1.1 1551336443 installed <13>Apr 9 07:41:26 rpmi: python3-module-zope.configuration-4.3.1-alt1 sisyphus+223130.300.1.1 1551336601 installed <13>Apr 9 07:41:26 rpmi: python3-module-zope.filerepresentation-4.1.1-alt1.dev0.git20150228.1.1.1 1517974413 installed <13>Apr 9 07:41:26 rpmi: python3-module-zope.lifecycleevent-4.2.0-alt1.S1 1519138152 installed <13>Apr 9 07:41:26 rpmi: python3-module-zope.deferredimport-4.3-alt1 sisyphus+223130.700.1.1 1551336918 installed <13>Apr 9 07:41:26 rpmi: python3-module-zope.deprecation-1:4.4.0-alt1 sisyphus+223130.500.1.1 1551336814 installed <13>Apr 9 07:41:26 rpmi: python3-module-zope.hookable-4.2.0-alt1 sisyphus+224305.100.1.1 1552145224 installed <13>Apr 9 07:41:27 rpmi: python3-module-zope.tal-4.2.0-alt2 1518081896 installed <13>Apr 9 07:41:27 rpmi: python3-module-zope.tales-4.2.0-alt1.S1 1519138223 installed <13>Apr 9 07:41:27 rpmi: python3-module-zope.exceptions-4.2.0-alt2.S1 1518599751 installed <13>Apr 9 07:41:27 rpmi: python3-module-zope.browser-2.2.0-alt1.S1 1520417712 installed <13>Apr 9 07:41:27 rpmi: python3-module-zope.contenttype-4.2.0-alt1.1 1517973515 installed <13>Apr 9 07:41:27 rpmi: python3-module-zope.size-4.1.0-alt1.1.1 sisyphus+224739.100.2.2 1554490044 installed <13>Apr 9 07:41:27 rpmi: python3-module-pytz-1:2016.10-alt1 1484291011 installed <13>Apr 9 07:41:27 rpmi: python3-module-pluggy-0.9.0-alt1 sisyphus+225174.100.1.1 1552829122 installed <13>Apr 9 07:41:27 rpmi: python3-module-more-itertools-7.0.0-alt3 sisyphus+226536.100.1.1 1554329928 installed <13>Apr 9 07:41:27 rpmi: python3-module-iniconfig-1.0.0-alt1 sisyphus+225153.100.1.1 1552826442 installed <13>Apr 9 07:41:27 rpmi: python3-module-gettext-3.0-alt1.1 1517715591 installed <13>Apr 9 07:41:27 rpmi: python3-module-attrs-19.1.0-alt1 sisyphus+224963.100.1.1 1552501935 installed <13>Apr 9 07:41:27 rpmi: python3-module-atomicwrites-1.3.0-alt1 sisyphus+221237.100.1.2 1549921064 installed <13>Apr 9 07:41:27 rpmi: python3-module-apipkg-1.5-alt1 1531926938 installed <13>Apr 9 07:41:27 rpmi: python3-module-py-1.8.0-alt2 sisyphus+225173.100.1.1 1552828593 installed <13>Apr 9 07:41:27 rpmi: python-module-zodbpickle-0.6.1-alt1.dev0.git20150414.1.1.1.1 1525147828 installed <13>Apr 9 07:41:27 rpmi: python-module-z3c-3.0.0-alt3 sisyphus+220440.100.1.1 1549119447 installed <13>Apr 9 07:41:27 rpmi: python-modules-curses-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 9 07:41:27 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Apr 9 07:41:27 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Apr 9 07:41:27 rpmi: python3-dev-3.6.8-alt1 sisyphus+220164.200.3.1 1548842636 installed <13>Apr 9 07:41:27 rpmi: python3-module-persistent-4.2.4.2-alt1.1.1.qa1 sisyphus+224260.100.1.1 1552194562 installed <13>Apr 9 07:41:27 rpmi: python3-module-zope.location-4.1.0-alt1.S1 1520417436 installed <13>Apr 9 07:41:27 rpmi: python3-module-zope.security-4.0.4-alt1.dev0.git20150602.1.1.1.1 1525148872 installed <13>Apr 9 07:41:27 rpmi: python3-module-zope.component-4.5-alt3 sisyphus+223779.100.1.1 1551776305 installed <13>Apr 9 07:41:27 rpmi: python3-module-zope.i18n-4.6.2-alt2 sisyphus+225062.100.1.1 1552656525 installed <13>Apr 9 07:41:27 rpmi: python3-module-zope.publisher-1:4.3.2-alt2 sisyphus+225009.100.1.1 1552573383 installed <13>Apr 9 07:41:27 rpmi: python3-module-zope.traversing-4.1.0-alt1 1484677655 installed <13>Apr 9 07:41:27 rpmi: python3-module-zope.pagetemplate-4.3.0-alt1.S1 1520417341 installed <13>Apr 9 07:41:27 rpmi: python3-module-zope.annotation-4.6.0-alt2.S1 1533566542 installed <13>Apr 9 07:41:27 rpmi: python3-module-BTrees-4.4.1-alt2.S1 1525954735 installed <13>Apr 9 07:41:27 rpmi: python3-module-zope.container-4.2.1-alt1.1 1525155811 installed <13>Apr 9 07:41:27 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Apr 9 07:41:27 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Apr 9 07:41:27 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Apr 9 07:41:27 groupadd[2587]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 9 07:41:27 groupadd[2587]: group added to /etc/gshadow: name=_keytab <86>Apr 9 07:41:27 groupadd[2587]: new group: name=_keytab, GID=499 <13>Apr 9 07:41:27 rpmi: libkrb5-1.16.3-alt1 sisyphus+223678.100.1.1 1551746516 installed <13>Apr 9 07:41:27 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Apr 9 07:41:27 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Apr 9 07:41:27 rpmi: python-modules-compiler-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 9 07:41:27 rpmi: python-modules-email-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 9 07:41:27 rpmi: python-modules-unittest-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 9 07:41:27 rpmi: python-modules-encodings-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 9 07:41:28 rpmi: python-modules-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 9 07:41:28 rpmi: python-modules-nis-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 9 07:41:28 rpmi: python-module-six-1.12.0-alt1 sisyphus+219665.100.2.1 1548148570 installed <13>Apr 9 07:41:28 rpmi: python-module-pkg_resources-1:40.8.0-alt1 sisyphus+221229.100.2.1 1550559950 installed <13>Apr 9 07:41:28 rpmi: python-modules-xml-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 9 07:41:28 rpmi: python-modules-ctypes-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 9 07:41:28 rpmi: python-modules-multiprocessing-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 9 07:41:28 rpmi: python-modules-logging-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 9 07:41:28 rpmi: python-module-zc.lockfile-1.2.1-alt1 1484363864 installed <13>Apr 9 07:41:28 rpmi: python-module-futures-3.0.5-alt1 1484260741 installed <13>Apr 9 07:41:28 rpmi: python-module-trollius-2.1-alt2.1 1517935779 installed <13>Apr 9 07:41:28 rpmi: python-tools-2to3-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 9 07:41:28 rpmi: python-modules-hotshot-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 9 07:41:28 rpmi: python-modules-bsddb-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 9 07:41:28 rpmi: python-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 9 07:41:28 rpmi: python-strict-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Apr 9 07:41:28 rpmi: python-module-zconfig-3.2.0-alt1.1.qa1 sisyphus+224298.100.1.1 1552238646 installed <13>Apr 9 07:41:28 rpmi: python-module-zdaemon-4.3-alt2 sisyphus+219826.100.1.1 1548175644 installed <13>Apr 9 07:41:28 rpmi: python-module-zc-1.0.0-alt6.2 1458024175 installed <13>Apr 9 07:41:28 rpmi: python-module-zope.interface-4.5.0-alt1.qa1 sisyphus.214938.100 1539939473 installed <13>Apr 9 07:41:28 rpmi: python-module-zope-3.3.0-alt8.4 1458261152 installed <13>Apr 9 07:41:28 rpmi: python-module-zope.event-4.4-alt1 sisyphus+223130.100.1.1 1551336296 installed <13>Apr 9 07:41:28 rpmi: python-module-zope.schema-4.9.3-alt1 sisyphus+223130.200.1.1 1551336443 installed <13>Apr 9 07:41:28 rpmi: python-module-zope.i18nmessageid-4.3.1-alt1 sisyphus+224301.100.1.1 1552239918 installed <13>Apr 9 07:41:28 rpmi: python-module-zope.proxy-4.2.0-alt1.1 1525144300 installed <13>Apr 9 07:41:28 rpmi: python-module-zope.configuration-4.3.1-alt1 sisyphus+223130.300.1.1 1551336601 installed <13>Apr 9 07:41:28 rpmi: python-module-transaction-2.1.2-alt1.1 1517934220 installed <13>Apr 9 07:41:28 rpmi: python-module-zope.tal-4.2.0-alt2 1518081896 installed <13>Apr 9 07:41:28 rpmi: python-module-zope.exceptions-4.2.0-alt2.S1 1518599751 installed <13>Apr 9 07:41:28 rpmi: python-modules-distutils-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 9 07:41:28 rpmi: python-module-zope.deferredimport-4.3-alt1 sisyphus+223130.700.1.1 1551336918 installed <13>Apr 9 07:41:28 rpmi: python-module-zope.lifecycleevent-4.2.0-alt1.S1 1519138152 installed <13>Apr 9 07:41:28 rpmi: python-module-zope.deprecation-1:4.4.0-alt1 sisyphus+223130.500.1.1 1551336814 installed <13>Apr 9 07:41:28 rpmi: python-module-zope.hookable-4.2.0-alt1 sisyphus+224300.100.1.1 1552239444 installed <13>Apr 9 07:41:28 rpmi: python-module-zope.browser-2.2.0-alt1.S1 1520417712 installed <13>Apr 9 07:41:28 rpmi: python-module-zope.tales-4.2.0-alt1.S1 1519138223 installed <13>Apr 9 07:41:28 rpmi: python-module-zope.contenttype-4.2.0-alt1.1 1517973515 installed <13>Apr 9 07:41:28 rpmi: python-module-pytz-1:2016.10-alt1 1484291011 installed <13>Apr 9 07:41:28 rpmi: python-module-zope.testing-4.4.0-alt2.git20150825.1.1.1 sisyphus+224741.100.2.2 1554490108 installed <13>Apr 9 07:41:28 rpmi: python-module-zope.size-4.1.0-alt1.1.1 sisyphus+224739.100.2.2 1554490044 installed <13>Apr 9 07:41:28 rpmi: python-module-zope.filerepresentation-4.1.1-alt1.dev0.git20150228.1.1.1 1517974413 installed <13>Apr 9 07:41:28 rpmi: python-module-zope.dottedname-4.1.1-alt1.dev0.git20150226.1.1.1 1517974055 installed <13>Apr 9 07:41:28 rpmi: python-modules-json-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 9 07:41:28 rpmi: python-module-gettext-3.0-alt1.1 1517715591 installed <13>Apr 9 07:41:28 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>Apr 9 07:41:28 rpmi: python-dev-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 9 07:41:28 rpmi: python-module-persistent-4.2.4.2-alt1.1.1.qa1 sisyphus+224260.100.1.1 1552194562 installed <13>Apr 9 07:41:28 rpmi: python-module-zope.location-4.1.0-alt1.S1 1520417436 installed <13>Apr 9 07:41:28 rpmi: python-module-zope.security-4.0.4-alt1.dev0.git20150602.1.1.1.1 1525148872 installed <13>Apr 9 07:41:28 rpmi: python-module-zope.component-4.5-alt3 sisyphus+223779.100.1.1 1551776305 installed <13>Apr 9 07:41:28 rpmi: python-module-BTrees-4.4.1-alt2.S1 1525954735 installed <13>Apr 9 07:41:28 rpmi: python-module-zope.i18n-4.6.2-alt2 sisyphus+225062.100.1.1 1552656525 installed <13>Apr 9 07:41:28 rpmi: python-module-zope.publisher-1:4.3.2-alt2 sisyphus+225009.100.1.1 1552573383 installed <13>Apr 9 07:41:28 rpmi: python-module-zope.traversing-4.1.0-alt1 1484677655 installed <13>Apr 9 07:41:28 rpmi: python-module-zope.pagetemplate-4.3.0-alt1.S1 1520417341 installed <13>Apr 9 07:41:29 rpmi: python-module-zope.container-4.2.1-alt1.1 1525155811 installed <13>Apr 9 07:41:29 rpmi: python-module-ZODB-5.3.0-alt1.1.qa1 sisyphus+224194.100.1.1 1552147910 installed <13>Apr 9 07:41:29 rpmi: python-module-ZEO-5.2.0-alt2.qa1 sisyphus+224193.100.1.1 1552147056 installed <13>Apr 9 07:41:29 rpmi: python-module-ZODB3-3.11.0-alt2 1525955432 installed <13>Apr 9 07:41:29 rpmi: python-module-zope.browserpage-4.2.0-alt1.S1 1520417903 installed <13>Apr 9 07:41:29 rpmi: python-module-zope.annotation-4.6.0-alt2.S1 1533566542 installed <13>Apr 9 07:41:29 rpmi: python-module-zope.site-4.0.1-alt2.dev0.git20150608.1.1.1.1 1517977438 installed <13>Apr 9 07:41:29 rpmi: python-module-zope.traversing-tests-4.1.0-alt1 1484677655 installed <13>Apr 9 07:41:29 rpmi: python-module-zope.contentprovider-4.0.1-alt1.dev0.git20150613.1.1.1.1 1517973164 installed <13>Apr 9 07:41:29 rpmi: python-module-setuptools-1:40.8.0-alt1 sisyphus+221229.100.2.1 1550559950 installed <13>Apr 9 07:41:29 rpmi: python3-module-zope.site-4.0.1-alt2.dev0.git20150608.1.1.1.1 1517977438 installed <13>Apr 9 07:41:29 rpmi: python3-module-zope.browserpage-4.2.0-alt1.S1 1520417903 installed <13>Apr 9 07:41:29 rpmi: python3-module-zope.contentprovider-4.0.1-alt1.dev0.git20150613.1.1.1.1 1517973164 installed <13>Apr 9 07:41:29 rpmi: python3-module-pytest-3.10.1-alt5 sisyphus+226322.100.1.1 1554061369 installed <13>Apr 9 07:41:29 rpmi: python3-module-zope.testing-4.4.0-alt2.git20150825.1.1.1 sisyphus+224741.100.2.2 1554490108 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python-module-zope.viewlet-4.0.1-alt1.dev0.git20150613.1.1.1.1.nosrc.rpm <13>Apr 9 07:41:36 rpmi: python3-module-setuptools-1:40.8.0-alt1 sisyphus+221229.100.2.1 1550559950 installed Installing python-module-zope.viewlet-4.0.1-alt1.dev0.git20150613.1.1.1.1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.19440 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-zope.viewlet-4.0.1 + echo 'Source #0 (python-module-zope.viewlet-4.0.1.tar):' Source #0 (python-module-zope.viewlet-4.0.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-zope.viewlet-4.0.1.tar + cd python-module-zope.viewlet-4.0.1 + /bin/chmod -c -Rf u+rwX,go-w . + cp -fR . ../python3 + find ../python3 -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ../python3/src/zope/viewlet/viewlet.py RefactoringTool: No changes to ../python3/src/zope/viewlet/tests.py RefactoringTool: Refactored ../python3/src/zope/viewlet/metadirectives.py RefactoringTool: Refactored ../python3/src/zope/viewlet/metaconfigure.py RefactoringTool: Refactored ../python3/src/zope/viewlet/manager.py RefactoringTool: No changes to ../python3/src/zope/viewlet/interfaces.py RefactoringTool: No changes to ../python3/src/zope/__init__.py RefactoringTool: No changes to ../python3/setup.py RefactoringTool: Refactored ../python3/bootstrap.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/src/zope/viewlet/viewlet.py RefactoringTool: ../python3/src/zope/viewlet/tests.py RefactoringTool: ../python3/src/zope/viewlet/metadirectives.py RefactoringTool: ../python3/src/zope/viewlet/metaconfigure.py RefactoringTool: ../python3/src/zope/viewlet/manager.py RefactoringTool: ../python3/src/zope/viewlet/interfaces.py RefactoringTool: ../python3/src/zope/__init__.py RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/bootstrap.py --- ../python3/src/zope/viewlet/viewlet.py (original) +++ ../python3/src/zope/viewlet/viewlet.py (refactored) @@ -66,7 +66,7 @@ def SimpleViewletClass(template, offering=None, bases=(), attributes=None, - name=u''): + name=''): """A function that can be used to generate a viewlet from a set of information. """ --- ../python3/src/zope/viewlet/metadirectives.py (original) +++ ../python3/src/zope/viewlet/metadirectives.py (refactored) @@ -52,13 +52,13 @@ required=True) for_ = zope.configuration.fields.GlobalObject( - title=u"The interface or class this view is for.", + title="The interface or class this view is for.", required=False ) permission = Permission( - title=u"Permission", - description=u"The permission needed to use the view.", + title="Permission", + description="The permission needed to use the view.", required=True ) @@ -148,8 +148,8 @@ manager = zope.configuration.fields.GlobalObject( title=_("view"), - description=u"The interface of the view this viewlet is for. " - u"(default IBrowserView)", + description="The interface of the view this viewlet is for. " + "(default IBrowserView)", required=False, default=interfaces.IViewletManager) --- ../python3/src/zope/viewlet/metaconfigure.py (original) +++ ../python3/src/zope/viewlet/metaconfigure.py (refactored) @@ -163,7 +163,7 @@ _handle_allowed_attributes( _context, allowed_attributes, permission, required) _handle_allowed_attributes( - _context, kwargs.keys(), permission, required) + _context, list(kwargs.keys()), permission, required) _handle_allowed_attributes( _context, (attribute, 'browserDefault', 'update', 'render', 'publishTraverse'), --- ../python3/src/zope/viewlet/manager.py (original) +++ ../python3/src/zope/viewlet/manager.py (refactored) @@ -121,7 +121,7 @@ if self.template: return self.template(viewlets=self.viewlets) else: - return u'\n'.join([viewlet.render() for viewlet in self.viewlets]) + return '\n'.join([viewlet.render() for viewlet in self.viewlets]) def ViewletManager(name, interface, template=None, bases=()): @@ -161,11 +161,11 @@ """See zope.contentprovider.interfaces.IContentProvider""" # do not render a manager template if no viewlets are avaiable if not self.viewlets: - return u'' + return '' elif self.template: return self.template(viewlets=self.viewlets) else: - return u'\n'.join([viewlet.render() for viewlet in self.viewlets]) + return '\n'.join([viewlet.render() for viewlet in self.viewlets]) def isAvailable(viewlet): --- ../python3/bootstrap.py (original) +++ ../python3/bootstrap.py (refactored) @@ -74,7 +74,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) + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.87493 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-zope.viewlet-4.0.1 + 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/python 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/viewlet copying src/zope/viewlet/viewlet.py -> build/lib/zope/viewlet copying src/zope/viewlet/tests.py -> build/lib/zope/viewlet copying src/zope/viewlet/metadirectives.py -> build/lib/zope/viewlet copying src/zope/viewlet/metaconfigure.py -> build/lib/zope/viewlet copying src/zope/viewlet/manager.py -> build/lib/zope/viewlet copying src/zope/viewlet/interfaces.py -> build/lib/zope/viewlet copying src/zope/viewlet/__init__.py -> build/lib/zope/viewlet running egg_info creating src/zope.viewlet.egg-info writing requirements to src/zope.viewlet.egg-info/requires.txt writing src/zope.viewlet.egg-info/PKG-INFO writing namespace_packages to src/zope.viewlet.egg-info/namespace_packages.txt writing top-level names to src/zope.viewlet.egg-info/top_level.txt writing dependency_links to src/zope.viewlet.egg-info/dependency_links.txt writing manifest file 'src/zope.viewlet.egg-info/SOURCES.txt' reading manifest file 'src/zope.viewlet.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'src/zope.viewlet.egg-info/SOURCES.txt' copying src/zope/viewlet/README.txt -> build/lib/zope/viewlet copying src/zope/viewlet/communicating-viewlets.txt -> build/lib/zope/viewlet copying src/zope/viewlet/configure.zcml -> build/lib/zope/viewlet copying src/zope/viewlet/css_bundle_viewlet.pt -> build/lib/zope/viewlet copying src/zope/viewlet/css_viewlet.pt -> build/lib/zope/viewlet copying src/zope/viewlet/directives.txt -> build/lib/zope/viewlet copying src/zope/viewlet/javascript_bundle_viewlet.pt -> build/lib/zope/viewlet copying src/zope/viewlet/javascript_viewlet.pt -> build/lib/zope/viewlet copying src/zope/viewlet/meta.zcml -> build/lib/zope/viewlet + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-zope.viewlet-4.0.1 + 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/viewlet copying src/zope/viewlet/viewlet.py -> build/lib/zope/viewlet copying src/zope/viewlet/tests.py -> build/lib/zope/viewlet copying src/zope/viewlet/metadirectives.py -> build/lib/zope/viewlet copying src/zope/viewlet/metaconfigure.py -> build/lib/zope/viewlet copying src/zope/viewlet/manager.py -> build/lib/zope/viewlet copying src/zope/viewlet/interfaces.py -> build/lib/zope/viewlet copying src/zope/viewlet/__init__.py -> build/lib/zope/viewlet running egg_info creating src/zope.viewlet.egg-info writing src/zope.viewlet.egg-info/PKG-INFO writing dependency_links to src/zope.viewlet.egg-info/dependency_links.txt writing namespace_packages to src/zope.viewlet.egg-info/namespace_packages.txt writing requirements to src/zope.viewlet.egg-info/requires.txt writing top-level names to src/zope.viewlet.egg-info/top_level.txt writing manifest file 'src/zope.viewlet.egg-info/SOURCES.txt' reading manifest file 'src/zope.viewlet.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'src/zope.viewlet.egg-info/SOURCES.txt' copying src/zope/viewlet/README.txt -> build/lib/zope/viewlet copying src/zope/viewlet/communicating-viewlets.txt -> build/lib/zope/viewlet copying src/zope/viewlet/configure.zcml -> build/lib/zope/viewlet copying src/zope/viewlet/css_bundle_viewlet.pt -> build/lib/zope/viewlet copying src/zope/viewlet/css_viewlet.pt -> build/lib/zope/viewlet copying src/zope/viewlet/directives.txt -> build/lib/zope/viewlet copying src/zope/viewlet/javascript_bundle_viewlet.pt -> build/lib/zope/viewlet copying src/zope/viewlet/javascript_viewlet.pt -> build/lib/zope/viewlet copying src/zope/viewlet/meta.zcml -> build/lib/zope/viewlet + popd ~/RPM/BUILD/python-module-zope.viewlet-4.0.1 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.71987 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-zope.viewlet-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-zope.viewlet-buildroot + cd python-module-zope.viewlet-4.0.1 + 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/python setup.py install --skip-build --root=/usr/src/tmp/python-module-zope.viewlet-buildroot --force running install running install_lib Skipping installation of /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/__init__.py (namespace package) copying zope/viewlet/meta.zcml -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet copying zope/viewlet/javascript_viewlet.pt -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet copying zope/viewlet/javascript_bundle_viewlet.pt -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet copying zope/viewlet/directives.txt -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet copying zope/viewlet/css_viewlet.pt -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet copying zope/viewlet/css_bundle_viewlet.pt -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet copying zope/viewlet/configure.zcml -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet copying zope/viewlet/communicating-viewlets.txt -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet copying zope/viewlet/README.txt -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet copying zope/viewlet/__init__.py -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet copying zope/viewlet/interfaces.py -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet copying zope/viewlet/manager.py -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet copying zope/viewlet/metaconfigure.py -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet copying zope/viewlet/metadirectives.py -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet copying zope/viewlet/tests.py -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet copying zope/viewlet/viewlet.py -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet byte-compiling /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet/interfaces.py to interfaces.pyc byte-compiling /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet/manager.py to manager.pyc byte-compiling /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet/metaconfigure.py to metaconfigure.pyc byte-compiling /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet/metadirectives.py to metadirectives.pyc byte-compiling /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet/tests.py to tests.pyc byte-compiling /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet/viewlet.py to viewlet.pyc running install_egg_info running egg_info writing requirements to src/zope.viewlet.egg-info/requires.txt writing src/zope.viewlet.egg-info/PKG-INFO writing namespace_packages to src/zope.viewlet.egg-info/namespace_packages.txt writing top-level names to src/zope.viewlet.egg-info/top_level.txt writing dependency_links to src/zope.viewlet.egg-info/dependency_links.txt reading manifest file 'src/zope.viewlet.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'src/zope.viewlet.egg-info/SOURCES.txt' Copying src/zope.viewlet.egg-info to /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope.viewlet-4.0.1.dev0-py2.7.egg-info Installing /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope.viewlet-4.0.1.dev0-py2.7-nspkg.pth running install_scripts + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-zope.viewlet-4.0.1 + 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/python-module-zope.viewlet-buildroot --force running install running install_lib Skipping installation of /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/__init__.py (namespace package) copying zope/viewlet/meta.zcml -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet copying zope/viewlet/javascript_viewlet.pt -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet copying zope/viewlet/javascript_bundle_viewlet.pt -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet copying zope/viewlet/directives.txt -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet copying zope/viewlet/css_viewlet.pt -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet copying zope/viewlet/css_bundle_viewlet.pt -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet copying zope/viewlet/configure.zcml -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet copying zope/viewlet/communicating-viewlets.txt -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet copying zope/viewlet/README.txt -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet copying zope/viewlet/__init__.py -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet copying zope/viewlet/interfaces.py -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet copying zope/viewlet/manager.py -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet copying zope/viewlet/metaconfigure.py -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet copying zope/viewlet/metadirectives.py -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet copying zope/viewlet/tests.py -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet copying zope/viewlet/viewlet.py -> /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet byte-compiling /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/__init__.py to __init__.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/interfaces.py to interfaces.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/manager.py to manager.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/metaconfigure.py to metaconfigure.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/metadirectives.py to metadirectives.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/tests.py to tests.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/viewlet.py to viewlet.cpython-36.pyc running install_egg_info running egg_info writing src/zope.viewlet.egg-info/PKG-INFO writing dependency_links to src/zope.viewlet.egg-info/dependency_links.txt writing namespace_packages to src/zope.viewlet.egg-info/namespace_packages.txt writing requirements to src/zope.viewlet.egg-info/requires.txt writing top-level names to src/zope.viewlet.egg-info/top_level.txt reading manifest file 'src/zope.viewlet.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'src/zope.viewlet.egg-info/SOURCES.txt' Copying src/zope.viewlet.egg-info to /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope.viewlet-4.0.1.dev0-py3.6.egg-info Installing /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope.viewlet-4.0.1.dev0-py3.6-nspkg.pth running install_scripts + popd ~/RPM/BUILD/python-module-zope.viewlet-4.0.1 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-zope.viewlet-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-zope.viewlet-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python-module-zope.viewlet-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-zope.viewlet-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-zope.viewlet-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-zope.viewlet-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/python-module-zope.viewlet-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet/__init__.pyc unlink /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet/interfaces.pyc unlink /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet/manager.pyc unlink /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet/metaconfigure.pyc unlink /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet/metadirectives.pyc unlink /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet/tests.pyc unlink /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet/viewlet.pyc compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet/__init__.py compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet/interfaces.py compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet/manager.py compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet/metaconfigure.py compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet/metadirectives.py compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet/tests.py compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet/viewlet.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-zope.viewlet-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet/__init__.py compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet/interfaces.py compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet/manager.py compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet/metaconfigure.py compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet/metadirectives.py compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet/tests.py compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope/viewlet/viewlet.py Bytecompiling python3 modules in /usr/src/tmp/python-module-zope.viewlet-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/__pycache__/__init__.cpython-36.pyc unlink /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/__pycache__/interfaces.cpython-36.pyc unlink /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/__pycache__/manager.cpython-36.pyc unlink /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/__pycache__/metaconfigure.cpython-36.pyc unlink /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/__pycache__/metadirectives.cpython-36.pyc unlink /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/__pycache__/tests.cpython-36.pyc unlink /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/__pycache__/viewlet.cpython-36.pyc compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/__init__.py compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/interfaces.py compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/manager.py compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/metaconfigure.py compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/metadirectives.py compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/tests.py compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/viewlet.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-zope.viewlet-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/__init__.py compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/interfaces.py compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/manager.py compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/metaconfigure.py compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/metadirectives.py compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/tests.py compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/viewlet.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-zope.viewlet-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/__init__.py compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/interfaces.py compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/manager.py compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/metaconfigure.py compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/metadirectives.py compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/tests.py compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/viewlet.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/zope/viewlet/__pycache__/viewlet.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/zope/viewlet/__pycache__/viewlet.cpython-36.pyc' './usr/lib/python3/site-packages/zope/viewlet/__pycache__/tests.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/zope/viewlet/__pycache__/tests.cpython-36.pyc' './usr/lib/python3/site-packages/zope/viewlet/__pycache__/metadirectives.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/zope/viewlet/__pycache__/metadirectives.cpython-36.pyc' './usr/lib/python3/site-packages/zope/viewlet/__pycache__/metaconfigure.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/zope/viewlet/__pycache__/metaconfigure.cpython-36.pyc' './usr/lib/python3/site-packages/zope/viewlet/__pycache__/manager.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/zope/viewlet/__pycache__/manager.cpython-36.pyc' './usr/lib/python3/site-packages/zope/viewlet/__pycache__/interfaces.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/zope/viewlet/__pycache__/interfaces.cpython-36.pyc' './usr/lib/python3/site-packages/zope/viewlet/__pycache__/__init__.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/zope/viewlet/__pycache__/__init__.cpython-36.pyc' './usr/lib/python3/site-packages/zope/viewlet/__pycache__/__init__.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/zope/viewlet/__pycache__/__init__.cpython-36.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/zope/viewlet/viewlet.pyo' => './usr/lib/python2.7/site-packages/zope/viewlet/viewlet.pyc' './usr/lib/python2.7/site-packages/zope/viewlet/tests.pyo' => './usr/lib/python2.7/site-packages/zope/viewlet/tests.pyc' './usr/lib/python2.7/site-packages/zope/viewlet/metadirectives.pyo' => './usr/lib/python2.7/site-packages/zope/viewlet/metadirectives.pyc' './usr/lib/python2.7/site-packages/zope/viewlet/metaconfigure.pyo' => './usr/lib/python2.7/site-packages/zope/viewlet/metaconfigure.pyc' './usr/lib/python2.7/site-packages/zope/viewlet/manager.pyo' => './usr/lib/python2.7/site-packages/zope/viewlet/manager.pyc' './usr/lib/python2.7/site-packages/zope/viewlet/interfaces.pyo' => './usr/lib/python2.7/site-packages/zope/viewlet/interfaces.pyc' './usr/lib/python2.7/site-packages/zope/viewlet/__init__.pyo' => './usr/lib/python2.7/site-packages/zope/viewlet/__init__.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.52789 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-zope.viewlet-4.0.1 + python setup.py test -v running test running egg_info deleting src/zope.viewlet.egg-info/requires.txt writing src/zope.viewlet.egg-info/PKG-INFO writing namespace_packages to src/zope.viewlet.egg-info/namespace_packages.txt writing top-level names to src/zope.viewlet.egg-info/top_level.txt writing dependency_links to src/zope.viewlet.egg-info/dependency_links.txt reading manifest file 'src/zope.viewlet.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'src/zope.viewlet.egg-info/SOURCES.txt' running build_ext /usr/src/RPM/BUILD/python-module-zope.viewlet-4.0.1/src/zope/viewlet/README.txt Doctest: README.txt ... ok /usr/src/RPM/BUILD/python-module-zope.viewlet-4.0.1/src/zope/viewlet/directives.txt Doctest: directives.txt ... FAIL ====================================================================== FAIL: /usr/src/RPM/BUILD/python-module-zope.viewlet-4.0.1/src/zope/viewlet/directives.txt Doctest: directives.txt ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/doctest.py", line 2224, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for directives.txt File "/usr/src/RPM/BUILD/python-module-zope.viewlet-4.0.1/src/zope/viewlet/directives.txt", line 0 ---------------------------------------------------------------------- File "/usr/src/RPM/BUILD/python-module-zope.viewlet-4.0.1/src/zope/viewlet/directives.txt", line 179, in directives.txt Failed example: context = xmlconfig.string(''' ''', context=context) Expected: Traceback (most recent call last): ... ZopeXMLConfigurationError: File "", line 3.2-7.8 ConfigurationError: ('No such file', '...foo.pt') Got: Traceback (most recent call last): File "/usr/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "", line 9, in ''', context=context) File "/usr/lib/python2.7/site-packages/zope/configuration/xmlconfig.py", line 672, in string processxmlfile(f, context) File "/usr/lib/python2.7/site-packages/zope/configuration/xmlconfig.py", line 407, in processxmlfile parser.parse(src) File "/usr/lib/python2.7/xml/sax/expatreader.py", line 111, in parse xmlreader.IncrementalParser.parse(self, source) File "/usr/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse self.feed(buffer) File "/usr/lib/python2.7/xml/sax/expatreader.py", line 220, in feed self._parser.Parse(data, isFinal) File "/usr/lib/python2.7/xml/sax/expatreader.py", line 384, in end_element_ns self._cont_handler.endElementNS(pair, None) File "/usr/lib/python2.7/site-packages/zope/configuration/xmlconfig.py", line 393, in endElementNS self._handle_exception(ex, info) File "/usr/lib/python2.7/site-packages/zope/configuration/xmlconfig.py", line 391, in endElementNS self.context.end() File "/usr/lib/python2.7/site-packages/zope/configuration/config.py", line 703, in end self.stack.pop().finish() File "/usr/lib/python2.7/site-packages/zope/configuration/config.py", line 868, in finish actions = self.handler(context, **args) File "/usr/src/RPM/BUILD/python-module-zope.viewlet-4.0.1/src/zope/viewlet/metaconfigure.py", line 49, in viewletManagerDirective raise ConfigurationError("No such file", template) ConfigurationError: ('No such file', '/usr/src/RPM/BUILD/python-module-zope.viewlet-4.0.1/foo.pt') File "", line 3.2-7.8 ---------------------------------------------------------------------- File "/usr/src/RPM/BUILD/python-module-zope.viewlet-4.0.1/src/zope/viewlet/directives.txt", line 342, in directives.txt Failed example: context = xmlconfig.string(''' ''', context=context) Expected: Traceback (most recent call last): ... ZopeXMLConfigurationError: File "", line 3.2-7.8 ConfigurationError: Must specify a class or template Got: Traceback (most recent call last): File "/usr/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "", line 9, in ''', context=context) File "/usr/lib/python2.7/site-packages/zope/configuration/xmlconfig.py", line 672, in string processxmlfile(f, context) File "/usr/lib/python2.7/site-packages/zope/configuration/xmlconfig.py", line 407, in processxmlfile parser.parse(src) File "/usr/lib/python2.7/xml/sax/expatreader.py", line 111, in parse xmlreader.IncrementalParser.parse(self, source) File "/usr/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse self.feed(buffer) File "/usr/lib/python2.7/xml/sax/expatreader.py", line 220, in feed self._parser.Parse(data, isFinal) File "/usr/lib/python2.7/xml/sax/expatreader.py", line 384, in end_element_ns self._cont_handler.endElementNS(pair, None) File "/usr/lib/python2.7/site-packages/zope/configuration/xmlconfig.py", line 393, in endElementNS self._handle_exception(ex, info) File "/usr/lib/python2.7/site-packages/zope/configuration/xmlconfig.py", line 391, in endElementNS self.context.end() File "/usr/lib/python2.7/site-packages/zope/configuration/config.py", line 703, in end self.stack.pop().finish() File "/usr/lib/python2.7/site-packages/zope/configuration/config.py", line 868, in finish actions = self.handler(context, **args) File "/usr/src/RPM/BUILD/python-module-zope.viewlet-4.0.1/src/zope/viewlet/metaconfigure.py", line 107, in viewletDirective raise ConfigurationError("Must specify a class or template") ConfigurationError: Must specify a class or template File "", line 3.2-7.8 ---------------------------------------------------------------------- File "/usr/src/RPM/BUILD/python-module-zope.viewlet-4.0.1/src/zope/viewlet/directives.txt", line 359, in directives.txt Failed example: context = xmlconfig.string(''' ''', context=context) Expected: Traceback (most recent call last): ... ZopeXMLConfigurationError: File "", line 3.2-9.8 ConfigurationError: Attribute and template cannot be used together. Got: Traceback (most recent call last): File "/usr/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "", line 11, in ''', context=context) File "/usr/lib/python2.7/site-packages/zope/configuration/xmlconfig.py", line 672, in string processxmlfile(f, context) File "/usr/lib/python2.7/site-packages/zope/configuration/xmlconfig.py", line 407, in processxmlfile parser.parse(src) File "/usr/lib/python2.7/xml/sax/expatreader.py", line 111, in parse xmlreader.IncrementalParser.parse(self, source) File "/usr/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse self.feed(buffer) File "/usr/lib/python2.7/xml/sax/expatreader.py", line 220, in feed self._parser.Parse(data, isFinal) File "/usr/lib/python2.7/xml/sax/expatreader.py", line 384, in end_element_ns self._cont_handler.endElementNS(pair, None) File "/usr/lib/python2.7/site-packages/zope/configuration/xmlconfig.py", line 393, in endElementNS self._handle_exception(ex, info) File "/usr/lib/python2.7/site-packages/zope/configuration/xmlconfig.py", line 391, in endElementNS self.context.end() File "/usr/lib/python2.7/site-packages/zope/configuration/config.py", line 703, in end self.stack.pop().finish() File "/usr/lib/python2.7/site-packages/zope/configuration/config.py", line 868, in finish actions = self.handler(context, **args) File "/usr/src/RPM/BUILD/python-module-zope.viewlet-4.0.1/src/zope/viewlet/metaconfigure.py", line 113, in viewletDirective "Attribute and template cannot be used together.") ConfigurationError: Attribute and template cannot be used together. File "", line 3.2-9.8 ---------------------------------------------------------------------- File "/usr/src/RPM/BUILD/python-module-zope.viewlet-4.0.1/src/zope/viewlet/directives.txt", line 378, in directives.txt Failed example: context = xmlconfig.string(''' ''', context=context) Expected: Traceback (most recent call last): ... ZopeXMLConfigurationError: File "", line 3.2-9.8 ConfigurationError: The provided class doesn't have the specified attribute Got: Traceback (most recent call last): File "/usr/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "", line 11, in ''', context=context) File "/usr/lib/python2.7/site-packages/zope/configuration/xmlconfig.py", line 672, in string processxmlfile(f, context) File "/usr/lib/python2.7/site-packages/zope/configuration/xmlconfig.py", line 407, in processxmlfile parser.parse(src) File "/usr/lib/python2.7/xml/sax/expatreader.py", line 111, in parse xmlreader.IncrementalParser.parse(self, source) File "/usr/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse self.feed(buffer) File "/usr/lib/python2.7/xml/sax/expatreader.py", line 220, in feed self._parser.Parse(data, isFinal) File "/usr/lib/python2.7/xml/sax/expatreader.py", line 384, in end_element_ns self._cont_handler.endElementNS(pair, None) File "/usr/lib/python2.7/site-packages/zope/configuration/xmlconfig.py", line 393, in endElementNS self._handle_exception(ex, info) File "/usr/lib/python2.7/site-packages/zope/configuration/xmlconfig.py", line 391, in endElementNS self.context.end() File "/usr/lib/python2.7/site-packages/zope/configuration/config.py", line 703, in end self.stack.pop().finish() File "/usr/lib/python2.7/site-packages/zope/configuration/config.py", line 868, in finish actions = self.handler(context, **args) File "/usr/src/RPM/BUILD/python-module-zope.viewlet-4.0.1/src/zope/viewlet/metaconfigure.py", line 133, in viewletDirective "The provided class doesn't have the specified attribute " ConfigurationError: The provided class doesn't have the specified attribute File "", line 3.2-9.8 ---------------------------------------------------------------------- Ran 2 tests in 0.270s FAILED (failures=1) Test failed: error: Test failed: error: Bad exit status from /usr/src/tmp/rpm-tmp.52789 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.52789 (%check) Command exited with non-zero status 1 10.64user 0.51system 0:20.21elapsed 55%CPU (0avgtext+0avgdata 28216maxresident)k 0inputs+0outputs (0major+146501minor)pagefaults 0swaps hsh-rebuild: rebuild of `python-module-zope.viewlet-4.0.1-alt1.dev0.git20150613.1.1.1.1.src.rpm' failed. Command exited with non-zero status 1 22.24user 3.08system 0:46.33elapsed 54%CPU (0avgtext+0avgdata 116336maxresident)k 4848inputs+0outputs (0major+646547minor)pagefaults 0swaps