<86>Jan 11 09:27:50 userdel[6674]: delete user 'rooter' <86>Jan 11 09:27:50 groupadd[6793]: group added to /etc/group: name=rooter, GID=567 <86>Jan 11 09:27:50 groupadd[6793]: group added to /etc/gshadow: name=rooter <86>Jan 11 09:27:50 groupadd[6793]: new group: name=rooter, GID=567 <86>Jan 11 09:27:50 useradd[6899]: new user: name=rooter, UID=567, GID=567, home=/root, shell=/bin/bash <86>Jan 11 09:27:50 userdel[7095]: delete user 'builder' <86>Jan 11 09:27:50 userdel[7095]: removed group 'builder' owned by 'builder' <86>Jan 11 09:27:50 userdel[7095]: removed shadow group 'builder' owned by 'builder' <86>Jan 11 09:27:50 groupadd[7246]: group added to /etc/group: name=builder, GID=568 <86>Jan 11 09:27:50 groupadd[7246]: group added to /etc/gshadow: name=builder <86>Jan 11 09:27:50 groupadd[7246]: new group: name=builder, GID=568 <86>Jan 11 09:27:50 useradd[7305]: new user: name=builder, UID=568, GID=568, home=/usr/src, shell=/bin/bash <13>Jan 11 09:27:54 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Jan 11 09:27:54 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Jan 11 09:27:54 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Jan 11 09:27:54 rpmi: libtasn1-4.15.0-alt1 sisyphus+241940.100.1.1 1574959866 installed <13>Jan 11 09:27:54 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 11 09:27:54 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 11 09:27:54 rpmi: ca-certificates-2019.10.28-alt1 sisyphus+239875.300.1.1 1572267834 installed <13>Jan 11 09:27:54 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Jan 11 09:27:54 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Jan 11 09:27:54 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Jan 11 09:27:54 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Jan 11 09:27:54 rpmi: python3-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Jan 11 09:27:54 rpmi: libpython3-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Jan 11 09:27:55 rpmi: python3-base-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Jan 11 09:27:55 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Jan 11 09:27:55 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Jan 11 09:28:01 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Jan 11 09:28:01 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Jan 11 09:28:01 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Jan 11 09:28:01 groupadd[35159]: group added to /etc/group: name=_keytab, GID=499 <86>Jan 11 09:28:01 groupadd[35159]: group added to /etc/gshadow: name=_keytab <86>Jan 11 09:28:01 groupadd[35159]: new group: name=_keytab, GID=499 <13>Jan 11 09:28:01 rpmi: libkrb5-1.17.1-alt1 sisyphus+242784.100.1.1 1576137330 installed <13>Jan 11 09:28:01 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Jan 11 09:28:01 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Jan 11 09:28:01 rpmi: python-modules-encodings-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 11 09:28:01 rpmi: python-modules-compiler-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 11 09:28:01 rpmi: python-modules-email-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 11 09:28:01 rpmi: python-modules-unittest-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 11 09:28:02 rpmi: python-modules-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 11 09:28:02 rpmi: python-modules-nis-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 11 09:28:02 rpmi: python-modules-ctypes-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 11 09:28:02 rpmi: python-modules-multiprocessing-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 11 09:28:02 rpmi: python-modules-logging-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 11 09:28:02 rpmi: python-tools-2to3-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 11 09:28:02 rpmi: python3-module-wrapt-1.11.2-alt1 sisyphus+232572.300.1.1 1560924784 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-logtool-0.2.11-alt2.nosrc.rpm <13>Jan 11 09:28:05 rpmi: python3-module-pkg_resources-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed <13>Jan 11 09:28:05 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Jan 11 09:28:05 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Jan 11 09:28:05 rpmi: python3-dev-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Jan 11 09:28:05 rpmi: python3-module-setuptools-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed Installing python3-module-logtool-0.2.11-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.79956 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-logtool-0.2.11 + echo 'Source #0 (python3-module-logtool-0.2.11.tar):' Source #0 (python3-module-logtool-0.2.11.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-logtool-0.2.11.tar + cd python3-module-logtool-0.2.11 + /bin/chmod -c -Rf u+rwX,go-w . ++ find ./ -name '*.py' + sed -i 's|#!.*/usr/bin/env python|#!/usr/bin/env python3|' ./setup.py ./logtool/logtime.py ./logtool/log_wrap.py ./logtool/log_fault_impl.py ./logtool/__init__.py + sed -i 's|@VERSION@|0.2.11|' logtool/__init__.py + sed -i 's|@V1@|0|' logtool/__init__.py + sed -i 's|@V2@|2|' logtool/__init__.py + sed -i 's|@V3@|11|' logtool/__init__.py + 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 ./setup.py RefactoringTool: No changes to ./logtool/__init__.py RefactoringTool: Refactored ./logtool/log_fault_impl.py RefactoringTool: Refactored ./logtool/log_wrap.py RefactoringTool: No changes to ./logtool/logtime.py RefactoringTool: Files that were modified: RefactoringTool: ./setup.py RefactoringTool: ./logtool/__init__.py RefactoringTool: ./logtool/log_fault_impl.py RefactoringTool: ./logtool/log_wrap.py RefactoringTool: ./logtool/logtime.py --- ./logtool/log_fault_impl.py (original) +++ ./logtool/log_fault_impl.py (refactored) @@ -1,7 +1,7 @@ #!/usr/bin/env python3 import logging, sys -from StringIO import StringIO +from io import StringIO from logtool import log_call # logging.basicConfig (level = logging.INFO) @@ -14,7 +14,7 @@ yield ("Frame %s in %s at line %s" %(frame.f_code.co_name, frame.f_code.co_filename, frame.f_lineno)) - for key, value in frame.f_locals.items (): + for key, value in list(frame.f_locals.items ()): s = "%20s = " % key # We have to be careful not to cause a new error in our error # printer! Calling str() on an unknown object could cause an --- ./logtool/log_wrap.py (original) +++ ./logtool/log_wrap.py (refactored) @@ -79,13 +79,13 @@ self.log_level = log_level def __call__ (self, fn, instance, args, kwargs): - argnames = fn.func_code.co_varnames[:fn.func_code.co_argcount] + argnames = fn.__code__.co_varnames[:fn.__code__.co_argcount] log_this = LOG.isEnabledFor (self.log_level) if self.log_enter and log_this: if self.log_args: x_args = args if not instance else ((instance,) + args) arg_str = ", ".join ("%s=%r" % entry for entry in - zip (argnames, x_args) + kwargs.items ()) + list(zip (argnames, x_args)) + list(kwargs.items ())) else: arg_str = "..." LOG.log (self.log_level, "Called: %s:%s:%s (%s)", + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.37415 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-logtool-0.2.11 + 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 --debug running build running build_py creating build creating build/lib creating build/lib/logtool copying logtool/__init__.py -> build/lib/logtool copying logtool/log_fault_impl.py -> build/lib/logtool copying logtool/log_wrap.py -> build/lib/logtool copying logtool/logtime.py -> build/lib/logtool + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.64194 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-logtool-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-logtool-buildroot + cd python3-module-logtool-0.2.11 + 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-logtool-buildroot --force running install running install_lib creating /usr/src/tmp/python3-module-logtool-buildroot creating /usr/src/tmp/python3-module-logtool-buildroot/usr creating /usr/src/tmp/python3-module-logtool-buildroot/usr/lib creating /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool copying build/lib/logtool/logtime.py -> /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool copying build/lib/logtool/log_wrap.py -> /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool copying build/lib/logtool/log_fault_impl.py -> /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool copying build/lib/logtool/__init__.py -> /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool byte-compiling /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool/logtime.py to logtime.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool/log_wrap.py to log_wrap.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool/log_fault_impl.py to log_fault_impl.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool/__init__.py to __init__.cpython-37.pyc running install_egg_info running egg_info creating logtool.egg-info writing logtool.egg-info/PKG-INFO writing dependency_links to logtool.egg-info/dependency_links.txt writing entry points to logtool.egg-info/entry_points.txt writing requirements to logtool.egg-info/requires.txt writing top-level names to logtool.egg-info/top_level.txt writing manifest file 'logtool.egg-info/SOURCES.txt' reading manifest file 'logtool.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'logtool.egg-info/SOURCES.txt' Copying logtool.egg-info to /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool-0.2.11-py3.7.egg-info running install_scripts + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-logtool-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-logtool-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python3-module-logtool-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-logtool-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-logtool-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python3-module-logtool-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-logtool-buildroot using /usr/bin/python2.7 Bytecompiling python modules with optimization in /usr/src/tmp/python3-module-logtool-buildroot using /usr/bin/python2.7 -O Bytecompiling python3 modules in /usr/src/tmp/python3-module-logtool-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool/__pycache__/log_fault_impl.cpython-37.pyc unlink /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool/__pycache__/log_wrap.cpython-37.pyc unlink /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool/__pycache__/logtime.cpython-37.pyc compile /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool/__init__.py compile /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool/log_fault_impl.py compile /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool/log_wrap.py compile /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool/logtime.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-logtool-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool/__init__.py compile /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool/log_fault_impl.py compile /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool/log_wrap.py compile /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool/logtime.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-logtool-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool/__init__.py compile /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool/log_fault_impl.py compile /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool/log_wrap.py compile /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool/logtime.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/logtool/__pycache__/logtime.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/logtool/__pycache__/logtime.cpython-37.pyc' './usr/lib/python3/site-packages/logtool/__pycache__/log_wrap.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/logtool/__pycache__/log_wrap.cpython-37.pyc' './usr/lib/python3/site-packages/logtool/__pycache__/log_wrap.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/logtool/__pycache__/log_wrap.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/logtool/__pycache__/log_fault_impl.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/logtool/__pycache__/log_fault_impl.cpython-37.pyc' './usr/lib/python3/site-packages/logtool/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/logtool/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/logtool/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/logtool/__pycache__/__init__.cpython-37.opt-1.pyc' Hardlinking identical .pyc and .pyo files Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.86229 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-logtool-0.2.11 + /usr/bin/python3 setup.py test running test running egg_info writing logtool.egg-info/PKG-INFO writing dependency_links to logtool.egg-info/dependency_links.txt writing entry points to logtool.egg-info/entry_points.txt deleting logtool.egg-info/requires.txt writing top-level names to logtool.egg-info/top_level.txt reading manifest file 'logtool.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'logtool.egg-info/SOURCES.txt' running build_ext ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK + exit 0 Processing files: python3-module-logtool-0.2.11-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.29453 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-logtool-0.2.11 + DOCDIR=/usr/src/tmp/python3-module-logtool-buildroot/usr/share/doc/python3-module-logtool-0.2.11 + export DOCDIR + rm -rf /usr/src/tmp/python3-module-logtool-buildroot/usr/share/doc/python3-module-logtool-0.2.11 + /bin/mkdir -p /usr/src/tmp/python3-module-logtool-buildroot/usr/share/doc/python3-module-logtool-0.2.11 + cp -prL README.rst /usr/src/tmp/python3-module-logtool-buildroot/usr/share/doc/python3-module-logtool-0.2.11 + chmod -R go-w /usr/src/tmp/python3-module-logtool-buildroot/usr/share/doc/python3-module-logtool-0.2.11 + chmod -R a+rX /usr/src/tmp/python3-module-logtool-buildroot/usr/share/doc/python3-module-logtool-0.2.11 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Lssj4L 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.iprNDP 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-logtool-buildroot/usr/lib/python3/site-packages/logtool/log_fault_impl.py: skipping sys python3.req: /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool/log_wrap.py: skipping sys python3.req: /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool/log_wrap.py: skipping time python3.req: /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool/logtime.py: skipping time shebang.req.files: executable script /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool/__init__.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool/log_fault_impl.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool/log_wrap.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-logtool-buildroot/usr/lib/python3/site-packages/logtool/logtime.py is not executable Provides: python3(logtool), python3(logtool.log_fault_impl), python3(logtool.log_wrap), python3(logtool.logtime) Requires: python3(wrapt) < 0, /usr/lib/python3/site-packages, python3(datetime) < 0, python3(inspect) < 0, python3(io) < 0, python3(linecache) < 0, python3(logging) < 0, python3(os) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python3-module-logtool-0.2.11-alt2.noarch.rpm 7.91user 0.75system 0:11.23elapsed 77%CPU (0avgtext+0avgdata 19428maxresident)k 0inputs+0outputs (0major+146052minor)pagefaults 0swaps 19.45user 5.95system 0:31.25elapsed 81%CPU (0avgtext+0avgdata 109160maxresident)k 0inputs+0outputs (0major+623599minor)pagefaults 0swaps