<86>Sep 8 09:56:33 userdel[3945074]: delete user 'rooter' <86>Sep 8 09:56:33 userdel[3945074]: removed group 'rooter' owned by 'rooter' <86>Sep 8 09:56:33 userdel[3945074]: removed shadow group 'rooter' owned by 'rooter' <86>Sep 8 09:56:33 groupadd[3945091]: group added to /etc/group: name=rooter, GID=543 <86>Sep 8 09:56:33 groupadd[3945091]: group added to /etc/gshadow: name=rooter <86>Sep 8 09:56:33 groupadd[3945091]: new group: name=rooter, GID=543 <86>Sep 8 09:56:33 useradd[3945106]: new user: name=rooter, UID=543, GID=543, home=/root, shell=/bin/bash <86>Sep 8 09:56:33 userdel[3945133]: delete user 'builder' <86>Sep 8 09:56:33 userdel[3945133]: removed group 'builder' owned by 'builder' <86>Sep 8 09:56:33 userdel[3945133]: removed shadow group 'builder' owned by 'builder' <86>Sep 8 09:56:33 groupadd[3945151]: group added to /etc/group: name=builder, GID=544 <86>Sep 8 09:56:33 groupadd[3945151]: group added to /etc/gshadow: name=builder <86>Sep 8 09:56:33 groupadd[3945151]: new group: name=builder, GID=544 <86>Sep 8 09:56:33 useradd[3945162]: new user: name=builder, UID=544, GID=544, home=/usr/src, shell=/bin/bash <13>Sep 8 09:56:34 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Sep 8 09:56:34 rpmi: libexpat-2.2.9-alt1 sisyphus+252464.200.2.1 1590958865 installed <13>Sep 8 09:56:34 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Sep 8 09:56:34 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Sep 8 09:56:34 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Sep 8 09:56:34 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Sep 8 09:56:34 rpmi: ca-certificates-2020.06.29-alt1 sisyphus+254237.300.1.1 1593450881 installed <13>Sep 8 09:56:35 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Sep 8 09:56:35 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Sep 8 09:56:35 rpmi: libcrypto1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Sep 8 09:56:35 rpmi: libssl1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Sep 8 09:56:35 rpmi: python3-3.8.5-alt1 sisyphus+244405.100.3.1 1595544514 installed <13>Sep 8 09:56:35 rpmi: python3-base-3.8.5-alt1 sisyphus+244405.100.3.1 1595544514 installed <13>Sep 8 09:56:36 rpmi: libpython3-3.8.5-alt1 sisyphus+244405.100.3.1 1595544514 installed <13>Sep 8 09:56:36 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Sep 8 09:56:36 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Sep 8 09:56:38 rpmi: python3-module-pkg_resources-1:46.1.3-alt1 sisyphus+250566.200.3.1 1587973342 installed <13>Sep 8 09:56:38 rpmi: python3-module-six-1.15.0-alt1 sisyphus+255738.100.2.1 1596527214 installed <13>Sep 8 09:56:38 rpmi: python3-module-ntlm-1.1.0-alt1.2 sisyphus+228512.100.1.1 1556654575 installed <13>Sep 8 09:56:38 rpmi: python3-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>Sep 8 09:56:38 rpmi: python3-module-pyparsing-2.4.2-alt1 sisyphus+236061.100.3.1 1565853577 installed <13>Sep 8 09:56:38 rpmi: python3-module-packaging-19.0-alt2 sisyphus+235493.3500.8.1 1565461874 installed <13>Sep 8 09:56:38 rpmi: python3-module-markupsafe-1.1.1-alt1 sisyphus+248369.100.1.1 1585046136 installed <13>Sep 8 09:56:38 rpmi: python3-module-jinja2-2.11.2-alt1 sisyphus+254573.100.1.1 1594043344 installed <13>Sep 8 09:56:38 rpmi: python3-module-imagesize-1.1.0-alt1 sisyphus+229015.100.2.1 1557233756 installed <13>Sep 8 09:56:38 rpmi: python3-module-pytz-1:2020.1-alt1 sisyphus+254576.100.1.1 1594046074 installed <13>Sep 8 09:56:38 rpmi: python3-module-babel-1:2.6.0-alt1 sisyphus+228351.2400.6.2 1556652168 installed <13>Sep 8 09:56:38 rpmi: python3-module-ndg-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>Sep 8 09:56:39 rpmi: python3-module-idna-2.10-alt1 sisyphus+255040.200.1.1 1594995891 installed <13>Sep 8 09:56:39 rpmi: python3-module-chardet-3.0.4-alt1 sisyphus+227476.1700.1.2 1555756717 installed <13>Sep 8 09:56:39 rpmi: python3-module-webencodings-0.5.1-alt2 sisyphus+245915.200.1.1 1581496105 installed <13>Sep 8 09:56:39 rpmi: python3-module-genshi-0.7-alt2 sisyphus+229363.100.1.1 1557847335 installed <13>Sep 8 09:56:39 rpmi: python3-module-pycparser-2.19-alt2 sisyphus+245734.100.1.1 1581192421 installed <13>Sep 8 09:56:39 rpmi: python3-module-cffi-1.14.0-alt1 sisyphus+255743.100.1.1 1596453449 installed <13>Sep 8 09:56:39 rpmi: python3-module-cryptography-3.0-alt2 sisyphus+255750.200.1.1 1596457913 installed <13>Sep 8 09:56:39 rpmi: python3-module-OpenSSL-19.0.0-alt1 sisyphus+238757.100.1.1 1570339901 installed <13>Sep 8 09:56:39 rpmi: python3-module-ndg-httpsclient-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>Sep 8 09:56:39 rpmi: python3-module-urllib3-2:1.25.10-alt1 sisyphus+255342.100.1.1 1595592746 installed <13>Sep 8 09:56:39 rpmi: python3-module-requests-2.24.0-alt1 sisyphus+254580.100.1.1 1594048060 installed <13>Sep 8 09:56:39 rpmi: python-sphinx-objects.inv-1:2.3.10.20200814-alt1 sisyphus+256437.100.1.1 1597793855 installed <13>Sep 8 09:56:39 rpmi: libyaml2-0.2.5-alt1 sisyphus+253672.100.1.1 1592583137 installed <13>Sep 8 09:56:39 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Sep 8 09:56:39 rpmi: liblmdb-0.9.23-alt1 sisyphus+225277.100.2.1 1553001679 installed <13>Sep 8 09:56:39 rpmi: libkeyutils-1.6.1-alt1 sisyphus+256015.100.1.1 1596820124 installed <13>Sep 8 09:56:39 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Sep 8 09:56:39 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746654 installed <13>Sep 8 09:56:39 rpmi: libxslt-1.1.34-alt2 sisyphus+248264.100.1.1 1584829770 installed <13>Sep 8 09:56:39 rpmi: python3-module-cssselect-0.9.1-alt2 sisyphus+250566.2300.6.1 1588188959 installed <13>Sep 8 09:56:39 rpmi: python3-module-html5lib-1:1.0.1-alt1 sisyphus+238807.100.2.1 1570465973 installed <13>Sep 8 09:56:39 rpmi: python3-module-lxml-4.5.0-alt2 sisyphus+250566.2700.6.1 1588189778 installed <13>Sep 8 09:56:39 rpmi: python3-module-docutils-0.16.0-alt1 sisyphus+250087.100.1.1 1587043829 installed <13>Sep 8 09:56:39 rpmi: python3-module-alabaster-0.7.6-alt3 sisyphus+228351.700.4.1 1556637370 installed <13>Sep 8 09:56:39 rpmi: python3-module-sphinxcontrib-applehelp-1.0.2-alt1 sisyphus+252614.200.1.1 1590949678 installed <13>Sep 8 09:56:39 rpmi: python3-module-sphinxcontrib-devhelp-1.0.2-alt1 sisyphus+252614.300.1.1 1590949711 installed <13>Sep 8 09:56:39 rpmi: python3-module-sphinxcontrib-htmlhelp-1.0.2-alt1 sisyphus+228401.100.1.1 1556572721 installed <13>Sep 8 09:56:39 rpmi: python3-module-sphinxcontrib-jsmath-1.0.1-alt1 sisyphus+238085.500.1.1 1569313099 installed <13>Sep 8 09:56:39 rpmi: python3-module-sphinxcontrib-qthelp-1.0.3-alt1 sisyphus+252614.400.1.1 1590949745 installed <13>Sep 8 09:56:39 rpmi: python3-module-sphinxcontrib-serializinghtml-1.1.4-alt1 sisyphus+252614.100.1.1 1590949645 installed <13>Sep 8 09:56:39 rpmi: python3-module-sphinx-1:2.4.4-alt1 sisyphus+254723.100.1.2 1594318607 installed <13>Sep 8 09:56:40 rpmi: python3-module-Pygments-2.6.1-alt1 sisyphus+251222.200.1.1 1588756845 installed <13>Sep 8 09:56:40 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Sep 8 09:56:40 groupadd[3974883]: group added to /etc/group: name=_keytab, GID=499 <86>Sep 8 09:56:40 groupadd[3974883]: group added to /etc/gshadow: name=_keytab <86>Sep 8 09:56:40 groupadd[3974883]: new group: name=_keytab, GID=499 <13>Sep 8 09:56:40 rpmi: libkrb5-1.18.2-alt2 sisyphus+254565.100.4.1 1594375666 installed <13>Sep 8 09:56:40 rpmi: libtirpc-1.2.6-alt1 sisyphus+250076.100.1.1 1587038270 installed <13>Sep 8 09:56:40 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Sep 8 09:56:40 rpmi: python-modules-encodings-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Sep 8 09:56:40 rpmi: python-modules-compiler-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Sep 8 09:56:40 rpmi: python-modules-email-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Sep 8 09:56:40 rpmi: python-modules-unittest-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Sep 8 09:56:40 rpmi: python-modules-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Sep 8 09:56:40 rpmi: python-modules-nis-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Sep 8 09:56:40 rpmi: python-modules-ctypes-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Sep 8 09:56:40 rpmi: python-modules-multiprocessing-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Sep 8 09:56:40 rpmi: python-modules-logging-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Sep 8 09:56:40 rpmi: python-tools-2to3-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Sep 8 09:56:40 rpmi: python3-module-yaml-5.3.1-alt1 sisyphus+254577.100.1.1 1594046750 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-cliapp-1.20160724-alt3.nosrc.rpm <13>Sep 8 09:56:42 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Sep 8 09:56:42 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Sep 8 09:56:42 rpmi: python3-dev-3.8.5-alt1 sisyphus+244405.100.3.1 1595544514 installed <13>Sep 8 09:56:42 rpmi: python3-module-setuptools-1:46.1.3-alt1 sisyphus+250566.200.3.1 1587973342 installed Installing python3-module-cliapp-1.20160724-alt3.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.56528 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-cliapp-1.20160724 + echo 'Source #0 (python3-module-cliapp-1.20160724.tar):' Source #0 (python3-module-cliapp-1.20160724.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-cliapp-1.20160724.tar + cd python3-module-cliapp-1.20160724 + /bin/chmod -c -Rf u+rwX,go-w . + sed -i 's|sphinx-build|sphinx-build-3|' doc/Makefile + find -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: No changes to ./test-plugins/wrongversion_plugin.py RefactoringTool: No changes to ./test-plugins/hello_plugin.py RefactoringTool: No changes to ./setup.py RefactoringTool: No changes to ./example5.py RefactoringTool: No changes to ./example4.py RefactoringTool: Refactored ./example3.py RefactoringTool: No changes to ./example2.py RefactoringTool: No changes to ./example.py RefactoringTool: Refactored ./doc/conf.py RefactoringTool: No changes to ./cliapp/version.py RefactoringTool: No changes to ./cliapp/util.py RefactoringTool: Refactored ./cliapp/settings_tests.py --- ./example3.py (original) +++ ./example3.py (refactored) @@ -22,7 +22,7 @@ ''' -import urlparse +import urllib.parse import cliapp @@ -37,7 +37,7 @@ def compute_setting_values(self, settings): if not self.settings['protocol']: - schema = urlparse.urlparse(self.settings['url'])[0] + schema = urllib.parse.urlparse(self.settings['url'])[0] self.settings['protocol'] = schema def process_args(self, args): --- ./doc/conf.py (original) +++ ./doc/conf.py (refactored) @@ -39,8 +39,8 @@ master_doc = 'index' # General information about the project. -project = u'cliapp' -copyright = u'2011, Lars Wirzenius' +project = 'cliapp' +copyright = '2011, Lars Wirzenius' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -174,8 +174,8 @@ # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [ - ('index', 'cliapp.tex', u'cliapp Documentation', - u'Lars Wirzenius', 'manual'), + ('index', 'cliapp.tex', 'cliapp Documentation', + 'Lars Wirzenius', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of --- ./cliapp/settings_tests.py (original) +++ ./cliapp/settings_tests.py (refactored) @@ -15,7 +15,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -import StringIO +import io import unittest import cliapp @@ -39,12 +39,12 @@ def test_sets_usage_from_func(self): s = cliapp.Settings('appname', '1.0', usage=lambda: 'xyzzy') p = s.build_parser() - self.assert_('xyzzy' in p.usage) + self.assertTrue('xyzzy' in p.usage) def test_adds_default_options_and_settings(self): - self.assert_('output' in self.settings) - self.assert_('log' in self.settings) - self.assert_('log-level' in self.settings) + self.assertTrue('output' in self.settings) + self.assertTrue('log' in self.settings) + self.assertTrue('log-level' in self.settings) def test_iterates_over_canonical_settings_names(self): known = ['output', 'log', 'log-level'] @@ -53,7 +53,7 @@ def test_keys_returns_canonical_names(self): known = ['output', 'log', 'log-level'] - self.assertEqual(sorted(x for x in self.settings.keys() if x in known), + self.assertEqual(sorted(x for x in list(self.settings.keys()) if x in known), sorted(known)) def test_parses_options(self): @@ -84,11 +84,11 @@ def test_adds_string_setting(self): self.settings.string(['foo'], 'foo help') - self.assert_('foo' in self.settings) + self.assertTrue('foo' in self.settings) def test_adds_string_list_setting(self): self.settings.string_list(['foo'], 'foo help') - self.assert_('foo' in self.settings) + self.assertTrue('foo' in self.settings) def test_string_list_is_empty_list_by_default(self): self.settings.string_list(['foo'], '') @@ -117,7 +117,7 @@ def test_adds_choice_setting(self): self.settings.choice(['foo'], ['foo', 'bar'], 'foo help') - self.assert_('foo' in self.settings) + self.assertTrue('foo' in self.settings) def test_choice_defaults_to_first_one(self): self.settings.choice(['foo'], ['foo', 'bar'], 'foo help') @@ -139,7 +139,7 @@ def test_adds_boolean_setting(self): self.settings.boolean(['foo'], 'foo help') - self.assert_('foo' in self.settings) + self.assertTrue('foo' in self.settings) def test_boolean_setting_is_false_by_default(self): self.settings.boolean(['foo'], 'foo help') @@ -148,9 +148,9 @@ def test_sets_boolean_setting_to_true_for_many_true_values(self): self.settings.boolean(['foo'], 'foo help') self.settings['foo'] = True - self.assert_(self.settings['foo']) + self.assertTrue(self.settings['foo']) self.settings['foo'] = 1 - self.assert_(self.settings['foo']) + self.assertTrue(self.settings['foo']) def test_sets_boolean_setting_to_false_for_many_false_values(self): self.settings.boolean(['foo'], 'foo help') @@ -167,7 +167,7 @@ def test_sets_boolean_to_true_from_ini_file(self): def fake_open(filename): - return StringIO.StringIO('[config]\nfoo = yes\n') + return io.StringIO('[config]\nfoo = yes\n') self.settings.boolean(['foo'], 'foo help') self.settings.config_files = ['foo.conf'] self.settings.load_configs(open_file=fake_open) @@ -175,7 +175,7 @@ def test_sets_boolean_to_false_from_ini_file(self): def fake_open(filename): - return StringIO.StringIO('[config]\nfoo = False\n') + return io.StringIO('[config]\nfoo = False\n') self.settings.boolean(['foo'], 'foo help') self.settings.config_files = ['foo.conf'] self.settings.load_configs(open_file=fake_open) @@ -183,7 +183,7 @@ def test_sets_boolean_to_true_from_yaml_file(self): def fake_open(filename): - return StringIO.StringIO('config:\n foo: true\n') + return io.StringIO('config:\n foo: true\n') self.settings.boolean(['foo'], 'foo help') self.settings.config_files = ['foo.yaml'] self.settings.load_configs(open_file=fake_open) @@ -191,7 +191,7 @@ def test_sets_boolean_to_false_from_yaml_file(self): def fake_open(filename): - return StringIO.StringIO('config:\n foo: false\n') + return io.StringIO('config:\n foo: false\n') self.settings.boolean(['foo'], 'foo help') self.settings.config_files = ['foo.yaml'] self.settings.load_configs(open_file=fake_open) @@ -199,7 +199,7 @@ def test_adds_bytesize_setting(self): self.settings.bytesize(['foo'], 'foo help') - self.assert_('foo' in self.settings) + self.assertTrue('foo' in self.settings) def test_parses_bytesize_option(self): self.settings.bytesize(['foo'], 'foo help') @@ -236,7 +236,7 @@ def test_adds_integer_setting(self): self.settings.integer(['foo'], 'foo help') - self.assert_('foo' in self.settings) + self.assertTrue('foo' in self.settings) def test_parses_integer_option(self): self.settings.integer(['foo'], 'foo help', default=123) @@ -249,8 +249,8 @@ def test_has_list_of_default_config_files(self): defaults = self.settings.default_config_files - self.assert_(isinstance(defaults, list)) - self.assert_(len(defaults) > 0) + self.assertTrue(isinstance(defaults, list)) + self.assertTrue(len(defaults) > 0) def test_listconfs_returns_empty_list_for_nonexistent_directory(self): self.assertEqual(self.settings.listconfs('notexist'), []) @@ -279,7 +279,7 @@ def test_loads_ini_files(self): def mock_open(filename, mode=None): - return StringIO.StringIO('''\ + return io.StringIO('''\ [config] foo = yeehaa ''') @@ -292,7 +292,7 @@ def test_loads_yaml_files(self): def mock_open(filename, mode=None): - return StringIO.StringIO('''\ + return io.StringIO('''\ config: foo: yeehaa ''') @@ -305,7 +305,7 @@ def test_loads_string_list_from_ini_files(self): def mock_open(filename, mode=None): - return StringIO.StringIO('''\ + return io.StringIO('''\ [config] foo = yeehaa bar = ping, pong @@ -324,7 +324,7 @@ def test_loads_string_list_from_yaml_files(self): def mock_open(filename, mode=None): - return StringIO.StringIO('''\ + return io.StringIO('''\ config: foo: yeehaa bar: [ping, pong] @@ -343,7 +343,7 @@ def test_handles_defaults_with_ini_files(self): def mock_open(filename, mode=None): - return StringIO.StringIO('''\ + return io.StringIO('''\ [config] ''') @@ -357,7 +357,7 @@ RefactoringTool: Refactored ./cliapp/settings.py def test_handles_defaults_with_yaml_files(self): def mock_open(filename, mode=None): - return StringIO.StringIO('''\ + return io.StringIO('''\ config: {} ''') @@ -371,7 +371,7 @@ def test_handles_overridden_defaults_with_ini_files(self): def mock_open(filename, mode=None): - return StringIO.StringIO('''\ + return io.StringIO('''\ [config] foo = yeehaa bar = ping, pong @@ -387,7 +387,7 @@ def test_handles_overridden_defaults_with_yaml_files(self): def mock_open(filename, mode=None): - return StringIO.StringIO('''\ + return io.StringIO('''\ config: foo: yeehaa bar: [ping, pong] @@ -403,7 +403,7 @@ def test_handles_values_from_ini_files_overridden_on_command_line(self): def mock_open(filename, mode=None): - return StringIO.StringIO('''\ + return io.StringIO('''\ [config] foo = yeehaa bar = ping, pong @@ -421,7 +421,7 @@ def test_handles_values_from_yaml_files_overridden_on_command_line(self): def mock_open(filename, mode=None): - return StringIO.StringIO('''\ + return io.StringIO('''\ config: foo: yeehaa bar: [ping, pong] @@ -439,7 +439,7 @@ def test_load_configs_raises_error_for_unknown_variable_in_ini(self): def mock_open(filename, mode=None): - return StringIO.StringIO('''\ + return io.StringIO('''\ [config] unknown = variable ''') @@ -452,7 +452,7 @@ def test_load_configs_raises_error_for_unknown_variable_in_yaml(self): def mock_open(filename, mode=None): - return StringIO.StringIO('''\ + return io.StringIO('''\ config: unknown: yeehaa ''') @@ -466,7 +466,7 @@ def test_load_configs_remembers_extra_sections_in_ini(self): def mock_open(filename, mode=None): - return StringIO.StringIO('''\ + return io.StringIO('''\ [extra] something = else ''') @@ -481,7 +481,7 @@ def test_load_configs_remembers_extra_sections_in_yaml(self): def mock_open(filename, mode=None): - return StringIO.StringIO('''\ + return io.StringIO('''\ config: {} extra: something: else @@ -579,7 +579,7 @@ def test_exports_all_config_sections_via_as_cp(self): def mock_open(filename, mode=None): - return StringIO.StringIO('''\ + return io.StringIO('''\ [config] foo = yeehaa --- ./cliapp/settings.py (original) +++ ./cliapp/settings.py (refactored) @@ -15,7 +15,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -import ConfigParser +import configparser import optparse import os import re @@ -194,7 +194,7 @@ def is_true(): if value is True or value is False: return value - if type(value) in [str, unicode]: + if type(value) in [str, str]: return value.lower() in self._trues return value if is_true(): @@ -226,13 +226,13 @@ 'gi': 2 ** 30, 'ti': 2 ** 40, } - return long(number * units.get(unit, 1)) + return int(number * units.get(unit, 1)) def default_metavar(self): return 'SIZE' def get_value(self): - return long(self._string_value) + return int(self._string_value) def set_value(self, value): if type(value) == str: @@ -248,7 +248,7 @@ return self.names[0].upper() def get_value(self): - return long(self._string_value) + return int(self._string_value) def set_value(self, value): self._string_value = str(value) @@ -319,7 +319,7 @@ self._config_files = None self._required_config_files = [] - self._cp = ConfigParser.ConfigParser() + self._cp = configparser.ConfigParser() def _add_default_settings(self): self.string(['output'], @@ -482,7 +482,7 @@ # Create the command line parser. def getit(x): - RefactoringTool: No changes to ./cliapp/runcmd_tests.py RefactoringTool: Refactored ./cliapp/runcmd.py RefactoringTool: Refactored ./cliapp/pluginmgr_tests.py RefactoringTool: Refactored ./cliapp/pluginmgr.py RefactoringTool: No changes to ./cliapp/plugin_tests.py RefactoringTool: No changes to ./cliapp/plugin.py RefactoringTool: No changes to ./cliapp/hookmgr_tests.py RefactoringTool: No changes to ./cliapp/hookmgr.py RefactoringTool: No changes to ./cliapp/hook_tests.py RefactoringTool: No changes to ./cliapp/hook.py RefactoringTool: No changes to ./cliapp/genman.py RefactoringTool: No changes to ./cliapp/fmt_tests.py RefactoringTool: No changes to ./cliapp/fmt.py RefactoringTool: Refactored ./cliapp/app_tests.py if x is None or type(x) in [str, unicode]: + if x is None or type(x) in [str, str]: return x else: return x() @@ -594,7 +594,7 @@ def list_config_files(*args): # pragma: no cover for filename in self.config_files: - print filename + print(filename) sys.exit(0) add_option_to_group( @@ -824,7 +824,7 @@ raise def _read_ini(self, pathname, f): - cp = ConfigParser.ConfigParser() + cp = configparser.ConfigParser() cp.add_section('config') cp.readfp(f) for name in cp.options('config'): @@ -844,7 +844,7 @@ obj = yaml.safe_load(f) self._check_yaml(pathname, obj) config = obj.get('config', {}) - for name, value in config.items(): + for name, value in list(config.items()): if name not in self._settingses: raise UnknownConfigVariable(pathname, name) s = self._settingses[name] @@ -886,7 +886,7 @@ ''' - cp = ConfigParser.ConfigParser() + cp = configparser.ConfigParser() cp.add_section('config') for name in self._canonical_names: cp.set('config', name, self._settingses[name].format()) @@ -894,7 +894,7 @@ for section in self._all_config_data: if section != 'config': cp.add_section(section) - for option, value in self._all_config_data[section].items(): + for option, value in list(self._all_config_data[section].items()): cp.set(section, option, value) return cp --- ./cliapp/runcmd.py (original) +++ ./cliapp/runcmd.py (refactored) @@ -104,7 +104,7 @@ return _run_pipeline(pipeline, feed_stdin, pipe_stdin, pipe_stdout, pipe_stderr, stdout_callback, stderr_callback) - except OSError, e: # pragma: no cover + except OSError as e: # pragma: no cover if e.errno == errno.ENOENT and e.filename is None: e.filename = argv[0] raise e @@ -322,17 +322,17 @@ ssh_argv.append('-T') more_options = kwargs.pop('ssh_options', []) - ssh_argv.extend(map(shell_quote, more_options)) + ssh_argv.extend(list(map(shell_quote, more_options))) ssh_argv.append(target) ssh_argv.append('--') remote_cwd = kwargs.pop('remote_cwd', None) if remote_cwd: - ssh_argv.extend(map(shell_quote, [ + ssh_argv.extend(list(map(shell_quote, [ 'sh', '-c', 'cd "$1" && shift && exec "$@"', '-', - remote_cwd])) - - local_argv = ssh_argv + map(shell_quote, argv) + remote_cwd]))) + + local_argv = ssh_argv + list(map(shell_quote, argv)) return runcmd(local_argv, **kwargs) --- ./cliapp/pluginmgr_tests.py (original) +++ ./cliapp/pluginmgr_tests.py (refactored) @@ -97,7 +97,7 @@ self.assertFalse(self.pm.compatible_version('1.2.4')) def test_accepts_one(self): - self.assert_(self.pm.compatible_version('1')) + self.assertTrue(self.pm.compatible_version('1')) def test_accepts_one_two_three(self): - self.assert_(self.pm.compatible_version('1.2.3')) + self.assertTrue(self.pm.compatible_version('1.2.3')) --- ./cliapp/pluginmgr.py (original) +++ ./cliapp/pluginmgr.py (refactored) @@ -117,7 +117,7 @@ else: plugins[plugin.name] = plugin - return plugins.values() + return list(plugins.values()) def is_older(self, version1, version2): '''Is version1 older than version2?''' --- ./cliapp/app_tests.py (original) +++ ./cliapp/app_tests.py (refactored) @@ -15,7 +15,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -import StringIO +import io import sys import unittest @@ -32,7 +32,7 @@ self.e = cliapp.AppException('foo') def test_error_message_contains_foo(self): - self.assert_('foo' in str(self.e)) + self.assertTrue('foo' in str(self.e)) class ApplicationTests(unittest.TestCase): @@ -41,7 +41,7 @@ self.app = cliapp.Application() def test_creates_settings(self): - self.assert_(isinstance(self.app.settings, cliapp.Settings)) + self.assertTrue(isinstance(self.app.settings, cliapp.Settings)) def test_calls_add_settings_only_in_run(self): @@ -56,7 +56,7 @@ foo = Foo() self.assertFalse('foo' in foo.settings) foo.run(args=[]) - self.assert_('foo' in foo.settings) + self.assertTrue('foo' in foo.settings) def test_run_uses_string_list_options_only_once(self): @@ -81,7 +81,7 @@ self.app.setup_logging = setup self.app.process_args = lambda args: None self.app.run([]) - self.assert_(self.called) + self.assertTrue(self.called) def test_run_sets_progname_from_sysargv0(self): self.app.process_args = lambda args: None @@ -177,7 +177,7 @@ self.app.process_inputs = process_inputs self.app.process_args([]) - self.assert_(self.called) + self.assertTrue(self.called) def test_process_inputs_calls_process_input_for_each_arg(self): self.args = [] @@ -201,7 +201,7 @@ def test_open_input_opens_file(self): f = self.app.open_input('/dev/null') - self.assert_(isinstance(f, file)) + self.assertTrue(isinstance(f, file)) self.assertEqual(getattr(f, 'mode'), 'r') def test_open_input_opens_file_in_binary_mode_when_requested(self): @@ -216,7 +216,7 @@ def open_input(name): self.called = name - return StringIO.StringIO('') + return io.StringIO('') self.app.open_input = open_input self.app.process_input('foo') @@ -228,7 +228,7 @@ def close(): self.closed = True - f = StringIO.StringIO('') + f = io.StringIO('') f.close = close def open_input(name): @@ -246,7 +246,7 @@ class Foo(cliapp.Application): def open_input(self, name, mode=None): - return StringIO.StringIO(''.join('%s%d\n' % (name, i) + return io.StringIO(''.join('%s%d\n' % (name, i) for i in range(2))) def process_input_line(self, name, line): @@ -262,7 +262,7 @@ class Foo(cliapp.Application): def open_input(self, name, mode=None): - return StringIO.StringIO(''.join('%s%d\n' % (name, i) + return io.StringIO(''.join('%s%d\n' % (name, i) for i in range(2))) def process_input_line(self, name, line): @@ -280,30 +280,30 @@ def raise_error(args): raise cliapp.AppException('xxx') self.app.process_args = raise_error - f = StringIO.StringIO() + f = io.StringIO() self.assertRaises(SystemExit, self.app.run, [], stderr=f, log=devnull) - self.assert_('xxx' in f.getvalue()) + self.assertTrue('xxx' in f.getvalue()) def test_run_prints_out_stack_trace_for_not_appexception(self): def raise_error(args): raise Exception('xxx') self.app.process_args = raise_error - f = StringIO.StringIO() + f = io.StringIO() self.assertRaises(SystemExit, self.app.run, [], stderr=f, log=devnull) - self.assert_('Traceback' in f.getvalue()) + self.assertTrue('Traceback' in f.getvalue()) def test_run_raises_systemexit_for_systemexit(self): def raise_error(args): raise SystemExit(123) self.app.process_args = raise_error - f = StringIO.StringIO() + f = io.StringIO() self.assertRaises(SystemExit, self.app.run, [], stderr=f, log=devnull) def test_run_raises_systemexit_for_keyboardint(self): def raise_error(args): raise KeyboardInterrupt() self.app.process_args = raise_error RefactoringTool: Refactored ./cliapp/app.py RefactoringTool: No changes to ./cliapp/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ./test-plugins/wrongversion_plugin.py RefactoringTool: ./test-plugins/hello_plugin.py RefactoringTool: ./setup.py RefactoringTool: ./example5.py RefactoringTool: ./example4.py RefactoringTool: ./example3.py RefactoringTool: ./example2.py RefactoringTool: ./example.py RefactoringTool: ./doc/conf.py RefactoringTool: ./cliapp/version.py RefactoringTool: ./cliapp/util.py RefactoringTool: ./cliapp/settings_tests.py RefactoringTool: ./cliapp/settings.py RefactoringTool: ./cliapp/runcmd_tests.py RefactoringTool: ./cliapp/runcmd.py RefactoringTool: ./cliapp/pluginmgr_tests.py RefactoringTool: ./cliapp/pluginmgr.py RefactoringTool: ./cliapp/plugin_tests.py RefactoringTool: ./cliapp/plugin.py RefactoringTool: ./cliapp/hookmgr_tests.py RefactoringTool: ./cliapp/hookmgr.py RefactoringTool: ./cliapp/hook_tests.py RefactoringTool: ./cliapp/hook.py RefactoringTool: ./cliapp/genman.py RefactoringTool: ./cliapp/fmt_tests.py RefactoringTool: ./cliapp/fmt.py RefactoringTool: ./cliapp/app_tests.py RefactoringTool: ./cliapp/app.py RefactoringTool: ./cliapp/__init__.py - f = StringIO.StringIO() + f = io.StringIO() self.assertRaises(SystemExit, self.app.run, [], stderr=f, log=devnull) @@ -317,7 +317,7 @@ def setUp(self): self.app = DummySubcommandApp() - self.trash = StringIO.StringIO() + self.trash = io.StringIO() def test_lists_subcommands(self): self.assertEqual(self.app._subcommand_methodnames(), ['cmd_foo']) @@ -336,7 +336,7 @@ def test_calls_subcommand_method(self): self.app.run(['foo'], stderr=self.trash, log=devnull) - self.assert_(self.app.foo_called) + self.assertTrue(self.app.foo_called) def test_calls_subcommand_method_via_alias(self): self.bar_called = False --- ./cliapp/app.py (original) +++ ./cliapp/app.py (refactored) @@ -20,7 +20,7 @@ import logging import logging.handlers import os -import StringIO +import io import sys import traceback import platform @@ -51,7 +51,7 @@ '''Like RotatingFileHandler, but set permissions of new files.''' - def __init__(self, filename, perms=0600, *args, **kwargs): + def __init__(self, filename, perms=0o600, *args, **kwargs): self._perms = perms logging.handlers.RotatingFileHandler.__init__(self, filename, *args, **kwargs) @@ -189,24 +189,24 @@ self.process_args(args) self.cleanup() self.disable_plugins() - except cliapp.UnknownConfigVariable, e: # pragma: no cover + except cliapp.UnknownConfigVariable as e: # pragma: no cover stderr.write('ERROR: %s\n' % str(e)) sys.exit(1) except cliapp.MalformedYamlConfig as e: # pragma: no cover stderr.write('ERROR: %s\n' % str(e)) sys.exit(1) - except AppException, e: + except AppException as e: log(traceback.format_exc()) stderr.write('ERROR: %s\n' % str(e)) sys.exit(1) - except SystemExit, e: + except SystemExit as e: if e.code is not None and type(e.code) != int: log(str(e)) stderr.write('ERROR: %s\n' % str(e)) sys.exit(e.code if type(e.code) == int else 1) - except KeyboardInterrupt, e: + except KeyboardInterrupt as e: sys.exit(255) - except IOError, e: # pragma: no cover + except IOError as e: # pragma: no cover if e.errno == errno.EPIPE and e.filename is None: # We're writing to stdout, and it broke. This almost always # happens when we're being piped to less, and the user quits @@ -216,14 +216,14 @@ log(traceback.format_exc()) stderr.write('ERROR: %s\n' % str(e)) sys.exit(1) - except OSError, e: # pragma: no cover + except OSError as e: # pragma: no cover log(traceback.format_exc()) if hasattr(e, 'filename') and e.filename: stderr.write('ERROR: %s: %s\n' % (e.filename, e.strerror)) else: stderr.write('ERROR: %s\n' % e.strerror) sys.exit(1) - except BaseException, e: # pragma: no cover + except BaseException as e: # pragma: no cover log(traceback.format_exc()) stderr.write(traceback.format_exc()) sys.exit(1) @@ -497,7 +497,7 @@ for name in os.environ: logging.debug('environment: %s=%s', name, os.environ[name]) cp = self.settings.as_cp() - f = StringIO.StringIO() + f = io.StringIO() cp.write(f) logging.debug('Config:\n%s', f.getvalue()) logging.debug('Python version: %s', sys.version) + sed -i 's|'\''w'\'', 0|'\''w'\''|' cliapp/app.py + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.17707 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-cliapp-1.20160724 + 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/cliapp copying cliapp/app.py -> build/lib/cliapp copying cliapp/version.py -> build/lib/cliapp copying cliapp/util.py -> build/lib/cliapp copying cliapp/settings_tests.py -> build/lib/cliapp copying cliapp/settings.py -> build/lib/cliapp copying cliapp/runcmd_tests.py -> build/lib/cliapp copying cliapp/runcmd.py -> build/lib/cliapp copying cliapp/pluginmgr_tests.py -> build/lib/cliapp copying cliapp/pluginmgr.py -> build/lib/cliapp copying cliapp/plugin_tests.py -> build/lib/cliapp copying cliapp/plugin.py -> build/lib/cliapp copying cliapp/hookmgr_tests.py -> build/lib/cliapp copying cliapp/hookmgr.py -> build/lib/cliapp copying cliapp/hook_tests.py -> build/lib/cliapp copying cliapp/hook.py -> build/lib/cliapp copying cliapp/genman.py -> build/lib/cliapp copying cliapp/fmt_tests.py -> build/lib/cliapp copying cliapp/fmt.py -> build/lib/cliapp copying cliapp/app_tests.py -> build/lib/cliapp copying cliapp/__init__.py -> build/lib/cliapp + make -j8 make -C doc html make[1]: Entering directory '/usr/src/RPM/BUILD/python3-module-cliapp-1.20160724/doc' sphinx-build-3 -b html -d _build/doctrees . _build/html Running Sphinx v2.4.4 making output directory... done WARNING: html_static_path entry '_static' does not exist building [mo]: targets for 0 po files that are out of date building [html]: targets for 8 source files that are out of date updating environment: [new config] 8 added, 0 changed, 0 removed reading sources... [ 12%] example reading sources... [ 25%] index reading sources... [ 37%] logging reading sources... [ 50%] manpages reading sources... [ 62%] profiling reading sources... [ 75%] refman reading sources... [ 87%] subcommands reading sources... [100%] walkthrough WARNING: __all__ should be a list of strings, not {'__name__': 'cliapp', '__doc__': 'Framework for Unix command line programs\n\ncliapp makes it easier to write typical Unix command line programs, by\ntaking care of the common tasks they need to do, such as parsing the\ncommand line, reading configuration files, setting up logging,\niterating over lines of input files, and so on.\n\nHomepage: http://liw.fi/cliapp/\n\n', '__package__': 'cliapp', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0xf65771d8>, '__spec__': ModuleSpec(name='cliapp', loader=<_frozen_importlib_external.SourceFileLoader object at 0xf65771d8>, origin='/usr/src/RPM/BUILD/python3-module-cliapp-1.20160724/cliapp/__init__.py', submodule_search_locations=['/usr/src/RPM/BUILD/python3-module-cliapp-1.20160724/cliapp']), '__path__': ['/usr/src/RPM/BUILD/python3-module-cliapp-1.20160724/cliapp'], '__file__': '/usr/src/RPM/BUILD/python3-module-cliapp-1.20160724/cliapp/__init__.py', '__cached__': '/usr/src/RPM/BUILD/python3-module-cliapp-1.20160724/cliapp/__pycache__/__init__.cpython-38.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': , '__spec__': ModuleSpec(name='builtins', loader=), '__build_class__': , '__import__': , 'abs': , 'all': , 'any': , 'ascii': , 'bin': , 'breakpoint': , 'callable': , 'chr': , 'compile': , 'delattr': , 'dir': , 'divmod': , 'eval': , 'exec': , 'format': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'hex': , 'id': , 'input': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'locals': , 'max': , 'min': , 'next': , 'oct': , 'ord': , 'pow': , 'print': , 'repr': , 'round': , 'setattr': , 'sorted': , 'sum': , 'vars': , 'None': None, 'Ellipsis': Ellipsis, 'NotImplemented': NotImplemented, 'False': False, 'True': True, 'bool': , 'memoryview': , 'bytearray': , 'bytes': , 'classmethod': , 'complex': , 'dict': , 'enumerate': , 'filter': , 'float': , 'frozenset': , 'property': , 'int': , 'list': , 'map': , 'object': , 'range': , 'reversed': , 'set': , 'slice': , 'staticmethod': , 'str': , 'super': , 'tuple': , 'type': , 'zip': , '__debug__': True, 'BaseException': , 'Exception': , 'TypeError': , 'StopAsyncIteration': , 'StopIteration': , 'GeneratorExit': , 'SystemExit': , 'KeyboardInterrupt': , 'ImportError': , 'ModuleNotFoundError': , 'OSError': , 'EnvironmentError': , 'IOError': , 'EOFError': , 'RuntimeError': , 'RecursionError': , 'NotImplementedError': , 'NameError': , 'UnboundLocalError': , 'AttributeError': , 'SyntaxError': , 'IndentationError': , 'TabError': , 'LookupError': , 'IndexError': , 'KeyError': , 'ValueError': , 'UnicodeError': , 'UnicodeEncodeError': , 'UnicodeDecodeError': , 'UnicodeTranslateError': , 'AssertionError': , 'ArithmeticError': , 'FloatingPointError': , 'OverflowError': , 'ZeroDivisionError': , 'SystemError': , 'ReferenceError': , 'MemoryError': , 'BufferError': , 'Warning': , 'UserWarning': , 'DeprecationWarning': , 'PendingDeprecationWarning': , 'SyntaxWarning': , 'RuntimeWarning': , 'FutureWarning': , 'ImportWarning': , 'UnicodeWarning': , 'BytesWarning': , 'ResourceWarning': , 'ConnectionError': , 'BlockingIOError': , 'BrokenPipeError': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'FileExistsError': , 'FileNotFoundError': , 'IsADirectoryError': , 'NotADirectoryError': , 'InterruptedError': , 'PermissionError': , 'ProcessLookupError': , 'TimeoutError': , 'open': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'copyright': Copyright (c) 2001-2020 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'license': See https://www.python.org/psf/license/, 'help': Type help() for interactive help, or help(object) for help about object.}, 'version': , '__version__': '1.20160724', '__version_info__': (1, 20160724), 'util': , 'MemoryProfileDumper': , 'fmt': , 'TextFormat': , 'app': , 'Application': , 'AppException': , 'genman': , 'settings': , 'Settings': , 'log_group_name': 'Logging', 'config_group_name': 'Configuration files and settings', 'perf_group_name': 'Peformance', 'UnknownConfigVariable': , 'MalformedYamlConfig': , 'runcmd': , 'runcmd_unchecked': , 'shell_quote': , 'ssh_runcmd': , 'hook': , 'Hook': , 'FilterHook': , 'hookmgr': , 'HookManager': , 'plugin': , 'Plugin': , 'pluginmgr': , 'PluginManager': , '__all__': {...}} (in module cliapp) -- ignoring __all__ looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 12%] example writing output... [ 25%] index writing output... [ 37%] logging writing output... [ 50%] manpages writing output... [ 62%] profiling writing output... [ 75%] refman writing output... [ 87%] subcommands writing output... [100%] walkthrough generating indices... genindex py-modindexdone writing additional pages... searchdone copying static files... ... done copying extra files... done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 2 warnings. The HTML pages are in _build/html. Build finished. The HTML pages are in _build/html. make[1]: Leaving directory '/usr/src/RPM/BUILD/python3-module-cliapp-1.20160724/doc' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.94080 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-cliapp-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-cliapp-buildroot + cd python3-module-cliapp-1.20160724 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python3-module-cliapp-buildroot --force running install running install_lib creating /usr/src/tmp/python3-module-cliapp-buildroot creating /usr/src/tmp/python3-module-cliapp-buildroot/usr creating /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib creating /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp copying build/lib/cliapp/__init__.py -> /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp copying build/lib/cliapp/app_tests.py -> /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp copying build/lib/cliapp/fmt.py -> /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp copying build/lib/cliapp/fmt_tests.py -> /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp copying build/lib/cliapp/genman.py -> /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp copying build/lib/cliapp/hook.py -> /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp copying build/lib/cliapp/hook_tests.py -> /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp copying build/lib/cliapp/hookmgr.py -> /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp copying build/lib/cliapp/hookmgr_tests.py -> /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp copying build/lib/cliapp/plugin.py -> /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp copying build/lib/cliapp/plugin_tests.py -> /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp copying build/lib/cliapp/pluginmgr.py -> /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp copying build/lib/cliapp/pluginmgr_tests.py -> /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp copying build/lib/cliapp/runcmd.py -> /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp copying build/lib/cliapp/runcmd_tests.py -> /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp copying build/lib/cliapp/settings.py -> /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp copying build/lib/cliapp/settings_tests.py -> /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp copying build/lib/cliapp/util.py -> /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp copying build/lib/cliapp/version.py -> /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp copying build/lib/cliapp/app.py -> /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp byte-compiling /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__init__.py to __init__.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/app_tests.py to app_tests.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/fmt.py to fmt.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/fmt_tests.py to fmt_tests.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/genman.py to genman.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/hook.py to hook.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/hook_tests.py to hook_tests.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/hookmgr.py to hookmgr.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/hookmgr_tests.py to hookmgr_tests.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/plugin.py to plugin.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/plugin_tests.py to plugin_tests.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/pluginmgr.py to pluginmgr.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/pluginmgr_tests.py to pluginmgr_tests.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/runcmd.py to runcmd.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/runcmd_tests.py to runcmd_tests.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/settings.py to settings.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/settings_tests.py to settings_tests.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/util.py to util.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/version.py to version.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/app.py to app.cpython-38.pyc running install_data creating /usr/src/tmp/python3-module-cliapp-buildroot/usr/share creating /usr/src/tmp/python3-module-cliapp-buildroot/usr/share/man creating /usr/src/tmp/python3-module-cliapp-buildroot/usr/share/man/man5 copying cliapp.5 -> /usr/src/tmp/python3-module-cliapp-buildroot/usr/share/man/man5 running install_egg_info Writing /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp-1.20160724-py3.8.egg-info + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-cliapp-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-cliapp-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python3-module-cliapp-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-cliapp-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-cliapp-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python3-module-cliapp-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/python3-module-cliapp-buildroot using /usr/bin/python2.7 Bytecompiling python modules with optimization in /usr/src/tmp/python3-module-cliapp-buildroot using /usr/bin/python2.7 -O Bytecompiling python3 modules in /usr/src/tmp/python3-module-cliapp-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__pycache__/__init__.cpython-38.pyc unlink /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__pycache__/app.cpython-38.pyc unlink /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__pycache__/app_tests.cpython-38.pyc unlink /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__pycache__/fmt.cpython-38.pyc unlink /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__pycache__/fmt_tests.cpython-38.pyc unlink /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__pycache__/genman.cpython-38.pyc unlink /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__pycache__/hook.cpython-38.pyc unlink /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__pycache__/hook_tests.cpython-38.pyc unlink /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__pycache__/hookmgr.cpython-38.pyc unlink /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__pycache__/hookmgr_tests.cpython-38.pyc unlink /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__pycache__/plugin.cpython-38.pyc unlink /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__pycache__/plugin_tests.cpython-38.pyc unlink /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__pycache__/pluginmgr.cpython-38.pyc unlink /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__pycache__/pluginmgr_tests.cpython-38.pyc unlink /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__pycache__/runcmd.cpython-38.pyc unlink /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__pycache__/runcmd_tests.cpython-38.pyc unlink /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__pycache__/settings.cpython-38.pyc unlink /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__pycache__/settings_tests.cpython-38.pyc unlink /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__pycache__/util.cpython-38.pyc unlink /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__pycache__/version.cpython-38.pyc compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__init__.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/app.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/app_tests.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/fmt.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/fmt_tests.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/genman.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/hook.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/hook_tests.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/hookmgr.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/hookmgr_tests.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/plugin.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/plugin_tests.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/pluginmgr.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/pluginmgr_tests.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/runcmd.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/runcmd_tests.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/settings.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/settings_tests.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/util.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/version.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-cliapp-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__init__.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/app.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/app_tests.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/fmt.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/fmt_tests.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/genman.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/hook.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/hook_tests.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/hookmgr.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/hookmgr_tests.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/plugin.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/plugin_tests.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/pluginmgr.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/pluginmgr_tests.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/runcmd.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/runcmd_tests.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/settings.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/settings_tests.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/util.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/version.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-cliapp-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__init__.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/app.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/app_tests.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/fmt.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/fmt_tests.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/genman.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/hook.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/hook_tests.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/hookmgr.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/hookmgr_tests.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/plugin.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/plugin_tests.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/pluginmgr.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/pluginmgr_tests.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/runcmd.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/runcmd_tests.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/settings.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/settings_tests.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/util.py compile /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/version.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/cliapp/__pycache__/version.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/cliapp/__pycache__/version.cpython-38.pyc' './usr/lib/python3/site-packages/cliapp/__pycache__/version.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/cliapp/__pycache__/version.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/cliapp/__pycache__/util.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/cliapp/__pycache__/util.cpython-38.pyc' './usr/lib/python3/site-packages/cliapp/__pycache__/settings_tests.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/cliapp/__pycache__/settings_tests.cpython-38.pyc' './usr/lib/python3/site-packages/cliapp/__pycache__/settings_tests.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/cliapp/__pycache__/settings_tests.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/cliapp/__pycache__/runcmd_tests.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/cliapp/__pycache__/runcmd_tests.cpython-38.pyc' './usr/lib/python3/site-packages/cliapp/__pycache__/runcmd_tests.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/cliapp/__pycache__/runcmd_tests.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/cliapp/__pycache__/runcmd.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/cliapp/__pycache__/runcmd.cpython-38.pyc' './usr/lib/python3/site-packages/cliapp/__pycache__/pluginmgr_tests.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/cliapp/__pycache__/pluginmgr_tests.cpython-38.pyc' './usr/lib/python3/site-packages/cliapp/__pycache__/pluginmgr_tests.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/cliapp/__pycache__/pluginmgr_tests.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/cliapp/__pycache__/pluginmgr.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/cliapp/__pycache__/pluginmgr.cpython-38.pyc' './usr/lib/python3/site-packages/cliapp/__pycache__/plugin_tests.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/cliapp/__pycache__/plugin_tests.cpython-38.pyc' './usr/lib/python3/site-packages/cliapp/__pycache__/plugin_tests.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/cliapp/__pycache__/plugin_tests.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/cliapp/__pycache__/plugin.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/cliapp/__pycache__/plugin.cpython-38.pyc' './usr/lib/python3/site-packages/cliapp/__pycache__/hookmgr_tests.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/cliapp/__pycache__/hookmgr_tests.cpython-38.pyc' './usr/lib/python3/site-packages/cliapp/__pycache__/hookmgr_tests.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/cliapp/__pycache__/hookmgr_tests.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/cliapp/__pycache__/hookmgr.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/cliapp/__pycache__/hookmgr.cpython-38.pyc' './usr/lib/python3/site-packages/cliapp/__pycache__/hook_tests.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/cliapp/__pycache__/hook_tests.cpython-38.pyc' './usr/lib/python3/site-packages/cliapp/__pycache__/hook_tests.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/cliapp/__pycache__/hook_tests.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/cliapp/__pycache__/hook.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/cliapp/__pycache__/hook.cpython-38.pyc' './usr/lib/python3/site-packages/cliapp/__pycache__/genman.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/cliapp/__pycache__/genman.cpython-38.pyc' './usr/lib/python3/site-packages/cliapp/__pycache__/fmt_tests.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/cliapp/__pycache__/fmt_tests.cpython-38.pyc' './usr/lib/python3/site-packages/cliapp/__pycache__/fmt_tests.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/cliapp/__pycache__/fmt_tests.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/cliapp/__pycache__/app_tests.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/cliapp/__pycache__/app_tests.cpython-38.pyc' './usr/lib/python3/site-packages/cliapp/__pycache__/app_tests.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/cliapp/__pycache__/app_tests.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/cliapp/__pycache__/__init__.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/cliapp/__pycache__/__init__.cpython-38.pyc' Hardlinking identical .pyc and .pyo files Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.82768 Check is turned off by --without check Processing files: python3-module-cliapp-1.20160724-alt3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.82768 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-cliapp-1.20160724 + DOCDIR=/usr/src/tmp/python3-module-cliapp-buildroot/usr/share/doc/python3-module-cliapp-1.20160724 + export DOCDIR + rm -rf /usr/src/tmp/python3-module-cliapp-buildroot/usr/share/doc/python3-module-cliapp-1.20160724 + /bin/mkdir -p /usr/src/tmp/python3-module-cliapp-buildroot/usr/share/doc/python3-module-cliapp-1.20160724 + cp -prL COPYING NEWS README /usr/src/tmp/python3-module-cliapp-buildroot/usr/share/doc/python3-module-cliapp-1.20160724 + chmod -R go-w /usr/src/tmp/python3-module-cliapp-buildroot/usr/share/doc/python3-module-cliapp-1.20160724 + chmod -R a+rX /usr/src/tmp/python3-module-cliapp-buildroot/usr/share/doc/python3-module-cliapp-1.20160724 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.mZkOQR find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.bzoOKT find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__init__.py: line=30 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__init__.py: line=33 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__init__.py: line=34 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__init__.py: line=35 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__init__.py: line=36 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__init__.py: line=39 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__init__.py: line=42 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__init__.py: line=43 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__init__.py: line=44 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/__init__.py: line=45 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/app.py: skipping errno python3.req: /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/app.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/app.py: line=138 IGNORE (for REQ=slight and deep=15) module=cProfile python3.req: /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/app_tests.py: skipping sys python3.req: /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/runcmd.py: skipping errno python3.req: /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/settings.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/settings.py: line=27 IGNORE (for REQ=slight and deep=8) module=xdg.BaseDirectory python3.req: /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/util.py: skipping gc python3.req: /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/util.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-cliapp-buildroot/usr/lib/python3/site-packages/cliapp/util.py: line=78 IGNORE (for REQ=slight and deep=15) module=meliae Provides: python3(cliapp), python3(cliapp.app), python3(cliapp.app_tests), python3(cliapp.fmt), python3(cliapp.fmt_tests), python3(cliapp.genman), python3(cliapp.hook), python3(cliapp.hook_tests), python3(cliapp.hookmgr), python3(cliapp.hookmgr_tests), python3(cliapp.plugin), python3(cliapp.plugin_tests), python3(cliapp.pluginmgr), python3(cliapp.pluginmgr_tests), python3(cliapp.runcmd), python3(cliapp.runcmd_tests), python3(cliapp.settings), python3(cliapp.settings_tests), python3(cliapp.util), python3(cliapp.version) Requires: /usr/lib/python3/site-packages, python3(configparser) < 0, python3(fcntl) < 0, python3(imp) < 0, python3(inspect) < 0, python3(io) < 0, python3(logging) < 0, python3(logging.handlers) < 0, python3(optparse) < 0, python3(os) < 0, python3(platform) < 0, python3(re) < 0, python3(select) < 0, python3(subprocess) < 0, python3(tempfile) < 0, python3(textwrap) < 0, python3(traceback) < 0, python3(unittest) < 0, python3(yaml) < 0 Processing files: python3-module-cliapp-doc-1.20160724-alt3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.64779 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-cliapp-1.20160724 + DOCDIR=/usr/src/tmp/python3-module-cliapp-buildroot/usr/share/doc/python3-module-cliapp-doc-1.20160724 + export DOCDIR + rm -rf /usr/src/tmp/python3-module-cliapp-buildroot/usr/share/doc/python3-module-cliapp-doc-1.20160724 + /bin/mkdir -p /usr/src/tmp/python3-module-cliapp-buildroot/usr/share/doc/python3-module-cliapp-doc-1.20160724 + cp -prL doc/_build/html/_sources doc/_build/html/_static doc/_build/html/example.html doc/_build/html/genindex.html doc/_build/html/index.html doc/_build/html/logging.html doc/_build/html/manpages.html doc/_build/html/objects.inv doc/_build/html/profiling.html doc/_build/html/py-modindex.html doc/_build/html/refman.html doc/_build/html/search.html doc/_build/html/searchindex.js doc/_build/html/subcommands.html doc/_build/html/walkthrough.html /usr/src/tmp/python3-module-cliapp-buildroot/usr/share/doc/python3-module-cliapp-doc-1.20160724 + chmod -R go-w /usr/src/tmp/python3-module-cliapp-buildroot/usr/share/doc/python3-module-cliapp-doc-1.20160724 + chmod -R a+rX /usr/src/tmp/python3-module-cliapp-buildroot/usr/share/doc/python3-module-cliapp-doc-1.20160724 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Ch0EFU find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.f2DGBV find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Wrote: /usr/src/RPM/RPMS/noarch/python3-module-cliapp-1.20160724-alt3.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python3-module-cliapp-doc-1.20160724-alt3.noarch.rpm 13.96user 0.78system 0:18.22elapsed 80%CPU (0avgtext+0avgdata 35392maxresident)k 0inputs+0outputs (0major+229052minor)pagefaults 0swaps 22.63user 4.45system 0:30.93elapsed 87%CPU (0avgtext+0avgdata 110432maxresident)k 0inputs+0outputs (0major+722959minor)pagefaults 0swaps