<86>Apr 14 01:00:57 userdel[64174]: delete user 'rooter' <86>Apr 14 01:00:57 userdel[64174]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 14 01:00:57 groupadd[64188]: group added to /etc/group: name=rooter, GID=699 <86>Apr 14 01:00:57 groupadd[64188]: group added to /etc/gshadow: name=rooter <86>Apr 14 01:00:57 groupadd[64188]: new group: name=rooter, GID=699 <86>Apr 14 01:00:57 useradd[64205]: new user: name=rooter, UID=699, GID=699, home=/root, shell=/bin/bash <86>Apr 14 01:00:57 userdel[64226]: delete user 'builder' <86>Apr 14 01:00:57 userdel[64226]: removed group 'builder' owned by 'builder' <86>Apr 14 01:00:57 userdel[64226]: removed shadow group 'builder' owned by 'builder' <86>Apr 14 01:00:57 groupadd[64256]: group added to /etc/group: name=builder, GID=700 <86>Apr 14 01:00:57 groupadd[64256]: group added to /etc/gshadow: name=builder <86>Apr 14 01:00:57 groupadd[64256]: new group: name=builder, GID=700 <86>Apr 14 01:00:57 useradd[64270]: new user: name=builder, UID=700, GID=700, home=/usr/src, shell=/bin/bash <13>Apr 14 01:01:00 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Apr 14 01:01:00 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Apr 14 01:01:00 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Apr 14 01:01:00 rpmi: libncurses-devel-5.9-alt8 1456756459 installed <13>Apr 14 01:01:00 rpmi: python-modules-curses-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:01:00 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Apr 14 01:01:00 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 14 01:01:00 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Apr 14 01:01:00 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 14 01:01:00 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 14 01:01:00 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Apr 14 01:01:00 groupadd[75533]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 14 01:01:00 groupadd[75533]: group added to /etc/gshadow: name=_keytab <86>Apr 14 01:01:00 groupadd[75533]: new group: name=_keytab, GID=499 <13>Apr 14 01:01:00 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 14 01:01:01 rpmi: python3-base-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:01:01 rpmi: python-modules-compiler-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:01:01 rpmi: python3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:01:01 rpmi: python-modules-email-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:01:01 rpmi: rpm-build-python3-0.1.10.10-alt1.M80P.1 1530521451 installed <13>Apr 14 01:01:01 rpmi: python-modules-unittest-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:01:02 rpmi: python-modules-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:01:02 rpmi: python-modules-encodings-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:01:02 rpmi: python-modules-xml-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:01:02 rpmi: python-modules-hotshot-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:01:02 rpmi: python-modules-bsddb-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:01:02 rpmi: python-modules-ctypes-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:01:02 rpmi: python-modules-multiprocessing-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:01:02 rpmi: python-modules-logging-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:01:02 rpmi: python-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:01:02 rpmi: python-dev-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:01:02 rpmi: python-tools-2to3-2.7.11-alt6.M80P.1 1527682470 installed Installing python-module-ping-0.2-alt2.1.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.45138 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-ping-0.2 + echo 'Source #0 (python-ping-0.2.tar.gz):' Source #0 (python-ping-0.2.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/python-ping-0.2.tar.gz + /bin/tar -xf - + cd python-ping-0.2 + /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/ping.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/ping.py --- ../python3/ping.py (original) +++ ../python3/ping.py (refactored) @@ -108,7 +108,7 @@ """ sum = 0 count_to = (len(source_string) / 2) * 2 - for count in xrange(0, count_to, 2): + for count in range(0, count_to, 2): this = ord(source_string[count + 1]) * 256 + ord(source_string[count]) sum = sum + this sum = sum & 0xffffffff # Necessary? @@ -193,7 +193,8 @@ icmp = socket.getprotobyname("icmp") try: my_socket = socket.socket(socket.AF_INET, socket.SOCK_RAW, icmp) - except socket.error, (errno, msg): + except socket.error as xxx_todo_changeme: + (errno, msg) = xxx_todo_changeme.args if errno == 1: # Operation not permitted msg = msg + ( @@ -217,20 +218,20 @@ Send `count' ping with `psize' size to `dest_addr' with the given `timeout' and display the result. """ - for i in xrange(count): - print "ping %s with ..." % dest_addr, + for i in range(count): + print("ping %s with ..." % dest_addr, end=' ') try: delay = do_one(dest_addr, timeout, psize) - except socket.gaierror, e: - print "failed. (socket error: '%s')" % e[1] + except socket.gaierror as e: + print("failed. (socket error: '%s')" % e[1]) break if delay == None: - print "failed. (timeout within %ssec.)" % timeout + print("failed. (timeout within %ssec.)" % timeout) else: delay = delay * 1000 - print "get ping in %0.4fms" % delay - print + print("get ping in %0.4fms" % delay) + print() def quiet_ping(dest_addr, timeout = 2, count = 4, psize = 64): @@ -245,11 +246,11 @@ lost = 0 plist = [] - for i in xrange(count): + for i in range(count): try: delay = do_one(dest_addr, timeout, psize) - except socket.gaierror, e: - print "failed. (socket error: '%s')" % e[1] + except socket.gaierror as e: + print("failed. (socket error: '%s')" % e[1]) break if delay != None: + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.71044 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-ping-0.2 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + /usr/bin/python setup.py build running build running build_py creating build creating build/lib copying ping.py -> build/lib + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-ping-0.2 + 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 copying ping.py -> build/lib + popd ~/RPM/BUILD/python-ping-0.2 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.17791 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-ping-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-ping-buildroot + cd python-ping-0.2 + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-ping-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-ping-buildroot creating /usr/src/tmp/python-module-ping-buildroot/usr creating /usr/src/tmp/python-module-ping-buildroot/usr/lib creating /usr/src/tmp/python-module-ping-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-ping-buildroot/usr/lib/python2.7/site-packages copying build/lib/ping.py -> /usr/src/tmp/python-module-ping-buildroot/usr/lib/python2.7/site-packages byte-compiling /usr/src/tmp/python-module-ping-buildroot/usr/lib/python2.7/site-packages/ping.py to ping.pyc running install_egg_info Writing /usr/src/tmp/python-module-ping-buildroot/usr/lib/python2.7/site-packages/ping-0.2-py2.7.egg-info + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-ping-0.2 + python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-ping-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-ping-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-ping-buildroot/usr/lib/python3/site-packages copying build/lib/ping.py -> /usr/src/tmp/python-module-ping-buildroot/usr/lib/python3/site-packages byte-compiling /usr/src/tmp/python-module-ping-buildroot/usr/lib/python3/site-packages/ping.py to ping.cpython-35.pyc running install_egg_info Writing /usr/src/tmp/python-module-ping-buildroot/usr/lib/python3/site-packages/ping-0.2-py3.5.egg-info + popd ~/RPM/BUILD/python-ping-0.2 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-ping-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-ping-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/python-module-ping-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-ping-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-ping-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-ping-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-ping-buildroot/usr/lib/python2.7/site-packages/ping.pyc compile /usr/src/tmp/python-module-ping-buildroot/usr/lib/python2.7/site-packages/ping.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-ping-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-ping-buildroot/usr/lib/python2.7/site-packages/ping.py Bytecompiling python3 modules in /usr/src/tmp/python-module-ping-buildroot using python3 unlink /usr/src/tmp/python-module-ping-buildroot/usr/lib/python3/site-packages/__pycache__/ping.cpython-35.pyc compile /usr/src/tmp/python-module-ping-buildroot/usr/lib/python3/site-packages/ping.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-ping-buildroot using python3 -O compile /usr/src/tmp/python-module-ping-buildroot/usr/lib/python3/site-packages/ping.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-ping-buildroot using python3 -OO compile /usr/src/tmp/python-module-ping-buildroot/usr/lib/python3/site-packages/ping.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/__pycache__/ping.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/__pycache__/ping.cpython-35.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/ping.pyo' => './usr/lib/python2.7/site-packages/ping.pyc' Processing files: python-module-ping-0.2-alt2.1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.45727 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-ping-0.2 + DOCDIR=/usr/src/tmp/python-module-ping-buildroot/usr/share/doc/python-module-ping-0.2 + export DOCDIR + rm -rf /usr/src/tmp/python-module-ping-buildroot/usr/share/doc/python-module-ping-0.2 + /bin/mkdir -p /usr/src/tmp/python-module-ping-buildroot/usr/share/doc/python-module-ping-0.2 + cp -prL AUTHORS README /usr/src/tmp/python-module-ping-buildroot/usr/share/doc/python-module-ping-0.2 + chmod -R go-w /usr/src/tmp/python-module-ping-buildroot/usr/share/doc/python-module-ping-0.2 + chmod -R a+rX /usr/src/tmp/python-module-ping-buildroot/usr/share/doc/python-module-ping-0.2 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9SSuMS 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.5Zt3lu find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) python.req: /usr/src/tmp/python-module-ping-buildroot/usr/lib/python2.7/site-packages/ping.py: skipping sys shebang.req.files: executable script /usr/src/tmp/python-module-ping-buildroot/usr/lib/python2.7/site-packages/ping.py is not executable Provides: python2.7(ping) Requires: /usr/lib/python2.7/site-packages, python-modules Processing files: python3-module-ping-0.2-alt2.1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.41689 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-ping-0.2 + DOCDIR=/usr/src/tmp/python-module-ping-buildroot/usr/share/doc/python3-module-ping-0.2 + export DOCDIR + rm -rf /usr/src/tmp/python-module-ping-buildroot/usr/share/doc/python3-module-ping-0.2 + /bin/mkdir -p /usr/src/tmp/python-module-ping-buildroot/usr/share/doc/python3-module-ping-0.2 + cp -prL AUTHORS README /usr/src/tmp/python-module-ping-buildroot/usr/share/doc/python3-module-ping-0.2 + chmod -R go-w /usr/src/tmp/python-module-ping-buildroot/usr/share/doc/python3-module-ping-0.2 + chmod -R a+rX /usr/src/tmp/python-module-ping-buildroot/usr/share/doc/python3-module-ping-0.2 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7LIbB9 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.b7KjUR find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) python3.req: /usr/src/tmp/python-module-ping-buildroot/usr/lib/python3/site-packages/ping.py: skipping sys python3.req: /usr/src/tmp/python-module-ping-buildroot/usr/lib/python3/site-packages/ping.py: skipping time shebang.req.files: executable script /usr/src/tmp/python-module-ping-buildroot/usr/lib/python3/site-packages/ping.py is not executable Provides: python3(ping), python3.3(ping) Requires: /usr/lib/python3/site-packages, python3(os) < 0, python3(select) < 0, python3(socket) < 0, python3(struct) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python-module-ping-0.2-alt2.1.1.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python3-module-ping-0.2-alt2.1.1.noarch.rpm 4.89user 1.12system 0:09.27elapsed 64%CPU (0avgtext+0avgdata 20584maxresident)k 0inputs+0outputs (0major+169538minor)pagefaults 0swaps 10.87user 4.56system 0:18.91elapsed 81%CPU (0avgtext+0avgdata 122180maxresident)k 0inputs+0outputs (0major+404233minor)pagefaults 0swaps --- python3-module-ping-0.2-alt2.1.1.noarch.rpm.repo 2016-03-15 16:48:32.000000000 +0000 +++ python3-module-ping-0.2-alt2.1.1.noarch.rpm.hasher 2019-04-14 01:01:14.496747528 +0000 @@ -1,5 +1,6 @@ /usr/lib/python3/site-packages/__pycache__ 40755 -/usr/lib/python3/site-packages/__pycache__/ping.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/ping.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/ping-0.2-py3.3.egg-info 100644 +/usr/lib/python3/site-packages/__pycache__/ping.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/ping.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/ping.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/ping-0.2-py3.5.egg-info 100644 /usr/lib/python3/site-packages/ping.py 100644 @@ -9,3 +10,9 @@ Requires: /usr/lib/python3/site-packages +Requires: python3(os) < 0 +Requires: python3(select) < 0 +Requires: python3(socket) < 0 +Requires: python3(struct) < 0 Requires: rpmlib(PayloadIsLzma) +Provides: python3(ping) +Provides: python3.3(ping) Provides: python3-module-ping = 0.2-alt2.1.1