<86>Apr 5 07:11:51 userdel[7659]: delete user 'rooter' <86>Apr 5 07:11:51 userdel[7659]: removed group 'rooter' owned by 'rooter' <86>Apr 5 07:11:51 userdel[7659]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 5 07:11:51 groupadd[7664]: group added to /etc/group: name=rooter, GID=573 <86>Apr 5 07:11:51 groupadd[7664]: group added to /etc/gshadow: name=rooter <86>Apr 5 07:11:51 groupadd[7664]: new group: name=rooter, GID=573 <86>Apr 5 07:11:51 useradd[7668]: new user: name=rooter, UID=573, GID=573, home=/root, shell=/bin/bash <86>Apr 5 07:11:51 userdel[7676]: delete user 'builder' <86>Apr 5 07:11:51 userdel[7676]: removed group 'builder' owned by 'builder' <86>Apr 5 07:11:51 userdel[7676]: removed shadow group 'builder' owned by 'builder' <86>Apr 5 07:11:51 groupadd[7685]: group added to /etc/group: name=builder, GID=574 <86>Apr 5 07:11:51 groupadd[7685]: group added to /etc/gshadow: name=builder <86>Apr 5 07:11:51 groupadd[7685]: new group: name=builder, GID=574 <86>Apr 5 07:11:51 useradd[7692]: new user: name=builder, UID=574, GID=574, home=/usr/src, shell=/bin/bash <13>Apr 5 07:11:54 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Apr 5 07:11:54 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Apr 5 07:11:54 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Apr 5 07:11:54 rpmi: libtasn1-4.13-alt2 1521133850 installed <13>Apr 5 07:11:54 rpmi: rpm-macros-alternatives-0.5.0-alt1 sisyphus+221902.300.4.1 1550587121 installed <13>Apr 5 07:11:54 rpmi: alternatives-0.5.0-alt1 sisyphus+221902.300.4.1 1550587121 installed <13>Apr 5 07:11:54 rpmi: ca-certificates-2019.03.31-alt1 sisyphus+226302.100.1.1 1554055265 installed <13>Apr 5 07:11:54 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Apr 5 07:11:54 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Apr 5 07:11:54 rpmi: libcrypto1.1-1.1.1b-alt1 sisyphus+225327.200.2.1 1553099317 installed <13>Apr 5 07:11:54 rpmi: libssl1.1-1.1.1b-alt1 sisyphus+225327.200.2.1 1553099317 installed <13>Apr 5 07:11:54 rpmi: python3-3.6.8-alt1 sisyphus+220164.200.3.1 1548842636 installed <13>Apr 5 07:11:55 rpmi: python3-base-3.6.8-alt1 sisyphus+220164.200.3.1 1548842636 installed <13>Apr 5 07:11:55 rpmi: libpython3-3.6.8-alt1 sisyphus+220164.200.3.1 1548842636 installed <13>Apr 5 07:11:55 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Apr 5 07:11:55 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Apr 5 07:12:00 rpmi: python3-module-pkg_resources-1:40.8.0-alt1 sisyphus+221229.100.2.1 1550559950 installed <13>Apr 5 07:12:00 rpmi: python-modules-curses-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:12:00 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Apr 5 07:12:00 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Apr 5 07:12:00 rpmi: python3-dev-3.6.8-alt1 sisyphus+220164.200.3.1 1548842636 installed <13>Apr 5 07:12:00 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Apr 5 07:12:00 rpmi: libkeyutils-1.6-alt2 sisyphus.217337.100 1544003161 installed <13>Apr 5 07:12:00 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Apr 5 07:12:00 groupadd[11361]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 5 07:12:00 groupadd[11361]: group added to /etc/gshadow: name=_keytab <86>Apr 5 07:12:00 groupadd[11361]: new group: name=_keytab, GID=499 <13>Apr 5 07:12:00 rpmi: libkrb5-1.16.3-alt1 sisyphus+223678.100.1.1 1551746516 installed <13>Apr 5 07:12:00 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Apr 5 07:12:00 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Apr 5 07:12:00 rpmi: python-modules-compiler-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:12:00 rpmi: python-modules-email-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:12:00 rpmi: python-modules-unittest-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:12:00 rpmi: python-modules-encodings-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:12:00 rpmi: python-modules-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:12:00 rpmi: python-modules-nis-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:12:00 rpmi: python-modules-ctypes-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:12:00 rpmi: python-modules-multiprocessing-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:12:00 rpmi: python-modules-logging-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:12:00 rpmi: python-tools-2to3-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:12:00 rpmi: python-modules-xml-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:12:00 rpmi: python-modules-hotshot-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:12:00 rpmi: python-modules-bsddb-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:12:00 rpmi: python-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:12:01 rpmi: python-modules-distutils-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:12:01 rpmi: python-module-pkg_resources-1:40.8.0-alt1 sisyphus+221229.100.2.1 1550559950 installed <13>Apr 5 07:12:01 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>Apr 5 07:12:01 rpmi: python-dev-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:12:01 rpmi: python-module-setuptools-1:40.8.0-alt1 sisyphus+221229.100.2.1 1550559950 installed <13>Apr 5 07:12:01 rpmi: python3-module-setuptools-1:40.8.0-alt1 sisyphus+221229.100.2.1 1550559950 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python-module-facebook_utils-0.20.3-alt1.git20140717.2.nosrc.rpm Installing python-module-facebook_utils-0.20.3-alt1.git20140717.2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.22400 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-facebook_utils-0.20.3 + echo 'Source #0 (python-module-facebook_utils-0.20.3.tar):' Source #0 (python-module-facebook_utils-0.20.3.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-facebook_utils-0.20.3.tar + cd python-module-facebook_utils-0.20.3 + /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/tests.py RefactoringTool: No changes to ../python3/setup.py RefactoringTool: Refactored ../python3/facebook_utils/facebook_utils.py --- ../python3/facebook_utils/facebook_utils.py (original) +++ ../python3/facebook_utils/facebook_utils.py (refactored) @@ -192,8 +192,8 @@ import simplejson as json except ImportError: import json -import urllib -import urlparse +import urllib.request, urllib.parse, urllib.error +import urllib.parse from time import time import types @@ -314,7 +314,7 @@ def reformat_error(json_string, raised=None): rval = {'message': None, 'type': None, 'code': None, 'raised': None, } - for k in rval.keys(): + for k in list(rval.keys()): if k in json_string: rval[k] = json_string[k] if raised is not None: @@ -358,7 +358,7 @@ scope = self.app_scope if redirect_uri is None: redirect_uri = self.oauth_code_redirect_uri - return """https://www.facebook.com/dialog/oauth?client_id=%(app_id)s&scope=%(scope)s&redirect_uri=%(redirect_uri)s""" % {'app_id': self.app_id, "redirect_uri": urllib.quote(redirect_uri), 'scope': scope, } + return """https://www.facebook.com/dialog/oauth?client_id=%(app_id)s&scope=%(scope)s&redirect_uri=%(redirect_uri)s""" % {'app_id': self.app_id, "redirect_uri": urllib.parse.quote(redirect_uri), 'scope': scope, } def oauth_code__url_access_token(self, submitted_code=None, redirect_uri=None, scope=None): """Generates the URL to grab an access token from Facebook. This is returned based on EXACTLY matching the app_id, app_secret, and 'code' with the redirect_uri. If you change the redirect uri - or any other component - it will break. @@ -371,7 +371,7 @@ redirect_uri = self.oauth_code_redirect_uri if scope is None: scope = self.app_scope - return """https://graph.facebook.com/oauth/access_token?client_id=%(app_id)s&redirect_uri=%(redirect_uri)s&client_secret=%(client_secret)s&code=%(code)s""" % {'app_id': self.app_id, "redirect_uri": urllib.quote(redirect_uri), 'client_secret': self.app_secret, 'code': submitted_code, } + return """https://graph.facebook.com/oauth/access_token?client_id=%(app_id)s&redirect_uri=%(redirect_uri)s&client_secret=%(client_secret)s&code=%(code)s""" % {'app_id': self.app_id, "redirect_uri": urllib.parse.quote(redirect_uri), 'client_secret': self.app_secret, 'code': submitted_code, } def api_proxy(self, url, post_data=None, expected_format='json.load', is_delete=False, ssl_verify=None): response = None @@ -385,7 +385,7 @@ else: if post_data: if 'batch' in post_data: - if isinstance(post_data['batch'], types.ListType): + if isinstance(post_data['batch'], list): post_data['batch'] = json.dumps(post_data['batch']) if is_delete: response = requests.delete(url, data=post_data, verify=ssl_verify) @@ -395,11 +395,11 @@ if response.status_code == 200: if expected_format in ('json.load', 'json.loads'): response_content = json.loads(response_content) - if (post_data is not None) and isinstance(post_data, types.DictType) and ('batch' in post_data): - if not isinstance(response_content, types.ListType): + if (post_data is not None) and isinstance(post_data, dict) and ('batch' in post_data): + if not isinstance(response_content, list): raise ApiResponseError(message="Batched Graph request expects a list of dicts. Did not get a list.", response=response_content) for li in response_content: - if not isinstance(li, types.DictType): + if not isinstance(li, dict): raise ApiResponseError(message="Batched Graph request expects a list of dicts. Got a list, element not a dict.", response=response_content) if not all(k in li for k in ('body', 'headers', 'code')): raise ApiResponseError(message="Batched Graph response dict should contain 'body', 'headers', 'code'.", response=response_content) @@ -409,12 +409,12 @@ elif expected_format == 'cgi.parse_qs': response_content = cgi.parse_qs(response_content) elif expected_format == 'urlparse.parse_qs': - response_content = urlparse.parse_qs(response_content) + response_content = urllib.parse.parse_qs(response_content) else: raise ValueError("Unexpected Format: %s" % expected_format) else: - print response - print response.__dict__ + print(response) + print(response.__dict__) if response.status_code == 400: rval = '' try: @@ -457,13 +457,13 @@ raise ApiAuthError(**error) raise ApiError(**error) raise ApiError(message = 'I don\'t know how to handle this error (%s)' % rval, code=400) - except json.JSONDecodeError, e: + except json.JSONDecodeError as e: raise ApiError(message = 'Could not parse JSON from the error (%s)' % rval, code=400, raised=e) except: raise raise ApiError(message = 'Could not communicate with the API', code=response.status_code) return response_content - except json.JSONDecodeError, e: + except json.JSONDecodeError as e: raise ApiError(message = 'Could not parse JSON from the error (%s)' % e, raised=e) except Exception as e: if self.mask_unhandled_exceptions: @@ -507,7 +507,7 @@ scope = self.app_scope if redirect_uri is None: redirect_uri = self.oauth_token_redirect_uri - return """https://www.facebook.com/dialog/oauth?client_id=%(app_id)s&scope=%(scope)s&redirect_uri=%(redirect_uri)s&response_type=token""" % {'app_id': self.app_id, "redirect_uri": urllib.quote(redirect_uri), 'scope': scope, } + return """https://www.facebook.com/dialog/oauth?client_id=%(app_id)s&scope=%(scope)s&redirect_uri=%(redirect_uri)s&response_type=token""" % {'app_id': self.app_id, "redirect_uri": urllib.parse.quote(redirect_uri), 'scope': scope, } def oauth__url_extend_access_token(self, access_token=None): """Generates the URL to extend an access token from Facebook. @@ -544,7 +544,7 @@ def graph__url_me_for_access_token(self, access_token=None): if access_token is None: raise ValueError('must submit access_token') - return "https://graph.facebook.com/me?" + urllib.urlencode(dict(access_token=access_token)) + return "https://graph.facebook.com/me?" + urllib.parse.urlencode(dict(access_token=access_token)) def graph__url_user_for_access_token(self, access_token=None, user=None, action=None): if access_token is None: @@ -552,8 +552,8 @@ if user is None: raise ValueError('must submit user') if action: - return "https://graph.facebook.com/%s/%s?%s" % (user, action, urllib.urlencode(dict(access_token=access_token))) - return "https://graph.facebook.com/%s?%s" % (user, urllib.urlencode(dict(access_token=access_token))) + return "https://graph.facebook.com/%s/%s?%s" % (user, action, urllib.parse.urlencode(dict(access_token=access_token))) + return "https://graph.facebook.com/%s?%s" % (user, urllib.parse.urlencode(dict(access_token=access_token))) def graph__get_profile_for_access_token(self, access_token=None, user=None, action=None): """Grabs a profile for a user, corresponding to a profile, from Facebook. This uses `requests` to open the url, so should be considered as blocking code.""" @@ -646,7 +646,7 @@ def base64_url_decode(inp): padding_factor = (4 - len(inp) % 4) % 4 RefactoringTool: Refactored ../python3/facebook_utils/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/tests.py RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/facebook_utils/facebook_utils.py RefactoringTool: ../python3/facebook_utils/__init__.py inp += "=" * padding_factor - return base64.b64decode(unicode(inp).translate(dict(zip(map(ord, u'-_'), u'+/')))) + return base64.b64decode(str(inp).translate(dict(list(zip(list(map(ord, '-_')), '+/'))))) (signature, payload) = signed_request.split('.') --- ../python3/facebook_utils/__init__.py (original) +++ ../python3/facebook_utils/__init__.py (refactored) @@ -1 +1 @@ -from facebook_utils import * +from .facebook_utils import * + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.86896 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-facebook_utils-0.20.3 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python setup.py build --debug running build running build_py creating build creating build/lib creating build/lib/facebook_utils copying facebook_utils/facebook_utils.py -> build/lib/facebook_utils copying facebook_utils/__init__.py -> build/lib/facebook_utils running egg_info creating facebook_utils.egg-info writing requirements to facebook_utils.egg-info/requires.txt writing facebook_utils.egg-info/PKG-INFO writing top-level names to facebook_utils.egg-info/top_level.txt writing dependency_links to facebook_utils.egg-info/dependency_links.txt writing manifest file 'facebook_utils.egg-info/SOURCES.txt' reading manifest file 'facebook_utils.egg-info/SOURCES.txt' writing manifest file 'facebook_utils.egg-info/SOURCES.txt' + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-facebook_utils-0.20.3 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py build --debug running build running build_py creating build creating build/lib creating build/lib/facebook_utils copying facebook_utils/facebook_utils.py -> build/lib/facebook_utils copying facebook_utils/__init__.py -> build/lib/facebook_utils running egg_info creating facebook_utils.egg-info writing facebook_utils.egg-info/PKG-INFO writing dependency_links to facebook_utils.egg-info/dependency_links.txt writing requirements to facebook_utils.egg-info/requires.txt writing top-level names to facebook_utils.egg-info/top_level.txt writing manifest file 'facebook_utils.egg-info/SOURCES.txt' reading manifest file 'facebook_utils.egg-info/SOURCES.txt' writing manifest file 'facebook_utils.egg-info/SOURCES.txt' + popd ~/RPM/BUILD/python-module-facebook_utils-0.20.3 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.50151 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-facebook_utils-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-facebook_utils-buildroot + cd python-module-facebook_utils-0.20.3 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-facebook_utils-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-facebook_utils-buildroot creating /usr/src/tmp/python-module-facebook_utils-buildroot/usr creating /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib creating /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python2.7/site-packages/facebook_utils copying build/lib/facebook_utils/__init__.py -> /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python2.7/site-packages/facebook_utils copying build/lib/facebook_utils/facebook_utils.py -> /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python2.7/site-packages/facebook_utils byte-compiling /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python2.7/site-packages/facebook_utils/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python2.7/site-packages/facebook_utils/facebook_utils.py to facebook_utils.pyc running install_egg_info running egg_info writing requirements to facebook_utils.egg-info/requires.txt writing facebook_utils.egg-info/PKG-INFO writing top-level names to facebook_utils.egg-info/top_level.txt writing dependency_links to facebook_utils.egg-info/dependency_links.txt reading manifest file 'facebook_utils.egg-info/SOURCES.txt' writing manifest file 'facebook_utils.egg-info/SOURCES.txt' Copying facebook_utils.egg-info to /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python2.7/site-packages/facebook_utils-0.20.3-py2.7.egg-info running install_scripts + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-facebook_utils-0.20.3 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-facebook_utils-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python3/site-packages/facebook_utils copying build/lib/facebook_utils/__init__.py -> /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python3/site-packages/facebook_utils copying build/lib/facebook_utils/facebook_utils.py -> /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python3/site-packages/facebook_utils byte-compiling /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python3/site-packages/facebook_utils/__init__.py to __init__.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python3/site-packages/facebook_utils/facebook_utils.py to facebook_utils.cpython-36.pyc running install_egg_info running egg_info writing facebook_utils.egg-info/PKG-INFO writing dependency_links to facebook_utils.egg-info/dependency_links.txt writing requirements to facebook_utils.egg-info/requires.txt writing top-level names to facebook_utils.egg-info/top_level.txt reading manifest file 'facebook_utils.egg-info/SOURCES.txt' writing manifest file 'facebook_utils.egg-info/SOURCES.txt' Copying facebook_utils.egg-info to /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python3/site-packages/facebook_utils-0.20.3-py3.6.egg-info running install_scripts + popd ~/RPM/BUILD/python-module-facebook_utils-0.20.3 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-facebook_utils-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-facebook_utils-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python-module-facebook_utils-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-facebook_utils-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-facebook_utils-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-facebook_utils-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-facebook_utils-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python2.7/site-packages/facebook_utils/__init__.pyc unlink /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python2.7/site-packages/facebook_utils/facebook_utils.pyc compile /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python2.7/site-packages/facebook_utils/__init__.py compile /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python2.7/site-packages/facebook_utils/facebook_utils.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-facebook_utils-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python2.7/site-packages/facebook_utils/__init__.py compile /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python2.7/site-packages/facebook_utils/facebook_utils.py Bytecompiling python3 modules in /usr/src/tmp/python-module-facebook_utils-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python3/site-packages/facebook_utils/__pycache__/__init__.cpython-36.pyc unlink /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python3/site-packages/facebook_utils/__pycache__/facebook_utils.cpython-36.pyc compile /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python3/site-packages/facebook_utils/__init__.py compile /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python3/site-packages/facebook_utils/facebook_utils.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-facebook_utils-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python3/site-packages/facebook_utils/__init__.py compile /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python3/site-packages/facebook_utils/facebook_utils.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-facebook_utils-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python3/site-packages/facebook_utils/__init__.py compile /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python3/site-packages/facebook_utils/facebook_utils.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/facebook_utils/__pycache__/facebook_utils.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/facebook_utils/__pycache__/facebook_utils.cpython-36.pyc' './usr/lib/python3/site-packages/facebook_utils/__pycache__/__init__.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/facebook_utils/__pycache__/__init__.cpython-36.pyc' './usr/lib/python3/site-packages/facebook_utils/__pycache__/__init__.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/facebook_utils/__pycache__/__init__.cpython-36.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/facebook_utils/facebook_utils.pyo' => './usr/lib/python2.7/site-packages/facebook_utils/facebook_utils.pyc' './usr/lib/python2.7/site-packages/facebook_utils/__init__.pyo' => './usr/lib/python2.7/site-packages/facebook_utils/__init__.pyc' Processing files: python-module-facebook_utils-0.20.3-alt1.git20140717.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.18138 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-facebook_utils-0.20.3 + DOCDIR=/usr/src/tmp/python-module-facebook_utils-buildroot/usr/share/doc/python-module-facebook_utils-0.20.3 + export DOCDIR + rm -rf /usr/src/tmp/python-module-facebook_utils-buildroot/usr/share/doc/python-module-facebook_utils-0.20.3 + /bin/mkdir -p /usr/src/tmp/python-module-facebook_utils-buildroot/usr/share/doc/python-module-facebook_utils-0.20.3 + cp -prL CHANGES.txt README.md /usr/src/tmp/python-module-facebook_utils-buildroot/usr/share/doc/python-module-facebook_utils-0.20.3 + chmod -R go-w /usr/src/tmp/python-module-facebook_utils-buildroot/usr/share/doc/python-module-facebook_utils-0.20.3 + chmod -R a+rX /usr/src/tmp/python-module-facebook_utils-buildroot/usr/share/doc/python-module-facebook_utils-0.20.3 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.nXSUuT 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.iYfA72 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) python.req: /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python2.7/site-packages/facebook_utils/__init__.py: hiding facebook_utils, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python2.7/site-packages/facebook_utils/facebook_utils.py: line=192 IGNORE (for REQ=slight and deep=8) module=simplejson /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python2.7/site-packages/facebook_utils/facebook_utils.py: line=194 IGNORE (for REQ=slight and deep=8) module=json Provides: python2.7(facebook_utils), python2.7(facebook_utils.facebook_utils) Requires: /usr/lib/python2.7/site-packages, python-modules, python2.7(requests) Processing files: python3-module-facebook_utils-0.20.3-alt1.git20140717.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.60365 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-facebook_utils-0.20.3 + DOCDIR=/usr/src/tmp/python-module-facebook_utils-buildroot/usr/share/doc/python3-module-facebook_utils-0.20.3 + export DOCDIR + rm -rf /usr/src/tmp/python-module-facebook_utils-buildroot/usr/share/doc/python3-module-facebook_utils-0.20.3 + /bin/mkdir -p /usr/src/tmp/python-module-facebook_utils-buildroot/usr/share/doc/python3-module-facebook_utils-0.20.3 + cp -prL CHANGES.txt README.md /usr/src/tmp/python-module-facebook_utils-buildroot/usr/share/doc/python3-module-facebook_utils-0.20.3 + chmod -R go-w /usr/src/tmp/python-module-facebook_utils-buildroot/usr/share/doc/python3-module-facebook_utils-0.20.3 + chmod -R a+rX /usr/src/tmp/python-module-facebook_utils-buildroot/usr/share/doc/python3-module-facebook_utils-0.20.3 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.12MH4C 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.2hBtuv find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python3/site-packages/facebook_utils/__init__.py: line=1 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python3/site-packages/facebook_utils/facebook_utils.py: line=192 IGNORE (for REQ=slight and deep=8) module=simplejson /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python3/site-packages/facebook_utils/facebook_utils.py: line=194 IGNORE (for REQ=slight and deep=8) module=json python3.req: /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python3/site-packages/facebook_utils/facebook_utils.py: skipping time Provides: python3(facebook_utils), python3(facebook_utils.facebook_utils) Requires: /usr/lib/python3/site-packages, python3(base64) < 0, python3(cgi) < 0, python3(datetime) < 0, python3(hashlib) < 0, python3(hmac) < 0, python3(requests) < 0, python3(types) < 0, python3(urllib.error) < 0, python3(urllib.parse) < 0, python3(urllib.request) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python-module-facebook_utils-0.20.3-alt1.git20140717.2.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python3-module-facebook_utils-0.20.3-alt1.git20140717.2.noarch.rpm 20.08user 1.33system 0:27.58elapsed 77%CPU (0avgtext+0avgdata 21860maxresident)k 0inputs+0outputs (0major+217834minor)pagefaults 0swaps 32.57user 7.24system 0:45.75elapsed 87%CPU (0avgtext+0avgdata 118640maxresident)k 0inputs+0outputs (0major+635448minor)pagefaults 0swaps