<86>May 22 10:07:59 userdel[3268199]: delete user 'rooter' <86>May 22 10:07:59 userdel[3268199]: removed group 'rooter' owned by 'rooter' <86>May 22 10:07:59 userdel[3268199]: removed shadow group 'rooter' owned by 'rooter' <86>May 22 10:07:59 groupadd[3268217]: group added to /etc/group: name=rooter, GID=642 <86>May 22 10:07:59 groupadd[3268217]: group added to /etc/gshadow: name=rooter <86>May 22 10:07:59 groupadd[3268217]: new group: name=rooter, GID=642 <86>May 22 10:07:59 useradd[3268230]: new user: name=rooter, UID=642, GID=642, home=/root, shell=/bin/bash <86>May 22 10:07:59 userdel[3268255]: delete user 'builder' <86>May 22 10:07:59 userdel[3268255]: removed group 'builder' owned by 'builder' <86>May 22 10:07:59 userdel[3268255]: removed shadow group 'builder' owned by 'builder' <86>May 22 10:07:59 groupadd[3268270]: group added to /etc/group: name=builder, GID=643 <86>May 22 10:07:59 groupadd[3268270]: group added to /etc/gshadow: name=builder <86>May 22 10:07:59 groupadd[3268270]: new group: name=builder, GID=643 <86>May 22 10:07:59 useradd[3268280]: new user: name=builder, UID=643, GID=643, home=/usr/src, shell=/bin/bash <13>May 22 10:08:02 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>May 22 10:08:02 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>May 22 10:08:02 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>May 22 10:08:02 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>May 22 10:08:02 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 22 10:08:02 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 22 10:08:02 rpmi: ca-certificates-2021.03.24-alt1 sisyphus+268304.300.1.1 1616591829 installed <13>May 22 10:08:02 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>May 22 10:08:02 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>May 22 10:08:02 rpmi: libcrypto1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>May 22 10:08:02 rpmi: libssl1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>May 22 10:08:02 rpmi: python3-3.9.5-alt1 sisyphus+271461.100.1.1 1620748853 installed <13>May 22 10:08:03 rpmi: python3-base-3.9.5-alt1 sisyphus+271461.100.1.1 1620748853 installed <13>May 22 10:08:04 rpmi: libpython3-3.9.5-alt1 sisyphus+271461.100.1.1 1620748853 installed <13>May 22 10:08:04 rpmi: tests-for-installed-python3-pkgs-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>May 22 10:08:04 rpmi: rpm-build-python3-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>May 22 10:08:07 rpmi: libSDL2-2.0.14-alt4 sisyphus+268543.100.1.1 1616885496 installed <13>May 22 10:08:08 rpmi: libtcl-8.6.11-alt1 sisyphus+264361.140.8.1 1610711374 installed <13>May 22 10:08:08 rpmi: python3-module-pkg_resources-1:56.1.0-alt1 sisyphus+271297.100.1.1 1620375295 installed <13>May 22 10:08:08 rpmi: python3-module-six-1.15.0-alt2 sisyphus+270533.5100.6.1 1619685463 installed <13>May 22 10:08:08 rpmi: libopenblas-0.3.9-alt1 sisyphus+238855.200.5.1 1593950422 installed <13>May 22 10:08:08 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>May 22 10:08:08 rpmi: python3-module-ntlm-1.1.0-alt1.2 sisyphus+228512.100.1.1 1556654575 installed <13>May 22 10:08:08 rpmi: tcl-8.6.11-alt1 sisyphus+264361.140.8.1 1610711374 installed <13>May 22 10:08:08 rpmi: libSDL2_image-2.0.5-alt1 sisyphus+266133.100.1.1 1612981880 installed <13>May 22 10:08:08 rpmi: libSDL2_mixer-2.0.4-alt2 sisyphus+226796.100.1.1 1554637286 installed <13>May 22 10:08:08 rpmi: python3-module-ndg-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>May 22 10:08:08 rpmi: python3-module-idna-3.1-alt1 sisyphus+267356.100.1.1 1614879269 installed <13>May 22 10:08:08 rpmi: python3-module-chardet-1:3.0.4-alt2 sisyphus+263408.100.1.1 1607875228 installed <13>May 22 10:08:08 rpmi: python3-module-pycparser-2.20-alt1 sisyphus+260990.100.1.1 1604547209 installed <13>May 22 10:08:08 rpmi: python3-module-cffi-1.14.5-alt2 sisyphus+270533.2000.6.1 1619684442 installed <13>May 22 10:08:08 rpmi: python3-module-cryptography-3.4.7-alt1 sisyphus+270667.100.1.1 1619307697 installed <13>May 22 10:08:08 rpmi: python3-module-openssl-20.0.1-alt1 sisyphus+267607.100.2.1 1615475362 installed <13>May 22 10:08:08 rpmi: python3-module-ndg-httpsclient-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>May 22 10:08:08 rpmi: python3-module-urllib3-2:1.25.10-alt1 sisyphus+255342.100.1.1 1595592746 installed <13>May 22 10:08:08 rpmi: libpython-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 22 10:08:08 rpmi: python2-base-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 22 10:08:08 rpmi: python-modules-encodings-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 22 10:08:09 rpmi: python-modules-compiler-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 22 10:08:09 rpmi: python-modules-email-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 22 10:08:09 rpmi: python-modules-unittest-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 22 10:08:09 rpmi: python-modules-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 22 10:08:09 rpmi: python-modules-ctypes-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 22 10:08:09 rpmi: python-modules-multiprocessing-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 22 10:08:09 rpmi: python-modules-logging-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 22 10:08:09 rpmi: libxblas-1.0.248-alt1.3 sisyphus+229150.100.1.1 1557388786 installed <13>May 22 10:08:09 rpmi: libjpeg-2:2.0.6-alt1 sisyphus+266888.100.1.1 1614172387 installed <13>May 22 10:08:09 rpmi: libquadmath0-10.2.1-alt3 sisyphus+267829.100.1.1 1615808579 installed <13>May 22 10:08:09 rpmi: libgfortran5-10.2.1-alt3 sisyphus+267829.100.1.1 1615808579 installed <13>May 22 10:08:10 rpmi: liblapack-1:3.8.0-alt4 sisyphus+264284.100.1.1 1609587717 installed <13>May 22 10:08:10 rpmi: python3-module-numpy-1:1.20.2-alt2 sisyphus+270738.100.1.1 1619448839 installed <13>May 22 10:08:10 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>May 22 10:08:10 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>May 22 10:08:10 rpmi: libxcb-1.14-alt1 sisyphus+247358.200.1.3 1583854228 installed <13>May 22 10:08:10 rpmi: libX11-locales-3:1.7.1-alt1 sisyphus+272146.200.1.1 1621424771 installed <13>May 22 10:08:10 rpmi: libX11-3:1.7.1-alt1 sisyphus+272146.200.1.1 1621424825 installed <13>May 22 10:08:10 rpmi: libXrender-0.9.10-alt1 sisyphus+261890.100.1.1 1605595177 installed <13>May 22 10:08:10 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+257777.100.1.1 1599688017 installed <13>May 22 10:08:10 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+257777.100.1.1 1599688017 installed <13>May 22 10:08:10 rpmi: libgraphite2-1.3.14-alt2 sisyphus+250009.100.1.1 1586943065 installed <13>May 22 10:08:10 rpmi: libharfbuzz-2.8.1-alt1 sisyphus+271208.140.6.1 1620770336 installed <13>May 22 10:08:11 rpmi: libfreetype-2.10.4-alt2 sisyphus+260293.100.2.1 1604479496 installed <13>May 22 10:08:11 rpmi: fontconfig-2.13.1-alt1 sisyphus+257555.100.1.1 1599475160 installed Updating fonts cache: <29>May 22 10:08:12 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>May 22 10:08:12 rpmi: libXft-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987708 installed <13>May 22 10:08:12 rpmi: libtk-8.6.11.1-alt1 sisyphus+269790.200.2.1 1618273804 installed <13>May 22 10:08:12 rpmi: tk-8.6.11.1-alt1 sisyphus+269790.200.2.1 1618273804 installed <13>May 22 10:08:12 rpmi: tcl-tix-8.4.3-alt3 sisyphus.213276.100 1537348650 installed <13>May 22 10:08:12 rpmi: libSDL2_ttf-2.0.15-alt1 sisyphus+266133.200.1.1 1612981922 installed <13>May 22 10:08:12 rpmi: alsa-ucm-conf-1.2.4-alt1 sisyphus+260180.200.1.1 1603282405 installed <13>May 22 10:08:12 rpmi: alsa-topology-conf-1.2.4-alt1 sisyphus+260180.100.1.1 1603282384 installed <13>May 22 10:08:12 rpmi: libalsa-1:1.2.4-alt1 sisyphus+260180.300.1.1 1603282509 installed <13>May 22 10:08:12 rpmi: libportmidi-217-alt3 1440351471 installed <13>May 22 10:08:12 rpmi: python3-module-pygame-2.0.1-alt1 sisyphus+265234.40400.49.1 1613773961 installed <13>May 22 10:08:13 rpmi: python3-modules-tkinter-3.9.5-alt1 sisyphus+271461.100.1.1 1620748853 installed <13>May 22 10:08:13 rpmi: python-tools-2to3-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 22 10:08:13 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.87274 + 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.77869 + 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.42516 + 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.l1uOY7 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.DgpGE9 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) 19.39user 0.83system 0:21.82elapsed 92%CPU (0avgtext+0avgdata 36568maxresident)k 0inputs+0outputs (0major+119335minor)pagefaults 0swaps 34.06user 8.40system 0:44.93elapsed 94%CPU (0avgtext+0avgdata 113604maxresident)k 14664inputs+0outputs (0major+531420minor)pagefaults 0swaps