<86>Jul 25 07:58:09 userdel[102489]: delete user 'rooter' <86>Jul 25 07:58:09 userdel[102489]: removed group 'rooter' owned by 'rooter' <86>Jul 25 07:58:09 userdel[102489]: removed shadow group 'rooter' owned by 'rooter' <86>Jul 25 07:58:09 groupadd[102504]: group added to /etc/group: name=rooter, GID=621 <86>Jul 25 07:58:09 groupadd[102504]: group added to /etc/gshadow: name=rooter <86>Jul 25 07:58:09 groupadd[102504]: new group: name=rooter, GID=621 <86>Jul 25 07:58:09 useradd[102518]: new user: name=rooter, UID=621, GID=621, home=/root, shell=/bin/bash <86>Jul 25 07:58:09 userdel[102542]: delete user 'builder' <86>Jul 25 07:58:09 userdel[102542]: removed group 'builder' owned by 'builder' <86>Jul 25 07:58:09 userdel[102542]: removed shadow group 'builder' owned by 'builder' <86>Jul 25 07:58:09 groupadd[102559]: group added to /etc/group: name=builder, GID=622 <86>Jul 25 07:58:09 groupadd[102559]: group added to /etc/gshadow: name=builder <86>Jul 25 07:58:09 groupadd[102559]: new group: name=builder, GID=622 <86>Jul 25 07:58:09 useradd[102565]: new user: name=builder, UID=622, GID=622, home=/usr/src, shell=/bin/bash <13>Jul 25 07:58:11 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Jul 25 07:58:11 rpmi: libexpat-2.2.9-alt1 sisyphus+252464.200.2.1 1590958865 installed <13>Jul 25 07:58:11 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Jul 25 07:58:11 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Jul 25 07:58:11 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jul 25 07:58:11 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jul 25 07:58:11 rpmi: ca-certificates-2020.06.29-alt1 sisyphus+254237.300.1.1 1593450881 installed <13>Jul 25 07:58:11 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Jul 25 07:58:11 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Jul 25 07:58:11 rpmi: libcrypto1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Jul 25 07:58:11 rpmi: libssl1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Jul 25 07:58:11 rpmi: python3-3.8.5-alt1 sisyphus+244405.100.3.1 1595544514 installed <13>Jul 25 07:58:12 rpmi: python3-base-3.8.5-alt1 sisyphus+244405.100.3.1 1595544514 installed <13>Jul 25 07:58:12 rpmi: libpython3-3.8.5-alt1 sisyphus+244405.100.3.1 1595544514 installed <13>Jul 25 07:58:12 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Jul 25 07:58:12 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Jul 25 07:58:14 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Jul 25 07:58:14 rpmi: liblmdb-0.9.23-alt1 sisyphus+225277.100.2.1 1553001679 installed <13>Jul 25 07:58:14 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Jul 25 07:58:14 rpmi: libffi6-1:3.2.1-alt4 sisyphus+251953.300.2.1 1589891360 installed <13>Jul 25 07:58:14 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Jul 25 07:58:14 groupadd[125019]: group added to /etc/group: name=_keytab, GID=499 <86>Jul 25 07:58:14 groupadd[125019]: group added to /etc/gshadow: name=_keytab <86>Jul 25 07:58:14 groupadd[125019]: new group: name=_keytab, GID=499 <13>Jul 25 07:58:14 rpmi: libkrb5-1.18.2-alt2 sisyphus+254565.100.4.1 1594375666 installed <13>Jul 25 07:58:14 rpmi: libtirpc-1.2.6-alt1 sisyphus+250076.100.1.1 1587038270 installed <13>Jul 25 07:58:14 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Jul 25 07:58:14 rpmi: python-modules-encodings-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jul 25 07:58:14 rpmi: python-modules-compiler-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jul 25 07:58:14 rpmi: python-modules-email-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jul 25 07:58:14 rpmi: python-modules-unittest-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jul 25 07:58:14 rpmi: python-modules-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jul 25 07:58:14 rpmi: python-modules-nis-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jul 25 07:58:14 rpmi: python-modules-ctypes-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jul 25 07:58:15 rpmi: python-modules-multiprocessing-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jul 25 07:58:15 rpmi: python-modules-logging-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jul 25 07:58:15 rpmi: python-tools-2to3-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/rosa-crypto-tool-0.1.5-alt2.nosrc.rpm <13>Jul 25 07:58:17 rpmi: python3-module-pkg_resources-1:46.1.3-alt1 sisyphus+250566.200.3.1 1587973342 installed <13>Jul 25 07:58:17 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Jul 25 07:58:17 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Jul 25 07:58:17 rpmi: python3-dev-3.8.5-alt1 sisyphus+244405.100.3.1 1595544514 installed <13>Jul 25 07:58:17 rpmi: python3-module-setuptools-1:46.1.3-alt1 sisyphus+250566.200.3.1 1587973342 installed Installing rosa-crypto-tool-0.1.5-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.3509 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf rosa-crypto-tool-0.1.5 + echo 'Source #0 (rosa-crypto-tool-0.1.5.tar):' Source #0 (rosa-crypto-tool-0.1.5.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/rosa-crypto-tool-0.1.5.tar + cd rosa-crypto-tool-0.1.5 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (rosa-crypto-tool-0.1.5-alt2.patch):' Patch #0 (rosa-crypto-tool-0.1.5-alt2.patch): + /usr/bin/patch -p1 patching file .gear/rules patching file .gear/tags/list patching file rosa-crypto-tool.desktop patching file rosa-crypto-tool.spec patching file setup.py patching file src/rosa_crypto_tool_ui.py + sed -i 's|, unicode=True||' src/rosa_crypto_tool.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: No changes to ./setup.py RefactoringTool: Refactored ./src/rosa_crypto_tool.py RefactoringTool: Refactored ./src/rosa_crypto_tool_ui.py RefactoringTool: Refactored ./src/rosa_crypto_tool_main.py --- ./src/rosa_crypto_tool.py (original) +++ ./src/rosa_crypto_tool.py (refactored) @@ -43,8 +43,8 @@ #TODO MIME-type -import rosa_crypto_tool_ui -import rosa_crypto_tool_main +from . import rosa_crypto_tool_ui +from . import rosa_crypto_tool_main import gettext import sys import os.path --- ./src/rosa_crypto_tool_ui.py (original) +++ ./src/rosa_crypto_tool_ui.py (refactored) @@ -148,7 +148,7 @@ action_group.addAction(self.descrypt_act) toolbar.addActions(action_group.actions()) - map (lambda mode: toolbar.widgetForAction(mode).setFixedWidth(95), action_group.actions()) + list(map (lambda mode: toolbar.widgetForAction(mode).setFixedWidth(95), action_group.actions())) toolbar.addWidget(spacing_tb) #spacing toolbar.addWidget(options) @@ -161,7 +161,7 @@ self.list_mode = [self.sign, self.check_sign, self.encrypt, self.descrypt] - map(lambda mode: workspace.addWidget(mode), self.list_mode) + list(map(lambda mode: workspace.addWidget(mode), self.list_mode)) toolbar.actionTriggered.connect(self.switchMode) self.about_act.triggered.connect(self.showAbout) @@ -199,7 +199,7 @@ def __runMode(self, v_mode): """ Install visible target mode and resize window if needed """ - map(lambda mode: mode.setVisible(True) if mode == v_mode else mode.setVisible(False), self.list_mode) + list(map(lambda mode: mode.setVisible(True) if mode == v_mode else mode.setVisible(False), self.list_mode)) v_mode.checkWindow() class AbstrFrame(QFrame): @@ -242,7 +242,7 @@ self.btn_open = QPushButton(self.parent.open_act.icon(), _("Choose")) self.btn_open.setToolTip(self.parent.open_act.toolTip()) - self.btn_details = QPushButton(_("Details") + " " u'\u25BC') + self.btn_details = QPushButton(_("Details") + " " '\u25BC') self.btn_details.setToolTip(_("Show or hide more information")) self.btn_details.clicked.connect(self.showMore) @@ -276,11 +276,11 @@ """ Change height window and show/hide sub field """ if self.result.isVisible(): - self.btn_details.setText(_("Details") + " " u'\u25BC') + self.btn_details.setText(_("Details") + " " '\u25BC') self.result.setVisible(False) self.parent.setFixedHeight(min_height) else: - self.btn_details.setText(_("Details") + " " u'\u25B2') + self.btn_details.setText(_("Details") + " " '\u25B2') self.result.setVisible(True) self.parent.setFixedHeight(max_height) @@ -321,7 +321,7 @@ #required type str to replace characters in the Latin alphabet if the original file name contains Cyrillic self.file_name = path[path.rindex("/")+1:].encode('utf-8') #search last entry "/" and make the cut - self.currently_dir = unicode(path[:path.rindex("/")+1]) #search last entry "/" and make the cut + self.currently_dir = str(path[:path.rindex("/")+1]) #search last entry "/" and make the cut class SignFrame(AbstrFrame): """ Widget for signature """ @@ -424,7 +424,7 @@ if __name__ == '__main__': - print "You run the part program rosa crypto tool, please launch the main file" + print("You run the part program rosa crypto tool, please launch the main file") #for debugger UI #gettext.install('rosa-crypto-tool', unicode=True) --- ./src/rosa_crypto_tool_main.py (original) +++ ./src/rosa_crypto_tool_main.py (refactored) @@ -43,7 +43,7 @@ import sys import os.path import subprocess -import rename +from . import rename import time #rename nedeed for vefify sign #files with the name Cyrillic characters are not available to take certificate @@ -92,7 +92,7 @@ insert_token = False #check insert token on computer if not first_run: - map(lambda field: field.setEnabled(True), self._ui.list_off_all) + list(map(lambda field: field.setEnabled(True), self._ui.list_off_all)) self._ui.sign.list_avail_cert.clear() self._ui.encrypt.list_avail_cert.clear() self._ui.descrypt.list_avail_cert.clear() @@ -107,42 +107,42 @@ else: self.dir_crypt = None if self.dir_crypt is None: - map(lambda field: field.setEnabled(False), self._ui.list_off_all) #disable almost all components + list(map(lambda field: field.setEnabled(False), self._ui.list_off_all)) #disable almost all components list_comp.append("crypto") else: #check installed CryptoPro fasa 2 list_utils_crypt = os.listdir(self.dir_crypt) - check_utils_crypt = map(lambda util: util in list_utils_crypt, UTILS_CRYPT) + check_utils_crypt = [util in list_utils_crypt for util in UTILS_CRYPT] if False in check_utils_crypt: - map(lambda field: field.setEnabled(False), self._ui.list_off_all) + list(map(lambda field: field.setEnabled(False), self._ui.list_off_all)) list_comp.append("crypto") else: #check license CryptoPro lic_crypt = subprocess.call("/opt/cprocsp/sbin/amd64/cpconfig -license -view", shell=True) if lic_crypt == 3: list_comp.append("license") - map(lambda field: field.setEnabled(False), self._ui.list_off_lic) + list(map(lambda field: field.setEnabled(False), self._ui.list_off_lic)) #chek token for device in self.context.list_devices(subsystem='usb'): if 'ID_MODEL' in device and 'token' in device['ID_MODEL'].lower(): insert_token = True break #exit the loop if not insert_token: - map(lambda field: field.setEnabled(False), self._ui.list_off_token) #disable components linked to signature + list(map(lambda field: field.setEnabled(False), self._ui.list_off_token)) #disable components linked to signature list_comp.append("token") #check running PCSCD (needed for token) subprocess.call("%scsptest -keyset -enum_cont -verifyc -fq" %self.dir_crypt, shell=True) #check, automated run pcscd run_pcscd = subprocess.call("pidof pcscd", shell=True) if run_pcscd != 0 and insert_token: list_comp.append("pcsc") - map(lambda field: field.setEnabled(False), self._ui.list_off_token) + list(map(lambda field: field.setEnabled(False), self._ui.list_off_token)) else: if insert_token: info_cert = subprocess.check_output("%scsptest -keyset -enum_cont -verifyc -fq" %self.dir_crypt, shell=True) self.name_cert = self.__parseConsole(info_cert, "\\\\") #if not self.name_cert: self.name_cert.append(_("(Empty)")) #if token empty if not self.name_cert: - map(lambda field: field.setEnabled(False), self._ui.list_off_token) #disable components linked to signature + list(map(lambda field: field.setEnabled(False), self._ui.list_off_token)) #disable components linked to signature list_comp.append("empty_token") else: self._ui.sign.list_avail_cert.addItems(self.name_cert) @@ -179,7 +179,7 @@ self.gost = self.__parseConsole(status_cert, "Signature Algorithm")[0] valid_cert = re.findall('[0-9]{2,4}',row_valid_cert) #take data - valid_cert = map(lambda x: int(x), valid_cert) #chage type data + valid_cert = [int(x) for x in valid_cert] #chage type data self.date_valid_cert = datetime.datetime(valid_cert[2], valid_cert[1], valid_cert[0], valid_cert[3], valid_cert[4], valid_cert[5]) self.out_status_cert = _("Information about the certificate:\n") +\ @@ -328,7 +328,7 @@ """ Installing certificate from token """ index_res = [] - result = map(lambda x: subprocess.call([self.dir_crypt+"certmgr", "-inst", "-cont", x, "-store", "uMy"]), self.name_cert) + result = [subprocess.call([self.dir_crypt+"certmgr", "-inst", "-cont", x, "-store", "uMy"]) for x in self.name_cert] for res in result: if res != 0: index_res.append(result.index(res)) @@ -336,7 +336,7 @@ out_status_install_cert = _("The certificate was installed successfully") self.informBox(out_status_install_cert, "Information") else: - out_status_install_cert = _("The installation failed.\nPlease check for the token %s in the computer and try again" %', '.join(map(lambda x: self.name_cert[x], index_res))) + out_status_install_cert = _("The installation failed.\nPlease check for the token %s in the computer and try again" %', '.join([self.name_cert[x] for x in index_res])) self.informBox(out_status_install_cert, "Critical") def __detectTokeRefactoringTool: Refactored ./src/rename.py RefactoringTool: Refactored ./src/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ./setup.py RefactoringTool: ./src/rosa_crypto_tool.py RefactoringTool: ./src/rosa_crypto_tool_ui.py RefactoringTool: ./src/rosa_crypto_tool_main.py RefactoringTool: ./src/rename.py RefactoringTool: ./src/__init__.py RefactoringTool: Warnings/messages while refactoring: RefactoringTool: ### In file ./src/rosa_crypto_tool_ui.py ### RefactoringTool: Line 151: You should use a for loop here RefactoringTool: Line 164: You should use a for loop here RefactoringTool: Line 202: You should use a for loop here RefactoringTool: ### In file ./src/rosa_crypto_tool_main.py ### RefactoringTool: Line 145: You should use a for loop here RefactoringTool: Line 124: You should use a for loop here RefactoringTool: Line 131: You should use a for loop here RefactoringTool: Line 138: You should use a for loop here RefactoringTool: Line 117: You should use a for loop here RefactoringTool: Line 351: You should use a for loop here RefactoringTool: Line 360: You should use a for loop here RefactoringTool: Line 95: You should use a for loop here RefactoringTool: Line 110: You should use a for loop here n(self, device): @@ -348,7 +348,7 @@ info_cert = subprocess.check_output("%scsptest -keyset -enum_cont -verifyc -fq" %self.dir_crypt, shell=True) self.name_cert = self.__parseConsole(info_cert, "\\\\") if not self.name_cert: - map(lambda field: field.setEnabled(False), self._ui.list_off_token) #disable components linked to signature + list(map(lambda field: field.setEnabled(False), self._ui.list_off_token)) #disable components linked to signature if device.action == 'add': self.informBox(["empty_token"], first_mess = self._ui.note_mess.isVisible()) elif device.action == 'remove': @@ -357,7 +357,7 @@ self._ui.note_mess.clear() self._ui.sign.list_avail_cert.clear() self._ui.descrypt.list_avail_cert.clear() - map(lambda field: field.setEnabled(True), self._ui.list_off_token) #enable components linked to signature + list(map(lambda field: field.setEnabled(True), self._ui.list_off_token)) #enable components linked to signature self._ui.sign.list_avail_cert.addItems(self.name_cert) self._ui.descrypt.list_avail_cert.addItems(self.name_cert) @@ -454,4 +454,4 @@ if __name__ == '__main__': - print "You run the part program rosa crypto tool, please launch the main file" + print("You run the part program rosa crypto tool, please launch the main file") --- ./src/rename.py (original) +++ ./src/rename.py (refactored) @@ -41,7 +41,7 @@ ################################################################################ def translit(name_file): - for i, j in legend.items(): + for i, j in list(legend.items()): name_file = name_file.replace(i, j) return name_file --- ./src/__init__.py (original) +++ ./src/__init__.py (refactored) @@ -1 +1 @@ -import rosa_crypto_tool +from . import rosa_crypto_tool ++ find ./ '(' -name '*.py' -o -name rosa-crypto-tool ')' + sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' ./setup.py ./src/rosa_crypto_tool.py ./src/rosa_crypto_tool_ui.py ./src/rosa_crypto_tool_main.py ./src/rename.py ./src/__init__.py ./rosa-crypto-tool ++ find ./ -name '*.py' + sed -i 's|#!/usr/bin/python|#!/usr/bin/python3|' ./setup.py ./src/__init__.py ./src/rename.py ./src/rosa_crypto_tool_main.py ./src/rosa_crypto_tool_ui.py ./src/rosa_crypto_tool.py + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.43475 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd rosa-crypto-tool-0.1.5 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py build running build running build_py creating build creating build/lib creating build/lib/rosa_crypto_tool copying src/rosa_crypto_tool.py -> build/lib/rosa_crypto_tool copying src/rosa_crypto_tool_ui.py -> build/lib/rosa_crypto_tool copying src/rosa_crypto_tool_main.py -> build/lib/rosa_crypto_tool copying src/rename.py -> build/lib/rosa_crypto_tool copying src/__init__.py -> build/lib/rosa_crypto_tool + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.43475 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/rosa-crypto-tool-buildroot + : + /bin/rm -rf -- /usr/src/tmp/rosa-crypto-tool-buildroot + cd rosa-crypto-tool-0.1.5 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/rosa-crypto-tool-buildroot --force po/ru/rosa-crypto-tool.mo:1:2: syntax error po/ru/rosa-crypto-tool.mo:1: keyword "O" unknown po/ru/rosa-crypto-tool.mo:3: keyword "L" unknown po/ru/rosa-crypto-tool.mo:4: keyword "S" unknown po/ru/rosa-crypto-tool.mo:6: keyword "j" unknown po/ru/rosa-crypto-tool.mo:12:19: invalid control sequence po/ru/rosa-crypto-tool.mo:13: end-of-line within string po/ru/rosa-crypto-tool.mo:14: keyword "N" unknown po/ru/rosa-crypto-tool.mo:15: end-of-line within string po/ru/rosa-crypto-tool.mo:17: keyword "Welcome" unknown po/ru/rosa-crypto-tool.mo:19: keyword "To" unknown po/ru/rosa-crypto-tool.mo:21: keyword "WARNING" unknown po/ru/rosa-crypto-tool.mo:23: keyword "The" unknown po/ru/rosa-crypto-tool.mo:24: keyword "using" unknown po/ru/rosa-crypto-tool.mo:25: keyword "to" unknown po/ru/rosa-crypto-tool.mo:26: keyword "signature" unknown po/ru/rosa-crypto-tool.mo:27: keyword "file" unknown po/ru/rosa-crypto-tool.mo:28: keyword "Unknown" unknown po/ru/rosa-crypto-tool.mo:29: keyword "Unknown" unknown po/ru/rosa-crypto-tool.mo:30: keyword "Install" unknown msgfmt: too many errors, aborting running install running install_lib creating /usr/src/tmp/rosa-crypto-tool-buildroot creating /usr/src/tmp/rosa-crypto-tool-buildroot/usr creating /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib creating /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3 creating /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool copying build/lib/rosa_crypto_tool/__init__.py -> /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool copying build/lib/rosa_crypto_tool/rename.py -> /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool copying build/lib/rosa_crypto_tool/rosa_crypto_tool_main.py -> /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool copying build/lib/rosa_crypto_tool/rosa_crypto_tool_ui.py -> /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool copying build/lib/rosa_crypto_tool/rosa_crypto_tool.py -> /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool byte-compiling /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/__init__.py to __init__.cpython-38.pyc byte-compiling /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/rename.py to rename.cpython-38.pyc byte-compiling /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/rosa_crypto_tool_main.py to rosa_crypto_tool_main.cpython-38.pyc byte-compiling /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/rosa_crypto_tool_ui.py to rosa_crypto_tool_ui.cpython-38.pyc byte-compiling /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/rosa_crypto_tool.py to rosa_crypto_tool.cpython-38.pyc running install_data creating /usr/src/tmp/rosa-crypto-tool-buildroot/usr/share creating /usr/src/tmp/rosa-crypto-tool-buildroot/usr/share/locale creating /usr/src/tmp/rosa-crypto-tool-buildroot/usr/share/locale/ru creating /usr/src/tmp/rosa-crypto-tool-buildroot/usr/share/locale/ru/LC_MESSAGES copying po/ru/rosa-crypto-tool.mo -> /usr/src/tmp/rosa-crypto-tool-buildroot/usr/share/locale/ru/LC_MESSAGES/ creating /usr/src/tmp/rosa-crypto-tool-buildroot/usr/share/icons creating /usr/src/tmp/rosa-crypto-tool-buildroot/usr/share/icons/hicolor creating /usr/src/tmp/rosa-crypto-tool-buildroot/usr/share/icons/hicolor/scalable creating /usr/src/tmp/rosa-crypto-tool-buildroot/usr/share/icons/hicolor/scalable/apps copying icon/rosa-crypto-tool.svg -> /usr/src/tmp/rosa-crypto-tool-buildroot/usr/share/icons/hicolor/scalable/apps/ creating /usr/src/tmp/rosa-crypto-tool-buildroot/usr/share/doc creating /usr/src/tmp/rosa-crypto-tool-buildroot/usr/share/doc/rosa-crypto-tool copying doc/help.pdf -> /usr/src/tmp/rosa-crypto-tool-buildroot/usr/share/doc/rosa-crypto-tool/ creating /usr/src/tmp/rosa-crypto-tool-buildroot/usr/bin copying rosa-crypto-tool -> /usr/src/tmp/rosa-crypto-tool-buildroot/usr/bin/ creating /usr/src/tmp/rosa-crypto-tool-buildroot/usr/share/applications copying rosa-crypto-tool.desktop -> /usr/src/tmp/rosa-crypto-tool-buildroot/usr/share/applications/ running install_egg_info Writing /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool-0.1.5-py3.8.egg-info + /usr/lib/rpm/find-lang rosa-crypto-tool + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/rosa-crypto-tool-buildroot (auto) Verifying and fixing files in /usr/src/tmp/rosa-crypto-tool-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/rosa-crypto-tool-buildroot/ (default) Compressing files in /usr/src/tmp/rosa-crypto-tool-buildroot (auto) Adjusting library links in /usr/src/tmp/rosa-crypto-tool-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/rosa-crypto-tool-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/rosa-crypto-tool-buildroot using /usr/bin/python2.7 Bytecompiling python modules with optimization in /usr/src/tmp/rosa-crypto-tool-buildroot using /usr/bin/python2.7 -O Bytecompiling python3 modules in /usr/src/tmp/rosa-crypto-tool-buildroot using /usr/bin/python3 unlink /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/__init__.cpython-38.pyc unlink /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rename.cpython-38.pyc unlink /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rosa_crypto_tool.cpython-38.pyc unlink /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rosa_crypto_tool_main.cpython-38.pyc unlink /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rosa_crypto_tool_ui.cpython-38.pyc compile /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/__init__.py compile /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/rename.py compile /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/rosa_crypto_tool.py compile /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/rosa_crypto_tool_main.py compile /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/rosa_crypto_tool_ui.py Bytecompiling python3 modules with optimization in /usr/src/tmp/rosa-crypto-tool-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/__init__.py compile /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/rename.py compile /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/rosa_crypto_tool.py compile /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/rosa_crypto_tool_main.py compile /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/rosa_crypto_tool_ui.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/rosa-crypto-tool-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/__init__.py compile /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/rename.py compile /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/rosa_crypto_tool.py compile /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/rosa_crypto_tool_main.py compile /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/rosa_crypto_tool_ui.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rosa_crypto_tool_ui.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rosa_crypto_tool_ui.cpython-38.pyc' './usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rosa_crypto_tool_main.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rosa_crypto_tool_main.cpython-38.pyc' './usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rosa_crypto_tool.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rosa_crypto_tool.cpython-38.pyc' './usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rosa_crypto_tool.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rosa_crypto_tool.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rename.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rename.cpython-38.pyc' './usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rename.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rename.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/__init__.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/__init__.cpython-38.pyc' './usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/__init__.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/__init__.cpython-38.opt-1.pyc' Hardlinking identical .pyc and .pyo files Processing files: rosa-crypto-tool-0.1.5-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.3oepaO 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.NduF4N 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: /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/__init__.py: line=1 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/rosa_crypto_tool.py: line=46 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/rosa_crypto_tool.py: line=47 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/rosa_crypto_tool.py: skipping sys python3.req: /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/rosa_crypto_tool_main.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/rosa_crypto_tool_main.py: line=46 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/rosa_crypto_tool_main.py: skipping time python3.req: /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/rosa_crypto_tool_ui.py: skipping sys shebang.req.files: executable script /usr/src/tmp/rosa-crypto-tool-buildroot/usr/lib/python3/site-packages/rosa_crypto_tool/rosa_crypto_tool.py is not executable find-requires: FINDPACKAGE-COMMANDS: python3 Provides: python3(rosa_crypto_tool), python3(rosa_crypto_tool.rename), python3(rosa_crypto_tool.rosa_crypto_tool), python3(rosa_crypto_tool.rosa_crypto_tool_main), python3(rosa_crypto_tool.rosa_crypto_tool_ui) Requires: python3-module-pyudev-pyqt5 >= 0.21.0, /usr/bin/env, /usr/lib/python3/site-packages, python3, python3(PyQt5.QtCore) < 0, python3(PyQt5.QtGui) < 0, python3(PyQt5.QtWidgets) < 0, python3(datetime) < 0, python3(gettext) < 0, python3(os) < 0, python3(os.path) < 0, python3(pyudev) < 0, python3(pyudev.pyqt5) < 0, python3(re) < 0, python3(subprocess) < 0 Wrote: /usr/src/RPM/RPMS/noarch/rosa-crypto-tool-0.1.5-alt2.noarch.rpm 5.72user 0.53system 0:07.94elapsed 78%CPU (0avgtext+0avgdata 19580maxresident)k 0inputs+0outputs (0major+131314minor)pagefaults 0swaps 13.47user 4.59system 0:19.98elapsed 90%CPU (0avgtext+0avgdata 114556maxresident)k 0inputs+0outputs (0major+570743minor)pagefaults 0swaps --- rosa-crypto-tool-0.1.5-alt2.noarch.rpm.repo 2019-11-11 10:27:31.000000000 +0000 +++ rosa-crypto-tool-0.1.5-alt2.noarch.rpm.hasher 2020-07-25 07:58:26.858154746 +0000 @@ -2,20 +2,20 @@ /usr/lib/python3/site-packages/rosa_crypto_tool 40755 -/usr/lib/python3/site-packages/rosa_crypto_tool-0.1.5-py3.7.egg-info 100644 +/usr/lib/python3/site-packages/rosa_crypto_tool-0.1.5-py3.8.egg-info 100644 /usr/lib/python3/site-packages/rosa_crypto_tool/__init__.py 100644 /usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__ 40755 -/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/__init__.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/__init__.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/__init__.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rename.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rename.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rename.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rosa_crypto_tool.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rosa_crypto_tool.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rosa_crypto_tool.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rosa_crypto_tool_main.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rosa_crypto_tool_main.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rosa_crypto_tool_main.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rosa_crypto_tool_ui.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rosa_crypto_tool_ui.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rosa_crypto_tool_ui.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/__init__.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/__init__.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/__init__.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rename.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rename.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rename.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rosa_crypto_tool.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rosa_crypto_tool.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rosa_crypto_tool.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rosa_crypto_tool_main.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rosa_crypto_tool_main.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rosa_crypto_tool_main.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rosa_crypto_tool_ui.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rosa_crypto_tool_ui.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/rosa_crypto_tool/__pycache__/rosa_crypto_tool_ui.cpython-38.pyc 100644 /usr/lib/python3/site-packages/rosa_crypto_tool/rename.py 100644