<86>Feb 15 10:02:58 userdel[1686432]: delete user 'rooter' <86>Feb 15 10:02:58 userdel[1686432]: removed group 'rooter' owned by 'rooter' <86>Feb 15 10:02:58 userdel[1686432]: removed shadow group 'rooter' owned by 'rooter' <86>Feb 15 10:02:58 groupadd[1686452]: group added to /etc/group: name=rooter, GID=645 <86>Feb 15 10:02:58 groupadd[1686452]: group added to /etc/gshadow: name=rooter <86>Feb 15 10:02:58 groupadd[1686452]: new group: name=rooter, GID=645 <86>Feb 15 10:02:58 useradd[1686469]: new user: name=rooter, UID=645, GID=645, home=/root, shell=/bin/bash <86>Feb 15 10:02:58 userdel[1686495]: delete user 'builder' <86>Feb 15 10:02:58 userdel[1686495]: removed group 'builder' owned by 'builder' <86>Feb 15 10:02:58 userdel[1686495]: removed shadow group 'builder' owned by 'builder' <86>Feb 15 10:02:58 groupadd[1686512]: group added to /etc/group: name=builder, GID=646 <86>Feb 15 10:02:58 groupadd[1686512]: group added to /etc/gshadow: name=builder <86>Feb 15 10:02:58 groupadd[1686512]: new group: name=builder, GID=646 <86>Feb 15 10:02:58 useradd[1686525]: new user: name=builder, UID=646, GID=646, home=/usr/src, shell=/bin/bash <13>Feb 15 10:03:01 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Feb 15 10:03:01 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>Feb 15 10:03:01 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Feb 15 10:03:01 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Feb 15 10:03:01 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Feb 15 10:03:01 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Feb 15 10:03:02 rpmi: ca-certificates-2021.01.27-alt1 sisyphus+265371.200.1.1 1611759824 installed <13>Feb 15 10:03:02 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Feb 15 10:03:02 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Feb 15 10:03:02 rpmi: libcrypto1.1-1.1.1i-alt3 sisyphus+265605.200.2.1 1612202596 installed <13>Feb 15 10:03:02 rpmi: libssl1.1-1.1.1i-alt3 sisyphus+265605.200.2.1 1612202596 installed <13>Feb 15 10:03:02 rpmi: python3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Feb 15 10:03:03 rpmi: python3-base-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Feb 15 10:03:03 rpmi: libpython3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Feb 15 10:03:03 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Feb 15 10:03:03 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Feb 15 10:03:07 rpmi: python-modules-compiler-2.7.18-alt3 sisyphus+263690.140.6.1 1608730167 installed <13>Feb 15 10:03:07 rpmi: python-modules-email-2.7.18-alt3 sisyphus+263690.140.6.1 1608730167 installed <13>Feb 15 10:03:07 rpmi: python-modules-unittest-2.7.18-alt3 sisyphus+263690.140.6.1 1608730167 installed <13>Feb 15 10:03:07 rpmi: python-modules-2.7.18-alt3 sisyphus+263690.140.6.1 1608730167 installed <13>Feb 15 10:03:07 rpmi: python-modules-encodings-2.7.18-alt3 sisyphus+263690.140.6.1 1608730167 installed <13>Feb 15 10:03:07 rpmi: python-modules-ctypes-2.7.18-alt3 sisyphus+263690.140.6.1 1608730167 installed <13>Feb 15 10:03:07 rpmi: python-modules-multiprocessing-2.7.18-alt3 sisyphus+263690.140.6.1 1608730167 installed <13>Feb 15 10:03:07 rpmi: python-modules-logging-2.7.18-alt3 sisyphus+263690.140.6.1 1608730167 installed <13>Feb 15 10:03:07 rpmi: python-tools-2to3-2.7.18-alt3 sisyphus+263690.140.6.1 1608730167 installed <13>Feb 15 10:03:07 rpmi: python3-module-appdirs-1.4.3-alt2 sisyphus+246664.100.1.1 1582182741 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-usersettings-1.0.7-alt3.nosrc.rpm (w1.gzdio) <13>Feb 15 10:03:11 rpmi: python3-module-pkg_resources-1:46.1.3-alt2 sisyphus+260458.600.6.1 1603876498 installed <13>Feb 15 10:03:11 rpmi: libtinfo-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed <13>Feb 15 10:03:11 rpmi: libncurses-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed <13>Feb 15 10:03:11 rpmi: python3-dev-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Feb 15 10:03:11 rpmi: python3-module-setuptools-1:46.1.3-alt2 sisyphus+260458.600.6.1 1603876498 installed Installing python3-module-usersettings-1.0.7-alt3.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.37544 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-usersettings-1.0.7 + echo 'Source #0 (python3-module-usersettings-1.0.7.tar):' Source #0 (python3-module-usersettings-1.0.7.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-usersettings-1.0.7.tar + cd python3-module-usersettings-1.0.7 + /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 ./usersettings.py RefactoringTool: No changes to ./setup.py RefactoringTool: Refactored ./examples/usersettings-example.py RefactoringTool: Files that were modified: RefactoringTool: ./usersettings.py RefactoringTool: ./setup.py RefactoringTool: ./examples/usersettings-example.py --- ./usersettings.py (original) +++ ./usersettings.py (refactored) @@ -3,7 +3,7 @@ Provide interface for persistent portable editable user settings """ import os -import ConfigParser +import configparser import ast import appdirs @@ -38,13 +38,13 @@ def load_settings(self): """ Set default values and parse stored settings file """ # Set the defaults - for key, value in self._settings_defaults.items(): + for key, value in list(self._settings_defaults.items()): if key not in self._settings_types: self._settings_types[key] = str super(Settings, self).__setitem__(key, value) # Load the stored values - parser = ConfigParser.RawConfigParser() + parser = configparser.RawConfigParser() try: with open(self.settings_file, 'r') as settings_fp: parser.readfp(settings_fp) @@ -75,10 +75,10 @@ def save_settings(self): """ Write the settings data to disk """ if not os.path.exists(self.settings_directory): - os.makedirs(self.settings_directory, 0755) - parser = ConfigParser.RawConfigParser() + os.makedirs(self.settings_directory, 0o755) + parser = configparser.RawConfigParser() parser.add_section('settings') - for key, value in self.items(): + for key, value in list(self.items()): parser.set('settings', key, value) with open(self.settings_file, 'wb') as settings_fp: parser.write(settings_fp) --- ./examples/usersettings-example.py (original) +++ ./examples/usersettings-example.py (refactored) @@ -32,7 +32,7 @@ CONF.add_setting("counter", int, default=0) CONF.load_settings() -print "Counter:", CONF.counter +print("Counter:", CONF.counter) CONF.counter += 1 CONF.save_settings() + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.78623 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-usersettings-1.0.7 + 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 copying usersettings.py -> build/lib + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.48156 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-usersettings-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-usersettings-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd python3-module-usersettings-1.0.7 + 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-usersettings-buildroot --force running install running install_lib creating /usr/src/tmp/python3-module-usersettings-buildroot creating /usr/src/tmp/python3-module-usersettings-buildroot/usr creating /usr/src/tmp/python3-module-usersettings-buildroot/usr/lib creating /usr/src/tmp/python3-module-usersettings-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-usersettings-buildroot/usr/lib/python3/site-packages copying build/lib/usersettings.py -> /usr/src/tmp/python3-module-usersettings-buildroot/usr/lib/python3/site-packages byte-compiling /usr/src/tmp/python3-module-usersettings-buildroot/usr/lib/python3/site-packages/usersettings.py to usersettings.cpython-38.pyc running install_egg_info running egg_info creating usersettings.egg-info writing usersettings.egg-info/PKG-INFO writing dependency_links to usersettings.egg-info/dependency_links.txt writing requirements to usersettings.egg-info/requires.txt writing top-level names to usersettings.egg-info/top_level.txt writing manifest file 'usersettings.egg-info/SOURCES.txt' reading manifest file 'usersettings.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'usersettings.egg-info/SOURCES.txt' Copying usersettings.egg-info to /usr/src/tmp/python3-module-usersettings-buildroot/usr/lib/python3/site-packages/usersettings-1.0.7-py3.8.egg-info running install_scripts + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-usersettings-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-usersettings-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python3-module-usersettings-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-usersettings-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-usersettings-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/python3-module-usersettings-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-usersettings-buildroot using /usr/bin/python2.7 Bytecompiling python modules with optimization in /usr/src/tmp/python3-module-usersettings-buildroot using /usr/bin/python2.7 -O Bytecompiling python3 modules in /usr/src/tmp/python3-module-usersettings-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python3-module-usersettings-buildroot/usr/lib/python3/site-packages/__pycache__/usersettings.cpython-38.pyc compile /usr/src/tmp/python3-module-usersettings-buildroot/usr/lib/python3/site-packages/usersettings.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-usersettings-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-usersettings-buildroot/usr/lib/python3/site-packages/usersettings.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-usersettings-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-usersettings-buildroot/usr/lib/python3/site-packages/usersettings.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/__pycache__/usersettings.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/__pycache__/usersettings.cpython-38.pyc' Hardlinking identical .pyc and .pyo files Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.95242 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-usersettings-1.0.7 + exit 0 Processing files: python3-module-usersettings-1.0.7-alt3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.3466 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-usersettings-1.0.7 + DOCDIR=/usr/src/tmp/python3-module-usersettings-buildroot/usr/share/doc/python3-module-usersettings-1.0.7 + export DOCDIR + rm -rf /usr/src/tmp/python3-module-usersettings-buildroot/usr/share/doc/python3-module-usersettings-1.0.7 + /bin/mkdir -p /usr/src/tmp/python3-module-usersettings-buildroot/usr/share/doc/python3-module-usersettings-1.0.7 + cp -prL README.md docs/AUTHORS.txt docs/CHANGELOG.txt docs/FAQ.txt docs/INSTALL.txt docs/LICENSE.txt docs/NEWS.txt docs/README.txt docs/THANKS.txt docs/TODO.txt examples /usr/src/tmp/python3-module-usersettings-buildroot/usr/share/doc/python3-module-usersettings-1.0.7 + chmod -R go-w /usr/src/tmp/python3-module-usersettings-buildroot/usr/share/doc/python3-module-usersettings-1.0.7 + chmod -R a+rX /usr/src/tmp/python3-module-usersettings-buildroot/usr/share/doc/python3-module-usersettings-1.0.7 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.aJKfaI 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.14HH5E find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) shebang.req.files: executable script /usr/src/tmp/python3-module-usersettings-buildroot/usr/lib/python3/site-packages/usersettings.py is not executable Provides: python3(usersettings) Requires: python3(appdirs) < 0, /usr/lib/python3/site-packages, python3(ast) < 0, python3(configparser) < 0, python3(os) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python3-module-usersettings-1.0.7-alt3.noarch.rpm (w2.lzdio) 7.62user 1.00system 0:09.90elapsed 87%CPU (0avgtext+0avgdata 19128maxresident)k 0inputs+0outputs (0major+133790minor)pagefaults 0swaps 19.72user 8.69system 0:28.42elapsed 99%CPU (0avgtext+0avgdata 107736maxresident)k 32inputs+0outputs (0major+582352minor)pagefaults 0swaps --- python3-module-usersettings-1.0.7-alt3.noarch.rpm.repo 2020-01-14 07:05:23.000000000 +0000 +++ python3-module-usersettings-1.0.7-alt3.noarch.rpm.hasher 2021-02-15 10:03:23.170661275 +0000 @@ -1,11 +1,11 @@ /usr/lib/python3/site-packages/__pycache__ 40755 -/usr/lib/python3/site-packages/__pycache__/usersettings.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/usersettings.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/usersettings.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/usersettings-1.0.7-py3.7.egg-info 40755 -/usr/lib/python3/site-packages/usersettings-1.0.7-py3.7.egg-info/PKG-INFO 100644 -/usr/lib/python3/site-packages/usersettings-1.0.7-py3.7.egg-info/SOURCES.txt 100644 -/usr/lib/python3/site-packages/usersettings-1.0.7-py3.7.egg-info/dependency_links.txt 100644 -/usr/lib/python3/site-packages/usersettings-1.0.7-py3.7.egg-info/requires.txt 100644 -/usr/lib/python3/site-packages/usersettings-1.0.7-py3.7.egg-info/top_level.txt 100644 +/usr/lib/python3/site-packages/__pycache__/usersettings.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/usersettings.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/usersettings.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/usersettings-1.0.7-py3.8.egg-info 40755 +/usr/lib/python3/site-packages/usersettings-1.0.7-py3.8.egg-info/PKG-INFO 100644 +/usr/lib/python3/site-packages/usersettings-1.0.7-py3.8.egg-info/SOURCES.txt 100644 +/usr/lib/python3/site-packages/usersettings-1.0.7-py3.8.egg-info/dependency_links.txt 100644 +/usr/lib/python3/site-packages/usersettings-1.0.7-py3.8.egg-info/requires.txt 100644 +/usr/lib/python3/site-packages/usersettings-1.0.7-py3.8.egg-info/top_level.txt 100644 /usr/lib/python3/site-packages/usersettings.py 100644