<86>Feb 28 03:29:20 userdel[1092912]: delete user 'rooter' <86>Feb 28 03:29:20 userdel[1092912]: removed shadow group 'rooter' owned by 'rooter' <86>Feb 28 03:29:20 groupadd[1092917]: group added to /etc/group: name=rooter, GID=573 <86>Feb 28 03:29:20 groupadd[1092917]: group added to /etc/gshadow: name=rooter <86>Feb 28 03:29:20 groupadd[1092917]: new group: name=rooter, GID=573 <86>Feb 28 03:29:20 useradd[1092921]: new user: name=rooter, UID=573, GID=573, home=/root, shell=/bin/bash <86>Feb 28 03:29:20 userdel[1092928]: delete user 'builder' <86>Feb 28 03:29:20 userdel[1092928]: removed group 'builder' owned by 'builder' <86>Feb 28 03:29:20 userdel[1092928]: removed shadow group 'builder' owned by 'builder' <86>Feb 28 03:29:20 groupadd[1092933]: group added to /etc/group: name=builder, GID=574 <86>Feb 28 03:29:20 groupadd[1092933]: group added to /etc/gshadow: name=builder <86>Feb 28 03:29:20 groupadd[1092933]: new group: name=builder, GID=574 <86>Feb 28 03:29:20 useradd[1092937]: new user: name=builder, UID=574, GID=574, home=/usr/src, shell=/bin/bash <13>Feb 28 03:29:23 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Feb 28 03:29:23 rpmi: libexpat-2.2.4-alt1 1503305341 installed <13>Feb 28 03:29:23 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Feb 28 03:29:23 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825069 installed <13>Feb 28 03:29:23 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Feb 28 03:29:24 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Feb 28 03:29:24 rpmi: ca-certificates-2020.01.23-alt1 sisyphus+244791.300.2.1 1580285500 installed <13>Feb 28 03:29:24 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Feb 28 03:29:24 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Feb 28 03:29:24 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235630 installed <13>Feb 28 03:29:24 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235630 installed <13>Feb 28 03:29:24 rpmi: python3-3.7.4-alt2 sisyphus+239418.100.1.1 1571389791 installed <13>Feb 28 03:29:24 rpmi: libpython3-3.7.4-alt2 sisyphus+239418.100.1.1 1571389791 installed <13>Feb 28 03:29:25 rpmi: python3-base-3.7.4-alt2 sisyphus+239418.100.1.1 1571389791 installed <13>Feb 28 03:29:25 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Feb 28 03:29:25 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Feb 28 03:29:29 rpmi: python3-module-six-1.13.0-alt1 sisyphus+240546.100.2.1 1573542703 installed <13>Feb 28 03:29:29 rpmi: libtcl-8.6.10-alt1 sisyphus+241485.100.1.1 1574408296 installed <13>Feb 28 03:29:29 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917982 installed <13>Feb 28 03:29:29 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902884 installed <13>Feb 28 03:29:29 rpmi: libogg-1.3.3-alt1 sisyphus+221902.4000.4.1 1550598413 installed <13>Feb 28 03:29:29 rpmi: libflac8-1.3.2-alt2 sisyphus+220898.4400.11.1 1551972983 installed <13>Feb 28 03:29:29 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744467 installed <13>Feb 28 03:29:29 rpmi: python3-module-pkg_resources-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed <13>Feb 28 03:29:30 rpmi: libopenblas-0.2.20-alt2 sisyphus+229410.100.1.1 1557920443 installed <13>Feb 28 03:29:30 rpmi: python3-module-ntlm-1.1.0-alt1.2 sisyphus+228512.100.1.1 1556654575 installed <13>Feb 28 03:29:30 rpmi: tcl-8.6.10-alt1 sisyphus+241485.100.1.1 1574408296 installed <13>Feb 28 03:29:30 rpmi: python3-module-ndg-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853074 installed <13>Feb 28 03:29:30 rpmi: python3-module-idna-2.8-alt1 sisyphus+227494.400.1.3 1555838720 installed <13>Feb 28 03:29:30 rpmi: python3-module-chardet-3.0.4-alt1 sisyphus+227476.1700.1.2 1555756717 installed <13>Feb 28 03:29:30 rpmi: python3-module-pycparser-2.19-alt2 sisyphus+245734.100.1.1 1581192421 installed <13>Feb 28 03:29:30 rpmi: python3-module-cffi-1.13.2-alt1 sisyphus+240882.100.2.1 1573892830 installed <13>Feb 28 03:29:30 rpmi: python3-module-cryptography-2.8-alt1 sisyphus+239390.100.1.2 1571349409 installed <13>Feb 28 03:29:30 rpmi: python3-module-OpenSSL-19.0.0-alt1 sisyphus+238757.100.1.1 1570339901 installed <13>Feb 28 03:29:30 rpmi: python3-module-ndg-httpsclient-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853074 installed <13>Feb 28 03:29:30 rpmi: python3-module-urllib3-2:1.25.6-alt1 sisyphus+238720.100.2.1 1570349439 installed <13>Feb 28 03:29:30 rpmi: libnumpy-py3-1:1.15.4-alt4 sisyphus+245852.500.2.1 1581424374 installed <13>Feb 28 03:29:30 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>Feb 28 03:29:30 rpmi: libxblas-1.0.248-alt1.3 sisyphus+229150.100.1.1 1557388758 installed <13>Feb 28 03:29:30 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>Feb 28 03:29:30 rpmi: libquadmath0-9.2.1-alt3 sisyphus+245055.100.1.1 1580041305 installed <13>Feb 28 03:29:30 rpmi: libgfortran5-9.2.1-alt3 sisyphus+245055.100.1.1 1580041305 installed <13>Feb 28 03:29:30 rpmi: liblapack-1:3.8.0-alt3 sisyphus+221521.100.1.1 1550134909 installed <13>Feb 28 03:29:31 rpmi: python3-module-numpy-1:1.15.4-alt4 sisyphus+245852.500.2.1 1581424374 installed <13>Feb 28 03:29:31 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <86>Feb 28 03:29:31 groupadd[1102408]: group added to /etc/group: name=_keytab, GID=499 <86>Feb 28 03:29:31 groupadd[1102408]: group added to /etc/gshadow: name=_keytab <86>Feb 28 03:29:31 groupadd[1102408]: new group: name=_keytab, GID=499 <13>Feb 28 03:29:31 rpmi: libkrb5-1.17.1-alt1 sisyphus+242784.100.1.1 1576137160 installed <13>Feb 28 03:29:31 rpmi: libtirpc-1.0.3-alt1 1532008015 installed <13>Feb 28 03:29:31 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>Feb 28 03:29:31 rpmi: python-modules-encodings-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>Feb 28 03:29:31 rpmi: python-modules-compiler-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>Feb 28 03:29:31 rpmi: python-modules-email-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>Feb 28 03:29:31 rpmi: python-modules-unittest-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>Feb 28 03:29:31 rpmi: python-modules-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>Feb 28 03:29:31 rpmi: python-modules-nis-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>Feb 28 03:29:31 rpmi: python-modules-ctypes-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>Feb 28 03:29:31 rpmi: python-modules-multiprocessing-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>Feb 28 03:29:31 rpmi: python-modules-logging-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>Feb 28 03:29:31 rpmi: libgraphite2-1.3.13-alt2 sisyphus+226799.100.1.1 1554648233 installed <13>Feb 28 03:29:31 rpmi: libharfbuzz-2.6.4-alt1 sisyphus+240033.100.1.1 1572506772 installed <13>Feb 28 03:29:31 rpmi: libfreetype-2.10.1-alt1 sisyphus+237471.100.1.1 1568276349 installed <13>Feb 28 03:29:31 rpmi: fontconfig-2.13.1-alt1 sisyphus+226691.100.2.2 1554598717 installed Updating fonts cache: <29>Feb 28 03:29:32 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Feb 28 03:29:32 rpmi: libmad-0.15.1b-alt9 sisyphus+222614.100.1.1 1550890148 installed <13>Feb 28 03:29:33 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Feb 28 03:29:33 rpmi: libwebp7-1.1.0-alt1 sisyphus+243895.100.1.1 1578410876 installed <13>Feb 28 03:29:33 rpmi: libjbig-2.1-alt1 1401380921 installed <13>Feb 28 03:29:33 rpmi: libtiff5-4.1.0-alt1 sisyphus+240802.100.1.1 1573743630 installed <13>Feb 28 03:29:33 rpmi: libgsm-1.0.17-alt1 1523356157 installed <13>Feb 28 03:29:33 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333060 installed <13>Feb 28 03:29:33 rpmi: liblz4-1:1.9.2-alt1 sisyphus+238585.100.2.2 1570066861 installed <13>Feb 28 03:29:33 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521088 installed <13>Feb 28 03:29:33 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746563 installed <13>Feb 28 03:29:33 rpmi: libsystemd-1:244.3-alt2 sisyphus+246535.200.2.1 1581950419 installed <13>Feb 28 03:29:33 rpmi: libdbus-1.12.16-alt2 sisyphus+240566.100.2.1 1573547688 installed <13>Feb 28 03:29:33 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed <13>Feb 28 03:29:33 rpmi: libX11-locales-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Feb 28 03:29:33 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Feb 28 03:29:33 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Feb 28 03:29:33 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Feb 28 03:29:33 rpmi: libX11-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Feb 28 03:29:33 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Feb 28 03:29:33 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Feb 28 03:29:33 rpmi: libpulseaudio-13.0-alt3 sisyphus+242188.100.1.1 1575382762 installed <13>Feb 28 03:29:33 rpmi: libmikmod-3.3.11.1-alt2 1502706813 installed <13>Feb 28 03:29:33 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949698 installed <13>Feb 28 03:29:33 rpmi: libXft-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987714 installed <13>Feb 28 03:29:33 rpmi: libtk-8.6.10-alt1 sisyphus+241485.200.1.1 1574408419 installed <13>Feb 28 03:29:33 rpmi: tk-8.6.10-alt1 sisyphus+241485.200.1.1 1574408419 installed <13>Feb 28 03:29:33 rpmi: alsa-ucm-conf-1.2.2-alt1 sisyphus+246761.200.1.1 1582270179 installed <13>Feb 28 03:29:33 rpmi: alsa-topology-conf-1.2.2-alt1 sisyphus+246761.100.1.1 1582270157 installed <13>Feb 28 03:29:33 rpmi: libalsa-1:1.2.2-alt1 sisyphus+246761.300.1.1 1582270244 installed <13>Feb 28 03:29:33 rpmi: libSDL-1.2.14-alt8 sisyphus+232545.100.1.1 1560879158 installed <13>Feb 28 03:29:33 rpmi: libSDL_image-1.2.12-alt2 sisyphus+223384.100.1.1 1551514520 installed <13>Feb 28 03:29:33 rpmi: libSDL_mixer-1.2.12-alt1 1421435872 installed <13>Feb 28 03:29:33 rpmi: libSDL_ttf-2.0.10-alt2 1314052175 installed <13>Feb 28 03:29:33 rpmi: libportmidi-217-alt3 1440351468 installed <13>Feb 28 03:29:34 rpmi: python3-module-pygame-1.9.4-alt1 sisyphus+225625.37000.91.1 1555333511 installed <13>Feb 28 03:29:34 rpmi: python3-modules-tkinter-3.7.4-alt2 sisyphus+239418.100.1.1 1571389791 installed <13>Feb 28 03:29:34 rpmi: python-tools-2to3-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>Feb 28 03:29:34 rpmi: python3-module-requests-2.22.0-alt1 sisyphus+238756.100.1.1 1570338316 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/pydxcluster-2.21-alt3.nosrc.rpm 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.93295 + 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.34056 + 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 + 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) 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 Hardlinking identical .pyc and .pyo files Processing files: pydxcluster-2.21-alt3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.49747 + 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.QNrGz8 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.h7Q7z8 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) 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 15.12user 0.82system 0:17.99elapsed 88%CPU (0avgtext+0avgdata 67604maxresident)k 0inputs+0outputs (0major+147415minor)pagefaults 0swaps 28.95user 7.99system 0:40.46elapsed 91%CPU (0avgtext+0avgdata 109604maxresident)k 20352inputs+0outputs (0major+571699minor)pagefaults 0swaps