<86>Apr 1 10:19:07 userdel[1229385]: delete user 'rooter' <86>Apr 1 10:19:07 userdel[1229385]: removed group 'rooter' owned by 'rooter' <86>Apr 1 10:19:07 userdel[1229385]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 1 10:19:07 groupadd[1229504]: group added to /etc/group: name=rooter, GID=579 <86>Apr 1 10:19:07 groupadd[1229504]: group added to /etc/gshadow: name=rooter <86>Apr 1 10:19:07 groupadd[1229504]: new group: name=rooter, GID=579 <86>Apr 1 10:19:07 useradd[1229530]: new user: name=rooter, UID=579, GID=579, home=/root, shell=/bin/bash <86>Apr 1 10:19:07 userdel[1229563]: delete user 'builder' <86>Apr 1 10:19:07 userdel[1229563]: removed group 'builder' owned by 'builder' <86>Apr 1 10:19:07 userdel[1229563]: removed shadow group 'builder' owned by 'builder' <86>Apr 1 10:19:07 groupadd[1229577]: group added to /etc/group: name=builder, GID=580 <86>Apr 1 10:19:07 groupadd[1229577]: group added to /etc/gshadow: name=builder <86>Apr 1 10:19:07 groupadd[1229577]: new group: name=builder, GID=580 <86>Apr 1 10:19:07 useradd[1229599]: new user: name=builder, UID=580, GID=580, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/python3-module-zope.optionalextension-1.1-alt5.src.rpm: license not found in '/usr/share/license' directory: ZPLv2.1 <13>Apr 1 10:19:09 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Apr 1 10:19:09 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Apr 1 10:19:09 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Apr 1 10:19:09 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Apr 1 10:19:09 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 1 10:19:09 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 1 10:19:09 rpmi: ca-certificates-2020.01.23-alt1 sisyphus+244791.300.2.1 1580285500 installed <13>Apr 1 10:19:09 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Apr 1 10:19:09 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Apr 1 10:19:10 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Apr 1 10:19:10 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Apr 1 10:19:10 rpmi: python3-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>Apr 1 10:19:11 rpmi: python3-base-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>Apr 1 10:19:11 rpmi: libpython3-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>Apr 1 10:19:11 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Apr 1 10:19:11 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Apr 1 10:19:13 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Apr 1 10:19:13 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Apr 1 10:19:13 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Apr 1 10:19:13 groupadd[1247311]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 1 10:19:13 groupadd[1247311]: group added to /etc/gshadow: name=_keytab <86>Apr 1 10:19:13 groupadd[1247311]: new group: name=_keytab, GID=499 <13>Apr 1 10:19:13 rpmi: libkrb5-1.17.1-alt1 sisyphus+242784.100.1.1 1576137330 installed <13>Apr 1 10:19:13 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Apr 1 10:19:13 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Apr 1 10:19:13 rpmi: python-modules-encodings-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 10:19:13 rpmi: python-modules-compiler-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 10:19:13 rpmi: python-modules-email-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 10:19:14 rpmi: python-modules-unittest-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 10:19:14 rpmi: python-modules-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 10:19:14 rpmi: python-modules-nis-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 10:19:14 rpmi: python-modules-ctypes-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 10:19:14 rpmi: python-modules-multiprocessing-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 10:19:14 rpmi: python-modules-logging-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 10:19:14 rpmi: python-tools-2to3-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-zope.optionalextension-1.1-alt5.nosrc.rpm <13>Apr 1 10:19:17 rpmi: python3-module-pkg_resources-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed <13>Apr 1 10:19:17 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Apr 1 10:19:17 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Apr 1 10:19:17 rpmi: python3-dev-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>Apr 1 10:19:17 rpmi: python3-module-setuptools-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed Installing python3-module-zope.optionalextension-1.1-alt5.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.32796 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-zope.optionalextension-1.1 + echo 'Source #0 (python3-module-zope.optionalextension-1.1.tar):' Source #0 (python3-module-zope.optionalextension-1.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-zope.optionalextension-1.1.tar + cd python3-module-zope.optionalextension-1.1 + /bin/chmod -c -Rf u+rwX,go-w . + find ./ -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./src/zope/optionalextension/tests/test_build_ext.py RefactoringTool: Refactored ./src/zope/optionalextension/build_ext.py RefactoringTool: No changes to ./src/zope/__init__.py RefactoringTool: No changes to ./setup.py RefactoringTool: Refactored ./bootstrap.py RefactoringTool: Files that were modified: RefactoringTool: ./src/zope/optionalextension/tests/test_build_ext.py RefactoringTool: ./src/zope/optionalextension/build_ext.py RefactoringTool: ./src/zope/__init__.py RefactoringTool: ./setup.py RefactoringTool: ./bootstrap.py --- ./src/zope/optionalextension/tests/test_build_ext.py (original) +++ ./src/zope/optionalextension/tests/test_build_ext.py (refactored) @@ -35,21 +35,21 @@ return DummyExtension(name, sources) def _makeStream(self): - from StringIO import StringIO + from io import StringIO return StringIO() def test_run(self): command = self._makeOne() command.extensions = [self._makeExtension('aaa', ['foo.c'])] command.run() # doesn't raise - self.failUnless('CompileError' in command._stream.getvalue()) + self.assertTrue('CompileError' in command._stream.getvalue()) def test_build_extension(self): command = self._makeOne() command.compiler = DummyCompiler() ext = self._makeExtension('aaa', ['foo.c']) command.build_extension(ext) # doesn't raise - self.failUnless('TESTING' in command._stream.getvalue()) + self.assertTrue('TESTING' in command._stream.getvalue()) class DummyCompiler: --- ./src/zope/optionalextension/build_ext.py (original) +++ ./src/zope/optionalextension/build_ext.py (refactored) @@ -33,13 +33,13 @@ def run(self): try: build_ext.run(self) - except DistutilsPlatformError, e: + except DistutilsPlatformError as e: self._unavailable(e) def build_extension(self, ext): try: build_ext.build_extension(self, ext) - except (CCompilerError, DistutilsExecError), e: + except (CCompilerError, DistutilsExecError) as e: self._unavailable(e) def _unavailable(self, e): --- ./bootstrap.py (original) +++ ./bootstrap.py (refactored) @@ -20,13 +20,13 @@ $Id: bootstrap.py 72703 2007-02-20 11:49:26Z jim $ """ -import os, shutil, sys, tempfile, urllib2 +import os, shutil, sys, tempfile, urllib.request, urllib.error, urllib.parse tmpeggs = tempfile.mkdtemp() ez = {} -exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py' - ).read() in ez +exec(urllib.request.urlopen('http://peak.telecommunity.com/dist/ez_setup.py' + ).read(), ez) ez['use_setuptools'](to_dir=tmpeggs, download_delay=0) import pkg_resources + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.77223 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-zope.optionalextension-1.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py build running build running build_py creating build creating build/lib creating build/lib/zope copying src/zope/__init__.py -> build/lib/zope package init file 'src/zope/optionalextension/__init__.py' not found (or not a regular file) creating build/lib/zope/optionalextension copying src/zope/optionalextension/build_ext.py -> build/lib/zope/optionalextension + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.12320 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-zope.optionalextension-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-zope.optionalextension-buildroot + cd python3-module-zope.optionalextension-1.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python3-module-zope.optionalextension-buildroot --force running install running install_lib creating /usr/src/tmp/python3-module-zope.optionalextension-buildroot creating /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr creating /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/lib creating /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/lib/python3/site-packages/zope creating /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/lib/python3/site-packages/zope/optionalextension copying build/lib/zope/optionalextension/build_ext.py -> /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/lib/python3/site-packages/zope/optionalextension copying build/lib/zope/__init__.py -> /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/lib/python3/site-packages/zope byte-compiling /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/lib/python3/site-packages/zope/optionalextension/build_ext.py to build_ext.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/lib/python3/site-packages/zope/__init__.py to __init__.cpython-38.pyc running install_egg_info running egg_info writing src/zope.optionalextension.egg-info/PKG-INFO writing dependency_links to src/zope.optionalextension.egg-info/dependency_links.txt writing top-level names to src/zope.optionalextension.egg-info/top_level.txt package init file 'src/zope/optionalextension/__init__.py' not found (or not a regular file) reading manifest file 'src/zope.optionalextension.egg-info/SOURCES.txt' writing manifest file 'src/zope.optionalextension.egg-info/SOURCES.txt' Copying src/zope.optionalextension.egg-info to /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/lib/python3/site-packages/zope.optionalextension-1.1-py3.8.egg-info running install_scripts + rm -f /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/lib/python3/site-packages/zope/__init__.py + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-zope.optionalextension-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-zope.optionalextension-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python3-module-zope.optionalextension-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-zope.optionalextension-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-zope.optionalextension-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python3-module-zope.optionalextension-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/python3-module-zope.optionalextension-buildroot using /usr/bin/python2.7 Bytecompiling python modules with optimization in /usr/src/tmp/python3-module-zope.optionalextension-buildroot using /usr/bin/python2.7 -O Bytecompiling python3 modules in /usr/src/tmp/python3-module-zope.optionalextension-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/lib/python3/site-packages/zope/__pycache__/__init__.cpython-38.pyc unlink /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/lib/python3/site-packages/zope/optionalextension/__pycache__/build_ext.cpython-38.pyc compile /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/lib/python3/site-packages/zope/optionalextension/build_ext.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-zope.optionalextension-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/lib/python3/site-packages/zope/optionalextension/build_ext.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-zope.optionalextension-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/lib/python3/site-packages/zope/optionalextension/build_ext.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/zope/optionalextension/__pycache__/build_ext.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/zope/optionalextension/__pycache__/build_ext.cpython-38.pyc' Hardlinking identical .pyc and .pyo files Processing files: python3-module-zope.optionalextension-1.1-alt5 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.11603 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-zope.optionalextension-1.1 + DOCDIR=/usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/share/doc/python3-module-zope.optionalextension-1.1 + export DOCDIR + rm -rf /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/share/doc/python3-module-zope.optionalextension-1.1 + /bin/mkdir -p /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/share/doc/python3-module-zope.optionalextension-1.1 + cp -prL CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/share/doc/python3-module-zope.optionalextension-1.1 + chmod -R go-w /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/share/doc/python3-module-zope.optionalextension-1.1 + chmod -R a+rX /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/share/doc/python3-module-zope.optionalextension-1.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.iHaEoD 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.bIxIQz find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) python3.req: /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/lib/python3/site-packages/zope/optionalextension/build_ext.py: skipping sys Requires: python3(zope) < 0, /usr/lib/python3/site-packages, python3(distutils.command.build_ext) < 0, python3(distutils.errors) < 0, python3(traceback) < 0 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.rRRFmD Wrote: /usr/src/RPM/RPMS/i586/python3-module-zope.optionalextension-1.1-alt5.i586.rpm 8.78user 0.92system 0:14.55elapsed 66%CPU (0avgtext+0avgdata 19776maxresident)k 0inputs+0outputs (0major+138487minor)pagefaults 0swaps /.out/python3-module-zope.optionalextension-1.1-alt5.i586.rpm: license not found in '/usr/share/license' directory: ZPLv2.1 17.12user 5.42system 0:29.47elapsed 76%CPU (0avgtext+0avgdata 108968maxresident)k 0inputs+0outputs (0major+577080minor)pagefaults 0swaps --- python3-module-zope.optionalextension-1.1-alt5.i586.rpm.repo 2019-11-28 15:54:06.000000000 +0000 +++ python3-module-zope.optionalextension-1.1-alt5.i586.rpm.hasher 2020-04-01 10:19:34.539146054 +0000 @@ -1,7 +1,7 @@ /usr/lib/python3/site-packages/zope 40755 -/usr/lib/python3/site-packages/zope.optionalextension-1.1-py3.7.egg-info 40755 -/usr/lib/python3/site-packages/zope.optionalextension-1.1-py3.7.egg-info/PKG-INFO 100644 -/usr/lib/python3/site-packages/zope.optionalextension-1.1-py3.7.egg-info/SOURCES.txt 100644 -/usr/lib/python3/site-packages/zope.optionalextension-1.1-py3.7.egg-info/dependency_links.txt 100644 -/usr/lib/python3/site-packages/zope.optionalextension-1.1-py3.7.egg-info/top_level.txt 100644 +/usr/lib/python3/site-packages/zope.optionalextension-1.1-py3.8.egg-info 40755 +/usr/lib/python3/site-packages/zope.optionalextension-1.1-py3.8.egg-info/PKG-INFO 100644 +/usr/lib/python3/site-packages/zope.optionalextension-1.1-py3.8.egg-info/SOURCES.txt 100644 +/usr/lib/python3/site-packages/zope.optionalextension-1.1-py3.8.egg-info/dependency_links.txt 100644 +/usr/lib/python3/site-packages/zope.optionalextension-1.1-py3.8.egg-info/top_level.txt 100644 /usr/lib/python3/site-packages/zope/__pycache__ 40755 @@ -9,5 +9,5 @@ /usr/lib/python3/site-packages/zope/optionalextension/__pycache__ 40755 -/usr/lib/python3/site-packages/zope/optionalextension/__pycache__/build_ext.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/zope/optionalextension/__pycache__/build_ext.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/zope/optionalextension/__pycache__/build_ext.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/zope/optionalextension/__pycache__/build_ext.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/zope/optionalextension/__pycache__/build_ext.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/zope/optionalextension/__pycache__/build_ext.cpython-38.pyc 100644 /usr/lib/python3/site-packages/zope/optionalextension/build_ext.py 100644