<86>Apr 21 01:01:40 userdel[74269]: delete user 'rooter' <86>Apr 21 01:01:40 userdel[74269]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 21 01:01:40 groupadd[74307]: group added to /etc/group: name=rooter, GID=633 <86>Apr 21 01:01:40 groupadd[74307]: group added to /etc/gshadow: name=rooter <86>Apr 21 01:01:40 groupadd[74307]: new group: name=rooter, GID=633 <86>Apr 21 01:01:40 useradd[74332]: new user: name=rooter, UID=633, GID=633, home=/root, shell=/bin/bash <86>Apr 21 01:01:40 userdel[74384]: delete user 'builder' <86>Apr 21 01:01:40 userdel[74384]: removed group 'builder' owned by 'builder' <86>Apr 21 01:01:40 userdel[74384]: removed shadow group 'builder' owned by 'builder' <86>Apr 21 01:01:40 groupadd[74430]: group added to /etc/group: name=builder, GID=634 <86>Apr 21 01:01:40 groupadd[74430]: group added to /etc/gshadow: name=builder <86>Apr 21 01:01:40 groupadd[74430]: new group: name=builder, GID=634 <86>Apr 21 01:01:40 useradd[74466]: new user: name=builder, UID=634, GID=634, home=/usr/src, shell=/bin/bash <13>Apr 21 01:01:42 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Apr 21 01:01:42 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Apr 21 01:01:42 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Apr 21 01:01:42 rpmi: libncurses-devel-5.9-alt8 1456756459 installed <13>Apr 21 01:01:42 rpmi: python-modules-curses-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:01:42 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Apr 21 01:01:42 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 21 01:01:42 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Apr 21 01:01:42 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 21 01:01:43 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 21 01:01:43 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Apr 21 01:01:43 groupadd[84903]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 21 01:01:43 groupadd[84903]: group added to /etc/gshadow: name=_keytab <86>Apr 21 01:01:43 groupadd[84903]: new group: name=_keytab, GID=499 <13>Apr 21 01:01:43 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 21 01:01:43 rpmi: python3-base-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 21 01:01:43 rpmi: python3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 21 01:01:43 rpmi: python-modules-compiler-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:01:43 rpmi: rpm-build-python3-0.1.10.10-alt1.M80P.1 1530521451 installed <13>Apr 21 01:01:43 rpmi: libpython3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 21 01:01:43 rpmi: python3-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 21 01:01:44 rpmi: python3-dev-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 21 01:01:44 rpmi: python-modules-email-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:01:44 rpmi: python3-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 21 01:01:44 rpmi: python3-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 21 01:01:44 rpmi: python-modules-unittest-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:01:44 rpmi: python-modules-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:01:44 rpmi: python-modules-ctypes-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:01:44 rpmi: python-modules-encodings-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:01:44 rpmi: python-modules-multiprocessing-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:01:44 rpmi: python-modules-logging-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:01:44 rpmi: python-tools-2to3-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:01:44 rpmi: python-modules-xml-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:01:44 rpmi: python-modules-hotshot-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:01:44 rpmi: python-modules-bsddb-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:01:44 rpmi: python-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:01:44 rpmi: python-dev-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:01:44 rpmi: python-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 21 01:01:44 rpmi: python-modules-json-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:01:44 rpmi: python-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 21 01:01:44 rpmi: python-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed Installing python-module-Extremes-1.1.1-alt1.3.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.96919 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf Extremes-1.1.1 + echo 'Source #0 (Extremes-1.1.1.tar):' Source #0 (Extremes-1.1.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/Extremes-1.1.1.tar + cd Extremes-1.1.1 + /bin/chmod -c -Rf u+rwX,go-w . + cp -fR . ../python3 + find ../python3 -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 ../python3/setup.py RefactoringTool: Refactored ../python3/peak/util/extremes.py RefactoringTool: No changes to ../python3/peak/util/__init__.py RefactoringTool: No changes to ../python3/peak/__init__.py RefactoringTool: Refactored ../python3/ez_setup/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/peak/util/extremes.py RefactoringTool: ../python3/peak/util/__init__.py RefactoringTool: ../python3/peak/__init__.py RefactoringTool: ../python3/ez_setup/__init__.py --- ../python3/peak/util/extremes.py (original) +++ ../python3/peak/util/extremes.py (refactored) @@ -32,7 +32,7 @@ return self.__cmp__(other)>=0 def __ne__(self,other): - return self.__cmp__(other)<>0 + return self.__cmp__(other)!=0 Max = Extreme(1, "Max") Min = Extreme(-1, "Min") --- ../python3/ez_setup/__init__.py (original) +++ ../python3/ez_setup/__init__.py (refactored) @@ -62,10 +62,10 @@ if egg_name in md5_data: digest = md5(data).hexdigest() if digest != md5_data[egg_name]: - print >>sys.stderr, ( + print(( "md5 validation of %s failed! (Possible download problem?)" % egg_name - ) + ), file=sys.stderr) sys.exit(2) return data @@ -95,14 +95,14 @@ return do_download() try: pkg_resources.require("setuptools>="+version); return - except pkg_resources.VersionConflict, e: + except pkg_resources.VersionConflict as e: if was_imported: - print >>sys.stderr, ( + print(( "The required version of setuptools (>=%s) is not available, and\n" "can't be installed while this script is running. Please install\n" " a more recent version first, using 'easy_install -U setuptools'." "\n\n(Currently using %r)" - ) % (version, e.args[0]) + ) % (version, e.args[0]), file=sys.stderr) sys.exit(2) else: del pkg_resources, sys.modules['pkg_resources'] # reload ok @@ -121,7 +121,7 @@ with a '/'). `to_dir` is the directory where the egg will be downloaded. `delay` is the number of seconds to pause before an actual download attempt. """ - import urllib2, shutil + import urllib.request, urllib.error, urllib.parse, shutil egg_name = "setuptools-%s-py%s.egg" % (version,sys.version[:3]) url = download_base + egg_name saveto = os.path.join(to_dir, egg_name) @@ -147,7 +147,7 @@ version, download_base, delay, url ); from time import sleep; sleep(delay) log.warn("Downloading %s", url) - src = urllib2.urlopen(url) + src = urllib.request.urlopen(url) # Read/write all in one block, so we don't create a corrupt file # if the download is interrupted. data = _validate_md5(egg_name, src.read()) @@ -208,10 +208,10 @@ os.unlink(egg) else: if setuptools.__version__ == '0.0.1': - print >>sys.stderr, ( + print(( "You have an obsolete version of setuptools installed. Please\n" "remove it from your system entirely before rerunning this script." - ) + ), file=sys.stderr) sys.exit(2) req = "setuptools>="+version @@ -230,8 +230,8 @@ from setuptools.command.easy_install import main main(argv) else: - print "Setuptools version",version,"or greater has been installed." - print '(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)' + print("Setuptools version",version,"or greater has been installed.") + print('(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)') def update_md5(filenames): """Update our built-in md5 registry""" @@ -244,7 +244,7 @@ md5_data[base] = md5(f.read()).hexdigest() f.close() - data = [" %r: %r,\n" % it for it in md5_data.items()] + data = [" %r: %r,\n" % it for it in list(md5_data.items())] data.sort() repl = "".join(data) @@ -254,7 +254,7 @@ match = re.search("\nmd5_data = {\n([^}]+)}", src) if not match: - print >>sys.stderr, "Internal error!" + print("Internal error!", file=sys.stderr) sys.exit(2) src = src[:match.start(1)] + repl + src[match.end(1):] + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.80648 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd Extremes-1.1.1 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + /usr/bin/python2.7 setup.py build running build running build_py creating build creating build/lib creating build/lib/peak copying peak/__init__.py -> build/lib/peak creating build/lib/peak/util copying peak/util/extremes.py -> build/lib/peak/util copying peak/util/__init__.py -> build/lib/peak/util + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/Extremes-1.1.1 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + python3 setup.py build running build running build_py creating build creating build/lib creating build/lib/peak copying peak/__init__.py -> build/lib/peak creating build/lib/peak/util copying peak/util/extremes.py -> build/lib/peak/util copying peak/util/__init__.py -> build/lib/peak/util + popd ~/RPM/BUILD/Extremes-1.1.1 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.80648 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-Extremes-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-Extremes-buildroot + cd Extremes-1.1.1 + /usr/bin/python2.7 setup.py install --skip-build --root=/usr/src/tmp/python-module-Extremes-buildroot --force running install running install_lib Skipping installation of /usr/src/tmp/python-module-Extremes-buildroot/usr/lib/python2.7/site-packages/peak/__init__.py (namespace package) Skipping installation of /usr/src/tmp/python-module-Extremes-buildroot/usr/lib/python2.7/site-packages/peak/util/__init__.py (namespace package) copying peak/util/extremes.py -> /usr/src/tmp/python-module-Extremes-buildroot/usr/lib/python2.7/site-packages/peak/util byte-compiling /usr/src/tmp/python-module-Extremes-buildroot/usr/lib/python2.7/site-packages/peak/util/extremes.py to extremes.pyc running install_egg_info running egg_info writing Extremes.egg-info/PKG-INFO writing namespace_packages to Extremes.egg-info/namespace_packages.txt writing top-level names to Extremes.egg-info/top_level.txt writing dependency_links to Extremes.egg-info/dependency_links.txt reading manifest file 'Extremes.egg-info/SOURCES.txt' writing manifest file 'Extremes.egg-info/SOURCES.txt' Copying Extremes.egg-info to /usr/src/tmp/python-module-Extremes-buildroot/usr/lib/python2.7/site-packages/Extremes-1.1.1-py2.7.egg-info Installing /usr/src/tmp/python-module-Extremes-buildroot/usr/lib/python2.7/site-packages/Extremes-1.1.1-py2.7-nspkg.pth running install_scripts + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/Extremes-1.1.1 + python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-Extremes-buildroot --force running install running install_lib Skipping installation of /usr/src/tmp/python-module-Extremes-buildroot/usr/lib/python3/site-packages/peak/__init__.py (namespace package) Skipping installation of /usr/src/tmp/python-module-Extremes-buildroot/usr/lib/python3/site-packages/peak/util/__init__.py (namespace package) copying peak/util/extremes.py -> /usr/src/tmp/python-module-Extremes-buildroot/usr/lib/python3/site-packages/peak/util byte-compiling /usr/src/tmp/python-module-Extremes-buildroot/usr/lib/python3/site-packages/peak/util/extremes.py to extremes.cpython-35.pyc running install_egg_info running egg_info writing dependency_links to Extremes.egg-info/dependency_links.txt writing namespace_packages to Extremes.egg-info/namespace_packages.txt writing top-level names to Extremes.egg-info/top_level.txt writing Extremes.egg-info/PKG-INFO reading manifest file 'Extremes.egg-info/SOURCES.txt' writing manifest file 'Extremes.egg-info/SOURCES.txt' Copying Extremes.egg-info to /usr/src/tmp/python-module-Extremes-buildroot/usr/lib/python3/site-packages/Extremes-1.1.1-py3.5.egg-info Installing /usr/src/tmp/python-module-Extremes-buildroot/usr/lib/python3/site-packages/Extremes-1.1.1-py3.5-nspkg.pth running install_scripts + popd ~/RPM/BUILD/Extremes-1.1.1 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-Extremes-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-Extremes-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/python-module-Extremes-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-Extremes-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-Extremes-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/python-module-Extremes-buildroot using /usr/bin/python2.7 unlink /usr/src/tmp/python-module-Extremes-buildroot/usr/lib/python2.7/site-packages/peak/util/extremes.pyc compile /usr/src/tmp/python-module-Extremes-buildroot/usr/lib/python2.7/site-packages/peak/util/extremes.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-Extremes-buildroot using /usr/bin/python2.7 -O compile /usr/src/tmp/python-module-Extremes-buildroot/usr/lib/python2.7/site-packages/peak/util/extremes.py Bytecompiling python3 modules in /usr/src/tmp/python-module-Extremes-buildroot using python3 unlink /usr/src/tmp/python-module-Extremes-buildroot/usr/lib/python3/site-packages/peak/util/__pycache__/extremes.cpython-35.pyc compile /usr/src/tmp/python-module-Extremes-buildroot/usr/lib/python3/site-packages/peak/util/extremes.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-Extremes-buildroot using python3 -O compile /usr/src/tmp/python-module-Extremes-buildroot/usr/lib/python3/site-packages/peak/util/extremes.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-Extremes-buildroot using python3 -OO compile /usr/src/tmp/python-module-Extremes-buildroot/usr/lib/python3/site-packages/peak/util/extremes.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/peak/util/__pycache__/extremes.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/peak/util/__pycache__/extremes.cpython-35.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/peak/util/extremes.pyo' => './usr/lib/python2.7/site-packages/peak/util/extremes.pyc' Processing files: python-module-Extremes-1.1.1-alt1.3.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.shE6mD 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.ppHtsh find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-Extremes-buildroot/usr/lib/python2.7/site-packages/peak/util/extremes.py: line=43 IGNORE (for REQ=slight and deep=8) module=doctest Provides: python2.7-module-Extremes = 1.1.1-alt1.3 Requires: python = 2.7, /usr/lib/python2.7/site-packages Processing files: python3-module-Extremes-1.1.1-alt1.3.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.QUmvGY 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.NuqJWI find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-Extremes-buildroot/usr/lib/python3/site-packages/peak/util/extremes.py: line=43 IGNORE (for REQ=slight and deep=8) module=doctest Requires: /usr/lib/python3/site-packages Wrote: /usr/src/RPM/RPMS/noarch/python-module-Extremes-1.1.1-alt1.3.1.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python3-module-Extremes-1.1.1-alt1.3.1.noarch.rpm 2.42user 0.51system 0:07.05elapsed 41%CPU (0avgtext+0avgdata 24676maxresident)k 0inputs+0outputs (0major+192481minor)pagefaults 0swaps 6.75user 2.78system 0:14.69elapsed 64%CPU (0avgtext+0avgdata 122256maxresident)k 0inputs+0outputs (0major+434436minor)pagefaults 0swaps --- python3-module-Extremes-1.1.1-alt1.3.1.noarch.rpm.repo 2016-03-14 08:12:12.000000000 +0000 +++ python3-module-Extremes-1.1.1-alt1.3.1.noarch.rpm.hasher 2019-04-21 01:01:53.516659548 +0000 @@ -1,11 +1,12 @@ -/usr/lib/python3/site-packages/Extremes-1.1.1-py3.3-nspkg.pth 100644 -/usr/lib/python3/site-packages/Extremes-1.1.1-py3.3.egg-info 40755 -/usr/lib/python3/site-packages/Extremes-1.1.1-py3.3.egg-info/PKG-INFO 100644 -/usr/lib/python3/site-packages/Extremes-1.1.1-py3.3.egg-info/SOURCES.txt 100644 -/usr/lib/python3/site-packages/Extremes-1.1.1-py3.3.egg-info/dependency_links.txt 100644 -/usr/lib/python3/site-packages/Extremes-1.1.1-py3.3.egg-info/namespace_packages.txt 100644 -/usr/lib/python3/site-packages/Extremes-1.1.1-py3.3.egg-info/top_level.txt 100644 +/usr/lib/python3/site-packages/Extremes-1.1.1-py3.5-nspkg.pth 100644 +/usr/lib/python3/site-packages/Extremes-1.1.1-py3.5.egg-info 40755 +/usr/lib/python3/site-packages/Extremes-1.1.1-py3.5.egg-info/PKG-INFO 100644 +/usr/lib/python3/site-packages/Extremes-1.1.1-py3.5.egg-info/SOURCES.txt 100644 +/usr/lib/python3/site-packages/Extremes-1.1.1-py3.5.egg-info/dependency_links.txt 100644 +/usr/lib/python3/site-packages/Extremes-1.1.1-py3.5.egg-info/namespace_packages.txt 100644 +/usr/lib/python3/site-packages/Extremes-1.1.1-py3.5.egg-info/top_level.txt 100644 /usr/lib/python3/site-packages/peak/util/__pycache__ 40755 -/usr/lib/python3/site-packages/peak/util/__pycache__/extremes.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/peak/util/__pycache__/extremes.cpython-33.pyo 100644 +/usr/lib/python3/site-packages/peak/util/__pycache__/extremes.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/peak/util/__pycache__/extremes.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/peak/util/__pycache__/extremes.cpython-35.pyc 100644 /usr/lib/python3/site-packages/peak/util/extremes.py 100644