86>Sep 14 11:20:59 userdel[4056628]: delete user 'rooter'
<86>Sep 14 11:20:59 userdel[4056628]: removed group 'rooter' owned by 'rooter'
<86>Sep 14 11:20:59 userdel[4056628]: removed shadow group 'rooter' owned by 'rooter'
<86>Sep 14 11:20:59 groupadd[4056648]: group added to /etc/group: name=rooter, GID=633
<86>Sep 14 11:20:59 groupadd[4056648]: group added to /etc/gshadow: name=rooter
<86>Sep 14 11:20:59 groupadd[4056648]: new group: name=rooter, GID=633
<86>Sep 14 11:20:59 useradd[4056657]: new user: name=rooter, UID=633, GID=633, home=/root, shell=/bin/bash
<86>Sep 14 11:20:59 userdel[4056672]: delete user 'builder'
<86>Sep 14 11:20:59 userdel[4056672]: removed group 'builder' owned by 'builder'
<86>Sep 14 11:20:59 userdel[4056672]: removed shadow group 'builder' owned by 'builder'
<86>Sep 14 11:20:59 groupadd[4056699]: group added to /etc/group: name=builder, GID=634
<86>Sep 14 11:20:59 groupadd[4056699]: group added to /etc/gshadow: name=builder
<86>Sep 14 11:20:59 groupadd[4056699]: new group: name=builder, GID=634
<86>Sep 14 11:20:59 useradd[4056706]: new user: name=builder, UID=634, GID=634, home=/usr/src, shell=/bin/bash
<13>Sep 14 11:21:01 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626059138 installed
<13>Sep 14 11:21:01 rpmi: libpython-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed
<13>Sep 14 11:21:01 rpmi: python2-base-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed
<13>Sep 14 11:21:01 rpmi: libexpat-2.2.10-alt1 sisyphus+276608.100.1.2 1625153360 installed
<13>Sep 14 11:21:01 rpmi: libp11-kit-0.23.15-alt2 sisyphus+278382.100.1.2 1626190687 installed
<13>Sep 14 11:21:01 rpmi: libtasn1-4.17.0-alt1 sisyphus+276722.100.1.1 1625211286 installed
<13>Sep 14 11:21:01 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed
<13>Sep 14 11:21:01 rpmi: alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed
<13>Sep 14 11:21:01 rpmi: ca-certificates-2021.06.03-alt1 sisyphus+273509.400.1.1 1622736045 installed
<13>Sep 14 11:21:01 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed
<13>Sep 14 11:21:01 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+278382.100.1.2 1626190687 installed
<13>Sep 14 11:21:01 rpmi: libcrypto1.1-1.1.1l-alt1 sisyphus+283685.100.1.1 1629816097 installed
<13>Sep 14 11:21:01 rpmi: libssl1.1-1.1.1l-alt1 sisyphus+283685.100.1.1 1629816097 installed
<13>Sep 14 11:21:01 rpmi: python-modules-encodings-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed
<13>Sep 14 11:21:01 rpmi: python-modules-compiler-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed
<13>Sep 14 11:21:01 rpmi: python-modules-email-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed
<13>Sep 14 11:21:01 rpmi: python-modules-unittest-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed
<13>Sep 14 11:21:01 rpmi: python-modules-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed
<13>Sep 14 11:21:01 rpmi: python3-3.9.6-alt2 sisyphus+283178.100.2.1 1629243244 installed
<13>Sep 14 11:21:02 rpmi: python3-base-3.9.6-alt2 sisyphus+283178.100.2.1 1629243244 installed
<13>Sep 14 11:21:02 rpmi: libpython3-3.9.6-alt2 sisyphus+283178.100.2.1 1629243244 installed
<13>Sep 14 11:21:02 rpmi: tests-for-installed-python3-pkgs-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed
<13>Sep 14 11:21:02 rpmi: python-modules-ctypes-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed
<13>Sep 14 11:21:02 rpmi: python-modules-multiprocessing-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed
<13>Sep 14 11:21:02 rpmi: python-modules-logging-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed
<13>Sep 14 11:21:02 rpmi: python-tools-2to3-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed
<13>Sep 14 11:21:02 rpmi: rpm-build-python3-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed
<13>Sep 14 11:21:04 rpmi: python3-module-iniconfig-1.1.1-alt1 sisyphus+270533.3400.6.1 1619684870 installed
<13>Sep 14 11:21:04 rpmi: python3-module-six-1.16.0-alt1 sisyphus+283489.100.2.1 1629527308 installed
<13>Sep 14 11:21:04 rpmi: python3-module-genshi-0.7.4-alt2 sisyphus+275930.100.2.1 1624873830 installed
<13>Sep 14 11:21:04 rpmi: python3-module-toml-0.10.2-alt2 sisyphus+268468.100.2.1 1617010078 installed
<13>Sep 14 11:21:04 rpmi: python3-module-pluggy-1.0.0-alt1 sisyphus+284853.100.1.1 1631109373 installed
<13>Sep 14 11:21:04 rpmi: python3-module-pyparsing-2.4.7-alt1 sisyphus+277413.100.1.1 1625536142 installed
<13>Sep 14 11:21:04 rpmi: python3-module-packaging-21.0-alt1 sisyphus+282740.100.1.1 1628983550 installed
<13>Sep 14 11:21:04 rpmi: python3-module-webencodings-0.5.1-alt2 sisyphus+276020.100.1.1 1624812421 installed
<13>Sep 14 11:21:04 rpmi: python3-module-attrs-21.2.0-alt1 sisyphus+273317.100.1.1 1622569791 installed
<13>Sep 14 11:21:04 rpmi: python3-module-apipkg-1.5-alt1 sisyphus+275892.100.2.1 1624872742 installed
<13>Sep 14 11:21:04 rpmi: python3-module-py-1.10.0-alt1 sisyphus+271297.460.4.1 1620386890 installed
<13>Sep 14 11:21:04 rpmi: libxslt-1.1.34-alt3 sisyphus+275636.100.1.1 1624616871 installed
<13>Sep 14 11:21:04 rpmi: python3-module-html5lib-1:1.1-alt1 sisyphus+278096.120.5.1 1626086978 installed
<13>Sep 14 11:21:04 rpmi: python3-module-cssselect-0.9.1-alt3 sisyphus+270533.2600.6.1 1619684675 installed
<13>Sep 14 11:21:05 rpmi: python3-module-lxml-4.6.3.0.16.git5ecb40bc-alt1 sisyphus+279721.1500.1.1 1626648645 installed
<13>Sep 14 11:21:05 rpmi: python3-module-pytest-6.2.5-alt1 sisyphus+284853.200.2.1 1631178039 installed
<13>Sep 14 11:21:05 rpmi: python3-module-mock-4.0.3-alt1 sisyphus+282720.100.1.1 1628978607 installed
Building target platforms: i586
Building for target i586
Wrote: /usr/src/in/nosrpm/python3-module-port-for-0.4-alt3.nosrc.rpm (w1.gzdio)
<13>Sep 14 11:21:06 rpmi: python3-module-pkg_resources-1:57.4.0-alt1 sisyphus+280768.100.2.1 1627367207 installed
<13>Sep 14 11:21:06 rpmi: libncurses-6.2.20210123-alt2 sisyphus+283886.200.2.1 1630022624 installed
<13>Sep 14 11:21:06 rpmi: libtinfo-devel-6.2.20210123-alt2 sisyphus+283886.200.2.1 1630022624 installed
<13>Sep 14 11:21:06 rpmi: libncurses-devel-6.2.20210123-alt2 sisyphus+283886.200.2.1 1630022624 installed
<13>Sep 14 11:21:06 rpmi: python3-dev-3.9.6-alt2 sisyphus+283178.100.2.1 1629243244 installed
<13>Sep 14 11:21:06 rpmi: python3-module-setuptools-1:57.4.0-alt1 sisyphus+280768.100.2.1 1627367207 installed
Installing python3-module-port-for-0.4-alt3.src.rpm
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.59746
+ 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.63938
+ 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 -march=i586 -mtune=generic'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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/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.63938
+ 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 -march=i586 -mtune=generic'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic'
+ export FFLAGS
+ /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python3-module-port-for-buildroot --force
running install
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.49070
+ 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.167s
OK
+ exit 0
Processing files: python3-module-port-for-0.4-alt3
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.81172
+ 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.0xZ3el
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.aAvHSj
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.gum7gl
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.MLAl4h
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)
8.84user 0.77system 0:12.71elapsed 75%CPU (0avgtext+0avgdata 25620maxresident)k
0inputs+0outputs (0major+228341minor)pagefaults 0swaps
16.10user 4.29system 0:23.55elapsed 86%CPU (0avgtext+0avgdata 101140maxresident)k
0inputs+0outputs (0major+671277minor)pagefaults 0swaps