86>Apr 14 01:11:22 userdel[120926]: delete user 'rooter'
<86>Apr 14 01:11:22 userdel[120926]: removed group 'rooter' owned by 'rooter'
<86>Apr 14 01:11:22 groupadd[120934]: group added to /etc/group: name=rooter, GID=627
<86>Apr 14 01:11:22 groupadd[120934]: group added to /etc/gshadow: name=rooter
<86>Apr 14 01:11:22 groupadd[120934]: new group: name=rooter, GID=627
<86>Apr 14 01:11:22 useradd[120939]: new user: name=rooter, UID=627, GID=627, home=/root, shell=/bin/bash
<86>Apr 14 01:11:22 userdel[120946]: delete user 'builder'
<86>Apr 14 01:11:22 userdel[120946]: removed group 'builder' owned by 'builder'
<86>Apr 14 01:11:22 groupadd[120952]: group added to /etc/group: name=builder, GID=628
<86>Apr 14 01:11:22 groupadd[120952]: group added to /etc/gshadow: name=builder
<86>Apr 14 01:11:22 groupadd[120952]: new group: name=builder, GID=628
<86>Apr 14 01:11:22 useradd[120957]: new user: name=builder, UID=628, GID=628, home=/usr/src, shell=/bin/bash
<13>Apr 14 01:11:26 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed
<13>Apr 14 01:11:26 rpmi: libgdbm-1.8.3-alt10 1454943313 installed
<13>Apr 14 01:11:26 rpmi: python-module-zodbpickle-0.6.1-alt1.dev0.git20150414.1.1 1459629487 installed
<13>Apr 14 01:11:26 rpmi: python-module-z3c-3.0.0-alt2.a2.dev0.git20130313.1.1.1 1460417103 installed
<13>Apr 14 01:11:26 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed
<13>Apr 14 01:11:26 rpmi: libncurses-devel-5.9-alt8 1456756459 installed
<13>Apr 14 01:11:26 rpmi: python-modules-curses-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 14 01:11:26 rpmi: libverto-0.2.6-alt1_6 1455633234 installed
<13>Apr 14 01:11:26 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed
<13>Apr 14 01:11:26 rpmi: libcom_err-1.42.13-alt2 1449075846 installed
<13>Apr 14 01:11:26 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed
<13>Apr 14 01:11:26 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed
<13>Apr 14 01:11:26 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed
<86>Apr 14 01:11:26 groupadd[129663]: group added to /etc/group: name=_keytab, GID=499
<86>Apr 14 01:11:26 groupadd[129663]: group added to /etc/gshadow: name=_keytab
<86>Apr 14 01:11:26 groupadd[129663]: new group: name=_keytab, GID=499
<13>Apr 14 01:11:26 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed
<13>Apr 14 01:11:27 rpmi: python3-base-3.5.4-alt2.M80P.1 1527753911 installed
<13>Apr 14 01:11:27 rpmi: python3-3.5.4-alt2.M80P.1 1527753911 installed
<13>Apr 14 01:11:27 rpmi: python-modules-compiler-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 14 01:11:27 rpmi: python3-module-six-1.10.0-alt7 1496087616 installed
<13>Apr 14 01:11:27 rpmi: python3-module-zconfig-3.0.5-alt3.dev.git20140320.1 1458024303 installed
<13>Apr 14 01:11:27 rpmi: python3-module-zc.lockfile-1.1.0-alt1.1.1 1458024198 installed
<13>Apr 14 01:11:27 rpmi: rpm-build-python3-0.1.10.10-alt1.M80P.1 1530521451 installed
<13>Apr 14 01:11:27 rpmi: libpython3-3.5.4-alt2.M80P.1 1527753911 installed
<13>Apr 14 01:11:27 rpmi: python3-dev-3.5.4-alt2.M80P.1 1527753911 installed
<13>Apr 14 01:11:27 rpmi: python3-module-z3c-3.0.0-alt2.a2.dev0.git20130313.1.1.1 1460417103 installed
<13>Apr 14 01:11:27 rpmi: python3-module-zc-1.0.0-alt6.2 1458024144 installed
<13>Apr 14 01:11:27 rpmi: python3-module-py-1.4.34-alt0.M80P.1 1503506764 installed
<13>Apr 14 01:11:27 rpmi: python3-module-gettext-2.2-alt1.dev.git20130210.1 1457951261 installed
<13>Apr 14 01:11:27 rpmi: python3-module-pytz-1:2015.4-alt1.1.1 1460413776 installed
<13>Apr 14 01:11:27 rpmi: python3-module-zope.dottedname-4.1.1-alt1.dev0.git20150226.1 1458024991 installed
<13>Apr 14 01:11:27 rpmi: python3-module-zope-3.3.0-alt8.4 1458261152 installed
<13>Apr 14 01:11:27 rpmi: python3-module-zope.interface-4.1.3-alt1.dev0.git20150601.4 1459629874 installed
<13>Apr 14 01:11:27 rpmi: python-modules-email-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 14 01:11:27 rpmi: python3-module-zope.event-4.4-alt1 p8+223214.700.2.1 1551354419 installed
<13>Apr 14 01:11:27 rpmi: python3-module-zope.i18nmessageid-4.3.1-alt1 p8+225001.200.2.1 1554463800 installed
<13>Apr 14 01:11:27 rpmi: python3-module-zope.schema-4.9.3-alt1 p8+223214.1000.2.1 1551354527 installed
<13>Apr 14 01:11:27 rpmi: python3-module-zope.proxy-4.1.6-alt1.1.1 1459621807 installed
<13>Apr 14 01:11:27 rpmi: python3-module-persistent-4.1.1-alt2.1.1 1459630197 installed
<13>Apr 14 01:11:27 rpmi: python3-module-zope.component-4.5-alt3 p8+223214.1140.4.1 1551779260 installed
<13>Apr 14 01:11:27 rpmi: python3-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed
<13>Apr 14 01:11:27 rpmi: python3-module-BTrees-4.1.5-alt2.dev0.git20150602.1.1 1459630451 installed
<13>Apr 14 01:11:27 rpmi: python3-module-zope.configuration-4.3.1-alt1 p8+223214.1100.2.1 1551354639 installed
<13>Apr 14 01:11:27 rpmi: python3-module-zope.location-4.0.4-alt2.dev0.git20150128.1.1 1458038200 installed
<13>Apr 14 01:11:27 rpmi: python3-module-zope.security-4.0.4-alt1.dev0.git20150602.1.1.1 1459630306 installed
<13>Apr 14 01:11:27 rpmi: python3-module-transaction-1.4.5-alt1.dev0.git20150807.1.1 1458145617 installed
<13>Apr 14 01:11:27 rpmi: python3-module-zdaemon-4.1.1-alt1.dev0.git20150416.1.1 1458024443 installed
<13>Apr 14 01:11:27 rpmi: python3-module-ZODB-4.2.1-alt4.dev0.git20150714.1.1 1458023315 installed
<13>Apr 14 01:11:27 rpmi: python3-module-zope.lifecycleevent-4.1.1-alt1.dev0.git20141229.1.1 1458304435 installed
<13>Apr 14 01:11:27 rpmi: python3-module-zope.deferredimport-4.3-alt1 p8+223214.1400.2.1 1551354888 installed
<13>Apr 14 01:11:27 rpmi: python3-module-zope.tal-4.1.2-alt1.dev0.git10150605.1 1458038600 installed
<13>Apr 14 01:11:27 rpmi: python3-module-zope.tales-4.1.1-alt1.1 1458038668 installed
<13>Apr 14 01:11:27 rpmi: python3-module-zope.exceptions-4.0.8-alt1.1.1 1458025096 installed
<13>Apr 14 01:11:27 rpmi: python3-module-zope.deprecation-1:4.4.0-alt1 p8+223214.1300.2.1 1551354800 installed
<13>Apr 14 01:11:27 rpmi: python3-module-zope.hookable-4.2.0-alt1 p8+223156.77.5.1 1551711754 installed
<13>Apr 14 01:11:27 rpmi: python3-module-zope.i18n-4.6.2-alt3 p8+223797.400.5.1 1554811490 installed
<13>Apr 14 01:11:27 rpmi: python3-module-zope.container-4.1.1-alt2.dev0.git20150608.1 1459639162 installed
<13>Apr 14 01:11:28 rpmi: python3-module-ZEO-4.2.0-alt3.dev0.git20150605.1 1458023032 installed
<13>Apr 14 01:11:28 rpmi: python3-module-ZODB3-3.11.0-alt1.1 1457967423 installed
<13>Apr 14 01:11:28 rpmi: python3-module-zope.annotation-4.4.2-alt1.dev0.git20150613.1.1 1458024601 installed
<13>Apr 14 01:11:28 rpmi: python3-module-zope.browser-2.1.0-alt1.1.1 1458024654 installed
<13>Apr 14 01:11:28 rpmi: python3-module-zope.contenttype-4.1.1-alt1.dev0.git20150223.1 1458024935 installed
<13>Apr 14 01:11:28 rpmi: python3-module-zope.publisher-1:4.3.2-alt3 p8+223797.500.7.1 1555001383 installed
<13>Apr 14 01:11:28 rpmi: python3-module-zope.traversing-4.0.1-alt2.dev0.git20150613.1.1 1458038840 installed
<13>Apr 14 01:11:28 rpmi: python3-module-zope.pagetemplate-4.2.1-alt1.1.1 1458038265 installed
<13>Apr 14 01:11:28 rpmi: python3-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed
<13>Apr 14 01:11:28 rpmi: python3-module-zope.browserpage-4.1.1-alt1.dev0.git20150713.1.1 1458024719 installed
<13>Apr 14 01:11:28 rpmi: python3-module-zope.contentprovider-4.0.1-alt1.dev0.git20150613.1.1 1458160198 installed
<13>Apr 14 01:11:28 rpmi: python3-module-zope.site-4.0.1-alt2.dev0.git20150608.1.1 1458038467 installed
<13>Apr 14 01:11:28 rpmi: python3-module-zope.testing-4.4.0-alt2.git20150825.1.1 1458038716 installed
<13>Apr 14 01:11:28 rpmi: python3-module-zope.size-4.1.0-alt1.1 1458038523 installed
<13>Apr 14 01:11:28 rpmi: python-modules-unittest-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 14 01:11:28 rpmi: python-modules-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 14 01:11:28 rpmi: python-module-six-1.10.0-alt7 1496087616 installed
<13>Apr 14 01:11:28 rpmi: python-modules-xml-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 14 01:11:28 rpmi: python-modules-ctypes-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 14 01:11:28 rpmi: python-modules-json-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 14 01:11:28 rpmi: python-modules-encodings-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 14 01:11:28 rpmi: python-modules-multiprocessing-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 14 01:11:28 rpmi: python-modules-logging-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 14 01:11:28 rpmi: python-module-zc.lockfile-1.1.0-alt1.1.1 1458024198 installed
<13>Apr 14 01:11:28 rpmi: python-tools-2to3-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 14 01:11:28 rpmi: python-modules-hotshot-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 14 01:11:28 rpmi: python-modules-bsddb-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 14 01:11:28 rpmi: python-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 14 01:11:28 rpmi: python-strict-2.7.11-alt6.M80P.1 1527682534 installed
<13>Apr 14 01:11:28 rpmi: python-module-zconfig-3.0.5-alt3.dev.git20140320.1 1458024303 installed
<13>Apr 14 01:11:28 rpmi: python-module-zc-1.0.0-alt6.2 1458024144 installed
<13>Apr 14 01:11:28 rpmi: python-dev-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 14 01:11:28 rpmi: python-module-pytz-1:2015.4-alt1.1.1 1460413776 installed
<13>Apr 14 01:11:28 rpmi: python-module-RestrictedPython-3.6.1-alt2.dev.git20130312 1440928925 installed
<13>Apr 14 01:11:28 rpmi: python-module-py-1.4.34-alt0.M80P.1 1503506764 installed
<13>Apr 14 01:11:28 rpmi: python-module-gettext-2.2-alt1.dev.git20130210.1 1457951261 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope-3.3.0-alt8.4 1458261152 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.interface-4.1.3-alt1.dev0.git20150601.4 1459629874 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.event-4.4-alt1 p8+223214.700.2.1 1551354419 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.schema-4.9.3-alt1 p8+223214.1000.2.1 1551354527 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.i18nmessageid-4.3.1-alt1 p8+225001.100.3.1 1554833012 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.proxy-4.1.6-alt1.1.1 1459621807 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.configuration-4.3.1-alt1 p8+223214.1100.2.1 1551354639 installed
<13>Apr 14 01:11:28 rpmi: python-module-persistent-4.1.1-alt2.1.1 1459630197 installed
<13>Apr 14 01:11:28 rpmi: python-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed
<13>Apr 14 01:11:28 rpmi: python-module-BTrees-4.1.5-alt2.dev0.git20150602.1.1 1459630451 installed
<13>Apr 14 01:11:28 rpmi: python-module-transaction-1.4.5-alt1.dev0.git20150807.1.1 1458145617 installed
<13>Apr 14 01:11:28 rpmi: python-module-zdaemon-4.1.1-alt1.dev0.git20150416.1.1 1458024443 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.deferredimport-4.3-alt1 p8+223214.1400.2.1 1551354888 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.tal-4.1.2-alt1.dev0.git10150605.1 1458038600 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.exceptions-4.0.8-alt1.1.1 1458025096 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.deprecation-1:4.4.0-alt1 p8+223214.1300.2.1 1551354800 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.hookable-4.2.0-alt1 p8+223156.50.8.1 1551780746 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.tales-4.1.1-alt1.1 1458038668 installed
<13>Apr 14 01:11:28 rpmi: python-module-ZODB-4.2.1-alt4.dev0.git20150714.1.1 1458023315 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.browser-2.1.0-alt1.1.1 1458024654 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.contenttype-4.1.1-alt1.dev0.git20150223.1 1458024935 installed
<13>Apr 14 01:11:28 rpmi: python-module-ZEO-4.2.0-alt3.dev0.git20150605.1 1458023032 installed
<13>Apr 14 01:11:28 rpmi: python-module-ZODB3-3.11.0-alt1.1 1457967423 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.testing-4.4.0-alt2.git20150825.1.1 1458038716 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.size-4.1.0-alt1.1 1458038523 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.filerepresentation-4.1.1-alt1.dev0.git20150228.1 1458304494 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.dottedname-4.1.1-alt1.dev0.git20150226.1 1458024991 installed
<13>Apr 14 01:11:28 rpmi: python-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.component-4.5-alt3 p8+223214.1140.4.1 1551779260 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.security-4.0.4-alt1.dev0.git20150602.1.1.1 1459630306 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.location-4.0.4-alt2.dev0.git20150128.1.1 1458038200 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.i18n-4.6.2-alt3 p8+223797.400.5.1 1554811490 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.publisher-1:4.3.2-alt3 p8+223797.500.7.1 1555001383 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.traversing-4.0.1-alt2.dev0.git20150613.1.1 1458038840 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.lifecycleevent-4.1.1-alt1.dev0.git20141229.1.1 1458304435 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.container-4.1.1-alt2.dev0.git20150608.1 1459639162 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.annotation-4.4.2-alt1.dev0.git20150613.1.1 1458024601 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.site-4.0.1-alt2.dev0.git20150608.1.1 1458038467 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.untrustedpython-4.0.1-alt1.dev0.git20130304 1414066178 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.pagetemplate-4.2.1-alt1.1.1 1458038265 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.browserpage-4.1.1-alt1.dev0.git20150713.1.1 1458024719 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.contentprovider-4.0.1-alt1.dev0.git20150613.1.1 1458160198 installed
<13>Apr 14 01:11:28 rpmi: python-module-zope.traversing-tests-4.0.1-alt2.dev0.git20150613.1.1 1458038840 installed
Installing python-module-zope.viewlet-4.0.1-alt1.dev0.git20150613.1.1.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.72524
+ 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.24103
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd python-module-zope.viewlet-4.0.1
+ CFLAGS='-pipe -Wall -g -O2'
+ export CFLAGS
+ CXXFLAGS='-pipe -Wall -g -O2'
+ export CXXFLAGS
+ FFLAGS='-pipe -Wall -g -O2'
+ 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 -Wall -g -O2'
+ export CFLAGS
+ CXXFLAGS='-pipe -Wall -g -O2'
+ export CXXFLAGS
+ FFLAGS='-pipe -Wall -g -O2'
+ export FFLAGS
+ 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 dependency_links to src/zope.viewlet.egg-info/dependency_links.txt
writing namespace_packages to src/zope.viewlet.egg-info/namespace_packages.txt
writing src/zope.viewlet.egg-info/PKG-INFO
writing top-level names to src/zope.viewlet.egg-info/top_level.txt
writing requirements to src/zope.viewlet.egg-info/requires.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.76638
+ 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
+ /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
+ install -d /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python2.7/site-packages
+ mv /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope.viewlet-4.0.1.dev0-py2.7-nspkg.pth /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python2.7/site-packages/zope.viewlet-4.0.1.dev0-py2.7.egg-info /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python2.7/site-packages/
+ pushd ../python3
~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-zope.viewlet-4.0.1
+ 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-35.pyc
byte-compiling /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/interfaces.py to interfaces.cpython-35.pyc
byte-compiling /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/manager.py to manager.cpython-35.pyc
byte-compiling /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/metaconfigure.py to metaconfigure.cpython-35.pyc
byte-compiling /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/metadirectives.py to metadirectives.cpython-35.pyc
byte-compiling /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/tests.py to tests.cpython-35.pyc
byte-compiling /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope/viewlet/viewlet.py to viewlet.cpython-35.pyc
running install_egg_info
running egg_info
writing requirements to src/zope.viewlet.egg-info/requires.txt
writing dependency_links to src/zope.viewlet.egg-info/dependency_links.txt
writing src/zope.viewlet.egg-info/PKG-INFO
writing top-level names to src/zope.viewlet.egg-info/top_level.txt
writing namespace_packages to src/zope.viewlet.egg-info/namespace_packages.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.5.egg-info
Installing /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope.viewlet-4.0.1.dev0-py3.5-nspkg.pth
running install_scripts
+ popd
~/RPM/BUILD/python-module-zope.viewlet-4.0.1
+ install -d /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python3/site-packages
+ mv /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope.viewlet-4.0.1.dev0-py3.5-nspkg.pth /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib/python3/site-packages/zope.viewlet-4.0.1.dev0-py3.5.egg-info /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python3/site-packages/
+ /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)
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/lib64:
./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/lib64/python2.7/site-packages/zope/viewlet/__init__.pyc
unlink /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python2.7/site-packages/zope/viewlet/interfaces.pyc
unlink /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python2.7/site-packages/zope/viewlet/manager.pyc
unlink /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python2.7/site-packages/zope/viewlet/metaconfigure.pyc
unlink /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python2.7/site-packages/zope/viewlet/metadirectives.pyc
unlink /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python2.7/site-packages/zope/viewlet/tests.pyc
unlink /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python2.7/site-packages/zope/viewlet/viewlet.pyc
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python2.7/site-packages/zope/viewlet/__init__.py
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python2.7/site-packages/zope/viewlet/interfaces.py
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python2.7/site-packages/zope/viewlet/manager.py
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python2.7/site-packages/zope/viewlet/metaconfigure.py
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python2.7/site-packages/zope/viewlet/metadirectives.py
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python2.7/site-packages/zope/viewlet/tests.py
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/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/lib64/python2.7/site-packages/zope/viewlet/__init__.py
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python2.7/site-packages/zope/viewlet/interfaces.py
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python2.7/site-packages/zope/viewlet/manager.py
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python2.7/site-packages/zope/viewlet/metaconfigure.py
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python2.7/site-packages/zope/viewlet/metadirectives.py
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python2.7/site-packages/zope/viewlet/tests.py
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python2.7/site-packages/zope/viewlet/viewlet.py
Bytecompiling python3 modules in /usr/src/tmp/python-module-zope.viewlet-buildroot using python3
unlink /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python3/site-packages/zope/viewlet/__pycache__/__init__.cpython-35.pyc
unlink /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python3/site-packages/zope/viewlet/__pycache__/interfaces.cpython-35.pyc
unlink /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python3/site-packages/zope/viewlet/__pycache__/manager.cpython-35.pyc
unlink /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python3/site-packages/zope/viewlet/__pycache__/metaconfigure.cpython-35.pyc
unlink /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python3/site-packages/zope/viewlet/__pycache__/metadirectives.cpython-35.pyc
unlink /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python3/site-packages/zope/viewlet/__pycache__/tests.cpython-35.pyc
unlink /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python3/site-packages/zope/viewlet/__pycache__/viewlet.cpython-35.pyc
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python3/site-packages/zope/viewlet/__init__.py
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python3/site-packages/zope/viewlet/interfaces.py
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python3/site-packages/zope/viewlet/manager.py
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python3/site-packages/zope/viewlet/metaconfigure.py
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python3/site-packages/zope/viewlet/metadirectives.py
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python3/site-packages/zope/viewlet/tests.py
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python3/site-packages/zope/viewlet/viewlet.py
Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-zope.viewlet-buildroot using python3 -O
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python3/site-packages/zope/viewlet/__init__.py
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python3/site-packages/zope/viewlet/interfaces.py
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python3/site-packages/zope/viewlet/manager.py
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python3/site-packages/zope/viewlet/metaconfigure.py
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python3/site-packages/zope/viewlet/metadirectives.py
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python3/site-packages/zope/viewlet/tests.py
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python3/site-packages/zope/viewlet/viewlet.py
Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-zope.viewlet-buildroot using python3 -OO
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python3/site-packages/zope/viewlet/__init__.py
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python3/site-packages/zope/viewlet/interfaces.py
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python3/site-packages/zope/viewlet/manager.py
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python3/site-packages/zope/viewlet/metaconfigure.py
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python3/site-packages/zope/viewlet/metadirectives.py
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python3/site-packages/zope/viewlet/tests.py
compile /usr/src/tmp/python-module-zope.viewlet-buildroot/usr/lib64/python3/site-packages/zope/viewlet/viewlet.py
Hardlinking identical .pyc and .opt-?.pyc files
'./usr/lib64/python3/site-packages/zope/viewlet/__pycache__/viewlet.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/zope/viewlet/__pycache__/viewlet.cpython-35.pyc'
'./usr/lib64/python3/site-packages/zope/viewlet/__pycache__/tests.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/zope/viewlet/__pycache__/tests.cpython-35.pyc'
'./usr/lib64/python3/site-packages/zope/viewlet/__pycache__/metadirectives.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/zope/viewlet/__pycache__/metadirectives.cpython-35.pyc'
'./usr/lib64/python3/site-packages/zope/viewlet/__pycache__/metaconfigure.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/zope/viewlet/__pycache__/metaconfigure.cpython-35.pyc'
'./usr/lib64/python3/site-packages/zope/viewlet/__pycache__/manager.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/zope/viewlet/__pycache__/manager.cpython-35.pyc'
'./usr/lib64/python3/site-packages/zope/viewlet/__pycache__/interfaces.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/zope/viewlet/__pycache__/interfaces.cpython-35.pyc'
'./usr/lib64/python3/site-packages/zope/viewlet/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/zope/viewlet/__pycache__/__init__.cpython-35.pyc'
'./usr/lib64/python3/site-packages/zope/viewlet/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib64/python3/site-packages/zope/viewlet/__pycache__/__init__.cpython-35.opt-1.pyc'
Hardlinking identical .pyc and .pyo files
'./usr/lib64/python2.7/site-packages/zope/viewlet/viewlet.pyo' => './usr/lib64/python2.7/site-packages/zope/viewlet/viewlet.pyc'
'./usr/lib64/python2.7/site-packages/zope/viewlet/tests.pyo' => './usr/lib64/python2.7/site-packages/zope/viewlet/tests.pyc'
'./usr/lib64/python2.7/site-packages/zope/viewlet/metadirectives.pyo' => './usr/lib64/python2.7/site-packages/zope/viewlet/metadirectives.pyc'
'./usr/lib64/python2.7/site-packages/zope/viewlet/metaconfigure.pyo' => './usr/lib64/python2.7/site-packages/zope/viewlet/metaconfigure.pyc'
'./usr/lib64/python2.7/site-packages/zope/viewlet/manager.pyo' => './usr/lib64/python2.7/site-packages/zope/viewlet/manager.pyc'
'./usr/lib64/python2.7/site-packages/zope/viewlet/interfaces.pyo' => './usr/lib64/python2.7/site-packages/zope/viewlet/interfaces.pyc'
'./usr/lib64/python2.7/site-packages/zope/viewlet/__init__.pyo' => './usr/lib64/python2.7/site-packages/zope/viewlet/__init__.pyc'
Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.78247
+ 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
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'
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/lib64/python2.7/doctest.py", line 2226, 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/lib64/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "", line 9, in
''', context=context)
File "/usr/lib64/python2.7/site-packages/zope/configuration/xmlconfig.py", line 672, in string
processxmlfile(f, context)
File "/usr/lib64/python2.7/site-packages/zope/configuration/xmlconfig.py", line 407, in processxmlfile
parser.parse(src)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 110, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib64/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 213, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/usr/lib64/python2.7/site-packages/zope/configuration/xmlconfig.py", line 393, in endElementNS
self._handle_exception(ex, info)
File "/usr/lib64/python2.7/site-packages/zope/configuration/xmlconfig.py", line 391, in endElementNS
self.context.end()
File "/usr/lib64/python2.7/site-packages/zope/configuration/config.py", line 703, in end
self.stack.pop().finish()
File "/usr/lib64/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/lib64/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "", line 9, in
''', context=context)
File "/usr/lib64/python2.7/site-packages/zope/configuration/xmlconfig.py", line 672, in string
processxmlfile(f, context)
File "/usr/lib64/python2.7/site-packages/zope/configuration/xmlconfig.py", line 407, in processxmlfile
parser.parse(src)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 110, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib64/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 213, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/usr/lib64/python2.7/site-packages/zope/configuration/xmlconfig.py", line 393, in endElementNS
self._handle_exception(ex, info)
File "/usr/lib64/python2.7/site-packages/zope/configuration/xmlconfig.py", line 391, in endElementNS
self.context.end()
File "/usr/lib64/python2.7/site-packages/zope/configuration/config.py", line 703, in end
self.stack.pop().finish()
File "/usr/lib64/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/lib64/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "", line 11, in
''', context=context)
File "/usr/lib64/python2.7/site-packages/zope/configuration/xmlconfig.py", line 672, in string
processxmlfile(f, context)
File "/usr/lib64/python2.7/site-packages/zope/configuration/xmlconfig.py", line 407, in processxmlfile
parser.parse(src)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 110, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib64/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 213, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/usr/lib64/python2.7/site-packages/zope/configuration/xmlconfig.py", line 393, in endElementNS
self._handle_exception(ex, info)
File "/usr/lib64/python2.7/site-packages/zope/configuration/xmlconfig.py", line 391, in endElementNS
self.context.end()
File "/usr/lib64/python2.7/site-packages/zope/configuration/config.py", line 703, in end
self.stack.pop().finish()
File "/usr/lib64/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/lib64/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "", line 11, in
''', context=context)
File "/usr/lib64/python2.7/site-packages/zope/configuration/xmlconfig.py", line 672, in string
processxmlfile(f, context)
File "/usr/lib64/python2.7/site-packages/zope/configuration/xmlconfig.py", line 407, in processxmlfile
parser.parse(src)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 110, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib64/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 213, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/usr/lib64/python2.7/site-packages/zope/configuration/xmlconfig.py", line 393, in endElementNS
self._handle_exception(ex, info)
File "/usr/lib64/python2.7/site-packages/zope/configuration/xmlconfig.py", line 391, in endElementNS
self.context.end()
File "/usr/lib64/python2.7/site-packages/zope/configuration/config.py", line 703, in end
self.stack.pop().finish()
File "/usr/lib64/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.222s
FAILED (failures=1)
error: Bad exit status from /usr/src/tmp/rpm-tmp.78247 (%check)
RPM build errors:
Bad exit status from /usr/src/tmp/rpm-tmp.78247 (%check)
Command exited with non-zero status 1
2.92user 0.42system 0:03.74elapsed 89%CPU (0avgtext+0avgdata 40180maxresident)k
0inputs+0outputs (0major+140613minor)pagefaults 0swaps
hsh-rebuild: rebuild of `python-module-zope.viewlet-4.0.1-alt1.dev0.git20150613.1.1.src.rpm' failed.
Command exited with non-zero status 1
7.92user 2.30system 0:12.06elapsed 84%CPU (0avgtext+0avgdata 122080maxresident)k
7784inputs+0outputs (0major+350524minor)pagefaults 0swaps