<86>May 15 02:22:11 userdel[3958950]: delete user 'rooter' <86>May 15 02:22:11 userdel[3958950]: removed group 'rooter' owned by 'rooter' <86>May 15 02:22:11 userdel[3958950]: removed shadow group 'rooter' owned by 'rooter' <86>May 15 02:22:11 groupadd[3958955]: group added to /etc/group: name=rooter, GID=648 <86>May 15 02:22:11 groupadd[3958955]: group added to /etc/gshadow: name=rooter <86>May 15 02:22:11 groupadd[3958955]: new group: name=rooter, GID=648 <86>May 15 02:22:12 useradd[3958959]: new user: name=rooter, UID=648, GID=648, home=/root, shell=/bin/bash <86>May 15 02:22:12 userdel[3958965]: delete user 'builder' <86>May 15 02:22:12 userdel[3958965]: removed group 'builder' owned by 'builder' <86>May 15 02:22:12 userdel[3958965]: removed shadow group 'builder' owned by 'builder' <86>May 15 02:22:12 groupadd[3958970]: group added to /etc/group: name=builder, GID=649 <86>May 15 02:22:12 groupadd[3958970]: group added to /etc/gshadow: name=builder <86>May 15 02:22:12 groupadd[3958970]: new group: name=builder, GID=649 <86>May 15 02:22:12 useradd[3958980]: new user: name=builder, UID=649, GID=649, 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>May 15 02:22:15 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>May 15 02:22:15 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824514 installed <13>May 15 02:22:15 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274915 installed <13>May 15 02:22:15 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825069 installed <13>May 15 02:22:15 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 15 02:22:15 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 15 02:22:15 rpmi: ca-certificates-2021.03.24-alt1 sisyphus+268304.300.1.1 1616591829 installed <13>May 15 02:22:15 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>May 15 02:22:15 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274915 installed <13>May 15 02:22:15 rpmi: libcrypto1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684123 installed <13>May 15 02:22:15 rpmi: libssl1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684123 installed <13>May 15 02:22:15 rpmi: python3-3.9.5-alt1 sisyphus+271461.100.1.1 1620748574 installed <13>May 15 02:22:16 rpmi: python3-base-3.9.5-alt1 sisyphus+271461.100.1.1 1620748574 installed <13>May 15 02:22:16 rpmi: libpython3-3.9.5-alt1 sisyphus+271461.100.1.1 1620748574 installed <13>May 15 02:22:16 rpmi: tests-for-installed-python3-pkgs-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>May 15 02:22:16 rpmi: rpm-build-python3-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>May 15 02:22:19 rpmi: libpython-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>May 15 02:22:20 rpmi: python2-base-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>May 15 02:22:20 rpmi: python-modules-encodings-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>May 15 02:22:20 rpmi: python-modules-compiler-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>May 15 02:22:20 rpmi: python-modules-email-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>May 15 02:22:20 rpmi: python-modules-unittest-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>May 15 02:22:20 rpmi: python-modules-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>May 15 02:22:20 rpmi: python-modules-ctypes-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>May 15 02:22:20 rpmi: python-modules-multiprocessing-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>May 15 02:22:20 rpmi: python-modules-logging-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>May 15 02:22:20 rpmi: python-tools-2to3-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/python3-module-zope.optionalextension-1.1-alt5.nosrc.rpm (w1.gzdio) <13>May 15 02:22:23 rpmi: python3-module-pkg_resources-1:56.1.0-alt1 sisyphus+271297.100.1.1 1620375285 installed <13>May 15 02:22:23 rpmi: libtinfo-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851422 installed <13>May 15 02:22:23 rpmi: libncurses-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851422 installed <13>May 15 02:22:23 rpmi: python3-dev-3.9.5-alt1 sisyphus+271461.100.1.1 1620748574 installed <13>May 15 02:22:23 rpmi: python3-module-setuptools-1:56.1.0-alt1 sisyphus+271297.100.1.1 1620375285 installed Installing python3-module-zope.optionalextension-1.1-alt5.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.37742 + 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.35038 + 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' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + 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.37955 + 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 + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd python3-module-zope.optionalextension-1.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + 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-39.pyc byte-compiling /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/lib/python3/site-packages/zope/__init__.py to __init__.cpython-39.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) adding license file 'LICENSE.txt' (matched pattern 'LICEN[CS]E*') 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.9.egg-info running install_scripts + install -d /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/lib64/python3/site-packages + mv /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/lib/python3/site-packages/zope /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/lib/python3/site-packages/zope.optionalextension-1.1-py3.9.egg-info /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/lib64/python3/site-packages/ + rm -f /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/lib64/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,gnuconfig) 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/lib64: (from :0) ./usr/lib: (from :0) 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 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/lib64/python3/site-packages/zope/__pycache__/__init__.cpython-39.pyc unlink /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/lib64/python3/site-packages/zope/optionalextension/__pycache__/build_ext.cpython-39.pyc compile /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/lib64/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/lib64/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/lib64/python3/site-packages/zope/optionalextension/build_ext.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib64/python3/site-packages/zope/optionalextension/__pycache__/build_ext.cpython-39.opt-1.pyc' => './usr/lib64/python3/site-packages/zope/optionalextension/__pycache__/build_ext.cpython-39.pyc' Processing files: python3-module-zope.optionalextension-1.1-alt5 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.47290 + 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.8rcoBV 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.KkeTlY 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:6: DeprecationWarning: The parser module is deprecated and will be removed in future versions of Python import parser, symbol, token, types /usr/lib/rpm/python3.req.py:6: DeprecationWarning: The symbol module is deprecated and will be removed in future versions of Python import parser, symbol, token, types python3.req: /usr/src/tmp/python3-module-zope.optionalextension-buildroot/usr/lib64/python3/site-packages/zope/optionalextension/build_ext.py: skipping sys Requires: python3(zope) < 0, /usr/lib64/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.sJZ6eY Wrote: /usr/src/RPM/RPMS/x86_64/python3-module-zope.optionalextension-1.1-alt5.x86_64.rpm (w2.lzdio) 7.54user 1.24system 0:11.09elapsed 79%CPU (0avgtext+0avgdata 26128maxresident)k 0inputs+0outputs (0major+191586minor)pagefaults 0swaps /.out/python3-module-zope.optionalextension-1.1-alt5.x86_64.rpm: license not found in '/usr/share/license' directory: ZPLv2.1 18.52user 8.52system 0:28.94elapsed 93%CPU (0avgtext+0avgdata 109008maxresident)k 0inputs+0outputs (0major+643912minor)pagefaults 0swaps --- python3-module-zope.optionalextension-1.1-alt5.x86_64.rpm.repo 2019-11-28 15:54:06.000000000 +0000 +++ python3-module-zope.optionalextension-1.1-alt5.x86_64.rpm.hasher 2021-05-15 02:22:36.433024506 +0000 @@ -1,7 +1,7 @@ /usr/lib64/python3/site-packages/zope 40755 -/usr/lib64/python3/site-packages/zope.optionalextension-1.1-py3.7.egg-info 40755 -/usr/lib64/python3/site-packages/zope.optionalextension-1.1-py3.7.egg-info/PKG-INFO 100644 -/usr/lib64/python3/site-packages/zope.optionalextension-1.1-py3.7.egg-info/SOURCES.txt 100644 -/usr/lib64/python3/site-packages/zope.optionalextension-1.1-py3.7.egg-info/dependency_links.txt 100644 -/usr/lib64/python3/site-packages/zope.optionalextension-1.1-py3.7.egg-info/top_level.txt 100644 +/usr/lib64/python3/site-packages/zope.optionalextension-1.1-py3.9.egg-info 40755 +/usr/lib64/python3/site-packages/zope.optionalextension-1.1-py3.9.egg-info/PKG-INFO 100644 +/usr/lib64/python3/site-packages/zope.optionalextension-1.1-py3.9.egg-info/SOURCES.txt 100644 +/usr/lib64/python3/site-packages/zope.optionalextension-1.1-py3.9.egg-info/dependency_links.txt 100644 +/usr/lib64/python3/site-packages/zope.optionalextension-1.1-py3.9.egg-info/top_level.txt 100644 /usr/lib64/python3/site-packages/zope/__pycache__ 40755 @@ -9,5 +9,5 @@ /usr/lib64/python3/site-packages/zope/optionalextension/__pycache__ 40755 -/usr/lib64/python3/site-packages/zope/optionalextension/__pycache__/build_ext.cpython-37.opt-1.pyc 100644 -/usr/lib64/python3/site-packages/zope/optionalextension/__pycache__/build_ext.cpython-37.opt-2.pyc 100644 -/usr/lib64/python3/site-packages/zope/optionalextension/__pycache__/build_ext.cpython-37.pyc 100644 +/usr/lib64/python3/site-packages/zope/optionalextension/__pycache__/build_ext.cpython-39.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/zope/optionalextension/__pycache__/build_ext.cpython-39.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/zope/optionalextension/__pycache__/build_ext.cpython-39.pyc 100644 /usr/lib64/python3/site-packages/zope/optionalextension/build_ext.py 100644