<86>Oct 29 00:48:07 userdel[1428185]: delete user 'rooter' <86>Oct 29 00:48:07 userdel[1428185]: removed group 'rooter' owned by 'rooter' <86>Oct 29 00:48:07 userdel[1428185]: removed shadow group 'rooter' owned by 'rooter' <86>Oct 29 00:48:07 groupadd[1428211]: group added to /etc/group: name=rooter, GID=969 <86>Oct 29 00:48:07 groupadd[1428211]: group added to /etc/gshadow: name=rooter <86>Oct 29 00:48:07 groupadd[1428211]: new group: name=rooter, GID=969 <86>Oct 29 00:48:07 useradd[1428228]: new user: name=rooter, UID=969, GID=969, home=/root, shell=/bin/bash <86>Oct 29 00:48:07 userdel[1428262]: delete user 'builder' <86>Oct 29 00:48:07 userdel[1428262]: removed group 'builder' owned by 'builder' <86>Oct 29 00:48:07 userdel[1428262]: removed shadow group 'builder' owned by 'builder' <86>Oct 29 00:48:07 groupadd[1428288]: group added to /etc/group: name=builder, GID=970 <86>Oct 29 00:48:07 groupadd[1428288]: group added to /etc/gshadow: name=builder <86>Oct 29 00:48:07 groupadd[1428288]: new group: name=builder, GID=970 <86>Oct 29 00:48:07 useradd[1428317]: new user: name=builder, UID=970, GID=970, home=/usr/src, shell=/bin/bash <13>Oct 29 00:48:08 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626058413 installed <13>Oct 29 00:48:08 rpmi: libpython-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Oct 29 00:48:08 rpmi: python2-base-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Oct 29 00:48:08 rpmi: libffi7-1:3.3-alt2 sisyphus+287337.160.5.1 1634396592 installed <13>Oct 29 00:48:08 rpmi: libexpat-2.2.10-alt1 sisyphus+276608.100.1.2 1625153355 installed <13>Oct 29 00:48:08 rpmi: libp11-kit-0.23.15-alt2 sisyphus+287552.300.2.1 1634541413 installed <13>Oct 29 00:48:08 rpmi: libtasn1-4.17.0-alt2 sisyphus+285706.100.1.1 1632328563 installed <13>Oct 29 00:48:08 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Oct 29 00:48:08 rpmi: alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Oct 29 00:48:08 rpmi: ca-certificates-2021.10.06-alt1 sisyphus+286526.200.1.1 1633528578 installed <13>Oct 29 00:48:08 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Oct 29 00:48:08 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+287552.300.2.1 1634541413 installed <13>Oct 29 00:48:08 rpmi: libcrypto1.1-1.1.1l-alt2 sisyphus+287339.100.1.1 1634383589 installed <13>Oct 29 00:48:08 rpmi: libssl1.1-1.1.1l-alt2 sisyphus+287339.100.1.1 1634383589 installed <13>Oct 29 00:48:08 rpmi: python-modules-encodings-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Oct 29 00:48:08 rpmi: python-modules-compiler-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Oct 29 00:48:08 rpmi: python-modules-email-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Oct 29 00:48:08 rpmi: python-modules-unittest-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Oct 29 00:48:09 rpmi: python-modules-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Oct 29 00:48:09 rpmi: python3-3.9.7-alt3 sisyphus+287552.400.2.1 1634542953 installed <13>Oct 29 00:48:09 rpmi: python3-base-3.9.7-alt3 sisyphus+287552.400.2.1 1634542953 installed <13>Oct 29 00:48:09 rpmi: tests-for-installed-python3-pkgs-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>Oct 29 00:48:09 rpmi: python-modules-ctypes-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Oct 29 00:48:09 rpmi: python-modules-multiprocessing-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Oct 29 00:48:09 rpmi: python-modules-logging-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Oct 29 00:48:09 rpmi: python-tools-2to3-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Oct 29 00:48:09 rpmi: rpm-build-python3-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>Oct 29 00:48:10 rpmi: python3-module-iniconfig-1.1.1-alt1 sisyphus+270533.3400.6.1 1619684870 installed <13>Oct 29 00:48:10 rpmi: python3-module-six-1.16.0-alt1 sisyphus+283489.100.2.1 1629527308 installed <13>Oct 29 00:48:10 rpmi: python3-module-genshi-0.7.5-alt1 sisyphus+287179.100.1.1 1634361380 installed <13>Oct 29 00:48:10 rpmi: python3-module-toml-0.10.2-alt2 sisyphus+268468.100.2.1 1617010078 installed <13>Oct 29 00:48:10 rpmi: python3-module-pluggy-1.0.0-alt1 sisyphus+284853.100.1.1 1631109373 installed <13>Oct 29 00:48:10 rpmi: python3-module-pyparsing-2.4.7-alt1 sisyphus+277413.100.1.1 1625536142 installed <13>Oct 29 00:48:10 rpmi: python3-module-packaging-21.0-alt1 sisyphus+282740.100.1.1 1628983550 installed <13>Oct 29 00:48:10 rpmi: python3-module-webencodings-0.5.1-alt2 sisyphus+276020.100.1.1 1624812421 installed <13>Oct 29 00:48:10 rpmi: python3-module-attrs-21.2.0-alt1 sisyphus+273317.100.1.1 1622569791 installed <13>Oct 29 00:48:10 rpmi: python3-module-apipkg-1.5-alt1 sisyphus+275892.100.2.1 1624872742 installed <13>Oct 29 00:48:10 rpmi: python3-module-py-1.10.0-alt1 sisyphus+271297.460.4.1 1620386890 installed <13>Oct 29 00:48:10 rpmi: libxslt-1.1.34-alt3 sisyphus+275636.100.1.1 1624616833 installed <13>Oct 29 00:48:10 rpmi: python3-module-html5lib-1:1.1-alt1 sisyphus+278096.120.5.1 1626086978 installed <13>Oct 29 00:48:10 rpmi: python3-module-cssselect-0.9.1-alt3 sisyphus+270533.2600.6.1 1619684675 installed <13>Oct 29 00:48:11 rpmi: python3-module-lxml-4.6.3.0.16.git5ecb40bc-alt1 sisyphus+279721.1500.1.1 1626648574 installed <13>Oct 29 00:48:11 rpmi: python3-module-pytest-6.2.5-alt1 sisyphus+284853.200.2.1 1631178039 installed <13>Oct 29 00:48:11 rpmi: python3-module-mock-4.0.3-alt1 sisyphus+282720.100.1.1 1628978607 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/python3-module-port-for-0.4-alt3.nosrc.rpm (w1.gzdio) <13>Oct 29 00:48:12 rpmi: python3-module-pkg_resources-1:58.3.0-alt1 sisyphus+288104.200.2.1 1635181035 installed <13>Oct 29 00:48:12 rpmi: libpython3-3.9.7-alt3 sisyphus+287552.400.2.1 1634542953 installed <13>Oct 29 00:48:12 rpmi: libncurses-6.2.20210123-alt2 sisyphus+283886.200.2.1 1630022599 installed <13>Oct 29 00:48:12 rpmi: libtinfo-devel-6.2.20210123-alt2 sisyphus+283886.200.2.1 1630022599 installed <13>Oct 29 00:48:12 rpmi: libncurses-devel-6.2.20210123-alt2 sisyphus+283886.200.2.1 1630022599 installed <13>Oct 29 00:48:12 rpmi: python3-dev-3.9.7-alt3 sisyphus+287552.400.2.1 1634542953 installed <13>Oct 29 00:48:12 rpmi: python3-module-setuptools-1:58.3.0-alt1 sisyphus+288104.200.2.1 1635181035 installed Installing python3-module-port-for-0.4-alt3.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.24967 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-port-for-0.4 + echo 'Source #0 (python3-module-port-for-0.4.tar):' Source #0 (python3-module-port-for-0.4.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-port-for-0.4.tar + cd python3-module-port-for-0.4 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (port-for-0.4-alt-build.patch):' Patch #1 (port-for-0.4-alt-build.patch): + /usr/bin/patch -p1 patching file port_for/store.py Hunk #1 succeeded at 10 with fuzz 2 (offset 1 line). + 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 ./port_for/store.py RefactoringTool: Refactored ./port_for/utils.py RefactoringTool: Refactored ./port_for/tests.py RefactoringTool: Refactored ./port_for/ephemeral.py RefactoringTool: Refactored ./port_for/docopt.py RefactoringTool: Refactored ./port_for/api.py RefactoringTool: Refactored ./port_for/_download_ranges.py --- ./port_for/store.py (original) +++ ./port_for/store.py (refactored) @@ -1,8 +1,8 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import, with_statement + import os try: - from ConfigParser import ConfigParser, DEFAULTSECT + from configparser import ConfigParser, DEFAULTSECT except ImportError: # python3 from configparser import ConfigParser, DEFAULTSECT @@ -38,7 +38,7 @@ # port is already used by an another app app_by_port = dict((v, k) for k, v in parser.items(DEFAULTSECT)) - bound_port_numbers = map(int, app_by_port.keys()) + bound_port_numbers = list(map(int, list(app_by_port.keys()))) if port is None: port = str(select_random(exclude_ports=bound_port_numbers)) --- ./port_for/utils.py (original) +++ ./port_for/utils.py (refactored) @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import + import itertools @@ -12,7 +12,7 @@ [1, 2, 3, 5, 6] """ - return set(itertools.chain(*(range(x[0], x[1]+1) for x in lst))) + return set(itertools.chain(*(list(range(x[0], x[1]+1)) for x in lst))) def to_ranges(lst): --- ./port_for/tests.py (original) +++ ./port_for/tests.py (refactored) @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import + import unittest import tempfile import mock --- ./port_for/ephemeral.py (original) +++ ./port_for/ephemeral.py (refactored) @@ -6,7 +6,7 @@ Currently only Linux and BSD (including OS X) are supported. """ -from __future__ import absolute_import, with_statement + import subprocess DEFAULT_EPHEMERAL_PORT_RANGE = (32768, 65535) --- ./port_for/docopt.py (original) +++ ./port_for/docopt.py (refactored) @@ -149,13 +149,13 @@ def __init__(self, short=None, long=None, argcount=0, value=False): assert argcount in (0, 1) - self.short, self.long = short, long + self.short, self.long = short, int self.argcount, self.value = argcount, value self.value = None if value == False and argcount else value # HACK @classmethod def parse(class_, option_description): - short, long, argcount, value = None, None, 0, False + short, int, argcount, value = None, None, 0, False options, _, description = option_description.strip().partition(' ') options = options.replace(',', ' ').replace('=', ' ') for s in options.split(): @@ -168,7 +168,7 @@ if argcount: matched = re.findall('\[default: (.*)\]', description, flags=re.I) value = matched[0] if matched else None - return class_(short, long, argcount, value) + return class_(short, int, argcount, value) def match(self, left, collected=None): collected = [] if collected is None else collected @@ -429,7 +429,7 @@ def extras(help, version, options, doc): if help and any((o.name in ('-h', '--help')) and o.value for o in options): - print(doc.strip()) + print((doc.strip())) exit() if version and any(o.name == '--version' and o.value for o in options): print(version) --- ./port_for/api.py (original) +++ ./port_for/api.py (refactored) @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import, division, with_statement + import contextlib import socket import errno --- ./port_for/_download_ranges.py (original) +++ ./port_for/_download_ranges.py (refactored) @@ -3,12 +3,12 @@ This module/script is for updating port_for._ranges with recent information from IANA and Wikipedia. """ -from __future__ import absolute_import + import sys import os import re import datetime -import urllib2 +import urllib.request, urllib.error, urllib.parse from xml.etree import ElementTree name = os.path.abspath(os.path.normpath(os.path.join(os.path.dirname(__file__), '..'))) @@ -46,8 +46,8 @@ Returns used port ranges according to Wikipedia page. This page contains unofficial well-known ports. """ - req = urllib2.Request(WIKIPEDIA_PAGE, headers={'User-Agent' : "Magic BrowsRefactoringTool: Refactored ./port_for/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ./setup.py RefactoringTool: ./port_for/store.py RefactoringTool: ./port_for/utils.py RefactoringTool: ./port_for/tests.py RefactoringTool: ./port_for/ephemeral.py RefactoringTool: ./port_for/docopt.py RefactoringTool: ./port_for/api.py RefactoringTool: ./port_for/_download_ranges.py RefactoringTool: ./port_for/__init__.py er"}) - page = urllib2.urlopen(req).read().decode('utf8') + req = urllib.request.Request(WIKIPEDIA_PAGE, headers={'User-Agent' : "Magic Browser"}) + page = urllib.request.urlopen(req).read().decode('utf8') # just find all numbers in table cells ports = re.findall('((\d+)(\W(\d+))?)', page, re.U) @@ -58,7 +58,7 @@ """ Returns unassigned port ranges according to IANA. """ - page = urllib2.urlopen(IANA_DOWNLOAD_URL).read() + page = urllib.request.urlopen(IANA_DOWNLOAD_URL).read() xml = ElementTree.fromstring(page) records = xml.findall('{%s}record' % IANA_NS) for record in records: --- ./port_for/__init__.py (original) +++ ./port_for/__init__.py (refactored) @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import + __version__ = '0.4' from .api import (available_good_ports, available_ports, is_available, + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.24967 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-port-for-0.4 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + /usr/bin/python3 setup.py build running build running build_py creating build creating build/lib creating build/lib/port_for copying port_for/store.py -> build/lib/port_for copying port_for/utils.py -> build/lib/port_for copying port_for/tests.py -> build/lib/port_for copying port_for/exceptions.py -> build/lib/port_for copying port_for/ephemeral.py -> build/lib/port_for copying port_for/docopt.py -> build/lib/port_for copying port_for/api.py -> build/lib/port_for copying port_for/_ranges.py -> build/lib/port_for copying port_for/_download_ranges.py -> build/lib/port_for copying port_for/__init__.py -> build/lib/port_for running build_scripts creating build/scripts-3.9 copying and adjusting scripts/port-for -> build/scripts-3.9 changing mode of build/scripts-3.9/port-for from 644 to 755 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.83214 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-port-for-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-port-for-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd python3-module-port-for-0.4 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python3-module-port-for-buildroot --force running install /usr/lib64/python3/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /usr/src/tmp/python3-module-port-for-buildroot creating /usr/src/tmp/python3-module-port-for-buildroot/usr creating /usr/src/tmp/python3-module-port-for-buildroot/usr/lib creating /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for copying build/lib/port_for/__init__.py -> /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for copying build/lib/port_for/_download_ranges.py -> /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for copying build/lib/port_for/_ranges.py -> /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for copying build/lib/port_for/api.py -> /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for copying build/lib/port_for/docopt.py -> /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for copying build/lib/port_for/ephemeral.py -> /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for copying build/lib/port_for/exceptions.py -> /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for copying build/lib/port_for/tests.py -> /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for copying build/lib/port_for/utils.py -> /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for copying build/lib/port_for/store.py -> /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for byte-compiling /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__init__.py to __init__.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/_download_ranges.py to _download_ranges.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/_ranges.py to _ranges.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/api.py to api.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/docopt.py to docopt.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/ephemeral.py to ephemeral.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/exceptions.py to exceptions.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/tests.py to tests.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/utils.py to utils.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/store.py to store.cpython-39.pyc running install_egg_info running egg_info creating port_for.egg-info writing port_for.egg-info/PKG-INFO writing dependency_links to port_for.egg-info/dependency_links.txt writing top-level names to port_for.egg-info/top_level.txt writing manifest file 'port_for.egg-info/SOURCES.txt' reading manifest file 'port_for.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.txt' under directory 'docs' adding license file 'LICENSE.txt' writing manifest file 'port_for.egg-info/SOURCES.txt' Copying port_for.egg-info to /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for-0.4-py3.9.egg-info running install_scripts creating /usr/src/tmp/python3-module-port-for-buildroot/usr/bin copying build/scripts-3.9/port-for -> /usr/src/tmp/python3-module-port-for-buildroot/usr/bin changing mode of /usr/src/tmp/python3-module-port-for-buildroot/usr/bin/port-for to 755 + pushd /usr/src/tmp/python3-module-port-for-buildroot/usr/bin ~/tmp/python3-module-port-for-buildroot/usr/bin ~/RPM/BUILD/python3-module-port-for-0.4 ++ ls + for i in $(ls) + 2to3 -w -n port-for 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 port-for RefactoringTool: Files that need to be modified: RefactoringTool: port-for + mv port-for port-for.py3 + popd ~/RPM/BUILD/python3-module-port-for-0.4 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-port-for-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-port-for-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python3-module-port-for-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-port-for-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-port-for-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/python3-module-port-for-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python3 modules in /usr/src/tmp/python3-module-port-for-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__pycache__/__init__.cpython-39.pyc unlink /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__pycache__/_download_ranges.cpython-39.pyc unlink /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__pycache__/_ranges.cpython-39.pyc unlink /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__pycache__/api.cpython-39.pyc unlink /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__pycache__/docopt.cpython-39.pyc unlink /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__pycache__/ephemeral.cpython-39.pyc unlink /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__pycache__/exceptions.cpython-39.pyc unlink /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__pycache__/store.cpython-39.pyc unlink /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__pycache__/tests.cpython-39.pyc unlink /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__pycache__/utils.cpython-39.pyc compile /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__init__.py compile /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/_download_ranges.py compile /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/_ranges.py compile /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/api.py compile /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/docopt.py compile /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/ephemeral.py compile /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/exceptions.py compile /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/store.py compile /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/tests.py compile /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/utils.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-port-for-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__init__.py compile /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/_download_ranges.py compile /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/_ranges.py compile /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/api.py compile /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/docopt.py compile /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/ephemeral.py compile /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/exceptions.py compile /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/store.py compile /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/tests.py compile /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/utils.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-port-for-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__init__.py compile /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/_download_ranges.py compile /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/_ranges.py compile /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/api.py compile /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/docopt.py compile /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/ephemeral.py compile /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/exceptions.py compile /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/store.py compile /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/tests.py compile /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/utils.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/port_for/__pycache__/__init__.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/port_for/__pycache__/__init__.cpython-39.pyc' './usr/lib/python3/site-packages/port_for/__pycache__/__init__.cpython-39.opt-2.pyc' => './usr/lib/python3/site-packages/port_for/__pycache__/__init__.cpython-39.opt-1.pyc' './usr/lib/python3/site-packages/port_for/__pycache__/_download_ranges.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/port_for/__pycache__/_download_ranges.cpython-39.pyc' './usr/lib/python3/site-packages/port_for/__pycache__/_ranges.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/port_for/__pycache__/_ranges.cpython-39.pyc' './usr/lib/python3/site-packages/port_for/__pycache__/_ranges.cpython-39.opt-2.pyc' => './usr/lib/python3/site-packages/port_for/__pycache__/_ranges.cpython-39.opt-1.pyc' './usr/lib/python3/site-packages/port_for/__pycache__/api.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/port_for/__pycache__/api.cpython-39.pyc' './usr/lib/python3/site-packages/port_for/__pycache__/ephemeral.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/port_for/__pycache__/ephemeral.cpython-39.pyc' './usr/lib/python3/site-packages/port_for/__pycache__/exceptions.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/port_for/__pycache__/exceptions.cpython-39.pyc' './usr/lib/python3/site-packages/port_for/__pycache__/exceptions.cpython-39.opt-2.pyc' => './usr/lib/python3/site-packages/port_for/__pycache__/exceptions.cpython-39.opt-1.pyc' './usr/lib/python3/site-packages/port_for/__pycache__/store.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/port_for/__pycache__/store.cpython-39.pyc' './usr/lib/python3/site-packages/port_for/__pycache__/store.cpython-39.opt-2.pyc' => './usr/lib/python3/site-packages/port_for/__pycache__/store.cpython-39.opt-1.pyc' './usr/lib/python3/site-packages/port_for/__pycache__/tests.cpython-39.opt-2.pyc' => './usr/lib/python3/site-packages/port_for/__pycache__/tests.cpython-39.opt-1.pyc' './usr/lib/python3/site-packages/port_for/__pycache__/utils.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/port_for/__pycache__/utils.cpython-39.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.51655 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-port-for-0.4 + python3 setup.py test running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. running egg_info writing port_for.egg-info/PKG-INFO writing dependency_links to port_for.egg-info/dependency_links.txt writing top-level names to port_for.egg-info/top_level.txt reading manifest file 'port_for.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.txt' under directory 'docs' adding license file 'LICENSE.txt' writing manifest file 'port_for.egg-info/SOURCES.txt' running build_ext test_all_used (port_for.tests.SelectPortTest) ... /usr/src/RPM/BUILD/python3-module-port-for-0.4/port_for/api.py:27: DeprecationWarning: Sampling from a set deprecated since Python 3.9 and will be removed in a subsequent version. for port in random.sample(ports, min(len(ports), 100)): ok test_random_port (port_for.tests.SelectPortTest) ... ok test_bind_non_auto (port_for.tests.StoreTest) ... /usr/src/RPM/BUILD/python3-module-port-for-0.4/port_for/api.py:27: DeprecationWarning: Sampling from a set deprecated since Python 3.9 and will be removed in a subsequent version. for port in random.sample(ports, min(len(ports), 100)): ok test_bind_unavailable (port_for.tests.StoreTest) ... ok test_change_port (port_for.tests.StoreTest) ... /usr/src/RPM/BUILD/python3-module-port-for-0.4/port_for/api.py:27: DeprecationWarning: Sampling from a set deprecated since Python 3.9 and will be removed in a subsequent version. for port in random.sample(ports, min(len(ports), 100)): /usr/src/RPM/BUILD/python3-module-port-for-0.4/port_for/api.py:27: DeprecationWarning: Sampling from a set deprecated since Python 3.9 and will be removed in a subsequent version. for port in random.sample(ports, min(len(ports), 100)): ok test_rebind (port_for.tests.StoreTest) ... /usr/src/RPM/BUILD/python3-module-port-for-0.4/port_for/api.py:27: DeprecationWarning: Sampling from a set deprecated since Python 3.9 and will be removed in a subsequent version. for port in random.sample(ports, min(len(ports), 100)): ok test_store (port_for.tests.StoreTest) ... /usr/src/RPM/BUILD/python3-module-port-for-0.4/port_for/api.py:27: DeprecationWarning: Sampling from a set deprecated since Python 3.9 and will be removed in a subsequent version. for port in random.sample(ports, min(len(ports), 100)): /usr/src/RPM/BUILD/python3-module-port-for-0.4/port_for/api.py:27: DeprecationWarning: Sampling from a set deprecated since Python 3.9 and will be removed in a subsequent version. for port in random.sample(ports, min(len(ports), 100)): ok ---------------------------------------------------------------------- Ran 7 tests in 0.088s OK + exit 0 Processing files: python3-module-port-for-0.4-alt3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.51655 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-port-for-0.4 + DOCDIR=/usr/src/tmp/python3-module-port-for-buildroot/usr/share/doc/python3-module-port-for-0.4 + export DOCDIR + rm -rf /usr/src/tmp/python3-module-port-for-buildroot/usr/share/doc/python3-module-port-for-0.4 + /bin/mkdir -p /usr/src/tmp/python3-module-port-for-buildroot/usr/share/doc/python3-module-port-for-0.4 + cp -prL README.rst /usr/src/tmp/python3-module-port-for-buildroot/usr/share/doc/python3-module-port-for-0.4 + chmod -R go-w /usr/src/tmp/python3-module-port-for-buildroot/usr/share/doc/python3-module-port-for-0.4 + chmod -R a+rX /usr/src/tmp/python3-module-port-for-buildroot/usr/share/doc/python3-module-port-for-0.4 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.l9O7Om 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.8KtyLp 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/python3-module-port-for-buildroot/usr/bin/port-for.py3: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__init__.py: line=5 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__init__.py: line=8 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__init__.py: line=9 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/_download_ranges.py: skipping sys python3.req: /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/api.py: skipping errno /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/api.py: line=8 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/api.py: line=9 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/docopt.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/store.py: line=5 IGNORE (for REQ=slight and deep=8) module=configparser /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/store.py: line=7 IGNORE (for REQ=slight and deep=8) module=configparser /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/store.py: line=9 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/store.py: line=10 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python3-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/utils.py: skipping itertools Provides: python3(port_for), python3(port_for._download_ranges), python3(port_for._ranges), python3(port_for.api), python3(port_for.docopt), python3(port_for.ephemeral), python3(port_for.exceptions), python3(port_for.store), python3(port_for.utils) Requires: /usr/bin/python3, /usr/lib/python3/site-packages, python3(contextlib) < 0, python3(copy) < 0, python3(datetime) < 0, python3(os) < 0, python3(random) < 0, python3(re) < 0, python3(socket) < 0, python3(subprocess) < 0, python3(urllib.error) < 0, python3(urllib.parse) < 0, python3(urllib.request) < 0, python3(xml.etree) < 0 Processing files: python3-module-port-for-tests-0.4-alt3 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.86qvsG 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.NppsB3 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 Provides: python3(port_for.tests) Requires: python3-module-port-for = 0.4-alt3, /usr/lib/python3/site-packages, python3(mock) < 0, python3(os) < 0, python3(port_for) < 0, python3(port_for.utils) < 0, python3(socket) < 0, python3(tempfile) < 0, python3(unittest) < 0 Adding to python3-module-port-for-tests a strict dependency on python3-module-port-for Removing 2 extra deps from python3-module-port-for-tests due to dependency on python3-module-port-for Removing 3 extra deps from python3-module-port-for-tests due to repentancy on python3-module-port-for Wrote: /usr/src/RPM/RPMS/noarch/python3-module-port-for-0.4-alt3.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/python3-module-port-for-tests-0.4-alt3.noarch.rpm (w2.lzdio) 4.05user 0.85system 0:07.95elapsed 61%CPU (0avgtext+0avgdata 37600maxresident)k 0inputs+0outputs (0major+305378minor)pagefaults 0swaps 9.02user 4.53system 0:15.84elapsed 85%CPU (0avgtext+0avgdata 104948maxresident)k 0inputs+0outputs (46499major+750400minor)pagefaults 0swaps