<86>Apr 29 09:52:47 userdel[4048974]: delete user 'rooter' <86>Apr 29 09:52:47 userdel[4048974]: removed group 'rooter' owned by 'rooter' <86>Apr 29 09:52:47 userdel[4048974]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 29 09:52:47 groupadd[4048988]: group added to /etc/group: name=rooter, GID=621 <86>Apr 29 09:52:47 groupadd[4048988]: group added to /etc/gshadow: name=rooter <86>Apr 29 09:52:47 groupadd[4048988]: new group: name=rooter, GID=621 <86>Apr 29 09:52:47 useradd[4049002]: new user: name=rooter, UID=621, GID=621, home=/root, shell=/bin/bash <86>Apr 29 09:52:47 userdel[4049030]: delete user 'builder' <86>Apr 29 09:52:47 userdel[4049030]: removed group 'builder' owned by 'builder' <86>Apr 29 09:52:47 userdel[4049030]: removed shadow group 'builder' owned by 'builder' <86>Apr 29 09:52:47 groupadd[4049047]: group added to /etc/group: name=builder, GID=622 <86>Apr 29 09:52:47 groupadd[4049047]: group added to /etc/gshadow: name=builder <86>Apr 29 09:52:47 groupadd[4049047]: new group: name=builder, GID=622 <86>Apr 29 09:52:47 useradd[4049061]: new user: name=builder, UID=622, GID=622, home=/usr/src, shell=/bin/bash <13>Apr 29 09:52:51 rpmi: rpm-macros-python3-0.1.14-alt1 sisyphus+270922.100.1.1 1619661227 installed <13>Apr 29 09:52:51 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Apr 29 09:52:51 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>Apr 29 09:52:51 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Apr 29 09:52:51 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Apr 29 09:52:51 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 29 09:52:51 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 29 09:52:51 rpmi: ca-certificates-2021.03.24-alt1 sisyphus+268304.300.1.1 1616591829 installed <13>Apr 29 09:52:51 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Apr 29 09:52:51 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Apr 29 09:52:51 rpmi: libcrypto1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>Apr 29 09:52:51 rpmi: libssl1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>Apr 29 09:52:51 rpmi: python3-3.9.4-alt1 sisyphus+268966.100.1.1 1617609166 installed <13>Apr 29 09:52:52 rpmi: python3-base-3.9.4-alt1 sisyphus+268966.100.1.1 1617609166 installed <13>Apr 29 09:52:52 rpmi: libpython3-3.9.4-alt1 sisyphus+268966.100.1.1 1617609166 installed <13>Apr 29 09:52:52 rpmi: tests-for-installed-python3-pkgs-0.1.14-alt1 sisyphus+270922.100.1.1 1619661227 installed <13>Apr 29 09:52:52 rpmi: rpm-build-python3-0.1.14-alt1 sisyphus+270922.100.1.1 1619661227 installed <13>Apr 29 09:52:56 rpmi: libpython-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 09:52:56 rpmi: python2-base-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 09:52:56 rpmi: python-modules-encodings-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 09:52:56 rpmi: python-modules-compiler-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 09:52:56 rpmi: python-modules-email-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 09:52:56 rpmi: python-modules-unittest-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 09:52:57 rpmi: python-modules-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 09:52:57 rpmi: python-modules-ctypes-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 09:52:57 rpmi: python-modules-multiprocessing-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 09:52:57 rpmi: python-modules-logging-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 09:52:57 rpmi: python-tools-2to3-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-TGScheduler-1.7.0-alt2.nosrc.rpm (w1.gzdio) <13>Apr 29 09:53:00 rpmi: python3-module-pkg_resources-1:56.0.0-alt1 sisyphus+269911.100.2.1 1618475070 installed <13>Apr 29 09:53:00 rpmi: libtinfo-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed <13>Apr 29 09:53:00 rpmi: libncurses-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed <13>Apr 29 09:53:00 rpmi: python3-dev-3.9.4-alt1 sisyphus+268966.100.1.1 1617609166 installed <13>Apr 29 09:53:00 rpmi: python3-module-setuptools-1:56.0.0-alt1 sisyphus+269911.100.2.1 1618475070 installed Installing python3-module-TGScheduler-1.7.0-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.97850 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-TGScheduler-1.7.0 + echo 'Source #0 (python3-module-TGScheduler-1.7.0.tar):' Source #0 (python3-module-TGScheduler-1.7.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-TGScheduler-1.7.0.tar + cd python3-module-TGScheduler-1.7.0 + /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 ./tgscheduler/tests/test_scheduler.py RefactoringTool: No changes to ./tgscheduler/scheduler.py RefactoringTool: Refactored ./tgscheduler/kronos.py RefactoringTool: No changes to ./tgscheduler/__init__.py RefactoringTool: Refactored ./setup.py RefactoringTool: No changes to ./examples/test.py RefactoringTool: Refactored ./docs/source/conf.py --- ./tgscheduler/tests/test_scheduler.py (original) +++ ./tgscheduler/tests/test_scheduler.py (refactored) @@ -61,19 +61,19 @@ self.assertEqual(task.action, functest) self.assertEqual(task.name, 'every_minute') self.assertEqual( - task.minutes, range(0, 60), + task.minutes, list(range(0, 60)), "Invalid minutes: %s" % task.minutes ) self.assertEqual( - task.hours, range(0, 24), + task.hours, list(range(0, 24)), "Invalid hours: %s" % task.hours ) self.assertEqual( - task.doms, range(1, 32), + task.doms, list(range(1, 32)), "Invalid doms: %s" % task.doms ) self.assertEqual( - task.months, range(1, 13), + task.months, list(range(1, 13)), "Invalid months: %s" % task.months ) self.assertEqual( @@ -90,7 +90,7 @@ self.assertEqual(task.action, functest) self.assertEqual(task.name, 'crontest_business_hours') self.assertEqual( - task.minutes, range(0, 60, 30), + task.minutes, list(range(0, 60, 30)), "Invalid minutes: %s" % task.minutes ) self.assertEqual( @@ -98,11 +98,11 @@ "Invalid hours: %s" % task.hours ) self.assertEqual( - task.doms, range(1, 32), + task.doms, list(range(1, 32)), "Invalid doms: %s" % task.doms ) self.assertEqual( - task.months, range(1, 13), + task.months, list(range(1, 13)), "Invalid months: %s" % task.months ) self.assertEqual( --- ./tgscheduler/kronos.py (original) +++ ./tgscheduler/kronos.py (refactored) @@ -711,7 +711,7 @@ raise ValueError("Invalid value: '%s'" % time_str) if time_str == '*': - result = range(bounds[0], bounds[1] + 1) + result = list(range(bounds[0], bounds[1] + 1)) return result[::freq] result = list() @@ -758,7 +758,7 @@ if time_low < bounds[0] or time_high > bounds[1]: raise ValueError("Invalid value: '%s'" % time_str) - result.extend(range(time_low, time_high + 1)) + result.extend(list(range(time_low, time_high + 1))) # filter results by frequency return result[::freq] --- ./setup.py (original) +++ ./setup.py (refactored) @@ -15,7 +15,7 @@ name='TGScheduler', version='1.7.0', description='Pure Python Scheduler', - long_description=u"{}\n{}\n{}".format(README, CONTRIBUTORS, CHANGES), + long_description="{}\n{}\n{}".format(README, CONTRIBUTORS, CHANGES), author='Vince Spicer', author_email='vinces1979@gmail.com', url='https://bitbucket.org/xcg/tgscheduler', --- ./docs/source/conf.py (original) +++ ./docs/source/conf.py (refactored) @@ -55,9 +55,9 @@ master_doc = 'index' # General information about the project. -project = u'TGScheduler' -copyright = u'2015, Vince Spicer' -author = u'Vince Spicer' +project = 'TGScheduler' +copyright = '2015, Vince Spicer' +author = 'Vince Spicer' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -231,8 +231,8 @@ # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ - (master_doc, 'TGScheduler.tex', u'TGScheduler Documentation', - u'Vince Spicer', 'manual'), + (master_doc, 'TGScheduler.tex', 'TGScheduler Documentation', + 'Vince Spicer', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -261,7 +261,7 @@ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - (master_doc, 'tgscheduler', u'TGScheduler Documentation', + (master_doc, 'tgscheduler', 'TGScheduler Documentation', [author], 1) ] RefactoringTool: Files that were modified: RefactoringTool: ./tgscheduler/tests/test_scheduler.py RefactoringTool: ./tgscheduler/scheduler.py RefactoringTool: ./tgscheduler/kronos.py RefactoringTool: ./tgscheduler/__init__.py RefactoringTool: ./setup.py RefactoringTool: ./examples/test.py RefactoringTool: ./docs/source/conf.py @@ -275,7 +275,7 @@ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - (master_doc, 'TGScheduler', u'TGScheduler Documentation', + (master_doc, 'TGScheduler', 'TGScheduler Documentation', author, 'TGScheduler', 'One line description of project.', 'Miscellaneous'), ] + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.54382 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-TGScheduler-1.7.0 + 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/tgscheduler copying tgscheduler/scheduler.py -> build/lib/tgscheduler copying tgscheduler/kronos.py -> build/lib/tgscheduler copying tgscheduler/__init__.py -> build/lib/tgscheduler creating build/lib/tgscheduler/tests copying tgscheduler/tests/test_scheduler.py -> build/lib/tgscheduler/tests copying tgscheduler/tests/__init__.py -> build/lib/tgscheduler/tests + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.93763 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-TGScheduler-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-TGScheduler-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd python3-module-TGScheduler-1.7.0 + 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-TGScheduler-buildroot --force running install running install_lib creating /usr/src/tmp/python3-module-TGScheduler-buildroot creating /usr/src/tmp/python3-module-TGScheduler-buildroot/usr creating /usr/src/tmp/python3-module-TGScheduler-buildroot/usr/lib creating /usr/src/tmp/python3-module-TGScheduler-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-TGScheduler-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python3-module-TGScheduler-buildroot/usr/lib/python3/site-packages/tgscheduler creating /usr/src/tmp/python3-module-TGScheduler-buildroot/usr/lib/python3/site-packages/tgscheduler/tests copying build/lib/tgscheduler/tests/__init__.py -> /usr/src/tmp/python3-module-TGScheduler-buildroot/usr/lib/python3/site-packages/tgscheduler/tests copying build/lib/tgscheduler/tests/test_scheduler.py -> /usr/src/tmp/python3-module-TGScheduler-buildroot/usr/lib/python3/site-packages/tgscheduler/tests copying build/lib/tgscheduler/__init__.py -> /usr/src/tmp/python3-module-TGScheduler-buildroot/usr/lib/python3/site-packages/tgscheduler copying build/lib/tgscheduler/kronos.py -> /usr/src/tmp/python3-module-TGScheduler-buildroot/usr/lib/python3/site-packages/tgscheduler copying build/lib/tgscheduler/scheduler.py -> /usr/src/tmp/python3-module-TGScheduler-buildroot/usr/lib/python3/site-packages/tgscheduler byte-compiling /usr/src/tmp/python3-module-TGScheduler-buildroot/usr/lib/python3/site-packages/tgscheduler/tests/__init__.py to __init__.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-TGScheduler-buildroot/usr/lib/python3/site-packages/tgscheduler/tests/test_scheduler.py to test_scheduler.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-TGScheduler-buildroot/usr/lib/python3/site-packages/tgscheduler/__init__.py to __init__.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-TGScheduler-buildroot/usr/lib/python3/site-packages/tgscheduler/kronos.py to kronos.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-TGScheduler-buildroot/usr/lib/python3/site-packages/tgscheduler/scheduler.py to scheduler.cpython-39.pyc running install_egg_info running egg_info writing TGScheduler.egg-info/PKG-INFO writing dependency_links to TGScheduler.egg-info/dependency_links.txt writing requirements to TGScheduler.egg-info/requires.txt writing top-level names to TGScheduler.egg-info/top_level.txt reading manifest file 'TGScheduler.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'TGScheduler.egg-info/SOURCES.txt' Copying TGScheduler.egg-info to /usr/src/tmp/python3-module-TGScheduler-buildroot/usr/lib/python3/site-packages/TGScheduler-1.7.0-py3.9.egg-info running install_scripts + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-TGScheduler-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-TGScheduler-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python3-module-TGScheduler-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-TGScheduler-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-TGScheduler-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/python3-module-TGScheduler-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-TGScheduler-buildroot using /usr/bin/python2.7 /usr/bin/python2.7: can't open file '/usr/lib/rpm/python.compileall.py': [Errno 2] No such file or directory error: Bad exit status from /usr/src/tmp/rpm-tmp.93763 (%install) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.93763 (%install) Command exited with non-zero status 1 5.01user 0.44system 0:05.39elapsed 101%CPU (0avgtext+0avgdata 19512maxresident)k 0inputs+0outputs (0major+61103minor)pagefaults 0swaps hsh-rebuild: rebuild of `python3-module-TGScheduler-1.7.0-alt2.src.rpm' failed. Command exited with non-zero status 1 16.76user 7.56system 0:23.06elapsed 105%CPU (0avgtext+0avgdata 110164maxresident)k 0inputs+0outputs (0major+465816minor)pagefaults 0swaps