<86>Dec 31 01:16:10 userdel[3956242]: delete user 'rooter' <86>Dec 31 01:16:10 userdel[3956242]: removed group 'rooter' owned by 'rooter' <86>Dec 31 01:16:10 userdel[3956242]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 31 01:16:10 groupadd[3956258]: group added to /etc/group: name=rooter, GID=651 <86>Dec 31 01:16:10 groupadd[3956258]: group added to /etc/gshadow: name=rooter <86>Dec 31 01:16:10 groupadd[3956258]: new group: name=rooter, GID=651 <86>Dec 31 01:16:10 useradd[3956271]: new user: name=rooter, UID=651, GID=651, home=/root, shell=/bin/bash <86>Dec 31 01:16:10 userdel[3956298]: delete user 'builder' <86>Dec 31 01:16:10 userdel[3956298]: removed group 'builder' owned by 'builder' <86>Dec 31 01:16:10 userdel[3956298]: removed shadow group 'builder' owned by 'builder' <86>Dec 31 01:16:10 groupadd[3956316]: group added to /etc/group: name=builder, GID=652 <86>Dec 31 01:16:10 groupadd[3956316]: group added to /etc/gshadow: name=builder <86>Dec 31 01:16:10 groupadd[3956316]: new group: name=builder, GID=652 <86>Dec 31 01:16:10 useradd[3956339]: new user: name=builder, UID=652, GID=652, home=/usr/src, shell=/bin/bash <13>Dec 31 01:16:12 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Dec 31 01:16:12 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824514 installed <13>Dec 31 01:16:12 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274915 installed <13>Dec 31 01:16:12 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825069 installed <13>Dec 31 01:16:12 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 31 01:16:12 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 31 01:16:12 rpmi: ca-certificates-2020.10.22-alt1 sisyphus+260224.300.2.1 1603549301 installed <13>Dec 31 01:16:12 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Dec 31 01:16:12 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274915 installed <13>Dec 31 01:16:12 rpmi: libcrypto1.1-1.1.1i-alt1 sisyphus+263103.100.1.1 1607445492 installed <13>Dec 31 01:16:12 rpmi: libssl1.1-1.1.1i-alt1 sisyphus+263103.100.1.1 1607445492 installed <13>Dec 31 01:16:12 rpmi: python3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904101 installed <13>Dec 31 01:16:13 rpmi: python3-base-3.8.6-alt1 sisyphus+259085.100.2.1 1601904101 installed <13>Dec 31 01:16:13 rpmi: libpython3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904101 installed <13>Dec 31 01:16:13 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Dec 31 01:16:13 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Dec 31 01:16:15 rpmi: python-modules-compiler-2.7.18-alt3 sisyphus+263690.140.6.1 1608730086 installed <13>Dec 31 01:16:15 rpmi: python-modules-email-2.7.18-alt3 sisyphus+263690.140.6.1 1608730086 installed <13>Dec 31 01:16:15 rpmi: python-modules-unittest-2.7.18-alt3 sisyphus+263690.140.6.1 1608730086 installed <13>Dec 31 01:16:16 rpmi: python-modules-2.7.18-alt3 sisyphus+263690.140.6.1 1608730086 installed <13>Dec 31 01:16:16 rpmi: python-modules-encodings-2.7.18-alt3 sisyphus+263690.140.6.1 1608730086 installed <13>Dec 31 01:16:16 rpmi: python-modules-ctypes-2.7.18-alt3 sisyphus+263690.140.6.1 1608730086 installed <13>Dec 31 01:16:16 rpmi: python-modules-multiprocessing-2.7.18-alt3 sisyphus+263690.140.6.1 1608730086 installed <13>Dec 31 01:16:16 rpmi: python-modules-logging-2.7.18-alt3 sisyphus+263690.140.6.1 1608730086 installed <13>Dec 31 01:16:16 rpmi: python-tools-2to3-2.7.18-alt3 sisyphus+263690.140.6.1 1608730086 installed <13>Dec 31 01:16:16 rpmi: python3-module-appdirs-1.4.3-alt2 sisyphus+246664.100.1.1 1582182741 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/python3-module-usersettings-1.0.7-alt3.nosrc.rpm (w1.gzdio) <13>Dec 31 01:16:18 rpmi: python3-module-pkg_resources-1:46.1.3-alt2 sisyphus+260458.600.6.1 1603876498 installed <13>Dec 31 01:16:18 rpmi: libtinfo-devel-6.2.20201107-alt1 sisyphus+261749.100.1.1 1605292920 installed <13>Dec 31 01:16:18 rpmi: libncurses-devel-6.2.20201107-alt1 sisyphus+261749.100.1.1 1605292920 installed <13>Dec 31 01:16:18 rpmi: python3-dev-3.8.6-alt1 sisyphus+259085.100.2.1 1601904101 installed <13>Dec 31 01:16:18 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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.72100 + 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.60600 + 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' + 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 --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.34246 + 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' + 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-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.34307 + 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.34307 + 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.ZCPmMp 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.nR6Ibq 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) 3.55user 0.50system 0:05.87elapsed 69%CPU (0avgtext+0avgdata 26364maxresident)k 0inputs+0outputs (0major+175794minor)pagefaults 0swaps 10.35user 4.16system 0:17.16elapsed 84%CPU (0avgtext+0avgdata 108464maxresident)k 32inputs+0outputs (0major+625210minor)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 2020-12-31 01:16:25.308418809 +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