<86>Jan 26 23:07:13 userdel[5340]: delete user 'rooter' <86>Jan 26 23:07:13 groupadd[5345]: group added to /etc/group: name=rooter, GID=606 <86>Jan 26 23:07:13 groupadd[5345]: group added to /etc/gshadow: name=rooter <86>Jan 26 23:07:13 groupadd[5345]: new group: name=rooter, GID=606 <86>Jan 26 23:07:13 useradd[5349]: new user: name=rooter, UID=606, GID=606, home=/root, shell=/bin/bash <86>Jan 26 23:07:13 userdel[5356]: delete user 'builder' <86>Jan 26 23:07:13 userdel[5356]: removed group 'builder' owned by 'builder' <86>Jan 26 23:07:13 userdel[5356]: removed shadow group 'builder' owned by 'builder' <86>Jan 26 23:07:13 groupadd[5361]: group added to /etc/group: name=builder, GID=607 <86>Jan 26 23:07:13 groupadd[5361]: group added to /etc/gshadow: name=builder <86>Jan 26 23:07:13 groupadd[5361]: new group: name=builder, GID=607 <86>Jan 26 23:07:13 useradd[5365]: new user: name=builder, UID=607, GID=607, home=/usr/src, shell=/bin/bash <13>Jan 26 23:07:17 rpmi: libexpat-2.1.0-alt1 1347469765 installed <13>Jan 26 23:07:17 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Jan 26 23:07:17 rpmi: libgpg-error-1.20-alt1.1 1449204243 installed <13>Jan 26 23:07:17 rpmi: libgcrypt20-1.6.6-alt1 1471552709 installed <13>Jan 26 23:07:17 rpmi: libxslt-1.1.28-alt4 1448210404 installed <13>Jan 26 23:07:17 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Jan 26 23:07:18 rpmi: libncurses-devel-5.9-alt8 1456756459 installed <13>Jan 26 23:07:18 rpmi: python-modules-curses-2.7.11-alt3 1460726088 installed <13>Jan 26 23:07:18 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Jan 26 23:07:18 rpmi: libkeyutils-1.5.9-alt2 1464351238 installed <13>Jan 26 23:07:18 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Jan 26 23:07:18 rpmi: ca-certificates-2016.09.28-alt1 1475233825 installed <13>Jan 26 23:07:18 rpmi: libcrypto10-1.0.2j-alt1 1474897978 installed <13>Jan 26 23:07:18 rpmi: libkrb5-1.14.2-alt2 1465464078 installed <13>Jan 26 23:07:18 rpmi: libssl10-1.0.2j-alt1 1474897978 installed <13>Jan 26 23:07:18 rpmi: rpm-build-python3-0.1.11-alt1 1484131403 installed <13>Jan 26 23:07:18 rpmi: python3-3.5.1-alt7 1462447869 installed <13>Jan 26 23:07:19 rpmi: python3-base-3.5.1-alt7 1462447869 installed <13>Jan 26 23:07:19 rpmi: python-modules-compiler-2.7.11-alt3 1460726088 installed <13>Jan 26 23:07:19 rpmi: python-modules-email-2.7.11-alt3 1460726088 installed <13>Jan 26 23:07:19 rpmi: python-modules-unittest-2.7.11-alt3 1460726088 installed <13>Jan 26 23:07:19 rpmi: python-modules-encodings-2.7.11-alt3 1460726088 installed <13>Jan 26 23:07:19 rpmi: python-modules-2.7.11-alt3 1460726088 installed <13>Jan 26 23:07:19 rpmi: python3-module-six-1.10.0-alt1 1483422782 installed <13>Jan 26 23:07:19 rpmi: python3-module-setuptools-1:18.1-alt4 1469693421 installed <13>Jan 26 23:07:19 rpmi: python-module-six-1.10.0-alt1 1483422782 installed <13>Jan 26 23:07:19 rpmi: python-modules-ctypes-2.7.11-alt3 1460726088 installed <13>Jan 26 23:07:19 rpmi: python-modules-json-2.7.11-alt3 1460726088 installed <13>Jan 26 23:07:19 rpmi: python3-module-pyasn1-0.1.8-alt2.1.1.1 1460405470 installed <13>Jan 26 23:07:19 rpmi: python3-module-genshi-0.7-alt1.1.1.1 1460400303 installed <13>Jan 26 23:07:19 rpmi: python-modules-multiprocessing-2.7.11-alt3 1460726088 installed <13>Jan 26 23:07:19 rpmi: python-modules-logging-2.7.11-alt3 1460726088 installed <13>Jan 26 23:07:19 rpmi: python-tools-2to3-2.7.11-alt3 1460726088 installed <13>Jan 26 23:07:19 rpmi: python3-module-ntlm-1.1.0-alt1.1.1.1 1460405346 installed <13>Jan 26 23:07:19 rpmi: python-modules-xml-2.7.11-alt3 1460726088 installed <13>Jan 26 23:07:19 rpmi: python-modules-hotshot-2.7.11-alt3 1460726088 installed <13>Jan 26 23:07:19 rpmi: python-modules-bsddb-2.7.11-alt3 1460726088 installed <13>Jan 26 23:07:19 rpmi: python-2.7.11-alt3 1460726088 installed <13>Jan 26 23:07:19 rpmi: python-dev-2.7.11-alt3 1460726088 installed <13>Jan 26 23:07:19 rpmi: python-module-setuptools-1:18.1-alt4 1469693421 installed <13>Jan 26 23:07:19 rpmi: python-module-pbr-1.8.1-alt1.1.1 1458059309 installed <13>Jan 26 23:07:19 rpmi: python-strict-2.7.11-alt3 1460726037 installed <13>Jan 26 23:07:19 rpmi: python-module-funcsigs-1.0.2-alt1 1484260251 installed <13>Jan 26 23:07:19 rpmi: python-module-linecache2-1.0.0-alt1.git20150306.1.1 1457981765 installed <13>Jan 26 23:07:19 rpmi: python-module-traceback2-1.4.0-alt1.git20150309.1.1 1458137072 installed <13>Jan 26 23:07:19 rpmi: python-module-unittest2-1.1.0-alt2.hg20150630.1 1458023441 installed <13>Jan 26 23:07:19 rpmi: python-module-py-1.4.32-alt1 1484069457 installed <13>Jan 26 23:07:20 rpmi: python3-module-pycparser-2.14-alt1.1 1458071180 installed <13>Jan 26 23:07:20 rpmi: python3-module-cffi-1.4.2-alt1.1 1459589762 installed <13>Jan 26 23:07:20 rpmi: python3-module-idna-2.1-alt1 1469450470 installed <13>Jan 26 23:07:20 rpmi: python3-module-cryptography-1.7.1-alt1 1481885326 installed <13>Jan 26 23:07:20 rpmi: python3-module-OpenSSL-16.2.0-alt1 1484254789 installed <13>Jan 26 23:07:20 rpmi: python3-module-cssselect-0.9.1-alt1.1 1457858257 installed <13>Jan 26 23:07:20 rpmi: python3-module-lxml-3.5.0-alt2.beta1.git20150727 1462232454 installed <13>Jan 26 23:07:20 rpmi: python3-module-html5lib-1:0.999999-alt1.1.1.1 1460400556 installed <13>Jan 26 23:07:20 rpmi: python3-module-pip-8.1.2-alt1 1478103696 installed <13>Jan 26 23:07:20 rpmi: python3-module-pbr-1.8.1-alt1.1.1 1458059309 installed <13>Jan 26 23:07:20 rpmi: python3-module-linecache2-1.0.0-alt1.git20150306.1.1 1457981765 installed <13>Jan 26 23:07:20 rpmi: python3-module-traceback2-1.4.0-alt1.git20150309.1.1 1458137072 installed <13>Jan 26 23:07:20 rpmi: python3-module-unittest2-1.1.0-alt2.hg20150630.1 1458023441 installed <13>Jan 26 23:07:20 rpmi: python3-module-py-1.4.32-alt1 1484069457 installed <13>Jan 26 23:07:20 rpmi: python3-module-pytest-3.0.5-alt3 1485428186 installed <13>Jan 26 23:07:20 rpmi: python3-module-mock-2.0.0-alt1 1477345442 installed <13>Jan 26 23:07:20 rpmi: python-module-pytest-3.0.5-alt3 1485428186 installed <13>Jan 26 23:07:20 rpmi: python-module-mock-2.0.0-alt1 1477345442 installed Installing python-module-port-for-0.3.1-alt1.git20140827.1.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.62806 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-port-for-0.3.1 + echo 'Source #0 (python-module-port-for-0.3.1.tar):' Source #0 (python-module-port-for-0.3.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-port-for-0.3.1.tar + cd python-module-port-for-0.3.1 + /bin/chmod -c -Rf u+rwX,go-w . + cp -fR . ../python3 + find ../python3 -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 ../python3/setup.py RefactoringTool: Refactored ../python3/port_for/utils.py RefactoringTool: Refactored ../python3/port_for/tests.py RefactoringTool: Refactored ../python3/port_for/store.py RefactoringTool: Refactored ../python3/port_for/ephemeral.py RefactoringTool: Refactored ../python3/port_for/docopt.py RefactoringTool: Refactored ../python3/port_for/api.py RefactoringTool: Refactored ../python3/port_for/_download_ranges.py --- ../python3/port_for/utils.py (original) +++ ../python3/port_for/utils.py (refactored) @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import + import itertools def ranges_to_set(lst): @@ -11,7 +11,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): """ --- ../python3/port_for/tests.py (original) +++ ../python3/port_for/tests.py (refactored) @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import + import unittest import tempfile import mock --- ../python3/port_for/store.py (original) +++ ../python3/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 @@ -35,7 +35,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)) --- ../python3/port_for/ephemeral.py (original) +++ ../python3/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) --- ../python3/port_for/docopt.py (original) +++ ../python3/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) --- ../python3/port_for/api.py (original) +++ ../python3/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 --- ../python3/port_for/_download_ranges.py (original) +++ ../python3/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__), '..'))) @@ -43,8 +43,8 @@ Returns used port ranges according to WRefactoringTool: Refactored ../python3/port_for/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/port_for/utils.py RefactoringTool: ../python3/port_for/tests.py RefactoringTool: ../python3/port_for/store.py RefactoringTool: ../python3/port_for/ephemeral.py RefactoringTool: ../python3/port_for/docopt.py RefactoringTool: ../python3/port_for/api.py RefactoringTool: ../python3/port_for/_download_ranges.py RefactoringTool: ../python3/port_for/__init__.py ikipedia page. This page contains unofficial well-known ports. """ - req = urllib2.Request(WIKIPEDIA_PAGE, headers={'User-Agent' : "Magic Browser"}) - 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) @@ -54,7 +54,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: --- ../python3/port_for/__init__.py (original) +++ ../python3/port_for/__init__.py (refactored) @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import + __version__ = '0.3' from .api import (available_good_ports, available_ports, is_available, + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.78937 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-port-for-0.3.1 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + /usr/bin/python setup.py build --debug running build running build_py creating build creating build/lib creating 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/store.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-2.7 copying and adjusting scripts/port-for -> build/scripts-2.7 changing mode of build/scripts-2.7/port-for from 644 to 755 + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-port-for-0.3.1 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + python3 setup.py build --debug running build running build_py creating build creating build/lib creating 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/store.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.5 copying and adjusting scripts/port-for -> build/scripts-3.5 changing mode of build/scripts-3.5/port-for from 644 to 755 + popd ~/RPM/BUILD/python-module-port-for-0.3.1 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.78937 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-port-for-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-port-for-buildroot + cd python-module-port-for-0.3.1 + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-port-for-0.3.1 + python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-port-for-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-port-for-buildroot creating /usr/src/tmp/python-module-port-for-buildroot/usr creating /usr/src/tmp/python-module-port-for-buildroot/usr/lib creating /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for copying build/lib/port_for/__init__.py -> /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for copying build/lib/port_for/_download_ranges.py -> /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for copying build/lib/port_for/_ranges.py -> /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for copying build/lib/port_for/api.py -> /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for copying build/lib/port_for/docopt.py -> /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for copying build/lib/port_for/ephemeral.py -> /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for copying build/lib/port_for/exceptions.py -> /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for copying build/lib/port_for/store.py -> /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for copying build/lib/port_for/tests.py -> /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for copying build/lib/port_for/utils.py -> /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for byte-compiling /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/_download_ranges.py to _download_ranges.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/_ranges.py to _ranges.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/api.py to api.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/docopt.py to docopt.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/ephemeral.py to ephemeral.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/exceptions.py to exceptions.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/store.py to store.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/tests.py to tests.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/utils.py to utils.cpython-35.pyc running install_scripts creating /usr/src/tmp/python-module-port-for-buildroot/usr/bin copying build/scripts-3.5/port-for -> /usr/src/tmp/python-module-port-for-buildroot/usr/bin changing mode of /usr/src/tmp/python-module-port-for-buildroot/usr/bin/port-for to 755 running install_egg_info Writing /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for-0.3.1-py3.5.egg-info + popd ~/RPM/BUILD/python-module-port-for-0.3.1 + pushd /usr/src/tmp/python-module-port-for-buildroot/usr/bin ~/tmp/python-module-port-for-buildroot/usr/bin ~/RPM/BUILD/python-module-port-for-0.3.1 ++ 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/python-module-port-for-0.3.1 + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-port-for-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for copying build/lib/port_for/__init__.py -> /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for copying build/lib/port_for/_download_ranges.py -> /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for copying build/lib/port_for/_ranges.py -> /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for copying build/lib/port_for/api.py -> /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for copying build/lib/port_for/docopt.py -> /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for copying build/lib/port_for/ephemeral.py -> /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for copying build/lib/port_for/exceptions.py -> /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for copying build/lib/port_for/store.py -> /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for copying build/lib/port_for/tests.py -> /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for copying build/lib/port_for/utils.py -> /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for byte-compiling /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/_download_ranges.py to _download_ranges.pyc byte-compiling /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/_ranges.py to _ranges.pyc byte-compiling /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/api.py to api.pyc byte-compiling /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/docopt.py to docopt.pyc byte-compiling /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/ephemeral.py to ephemeral.pyc byte-compiling /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/exceptions.py to exceptions.pyc byte-compiling /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/store.py to store.pyc byte-compiling /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/tests.py to tests.pyc byte-compiling /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/utils.py to utils.pyc running install_scripts copying build/scripts-2.7/port-for -> /usr/src/tmp/python-module-port-for-buildroot/usr/bin changing mode of /usr/src/tmp/python-module-port-for-buildroot/usr/bin/port-for to 755 running install_egg_info Writing /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for-0.3.1-py2.7.egg-info + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-port-for-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-port-for-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/python-module-port-for-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-port-for-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-port-for-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/python-module-port-for-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/__init__.pyc unlink /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/_download_ranges.pyc unlink /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/_ranges.pyc unlink /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/api.pyc unlink /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/docopt.pyc unlink /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/ephemeral.pyc unlink /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/exceptions.pyc unlink /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/store.pyc unlink /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/tests.pyc unlink /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/utils.pyc compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/__init__.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/_download_ranges.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/_ranges.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/api.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/docopt.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/ephemeral.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/exceptions.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/store.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/tests.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/utils.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-port-for-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/__init__.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/_download_ranges.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/_ranges.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/api.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/docopt.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/ephemeral.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/exceptions.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/store.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/tests.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python2.7/site-packages/port_for/utils.py Bytecompiling python3 modules in /usr/src/tmp/python-module-port-for-buildroot using python3 unlink /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__pycache__/_download_ranges.cpython-35.pyc unlink /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__pycache__/_ranges.cpython-35.pyc unlink /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__pycache__/api.cpython-35.pyc unlink /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__pycache__/docopt.cpython-35.pyc unlink /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__pycache__/ephemeral.cpython-35.pyc unlink /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__pycache__/exceptions.cpython-35.pyc unlink /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__pycache__/store.cpython-35.pyc unlink /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__pycache__/tests.cpython-35.pyc unlink /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__pycache__/utils.cpython-35.pyc compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__init__.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/_download_ranges.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/_ranges.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/api.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/docopt.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/ephemeral.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/exceptions.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/store.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/tests.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/utils.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-port-for-buildroot using python3 -O compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__init__.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/_download_ranges.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/_ranges.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/api.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/docopt.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/ephemeral.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/exceptions.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/store.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/tests.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/utils.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-port-for-buildroot using python3 -OO compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/__init__.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/_download_ranges.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/_ranges.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/api.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/docopt.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/ephemeral.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/exceptions.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/store.py compile /usr/src/tmp/python-module-port-for-buildroot/usr/lib/python3/site-packages/port_for/tests.py compile /usr/src/tmp/python-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__/utils.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/port_for/__pycache__/utils.cpython-35.pyc' './usr/lib/python3/site-packages/port_for/__pycache__/tests.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/port_for/__pycache__/tests.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/port_for/__pycache__/store.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/port_for/__pycache__/store.cpython-35.pyc' './usr/lib/python3/site-packages/port_for/__pycache__/store.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/port_for/__pycache__/store.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/port_for/__pycache__/exceptions.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/port_for/__pycache__/exceptions.cpython-35.pyc' './usr/lib/python3/site-packages/port_for/__pycache__/exceptions.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/port_for/__pycache__/exceptions.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/port_for/__pycache__/ephemeral.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/port_for/__pycache__/ephemeral.cpython-35.pyc' './usr/lib/python3/site-packages/port_for/__pycache__/api.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/port_for/__pycache__/api.cpython-35.pyc' './usr/lib/python3/site-packages/port_for/__pycache__/_ranges.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/port_for/__pycache__/_ranges.cpython-35.pyc' './usr/lib/python3/site-packages/port_for/__pycache__/_ranges.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/port_for/__pycache__/_ranges.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/port_for/__pycache__/_download_ranges.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/port_for/__pycache__/_download_ranges.cpython-35.pyc' './usr/lib/python3/site-packages/port_for/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/port_for/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/port_for/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/port_for/__pycache__/__init__.cpython-35.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/port_for/utils.pyo' => './usr/lib/python2.7/site-packages/port_for/utils.pyc' './usr/lib/python2.7/site-packages/port_for/store.pyo' => './usr/lib/python2.7/site-packages/port_for/store.pyc' './usr/lib/python2.7/site-packages/port_for/exceptions.pyo' => './usr/lib/python2.7/site-packages/port_for/exceptions.pyc' './usr/lib/python2.7/site-packages/port_for/ephemeral.pyo' => './usr/lib/python2.7/site-packages/port_for/ephemeral.pyc' './usr/lib/python2.7/site-packages/port_for/api.pyo' => './usr/lib/python2.7/site-packages/port_for/api.pyc' './usr/lib/python2.7/site-packages/port_for/_ranges.pyo' => './usr/lib/python2.7/site-packages/port_for/_ranges.pyc' './usr/lib/python2.7/site-packages/port_for/_download_ranges.pyo' => './usr/lib/python2.7/site-packages/port_for/_download_ranges.pyc' './usr/lib/python2.7/site-packages/port_for/__init__.pyo' => './usr/lib/python2.7/site-packages/port_for/__init__.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.61096 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-port-for-0.3.1 + py.test port_for/__init__.py port_for/_download_ranges.py port_for/_ranges.py port_for/api.py port_for/docopt.py port_for/ephemeral.py port_for/exceptions.py port_for/store.py port_for/tests.py port_for/utils.py ============================= test session starts ============================== platform linux2 -- Python 2.7.11, pytest-3.0.5, py-1.4.32, pluggy-0.4.0 rootdir: /usr/src/RPM/BUILD/python-module-port-for-0.3.1, inifile: collected 12 items port_for/tests.py ............ ========================== 12 passed in 0.76 seconds =========================== + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-port-for-0.3.1 + py.test-3.5 port_for/__init__.py port_for/_download_ranges.py port_for/_ranges.py port_for/api.py port_for/docopt.py port_for/ephemeral.py port_for/exceptions.py port_for/store.py port_for/tests.py port_for/utils.py /usr/src/tmp/rpm-tmp.61096: line 123: py.test-3.5: command not found error: Bad exit status from /usr/src/tmp/rpm-tmp.61096 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.61096 (%check) Command exited with non-zero status 1 5.42user 0.98system 0:06.36elapsed 100%CPU (0avgtext+0avgdata 35324maxresident)k 0inputs+0outputs (0major+153091minor)pagefaults 0swaps hsh-rebuild: rebuild of `python-module-port-for-0.3.1-alt1.git20140827.1.1.src.rpm' failed. Command exited with non-zero status 1 26.61user 6.26system 0:32.23elapsed 102%CPU (0avgtext+0avgdata 133452maxresident)k 0inputs+0outputs (0major+450906minor)pagefaults 0swaps