<86>Nov 12 00:43:19 userdel[4081104]: delete user 'rooter' <86>Nov 12 00:43:19 userdel[4081104]: removed group 'rooter' owned by 'rooter' <86>Nov 12 00:43:19 userdel[4081104]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 12 00:43:19 groupadd[4081116]: group added to /etc/group: name=rooter, GID=930 <86>Nov 12 00:43:19 groupadd[4081116]: group added to /etc/gshadow: name=rooter <86>Nov 12 00:43:19 groupadd[4081116]: new group: name=rooter, GID=930 <86>Nov 12 00:43:19 useradd[4081125]: new user: name=rooter, UID=930, GID=930, home=/root, shell=/bin/bash <86>Nov 12 00:43:19 userdel[4081142]: delete user 'builder' <86>Nov 12 00:43:19 userdel[4081142]: removed group 'builder' owned by 'builder' <86>Nov 12 00:43:19 userdel[4081142]: removed shadow group 'builder' owned by 'builder' <86>Nov 12 00:43:19 groupadd[4081158]: group added to /etc/group: name=builder, GID=931 <86>Nov 12 00:43:19 groupadd[4081158]: group added to /etc/gshadow: name=builder <86>Nov 12 00:43:20 groupadd[4081158]: new group: name=builder, GID=931 <86>Nov 12 00:43:20 useradd[4081170]: new user: name=builder, UID=931, GID=931, home=/usr/src, shell=/bin/bash <13>Nov 12 00:43:21 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626058413 installed <13>Nov 12 00:43:21 rpmi: libexpat-2.2.10-alt1 sisyphus+276608.100.1.2 1625153355 installed <13>Nov 12 00:43:21 rpmi: libp11-kit-0.23.15-alt2 sisyphus+287552.300.2.1 1634541413 installed <13>Nov 12 00:43:21 rpmi: libtasn1-4.17.0-alt2 sisyphus+285706.100.1.1 1632328563 installed <13>Nov 12 00:43:21 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Nov 12 00:43:21 rpmi: alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Nov 12 00:43:21 rpmi: ca-certificates-2021.10.06-alt1 sisyphus+286526.200.1.1 1633528578 installed <13>Nov 12 00:43:21 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Nov 12 00:43:21 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+287552.300.2.1 1634541413 installed <13>Nov 12 00:43:21 rpmi: libcrypto1.1-1.1.1l-alt2 sisyphus+287339.100.1.1 1634383589 installed <13>Nov 12 00:43:21 rpmi: libssl1.1-1.1.1l-alt2 sisyphus+287339.100.1.1 1634383589 installed <13>Nov 12 00:43:21 rpmi: python3-3.9.7-alt3 sisyphus+287552.400.2.1 1634542953 installed <13>Nov 12 00:43:21 rpmi: python3-base-3.9.7-alt3 sisyphus+287552.400.2.1 1634542953 installed <13>Nov 12 00:43:21 rpmi: tests-for-installed-python3-pkgs-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>Nov 12 00:43:21 rpmi: rpm-build-python3-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>Nov 12 00:43:23 rpmi: libSDL2-2.0.16-alt2 sisyphus+289187.100.1.1 1636380881 installed <13>Nov 12 00:43:23 rpmi: libtcl-8.6.12-alt1 sisyphus+289207.100.1.1 1636393871 installed <13>Nov 12 00:43:23 rpmi: libogg-1.3.5-alt1 sisyphus+278100.3400.1.1 1626058929 installed <13>Nov 12 00:43:23 rpmi: python3-module-six-1.16.0-alt1 sisyphus+283489.100.2.1 1629527308 installed <13>Nov 12 00:43:23 rpmi: libopenblas-0.3.17-alt1 sisyphus+283832.100.3.3 1629985941 installed <13>Nov 12 00:43:23 rpmi: libpng16-1.6.37-alt1 sisyphus+275734.100.2.1 1624788826 installed <13>Nov 12 00:43:23 rpmi: libflac8-1.3.3.0.79.37d1-alt2 sisyphus+278100.1400.1.1 1626058195 installed <13>Nov 12 00:43:23 rpmi: libvorbis-1.3.7-alt1 sisyphus+275738.100.1.1 1624751601 installed <13>Nov 12 00:43:23 rpmi: tcl-8.6.12-alt1 sisyphus+289207.100.1.1 1636393871 installed <13>Nov 12 00:43:23 rpmi: libSDL2_image-2.0.5-alt1 sisyphus+279085.100.1.1 1626376167 installed <13>Nov 12 00:43:23 rpmi: libSDL2_mixer-2.0.4-alt2 sisyphus+275034.100.1.1 1624391568 installed <13>Nov 12 00:43:23 rpmi: python3-module-idna-3.3-alt1 sisyphus+288800.100.1.1 1635936399 installed <13>Nov 12 00:43:23 rpmi: python3-module-charset-normalizer-2.0.6-alt1 sisyphus+286375.600.1.1 1633362792 installed <13>Nov 12 00:43:23 rpmi: python3-module-pycparser-2.20-alt2 sisyphus+278697.200.1.1 1626167452 installed <13>Nov 12 00:43:23 rpmi: python3-module-cffi-1.14.5-alt2 sisyphus+287552.200.2.1 1634541112 installed <13>Nov 12 00:43:23 rpmi: python3-module-cryptography-35.0.0-alt2 sisyphus+287689.100.1.1 1634739079 installed <13>Nov 12 00:43:23 rpmi: python3-module-openssl-20.0.1-alt1 sisyphus+267607.100.2.1 1615475362 installed <13>Nov 12 00:43:23 rpmi: python3-module-urllib3-2:1.26.6-alt3 sisyphus+283224.100.2.2 1629257365 installed <13>Nov 12 00:43:23 rpmi: libpython-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Nov 12 00:43:23 rpmi: python2-base-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Nov 12 00:43:23 rpmi: python-modules-encodings-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Nov 12 00:43:23 rpmi: python-modules-compiler-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Nov 12 00:43:23 rpmi: python-modules-email-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Nov 12 00:43:23 rpmi: python-modules-unittest-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Nov 12 00:43:23 rpmi: python-modules-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Nov 12 00:43:23 rpmi: libxblas-1.0.248-alt2 sisyphus+285045.40.2.1 1631388330 installed <13>Nov 12 00:43:23 rpmi: libjpeg-2:2.0.6-alt4 sisyphus+284191.100.1.1 1630330711 installed <13>Nov 12 00:43:23 rpmi: libquadmath0-11.2.1-alt1 sisyphus+285602.200.1.1 1632233545 installed <13>Nov 12 00:43:23 rpmi: libgfortran5-11.2.1-alt1 sisyphus+285602.200.1.1 1632233545 installed <13>Nov 12 00:43:23 rpmi: liblapack-1:3.8.0-alt5 sisyphus+287079.100.1.1 1634202001 installed <13>Nov 12 00:43:24 rpmi: python3-module-numpy-1:1.21.1-alt2 sisyphus+284350.300.3.1 1630580920 installed <13>Nov 12 00:43:24 rpmi: libffi7-1:3.3-alt2 sisyphus+287337.160.5.1 1634396592 installed <13>Nov 12 00:43:24 rpmi: python-modules-ctypes-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Nov 12 00:43:24 rpmi: python-modules-multiprocessing-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Nov 12 00:43:24 rpmi: python-modules-logging-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Nov 12 00:43:24 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Nov 12 00:43:24 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Nov 12 00:43:24 rpmi: libgraphite2-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605111 installed <13>Nov 12 00:43:24 rpmi: libharfbuzz-3.0.0-alt1 sisyphus+285665.100.6.1 1632349054 installed <13>Nov 12 00:43:24 rpmi: libfreetype-2.11.0-alt1 sisyphus+281294.100.1.1 1627488670 installed <13>Nov 12 00:43:24 rpmi: fontconfig-2.13.1-alt2 sisyphus+283256.100.1.1 1629274953 installed Updating fonts cache: <29>Nov 12 00:43:25 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Nov 12 00:43:25 rpmi: libSDL2_ttf-2.0.15-alt1 sisyphus+279086.100.1.1 1626376192 installed <13>Nov 12 00:43:25 rpmi: libopus-1.3.1-alt3 sisyphus+278010.100.1.2 1625975522 installed <13>Nov 12 00:43:25 rpmi: libgsm-1.0.17-alt1 sisyphus+275359.100.2.1 1624907612 installed <13>Nov 12 00:43:25 rpmi: libsndfile-1.0.31-alt1 sisyphus+279495.100.1.1 1626550760 installed <13>Nov 12 00:43:25 rpmi: liblz4-1:1.9.3-alt1 sisyphus+278100.4000.1.1 1626059441 installed <13>Nov 12 00:43:25 rpmi: libsystemd-1:249.6-alt1 sisyphus+289416.100.1.1 1636655101 installed <13>Nov 12 00:43:25 rpmi: libdbus-1.12.20-alt1 sisyphus+281278.100.1.1 1627484261 installed <13>Nov 12 00:43:25 rpmi: libasyncns-0.8-alt2.qa1 sisyphus+275091.100.1.1 1624402241 installed <13>Nov 12 00:43:25 rpmi: libX11-locales-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637383 installed <13>Nov 12 00:43:25 rpmi: libXdmcp-1.1.3-alt1 sisyphus+278816.100.1.1 1626219231 installed <13>Nov 12 00:43:25 rpmi: libXau-1.0.9-alt1 sisyphus+278247.100.1.1 1626080736 installed <13>Nov 12 00:43:25 rpmi: libxcb-1.14-alt1 sisyphus+277968.100.1.3 1625952322 installed <13>Nov 12 00:43:25 rpmi: libX11-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637383 installed <13>Nov 12 00:43:25 rpmi: libXext-1.3.4-alt1 sisyphus+278817.100.1.3 1626262596 installed <13>Nov 12 00:43:25 rpmi: libXrender-0.9.10-alt1 sisyphus+278480.100.1.2 1626227740 installed <13>Nov 12 00:43:25 rpmi: libXrandr-1.5.2-alt1 sisyphus+275330.100.2.2 1624575558 installed <13>Nov 12 00:43:25 rpmi: libXft-2.3.4-alt1 sisyphus+284644.500.1.1 1630910476 installed <13>Nov 12 00:43:25 rpmi: libtk-8.6.12-alt1 sisyphus+289207.200.1.1 1636394135 installed <13>Nov 12 00:43:25 rpmi: tk-8.6.12-alt1 sisyphus+289207.200.1.1 1636394135 installed <13>Nov 12 00:43:25 rpmi: tcl-tix-8.4.3-alt4 sisyphus+277292.300.2.1 1625442550 installed <13>Nov 12 00:43:25 rpmi: libpulseaudio-15.0-alt1 sisyphus+281243.100.1.2 1627477159 installed <13>Nov 12 00:43:25 rpmi: alsa-ucm-conf-1.2.5.1-alt1 sisyphus+274777.200.1.1 1624089157 installed <13>Nov 12 00:43:25 rpmi: alsa-topology-conf-1.2.5.1-alt1 sisyphus+274777.100.1.1 1624089141 installed <13>Nov 12 00:43:25 rpmi: libalsa-1:1.2.5.1-alt2 sisyphus+286787.100.2.3 1633967382 installed <13>Nov 12 00:43:25 rpmi: libSDL-1.2.14-alt10 sisyphus+284852.100.1.1 1631107838 installed <13>Nov 12 00:43:25 rpmi: libportmidi-217-alt3 sisyphus+278012.100.1.2 1625975447 installed <13>Nov 12 00:43:25 rpmi: python3-module-pygame-2.0.1-alt3 sisyphus+282622.100.1.1 1628927984 installed <13>Nov 12 00:43:25 rpmi: python3-modules-tkinter-3.9.7-alt3 sisyphus+287552.400.2.1 1634542953 installed <13>Nov 12 00:43:25 rpmi: python-tools-2to3-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Nov 12 00:43:25 rpmi: python3-module-requests-2.26.0-alt2 sisyphus+286450.100.1.1 1633447383 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/pydxcluster-2.21-alt3.nosrc.rpm (w1.gzdio) Installing pydxcluster-2.21-alt3.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.62680 + 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/gzip -dc /usr/src/RPM/SOURCES/pyDXCluster_v2_21.tar.gz + /bin/tar -xf - + /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.60491 + 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.60491 + 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.c3ahQl 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.8aCkjJ 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) 3.52user 0.31system 0:05.58elapsed 68%CPU (0avgtext+0avgdata 67556maxresident)k 0inputs+0outputs (0major+160301minor)pagefaults 0swaps 8.91user 3.32system 0:14.31elapsed 85%CPU (0avgtext+0avgdata 104724maxresident)k 4912inputs+0outputs (45996major+514541minor)pagefaults 0swaps