<86>Sep 14 12:23:43 userdel[3016609]: delete user 'rooter' <86>Sep 14 12:23:43 userdel[3016609]: removed group 'rooter' owned by 'rooter' <86>Sep 14 12:23:43 userdel[3016609]: removed shadow group 'rooter' owned by 'rooter' <86>Sep 14 12:23:43 groupadd[3016616]: group added to /etc/group: name=rooter, GID=672 <86>Sep 14 12:23:43 groupadd[3016616]: group added to /etc/gshadow: name=rooter <86>Sep 14 12:23:43 groupadd[3016616]: new group: name=rooter, GID=672 <86>Sep 14 12:23:43 useradd[3016622]: new user: name=rooter, UID=672, GID=672, home=/root, shell=/bin/bash <86>Sep 14 12:23:43 userdel[3016637]: delete user 'builder' <86>Sep 14 12:23:43 userdel[3016637]: removed group 'builder' owned by 'builder' <86>Sep 14 12:23:43 userdel[3016637]: removed shadow group 'builder' owned by 'builder' <86>Sep 14 12:23:43 groupadd[3016664]: group added to /etc/group: name=builder, GID=673 <86>Sep 14 12:23:43 groupadd[3016664]: group added to /etc/gshadow: name=builder <86>Sep 14 12:23:43 groupadd[3016664]: new group: name=builder, GID=673 <86>Sep 14 12:23:43 useradd[3016672]: new user: name=builder, UID=673, GID=673, home=/usr/src, shell=/bin/bash <13>Sep 14 12:23:45 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626059138 installed <13>Sep 14 12:23:45 rpmi: libexpat-2.2.10-alt1 sisyphus+276608.100.1.2 1625153360 installed <13>Sep 14 12:23:45 rpmi: libp11-kit-0.23.15-alt2 sisyphus+278382.100.1.2 1626190687 installed <13>Sep 14 12:23:45 rpmi: libtasn1-4.17.0-alt1 sisyphus+276722.100.1.1 1625211286 installed <13>Sep 14 12:23:45 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Sep 14 12:23:45 rpmi: alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Sep 14 12:23:45 rpmi: ca-certificates-2021.06.03-alt1 sisyphus+273509.400.1.1 1622736045 installed <13>Sep 14 12:23:45 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Sep 14 12:23:45 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+278382.100.1.2 1626190687 installed <13>Sep 14 12:23:45 rpmi: libcrypto1.1-1.1.1l-alt1 sisyphus+283685.100.1.1 1629816097 installed <13>Sep 14 12:23:45 rpmi: libssl1.1-1.1.1l-alt1 sisyphus+283685.100.1.1 1629816097 installed <13>Sep 14 12:23:45 rpmi: python3-3.9.6-alt2 sisyphus+283178.100.2.1 1629243244 installed <13>Sep 14 12:23:46 rpmi: python3-base-3.9.6-alt2 sisyphus+283178.100.2.1 1629243244 installed <13>Sep 14 12:23:46 rpmi: libpython3-3.9.6-alt2 sisyphus+283178.100.2.1 1629243244 installed <13>Sep 14 12:23:46 rpmi: tests-for-installed-python3-pkgs-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>Sep 14 12:23:46 rpmi: rpm-build-python3-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>Sep 14 12:23:48 rpmi: libSDL2-2.0.16-alt1 sisyphus+282382.100.1.1 1628617733 installed <13>Sep 14 12:23:48 rpmi: libtcl-8.6.11-alt3 sisyphus+284233.40.3.1 1630366292 installed <13>Sep 14 12:23:48 rpmi: libogg-1.3.5-alt1 sisyphus+278100.3400.1.1 1626059695 installed <13>Sep 14 12:23:48 rpmi: python3-module-six-1.16.0-alt1 sisyphus+283489.100.2.1 1629527308 installed <13>Sep 14 12:23:48 rpmi: libopenblas-0.3.17-alt1 sisyphus+283832.100.3.3 1629985974 installed <13>Sep 14 12:23:48 rpmi: libpng16-1.6.37-alt1 sisyphus+275734.100.2.1 1624788812 installed <13>Sep 14 12:23:48 rpmi: libflac8-1.3.3.0.79.37d1-alt2 sisyphus+278100.1400.1.1 1626058888 installed <13>Sep 14 12:23:49 rpmi: libvorbis-1.3.7-alt1 sisyphus+275738.100.1.1 1624751609 installed <13>Sep 14 12:23:49 rpmi: tcl-8.6.11-alt3 sisyphus+284233.40.3.1 1630366292 installed <13>Sep 14 12:23:49 rpmi: libSDL2_image-2.0.5-alt1 sisyphus+279085.100.1.1 1626376169 installed <13>Sep 14 12:23:49 rpmi: libSDL2_mixer-2.0.4-alt2 sisyphus+275034.100.1.1 1624391569 installed <13>Sep 14 12:23:49 rpmi: python3-module-idna-3.2-alt1 sisyphus+274748.100.1.1 1624021080 installed <13>Sep 14 12:23:49 rpmi: python3-module-chardet-1:3.0.4-alt3 sisyphus+284855.100.1.1 1631108377 installed <13>Sep 14 12:23:49 rpmi: python3-module-pycparser-2.20-alt2 sisyphus+278697.200.1.1 1626167452 installed <13>Sep 14 12:23:49 rpmi: python3-module-cffi-1.14.5-alt2 sisyphus+279395.100.1.2 1626532823 installed <13>Sep 14 12:23:49 rpmi: python3-module-cryptography-3.4.7-alt1 sisyphus+270667.100.1.1 1619307697 installed <13>Sep 14 12:23:49 rpmi: python3-module-openssl-20.0.1-alt1 sisyphus+267607.100.2.1 1615475362 installed <13>Sep 14 12:23:49 rpmi: python3-module-urllib3-2:1.26.6-alt3 sisyphus+283224.100.2.2 1629257365 installed <13>Sep 14 12:23:49 rpmi: libpython-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed <13>Sep 14 12:23:49 rpmi: python2-base-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed <13>Sep 14 12:23:49 rpmi: python-modules-encodings-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed <13>Sep 14 12:23:49 rpmi: python-modules-compiler-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed <13>Sep 14 12:23:49 rpmi: python-modules-email-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed <13>Sep 14 12:23:49 rpmi: python-modules-unittest-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed <13>Sep 14 12:23:49 rpmi: python-modules-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed <13>Sep 14 12:23:49 rpmi: python-modules-ctypes-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed <13>Sep 14 12:23:49 rpmi: python-modules-multiprocessing-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed <13>Sep 14 12:23:49 rpmi: python-modules-logging-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed <13>Sep 14 12:23:50 rpmi: libxblas-1.0.248-alt2 sisyphus+285045.40.2.1 1631388462 installed <13>Sep 14 12:23:50 rpmi: libjpeg-2:2.0.6-alt4 sisyphus+284191.100.1.1 1630330787 installed <13>Sep 14 12:23:50 rpmi: libquadmath0-11.2.1-alt1 icarus+285089.100.1.1 1631479831 installed <13>Sep 14 12:23:50 rpmi: libgfortran5-11.2.1-alt1 icarus+285089.100.1.1 1631479831 installed <13>Sep 14 12:23:50 rpmi: liblapack-1:3.8.0-alt4 sisyphus+264284.100.1.1 1609587717 installed <13>Sep 14 12:23:50 rpmi: python3-module-numpy-1:1.21.1-alt2 sisyphus+284350.300.3.1 1630581037 installed <13>Sep 14 12:23:50 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Sep 14 12:23:50 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Sep 14 12:23:50 rpmi: libgraphite2-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605157 installed <13>Sep 14 12:23:50 rpmi: libharfbuzz-2.8.2-alt1 sisyphus+276374.40.4.1 1628747521 installed <13>Sep 14 12:23:50 rpmi: libfreetype-2.11.0-alt1 sisyphus+281294.100.1.1 1627488674 installed <13>Sep 14 12:23:50 rpmi: fontconfig-2.13.1-alt2 sisyphus+283256.100.1.1 1629274963 installed Updating fonts cache: <29>Sep 14 12:23:51 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Sep 14 12:23:51 rpmi: libSDL2_ttf-2.0.15-alt1 sisyphus+279086.100.1.1 1626376193 installed <13>Sep 14 12:23:51 rpmi: libopus-1.3.1-alt3 sisyphus+278010.100.1.2 1625975602 installed <13>Sep 14 12:23:51 rpmi: libgsm-1.0.17-alt1 sisyphus+275359.100.2.1 1624907612 installed <13>Sep 14 12:23:51 rpmi: libsndfile-1.0.31-alt1 sisyphus+279495.100.1.1 1626550766 installed <13>Sep 14 12:23:51 rpmi: liblz4-1:1.9.3-alt1 sisyphus+278100.4000.1.1 1626060252 installed <13>Sep 14 12:23:52 rpmi: libgpg-error-1.42-alt1 sisyphus+275524.40.1.1 1624455836 installed <13>Sep 14 12:23:52 rpmi: libgcrypt20-1.9.3-alt1 sisyphus+275524.100.1.1 1624456196 installed <13>Sep 14 12:23:52 rpmi: libsystemd-1:249.4-alt2 sisyphus+284628.100.1.1 1630859862 installed <13>Sep 14 12:23:52 rpmi: libdbus-1.12.20-alt1 sisyphus+281278.100.1.1 1627484268 installed <13>Sep 14 12:23:52 rpmi: libasyncns-0.8-alt2.qa1 sisyphus+275091.100.1.1 1624402242 installed <13>Sep 14 12:23:52 rpmi: libX11-locales-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637383 installed <13>Sep 14 12:23:52 rpmi: libXdmcp-1.1.3-alt1 sisyphus+278816.100.1.1 1626219233 installed <13>Sep 14 12:23:52 rpmi: libXau-1.0.9-alt1 sisyphus+278247.100.1.1 1626080738 installed <13>Sep 14 12:23:52 rpmi: libxcb-1.14-alt1 sisyphus+277968.100.1.3 1625952333 installed <13>Sep 14 12:23:52 rpmi: libX11-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637391 installed <13>Sep 14 12:23:52 rpmi: libXext-1.3.4-alt1 sisyphus+278817.100.1.3 1626262589 installed <13>Sep 14 12:23:52 rpmi: libXrender-0.9.10-alt1 sisyphus+278480.100.1.2 1626227741 installed <13>Sep 14 12:23:52 rpmi: libXrandr-1.5.2-alt1 sisyphus+275330.100.2.2 1624575560 installed <13>Sep 14 12:23:52 rpmi: libXft-2.3.4-alt1 sisyphus+284644.500.1.1 1630910448 installed <13>Sep 14 12:23:52 rpmi: libtk-8.6.11.1-alt2 sisyphus+284049.200.1.1 1630096283 installed <13>Sep 14 12:23:52 rpmi: tk-8.6.11.1-alt2 sisyphus+284049.200.1.1 1630096283 installed <13>Sep 14 12:23:52 rpmi: tcl-tix-8.4.3-alt4 sisyphus+277292.300.2.1 1625442551 installed <13>Sep 14 12:23:52 rpmi: libpulseaudio-15.0-alt1 sisyphus+281243.100.1.2 1627477167 installed <13>Sep 14 12:23:52 rpmi: alsa-ucm-conf-1.2.5.1-alt1 sisyphus+274777.200.1.1 1624089157 installed <13>Sep 14 12:23:52 rpmi: alsa-topology-conf-1.2.5.1-alt1 sisyphus+274777.100.1.1 1624089141 installed <13>Sep 14 12:23:52 rpmi: libalsa-1:1.2.5.1-alt1 sisyphus+279749.100.1.1 1626687314 installed <13>Sep 14 12:23:52 rpmi: libSDL-1.2.14-alt10 sisyphus+284852.100.1.1 1631107844 installed <13>Sep 14 12:23:52 rpmi: libportmidi-217-alt3 sisyphus+278012.100.1.2 1625975447 installed <13>Sep 14 12:23:53 rpmi: python3-module-pygame-2.0.1-alt3 sisyphus+282622.100.1.1 1628927990 installed <13>Sep 14 12:23:54 rpmi: python3-modules-tkinter-3.9.6-alt2 sisyphus+283178.100.2.1 1629243244 installed <13>Sep 14 12:23:54 rpmi: python-tools-2to3-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed <13>Sep 14 12:23:54 rpmi: python3-module-requests-2.25.1-alt2 sisyphus+267359.100.1.1 1614881487 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/pydxcluster-2.21-alt3.nosrc.rpm (w1.gzdio) Installing pydxcluster-2.21-alt3.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.94360 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf pydxcluster-2.21 + /bin/mkdir -p pydxcluster-2.21 + cd pydxcluster-2.21 + echo 'Source #0 (pyDXCluster_v2_21.tar.gz):' Source #0 (pyDXCluster_v2_21.tar.gz): + /bin/tar -xf - + /bin/gzip -dc /usr/src/RPM/SOURCES/pyDXCluster_v2_21.tar.gz + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (pydxcluster-use-system-config.patch):' Patch #0 (pydxcluster-use-system-config.patch): + /usr/bin/patch -p2 patching file pyDxCluster_v2_21.py + 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 ./pyDxCluster_v2_21.py RefactoringTool: Files that were modified: RefactoringTool: ./pyDxCluster_v2_21.py --- ./pyDxCluster_v2_21.py (original) +++ ./pyDxCluster_v2_21.py (refactored) @@ -5,13 +5,13 @@ ################################################################################### ################################################################################### -from Tkinter import * +from tkinter import * import telnetlib, string, sys, os, subprocess, re import shutil import requests import pygame -from tkColorChooser import askcolor +from tkinter.colorchooser import askcolor from math import pi, sin, cos, atan2, sqrt, radians, log, tan, degrees # If $HOME/pydxcluster is not exist, create it and copy config files @@ -263,7 +263,7 @@ lets=re.findall(r'([A-Xa-x])([A-Xa-x])',locator) nums=re.findall(r'(\d)(\d)', locator) i=tot=0 - val=range(0,safety) + val=list(range(0,safety)) for m in val: val[m]=None for x,y in lets: @@ -519,7 +519,7 @@ respone=rb.read_until("\n",4) reverseanswer=len(respone) except: - print "Timeout" + print("Timeout") if "ERROR" in respone: @@ -1155,7 +1155,7 @@ def help(): - print + print() def about(): ++ find ./ -name '*.py' + sed -i 's|#!/usr/bin/python|#!/usr/bin/python3|' ./pyDxCluster_v2_21.py + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.75352 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/pydxcluster-buildroot + : + /bin/rm -rf -- /usr/src/tmp/pydxcluster-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd pydxcluster-2.21 + install -Dm0755 pyDxCluster_v2_21.py /usr/src/tmp/pydxcluster-buildroot/usr/bin/pydxcluster + install -d /usr/src/tmp/pydxcluster-buildroot/usr/share/pydxcluster + cp pydxcluster.cfg default.col bell.wav /usr/src/tmp/pydxcluster-buildroot/usr/share/pydxcluster + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/pydxcluster-buildroot (auto) Verifying and fixing files in /usr/src/tmp/pydxcluster-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/pydxcluster-buildroot/ (default) Compressing files in /usr/src/tmp/pydxcluster-buildroot (auto) Verifying ELF objects in /usr/src/tmp/pydxcluster-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .opt-?.pyc files Processing files: pydxcluster-2.21-alt3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.75352 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd pydxcluster-2.21 + DOCDIR=/usr/src/tmp/pydxcluster-buildroot/usr/share/doc/pydxcluster-2.21 + export DOCDIR + rm -rf /usr/src/tmp/pydxcluster-buildroot/usr/share/doc/pydxcluster-2.21 + /bin/mkdir -p /usr/src/tmp/pydxcluster-buildroot/usr/share/doc/pydxcluster-2.21 + cp -prL LICENSE.txt LICENSZ_HUN.txt /usr/src/tmp/pydxcluster-buildroot/usr/share/doc/pydxcluster-2.21 + chmod -R go-w /usr/src/tmp/pydxcluster-buildroot/usr/share/doc/pydxcluster-2.21 + chmod -R a+rX /usr/src/tmp/pydxcluster-buildroot/usr/share/doc/pydxcluster-2.21 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.HqMbKx 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.Qtf1zv find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/lib/rpm/python3.req.py:6: DeprecationWarning: The parser module is deprecated and will be removed in future versions of Python import parser, symbol, token, types /usr/lib/rpm/python3.req.py:6: DeprecationWarning: The symbol module is deprecated and will be removed in future versions of Python import parser, symbol, token, types python3.req: /usr/src/tmp/pydxcluster-buildroot/usr/bin/pydxcluster: skipping sys Requires: /usr/bin/python3, python3(math) < 0, python3(os) < 0, python3(pygame) < 0, python3(re) < 0, python3(requests) < 0, python3(shutil) < 0, python3(string) < 0, python3(subprocess) < 0, python3(telnetlib) < 0, python3(tkinter) < 0, python3(tkinter.colorchooser) < 0 Wrote: /usr/src/RPM/RPMS/noarch/pydxcluster-2.21-alt3.noarch.rpm (w2.lzdio) 8.61user 0.31system 0:12.45elapsed 71%CPU (0avgtext+0avgdata 36544maxresident)k 0inputs+0outputs (0major+116960minor)pagefaults 0swaps 17.47user 3.55system 0:31.78elapsed 66%CPU (0avgtext+0avgdata 103940maxresident)k 14224inputs+0outputs (0major+509317minor)pagefaults 0swaps