<86>Oct 24 03:25:40 userdel[664620]: delete user 'rooter' <86>Oct 24 03:25:40 groupadd[664672]: group added to /etc/group: name=rooter, GID=978 <86>Oct 24 03:25:40 groupadd[664672]: new group: name=rooter, GID=978 <86>Oct 24 03:25:40 useradd[664687]: new user: name=rooter, UID=978, GID=978, home=/root, shell=/bin/bash <86>Oct 24 03:25:40 userdel[664824]: delete user 'builder' <86>Oct 24 03:25:40 userdel[664824]: removed group 'builder' owned by 'builder' <86>Oct 24 03:25:40 userdel[664824]: removed shadow group 'builder' owned by 'builder' <86>Oct 24 03:25:40 groupadd[664885]: group added to /etc/group: name=builder, GID=979 <86>Oct 24 03:25:40 groupadd[664885]: group added to /etc/gshadow: name=builder <86>Oct 24 03:25:40 groupadd[664885]: new group: name=builder, GID=979 <86>Oct 24 03:25:40 useradd[664921]: new user: name=builder, UID=979, GID=979, home=/usr/src, shell=/bin/bash <13>Oct 24 03:25:45 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Oct 24 03:25:45 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103332 installed <13>Oct 24 03:25:45 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Oct 24 03:25:45 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Oct 24 03:25:45 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Oct 24 03:25:45 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Oct 24 03:25:45 rpmi: ca-certificates-2020.06.29-alt1 p9+258899.100.3.1 1601998604 installed <13>Oct 24 03:25:45 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Oct 24 03:25:45 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Oct 24 03:25:45 rpmi: libcrypto1.1-1.1.1l-alt1 p9+283690.100.2.1 1630572181 installed <13>Oct 24 03:25:45 rpmi: libssl1.1-1.1.1l-alt1 p9+283690.100.2.1 1630572181 installed <13>Oct 24 03:25:45 rpmi: python3-3.7.11-alt1 p9+273501.10.37.1 1629720188 installed <13>Oct 24 03:25:45 rpmi: libpython3-3.7.11-alt1 p9+273501.10.37.1 1629720188 installed <13>Oct 24 03:25:47 rpmi: python3-base-3.7.11-alt1 p9+273501.10.37.1 1629720188 installed <13>Oct 24 03:25:47 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Oct 24 03:25:47 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Oct 24 03:25:53 rpmi: python3-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Oct 24 03:25:53 rpmi: python-modules-curses-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 03:25:53 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Oct 24 03:25:53 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Oct 24 03:25:53 rpmi: python3-dev-3.7.11-alt1 p9+273501.10.37.1 1629720188 installed <13>Oct 24 03:25:53 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>Oct 24 03:25:53 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>Oct 24 03:25:53 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <86>Oct 24 03:25:53 groupadd[699217]: group added to /etc/group: name=_keytab, GID=499 <86>Oct 24 03:25:53 groupadd[699217]: group added to /etc/gshadow: name=_keytab <86>Oct 24 03:25:53 groupadd[699217]: new group: name=_keytab, GID=499 <13>Oct 24 03:25:53 rpmi: libkrb5-1.17.2-alt2 p9+280683.100.2.1 1627489159 installed <13>Oct 24 03:25:53 rpmi: libtirpc-1.0.3-alt1 1532008015 installed <13>Oct 24 03:25:53 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>Oct 24 03:25:53 rpmi: python-modules-compiler-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 03:25:53 rpmi: python-modules-email-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 03:25:53 rpmi: python-modules-unittest-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 03:25:53 rpmi: python-modules-encodings-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 03:25:53 rpmi: python-modules-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 03:25:53 rpmi: python-modules-nis-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 03:25:53 rpmi: python-modules-ctypes-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 03:25:53 rpmi: python-modules-multiprocessing-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 03:25:53 rpmi: python-modules-logging-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 03:25:53 rpmi: python-tools-2to3-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 03:25:53 rpmi: python-modules-xml-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 03:25:53 rpmi: python-modules-hotshot-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 03:25:53 rpmi: python-modules-bsddb-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 03:25:53 rpmi: python-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 03:25:53 rpmi: python-modules-distutils-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 03:25:53 rpmi: python-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Oct 24 03:25:53 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548748 installed <13>Oct 24 03:25:53 rpmi: python-dev-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 03:25:53 rpmi: python-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Oct 24 03:25:53 rpmi: python3-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/python-module-universal-analytics-python-0.2.4-alt1.git20141205.1.1.nosrc.rpm (w1.gzdio) Installing python-module-universal-analytics-python-0.2.4-alt1.git20141205.1.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.44968 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-universal-analytics-python-0.2.4 + echo 'Source #0 (python-module-universal-analytics-python-0.2.4.tar):' Source #0 (python-module-universal-analytics-python-0.2.4.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-universal-analytics-python-0.2.4.tar + cd python-module-universal-analytics-python-0.2.4 + /bin/chmod -c -Rf u+rwX,go-w . + echo 0.2.4 + 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: Refactored ../python3/test/test_everything.py WARNING: couldn't encode ../python3/test/test_everything.py's diff for your terminal RefactoringTool: Refactored ../python3/setup.py RefactoringTool: Refactored ../python3/UniversalAnalytics/__init__.py RefactoringTool: Refactored ../python3/UniversalAnalytics/Tracker.py --- ../python3/test/test_everything.py (original) +++ ../python3/test/test_everything.py (refactored) @@ -10,7 +10,7 @@ ############################################################################### import unittest -import urllib +import urllib.request, urllib.parse, urllib.error from UniversalAnalytics import Tracker from UniversalAnalytics import HTTPLog @@ -33,7 +33,7 @@ @classmethod def url_quote(cls, value, safe_chars = ''): - return urllib.quote(value, safe_chars) + return urllib.parse.quote(value, safe_chars) @property @@ -83,7 +83,7 @@ # Send unicode data: # As unicode --- ../python3/setup.py (original) +++ ../python3/setup.py (refactored) @@ -2,7 +2,7 @@ import sys VERSION=open('commit-version').read().strip() -print >>sys.stderr, "Preparing version {0}\n".format(VERSION or "NOTFOUND") +print("Preparing version {0}\n".format(VERSION or "NOTFOUND"), file=sys.stderr) try: --- ../python3/UniversalAnalytics/__init__.py (original) +++ ../python3/UniversalAnalytics/__init__.py (refactored) @@ -1 +1 @@ -import Tracker +from . import Tracker --- ../python3/UniversalAnalytics/Tracker.py (original) +++ ../python3/UniversalAnalytics/Tracker.py (refactored) @@ -1,16 +1,7 @@ -############################################################################### -# Universal Analytics for Python -# Copyright (c) 2013, Analytics Pros -# -# This project is free software, distributed under the BSD license. -# Analytics Pros offers consulting and integration services if your firm needs -# assistance in strategy, implementation, or auditing existing work. -############################################################################### - -from urllib2 import urlopen, build_opener, install_opener -from urllib2 import Request, HTTPSHandler -from urllib2 import URLError, HTTPError -from urllib import urlencode +from urllib.request import urlopen, build_opener, install_opener +from urllib.request import Request, HTTPSHandler +from urllib.error import URLError, HTTPError +from urllib.parse import urlencode import random import datetime @@ -25,7 +16,7 @@ """ Provides a _random_ UUID with no input, or a UUID4-format MD5 checksum of any input data provided """ if basedata is None: return str(uuid.uuid4()) - elif isinstance(basedata, basestring): + elif isinstance(basedata, str): checksum = hashlib.md5(basedata).hexdigest() return '%8s-%4s-%4s-%4s-%12s' % (checksum[0:8], checksum[8:12], checksum[12:16], checksum[16:20], checksum[20:32]) @@ -44,7 +35,7 @@ def to_unix(cls, timestamp): """ Wrapper over time module to produce Unix epoch time as a float """ if not isinstance(timestamp, datetime.datetime): - raise TypeError, 'Time.milliseconds expects a datetime object' + raise TypeError('Time.milliseconds expects a datetime object') base = time.mktime(timestamp.timetuple()) return base @@ -89,7 +80,7 @@ def fixUTF8(cls, data): # Ensure proper encoding for UA's servers... """ Convert all strings to UTF-8 """ for key in data: - if isinstance(data[ key ], basestring): + if isinstance(data[ key ], str): data[ key ] = data[ key ].encode('utf-8') return data @@ -156,17 +147,17 @@ @classmethod def coerceParameter(cls, name, value = None): - if isinstance(name, basestring) and name[0] == '&': + if isinstance(name, str) and name[0] == '&': return name[1:], str(value) elif name in cls.parameter_alias: typecast, param_name = cls.parameter_alias.get(name) return param_name, typecast(value) else: - raise KeyError, 'Parameter "{0}" is not recognized'.format(name) + raise KeyError('Parameter "{0}" is not recognized'.format(name)) def payload(self, data): - for key, value in data.iteritems(): + for key, value in data.items(): try: yield self.coerceParameter(key, value) except KeyError: @@ -175,10 +166,10 @@ option_sequence = { - 'pageview': [ (basestring, 'dp') ], - 'event': [ (basestring, 'ec'), (basestring, 'ea'), (basestring, 'el'), (int, 'ev') ], - 'social': [ (basestring, 'sn'), (basestring, 'sa'), (basestring, 'st') ], - 'timing': [ (basestring, 'utc'), (basestring, 'utv'), (basestring, 'utt'), (basestring, 'utl') ] + 'pageview': [ (str, 'dp') ], + 'event': [ (str, 'ec'), (str, 'ea'), (str, 'el'), (int, 'ev') ], + 'social': [ (str, 'sn'), (str, 'sa'), (str, 'st') ], + 'timing': [ (str, 'utc'), (str, 'utv'), (str, 'utt'), (str, 'utl') ] } @classmethod @@ -254,7 +245,7 @@ for key, val in self.payload(item): data[ key ] = val - for k, v in self.params.iteritems(): # update only absent parameters + for k, v in self.params.items(): # update only absent parameters if k not in data: data[ k ] = v @@ -273,13 +264,13 @@ # Setting persistent attibutes of the session/hit/etc (inc. custom dimensions/metrics) def set(self, name, value = None): if isinstance(name, dict): - for key, value in name.iteritems(): + for key, value in name.items(): try: param, value = self.coerceParameter(key, value) self.params[param] = value except KeyError: pass - elif isinstance(name, basestring): + elif isinstance(name, str): try: param, value = self.coerceParameter(name, value) self.params[param] = value @@ -304,7 +295,7 @@ def safe_unicode(obj): """ Safe convertion to the Unicode string version of the object """ try: - return unicode(obj) + return str(obj) except UnicodeDecodeError: return obj.decode('utf-8') @@ -403,7 +394,7 @@ # Enhanced Ecommerce Tracker.alias(str, 'pa') # Product action Tracker.alias(str, 'tcc') # Coupon code -Tracker.alias(unicode, 'pal') # Product action list +Tracker.alias(str, 'pal') # Product action list Tracker.alias(int, 'cos') # Checkout step Tracker.alias(str, 'col') # Checkout step option @@ -411,10 +402,10 @@ for product_index in range(1, MAX_EC_PRODUCTS): Tracker.alias(str, 'pr{0}id'.format(product_index)) # Product SKU - Tracker.alias(unicode, 'pr{0}nm'.format(product_index)) # Product name - Tracker.alias(unicode, 'pr{0}br'.format(product_index)) # Product brand - Tracker.alias(unicode, 'pr{0}ca'.format(product_index)) # Product category - Tracker.alias(unicode, 'pr{0}va'.format(product_index)) # Product variant + Tracker.alias(str, 'pr{0}nm'.format(product_index)) # Product name + Tracker.alias(str, 'pr{0}br'.format(product_index)) # Product brand + Tracker.alias(str, 'pr{0}ca'.format(product_index)) # Product category + Tracker.alias(str, 'pr{0}va'.format(product_index)) # Product variant Tracker.alias(str, 'pr{0}pr'.format(product_index)) # Product price Tracker.alias(int, 'pr{0}qt'.format(product_index)) # Product quantity Tracker.alias(str, 'pr{0}cc'.format(product_index)) # Product coupon code @@ -426,10 +417,10 @@ for list_index in range(1, MAX_EC_LISTS): Tracker.alias(str, 'il{0}pi{1}id'.format(list_index, product_index)) # Product impression SKU - Tracker.alias(unicode, 'il{0}pi{1}nm'.format(list_index, product_index)) # Product impression name - Tracker.alias(unicode, 'il{0}pi{1}br'.format(list_index, product_index)) # Product impression brand - Tracker.alias(unicode, 'il{0}pi{1}ca'.format(list_index, product_index)) # Product impression category - Tracker.alias(unicode, 'il{0}pi{1}va'.format(list_index, product_index)) # Product impression variant + Tracker.alias(str, 'il{0}pi{1}nm'.format(list_index, product_index)) # Product impression name + Tracker.alias(str, 'il{0}pi{1}br'.format(list_index, product_indRefactoringTool: Refactored ../python3/UniversalAnalytics/HTTPLog.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/test/test_everything.py RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/UniversalAnalytics/__init__.py RefactoringTool: ../python3/UniversalAnalytics/Tracker.py RefactoringTool: ../python3/UniversalAnalytics/HTTPLog.py ex)) # Product impression brand + Tracker.alias(str, 'il{0}pi{1}ca'.format(list_index, product_index)) # Product impression category + Tracker.alias(str, 'il{0}pi{1}va'.format(list_index, product_index)) # Product impression variant Tracker.alias(int, 'il{0}pi{1}ps'.format(list_index, product_index)) # Product impression position Tracker.alias(int, 'il{0}pi{1}pr'.format(list_index, product_index)) # Product impression price @@ -438,11 +429,11 @@ Tracker.alias(int, 'il{0}pi{1}cm{2}'.format(list_index, product_index, custom_index)) # Product impression custom metric for list_index in range(1, MAX_EC_LISTS): - Tracker.alias(unicode, 'il{0}nm'.format(list_index)) # Product impression list name + Tracker.alias(str, 'il{0}nm'.format(list_index)) # Product impression list name for promotion_index in range(1, MAX_EC_PROMOTIONS): Tracker.alias(str, 'promo{0}id'.format(promotion_index)) # Promotion ID - Tracker.alias(unicode, 'promo{0}nm'.format(promotion_index)) # Promotion name + Tracker.alias(str, 'promo{0}nm'.format(promotion_index)) # Promotion name Tracker.alias(str, 'promo{0}cr'.format(promotion_index)) # Promotion creative Tracker.alias(str, 'promo{0}ps'.format(promotion_index)) # Promotion position --- ../python3/UniversalAnalytics/HTTPLog.py (original) +++ ../python3/UniversalAnalytics/HTTPLog.py (refactored) @@ -10,7 +10,7 @@ import sys, re, os -from cStringIO import StringIO +from io import StringIO @@ -116,6 +116,6 @@ if __name__ == '__main__': consume(sys.stdout).write(sys.stdin.read()) - print '\n' + print('\n') # vim: set nowrap tabstop=4 shiftwidth=4 softtabstop=0 expandtab textwidth=0 filetype=python foldmethod=indent foldcolumn=4 + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.57803 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-universal-analytics-python-0.2.4 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python setup.py build --debug Preparing version 0.2.4 running build running build_py creating build creating build/lib creating build/lib/UniversalAnalytics copying UniversalAnalytics/__init__.py -> build/lib/UniversalAnalytics copying UniversalAnalytics/Tracker.py -> build/lib/UniversalAnalytics copying UniversalAnalytics/HTTPLog.py -> build/lib/UniversalAnalytics + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-universal-analytics-python-0.2.4 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python3 setup.py build --debug running build running build_py creating build creating build/lib creating build/lib/UniversalAnalytics copying UniversalAnalytics/__init__.py -> build/lib/UniversalAnalytics copying UniversalAnalytics/Tracker.py -> build/lib/UniversalAnalytics copying UniversalAnalytics/HTTPLog.py -> build/lib/UniversalAnalytics Preparing version 0.2.4 + popd ~/RPM/BUILD/python-module-universal-analytics-python-0.2.4 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.51593 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-universal-analytics-python-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-universal-analytics-python-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd python-module-universal-analytics-python-0.2.4 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-universal-analytics-python-buildroot --force Preparing version 0.2.4 running install running install_lib creating /usr/src/tmp/python-module-universal-analytics-python-buildroot creating /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr creating /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib creating /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics copying build/lib/UniversalAnalytics/HTTPLog.py -> /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics copying build/lib/UniversalAnalytics/Tracker.py -> /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics copying build/lib/UniversalAnalytics/__init__.py -> /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics byte-compiling /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/HTTPLog.py to HTTPLog.pyc byte-compiling /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/Tracker.py to Tracker.pyc byte-compiling /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/__init__.py to __init__.pyc running install_egg_info running egg_info creating universal_analytics_python.egg-info writing universal_analytics_python.egg-info/PKG-INFO writing top-level names to universal_analytics_python.egg-info/top_level.txt writing dependency_links to universal_analytics_python.egg-info/dependency_links.txt writing manifest file 'universal_analytics_python.egg-info/SOURCES.txt' reading manifest file 'universal_analytics_python.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'universal_analytics_python.egg-info/SOURCES.txt' Copying universal_analytics_python.egg-info to /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/universal_analytics_python-0.2.4-py2.7.egg-info running install_scripts + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-universal-analytics-python-0.2.4 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-universal-analytics-python-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics copying build/lib/UniversalAnalytics/HTTPLog.py -> /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics copying build/lib/UniversalAnalytics/Tracker.py -> /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics copying build/lib/UniversalAnalytics/__init__.py -> /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics byte-compiling /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/HTTPLog.py to HTTPLog.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/Tracker.py to Tracker.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/__init__.py to __init__.cpython-37.pyc running install_egg_info running egg_info creating universal_analytics_python.egg-info writing universal_analytics_python.egg-info/PKG-INFO writing dependency_links to universal_analytics_python.egg-info/dependency_links.txt writing top-level names to universal_analytics_python.egg-info/top_level.txt writing manifest file 'universal_analytics_python.egg-info/SOURCES.txt' reading manifest file 'universal_analytics_python.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'universal_analytics_python.egg-info/SOURCES.txt' Copying universal_analytics_python.egg-info to /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/universal_analytics_python-0.2.4-py3.7.egg-info running install_scripts Preparing version 0.2.4 + popd ~/RPM/BUILD/python-module-universal-analytics-python-0.2.4 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-universal-analytics-python-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-universal-analytics-python-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python-module-universal-analytics-python-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-universal-analytics-python-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-universal-analytics-python-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-universal-analytics-python-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-universal-analytics-python-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/HTTPLog.pyc unlink /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/Tracker.pyc unlink /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/__init__.pyc compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/HTTPLog.py compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/Tracker.py compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/__init__.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-universal-analytics-python-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/HTTPLog.py compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/Tracker.py compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/__init__.py Bytecompiling python3 modules in /usr/src/tmp/python-module-universal-analytics-python-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/HTTPLog.cpython-37.pyc unlink /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/Tracker.cpython-37.pyc unlink /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/__init__.cpython-37.pyc compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/HTTPLog.py compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/Tracker.py compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/__init__.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-universal-analytics-python-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/HTTPLog.py compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/Tracker.py compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/__init__.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-universal-analytics-python-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/HTTPLog.py compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/Tracker.py compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/__init__.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/__init__.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/Tracker.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/Tracker.cpython-37.pyc' './usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/HTTPLog.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/HTTPLog.cpython-37.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/UniversalAnalytics/__init__.pyo' => './usr/lib/python2.7/site-packages/UniversalAnalytics/__init__.pyc' './usr/lib/python2.7/site-packages/UniversalAnalytics/Tracker.pyo' => './usr/lib/python2.7/site-packages/UniversalAnalytics/Tracker.pyc' './usr/lib/python2.7/site-packages/UniversalAnalytics/HTTPLog.pyo' => './usr/lib/python2.7/site-packages/UniversalAnalytics/HTTPLog.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.83329 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-universal-analytics-python-0.2.4 + python setup.py test Preparing version 0.2.4 running test running egg_info writing universal_analytics_python.egg-info/PKG-INFO writing top-level names to universal_analytics_python.egg-info/top_level.txt writing dependency_links to universal_analytics_python.egg-info/dependency_links.txt reading manifest file 'universal_analytics_python.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'universal_analytics_python.egg-info/SOURCES.txt' running build_ext ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-universal-analytics-python-0.2.4 + python3 setup.py test running test running egg_info writing universal_analytics_python.egg-info/PKG-INFO writing dependency_links to universal_analytics_python.egg-info/dependency_links.txt writing top-level names to universal_analytics_python.egg-info/top_level.txt reading manifest file 'universal_analytics_python.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'universal_analytics_python.egg-info/SOURCES.txt' running build_ext Preparing version 0.2.4 ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK + sed -i 's|python|python3|' Makefile + popd ~/RPM/BUILD/python-module-universal-analytics-python-0.2.4 + exit 0 Processing files: python-module-universal-analytics-python-0.2.4-alt1.git20141205.1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.25607 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-universal-analytics-python-0.2.4 + DOCDIR=/usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python-module-universal-analytics-python-0.2.4 + export DOCDIR + rm -rf /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python-module-universal-analytics-python-0.2.4 + /bin/mkdir -p /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python-module-universal-analytics-python-0.2.4 + cp -prL DESCRIPTION.rst README.md /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python-module-universal-analytics-python-0.2.4 + chmod -R go-w /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python-module-universal-analytics-python-0.2.4 + chmod -R a+rX /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python-module-universal-analytics-python-0.2.4 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.NkkdAy 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.sKz1EX find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) python.req: /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/HTTPLog.py: skipping sys python.req: /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/__init__.py: hiding Tracker, which SEEMS TO BE SELF-SATISFIED shebang.req.files: executable script /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/HTTPLog.py is not executable Provides: python2.7(UniversalAnalytics), python2.7(UniversalAnalytics.HTTPLog), python2.7(UniversalAnalytics.Tracker) Requires: /usr/lib/python2.7/site-packages, python-modules Processing files: python3-module-universal-analytics-python-0.2.4-alt1.git20141205.1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.28120 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-universal-analytics-python-0.2.4 + DOCDIR=/usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python3-module-universal-analytics-python-0.2.4 + export DOCDIR + rm -rf /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python3-module-universal-analytics-python-0.2.4 + /bin/mkdir -p /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python3-module-universal-analytics-python-0.2.4 + cp -prL DESCRIPTION.rst README.md /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python3-module-universal-analytics-python-0.2.4 + chmod -R go-w /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python3-module-universal-analytics-python-0.2.4 + chmod -R a+rX /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python3-module-universal-analytics-python-0.2.4 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lthOZt 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.0onJo5 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) python3.req: /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/HTTPLog.py: skipping sys python3.req: /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/Tracker.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/__init__.py: line=1 possible relative import from ., UNIMPLEMENTED shebang.req.files: executable script /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/HTTPLog.py is not executable Provides: python3(UniversalAnalytics), python3(UniversalAnalytics.HTTPLog), python3(UniversalAnalytics.Tracker) Requires: /usr/lib/python3/site-packages, python3(datetime) < 0, python3(hashlib) < 0, python3(io) < 0, python3(os) < 0, python3(random) < 0, python3(re) < 0, python3(socket) < 0, python3(urllib.error) < 0, python3(urllib.parse) < 0, python3(urllib.request) < 0, python3(uuid) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python-module-universal-analytics-python-0.2.4-alt1.git20141205.1.1.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/python3-module-universal-analytics-python-0.2.4-alt1.git20141205.1.1.noarch.rpm (w2.lzdio) 7.38user 1.00system 0:17.56elapsed 47%CPU (0avgtext+0avgdata 36668maxresident)k 0inputs+0outputs (0major+302111minor)pagefaults 0swaps 16.63user 5.66system 0:43.77elapsed 50%CPU (0avgtext+0avgdata 122228maxresident)k 0inputs+0outputs (51588major+684439minor)pagefaults 0swaps