86>Apr 21 00:40:06 userdel[16803]: delete user 'rooter'
<86>Apr 21 00:40:06 groupadd[16834]: group added to /etc/group: name=rooter, GID=615
<86>Apr 21 00:40:06 groupadd[16834]: group added to /etc/gshadow: name=rooter
<86>Apr 21 00:40:06 groupadd[16834]: new group: name=rooter, GID=615
<86>Apr 21 00:40:06 useradd[16863]: new user: name=rooter, UID=615, GID=615, home=/root, shell=/bin/bash
<86>Apr 21 00:40:06 userdel[16888]: delete user 'builder'
<86>Apr 21 00:40:06 userdel[16888]: removed group 'builder' owned by 'builder'
<86>Apr 21 00:40:06 groupadd[16910]: group added to /etc/group: name=builder, GID=616
<86>Apr 21 00:40:06 groupadd[16910]: group added to /etc/gshadow: name=builder
<86>Apr 21 00:40:06 groupadd[16910]: new group: name=builder, GID=616
<86>Apr 21 00:40:06 useradd[16921]: new user: name=builder, UID=616, GID=616, home=/usr/src, shell=/bin/bash
<13>Apr 21 00:40:09 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed
<13>Apr 21 00:40:09 rpmi: libgdbm-1.8.3-alt10 1454943313 installed
<13>Apr 21 00:40:09 rpmi: libgpg-error-1.31-alt1.M80P.1 1529024730 installed
<13>Apr 21 00:40:09 rpmi: libgcrypt20-1.8.3-alt4 p8+219793.200.6.1 1551112986 installed
<13>Apr 21 00:40:09 rpmi: libxslt-1.1.28-alt4 1448210404 installed
<13>Apr 21 00:40:09 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed
<13>Apr 21 00:40:10 rpmi: libncurses-devel-5.9-alt8 1456756459 installed
<13>Apr 21 00:40:10 rpmi: libcom_err-1.42.13-alt2 1449075846 installed
<13>Apr 21 00:40:10 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed
<13>Apr 21 00:40:10 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed
<13>Apr 21 00:40:10 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed
<86>Apr 21 00:40:10 groupadd[29938]: group added to /etc/group: name=_keytab, GID=499
<86>Apr 21 00:40:10 groupadd[29938]: group added to /etc/gshadow: name=_keytab
<86>Apr 21 00:40:10 groupadd[29938]: new group: name=_keytab, GID=499
<13>Apr 21 00:40:10 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed
<13>Apr 21 00:40:10 rpmi: python3-base-3.5.4-alt2.M80P.1 1527753911 installed
<13>Apr 21 00:40:10 rpmi: python-modules-compiler-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 21 00:40:10 rpmi: python3-module-six-1.10.0-alt7 1496087616 installed
<13>Apr 21 00:40:11 rpmi: python3-module-pycparser-2.14-alt1.1 1458071180 installed
<13>Apr 21 00:40:11 rpmi: python3-module-asn1crypto-0.22.0-alt0.M80P.1 1501735102 installed
<13>Apr 21 00:40:11 rpmi: python3-module-idna-2.5-alt0.M80P.1 1501735172 installed
<13>Apr 21 00:40:11 rpmi: python3-module-cssselect-0.9.1-alt1.1 1457858257 installed
<13>Apr 21 00:40:11 rpmi: python3-module-funcsigs-0.4-alt1.git20131220.1 1457958730 installed
<13>Apr 21 00:40:11 rpmi: python3-module-webencodings-0.5.1-alt0.M80P.1 1507185481 installed
<13>Apr 21 00:40:11 rpmi: python3-module-linecache2-1.0.0-alt1.git20150306.1.1 1457981765 installed
<13>Apr 21 00:40:11 rpmi: python3-module-traceback2-1.4.0-alt1.git20150309.1.1 1458137072 installed
<13>Apr 21 00:40:11 rpmi: python3-module-unittest2-1.1.0-alt2.hg20150630.1 1458023441 installed
<13>Apr 21 00:40:11 rpmi: python3-module-py-1.4.34-alt0.M80P.1 1503506764 installed
<13>Apr 21 00:40:11 rpmi: python3-3.5.4-alt2.M80P.1 1527753911 installed
<13>Apr 21 00:40:11 rpmi: python-modules-email-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 21 00:40:11 rpmi: python3-module-cffi-1.10.0-alt0.M80P.1 1501702481 installed
<13>Apr 21 00:40:11 rpmi: python3-module-cryptography-2.0.0-alt0.M80P.1 1501702598 installed
<13>Apr 21 00:40:11 rpmi: python3-module-OpenSSL-16.2.0-alt0.M80P.1 1505402609 installed
<13>Apr 21 00:40:11 rpmi: rpm-build-python3-0.1.10.10-alt1.M80P.1 1530521451 installed
<13>Apr 21 00:40:11 rpmi: python-modules-unittest-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 21 00:40:11 rpmi: python3-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed
<13>Apr 21 00:40:11 rpmi: python3-module-lxml-4.0.0-alt0.M80P.1 1507163741 installed
<13>Apr 21 00:40:11 rpmi: python3-module-ntlm-1.1.0-alt1.1.1.1 1460405346 installed
<13>Apr 21 00:40:11 rpmi: python3-module-pip-10.0.1-alt1.M80P.1 1528316057 installed
<13>Apr 21 00:40:11 rpmi: python3-module-pbr-2.0.0-alt0.M80P.1 1496089331 installed
<13>Apr 21 00:40:11 rpmi: python3-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed
<13>Apr 21 00:40:11 rpmi: python3-module-html5lib-1:0.999999999-alt1.M80P.2 1507185603 installed
<13>Apr 21 00:40:11 rpmi: python3-module-mock-1.3.0-alt1.git20150731.1.1 1457990410 installed
<13>Apr 21 00:40:12 rpmi: python-modules-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 21 00:40:12 rpmi: python-module-six-1.10.0-alt7 1496087616 installed
<13>Apr 21 00:40:12 rpmi: python-modules-ctypes-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 21 00:40:12 rpmi: python-modules-json-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 21 00:40:12 rpmi: python-modules-encodings-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 21 00:40:12 rpmi: python-modules-multiprocessing-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 21 00:40:12 rpmi: python-modules-logging-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 21 00:40:12 rpmi: python-tools-2to3-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 21 00:40:12 rpmi: python-modules-xml-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 21 00:40:12 rpmi: python-modules-hotshot-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 21 00:40:12 rpmi: python-modules-bsddb-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 21 00:40:12 rpmi: python-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 21 00:40:12 rpmi: python-dev-2.7.11-alt6.M80P.1 1527682470 installed
<13>Apr 21 00:40:12 rpmi: python-strict-2.7.11-alt6.M80P.1 1527682534 installed
<13>Apr 21 00:40:12 rpmi: python-module-funcsigs-0.4-alt1.git20131220.1 1457958730 installed
<13>Apr 21 00:40:12 rpmi: python-module-linecache2-1.0.0-alt1.git20150306.1.1 1457981765 installed
<13>Apr 21 00:40:12 rpmi: python-module-traceback2-1.4.0-alt1.git20150309.1.1 1458137072 installed
<13>Apr 21 00:40:12 rpmi: python-module-py-1.4.34-alt0.M80P.1 1503506764 installed
<13>Apr 21 00:40:12 rpmi: python-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed
<13>Apr 21 00:40:12 rpmi: python-module-pbr-2.0.0-alt0.M80P.1 1496089331 installed
<13>Apr 21 00:40:12 rpmi: python-module-unittest2-1.1.0-alt2.hg20150630.1 1458023441 installed
<13>Apr 21 00:40:12 rpmi: python-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed
<13>Apr 21 00:40:12 rpmi: python-module-mock-1.3.0-alt1.git20150731.1.1 1457990410 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.94447
+ 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.10962
+ 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.10962
+ 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.62396
+ 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.2.1, py-1.4.34, 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.83 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.62396: line 123: py.test-3.5: command not found
error: Bad exit status from /usr/src/tmp/rpm-tmp.62396 (%check)
RPM build errors:
Bad exit status from /usr/src/tmp/rpm-tmp.62396 (%check)
Command exited with non-zero status 1
4.85user 0.72system 0:06.13elapsed 90%CPU (0avgtext+0avgdata 35252maxresident)k
0inputs+0outputs (0major+156368minor)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
10.23user 2.90system 0:14.70elapsed 89%CPU (0avgtext+0avgdata 122012maxresident)k
7568inputs+0outputs (0major+351069minor)pagefaults 0swaps