<86>Dec 6 02:44:30 userdel[3608184]: delete user 'rooter' <86>Dec 6 02:44:31 groupadd[3608226]: group added to /etc/group: name=rooter, GID=681 <86>Dec 6 02:44:31 groupadd[3608226]: group added to /etc/gshadow: name=rooter <86>Dec 6 02:44:31 groupadd[3608226]: new group: name=rooter, GID=681 <86>Dec 6 02:44:31 useradd[3608246]: new user: name=rooter, UID=681, GID=681, home=/root, shell=/bin/bash <86>Dec 6 02:44:31 userdel[3608385]: delete user 'builder' <86>Dec 6 02:44:31 groupadd[3608416]: group added to /etc/group: name=builder, GID=682 <86>Dec 6 02:44:31 groupadd[3608416]: group added to /etc/gshadow: name=builder <86>Dec 6 02:44:31 groupadd[3608416]: new group: name=builder, GID=682 <86>Dec 6 02:44:31 useradd[3608453]: new user: name=builder, UID=682, GID=682, home=/usr/src, shell=/bin/bash <13>Dec 6 02:44:41 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Dec 6 02:44:41 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103332 installed <13>Dec 6 02:44:41 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Dec 6 02:44:41 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Dec 6 02:44:41 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 6 02:44:41 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 6 02:44:41 rpmi: ca-certificates-2020.06.29-alt1 p9+258899.100.3.1 1601998604 installed <13>Dec 6 02:44:41 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Dec 6 02:44:41 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Dec 6 02:44:41 rpmi: libcrypto1.1-1.1.1g-alt1 p9+250580.100.5.1 1588175208 installed <13>Dec 6 02:44:41 rpmi: libssl1.1-1.1.1g-alt1 p9+250580.100.5.1 1588175208 installed <13>Dec 6 02:44:41 rpmi: python3-3.7.4-alt3 p9+249932.100.2.1 1587126956 installed <13>Dec 6 02:44:41 rpmi: libpython3-3.7.4-alt3 p9+249932.100.2.1 1587126956 installed <13>Dec 6 02:44:42 rpmi: python3-base-3.7.4-alt3 p9+249932.100.2.1 1587126956 installed <13>Dec 6 02:44:42 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Dec 6 02:44:42 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Dec 6 02:44:50 rpmi: python3-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Dec 6 02:44:50 rpmi: python-modules-curses-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 02:44:50 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Dec 6 02:44:50 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Dec 6 02:44:50 rpmi: python3-dev-3.7.4-alt3 p9+249932.100.2.1 1587126956 installed <13>Dec 6 02:44:50 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>Dec 6 02:44:50 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>Dec 6 02:44:50 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <86>Dec 6 02:44:50 groupadd[3622988]: group added to /etc/group: name=_keytab, GID=499 <86>Dec 6 02:44:50 groupadd[3622988]: group added to /etc/gshadow: name=_keytab <86>Dec 6 02:44:50 groupadd[3622988]: new group: name=_keytab, GID=499 <13>Dec 6 02:44:51 rpmi: libkrb5-1.17.2-alt1 p9+262110.100.3.1 1606242396 installed <13>Dec 6 02:44:51 rpmi: libtirpc-1.0.3-alt1 1532008015 installed <13>Dec 6 02:44:51 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>Dec 6 02:44:51 rpmi: python-modules-compiler-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 02:44:51 rpmi: python-modules-email-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 02:44:51 rpmi: python-modules-unittest-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 02:44:51 rpmi: python-modules-encodings-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 02:44:53 rpmi: python-modules-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 02:44:53 rpmi: python-modules-nis-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 02:44:53 rpmi: python-modules-ctypes-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 02:44:53 rpmi: python-modules-multiprocessing-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 02:44:53 rpmi: python-modules-logging-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 02:44:53 rpmi: python-tools-2to3-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 02:44:53 rpmi: python-modules-xml-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 02:44:53 rpmi: python-modules-hotshot-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 02:44:53 rpmi: python-modules-bsddb-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 02:44:53 rpmi: python-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 02:44:53 rpmi: python-modules-distutils-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 02:44:53 rpmi: python-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Dec 6 02:44:53 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548748 installed <13>Dec 6 02:44:53 rpmi: python-dev-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 02:44:53 rpmi: python-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Dec 6 02:44: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-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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.97834 + 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.53878 + 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' + 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 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' + 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/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.81899 + 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' + 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-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' + 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-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-37.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-37.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.7.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-37.pyc unlink /usr/src/tmp/python-module-facebook_utils-buildroot/usr/lib/python3/site-packages/facebook_utils/__pycache__/facebook_utils.cpython-37.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-37.opt-1.pyc' => './usr/lib/python3/site-packages/facebook_utils/__pycache__/facebook_utils.cpython-37.pyc' './usr/lib/python3/site-packages/facebook_utils/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/facebook_utils/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/facebook_utils/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/facebook_utils/__pycache__/__init__.cpython-37.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.40260 + 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.mNzAEm 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.XApkvv 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-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.81944 + 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.8GJLXL 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.r3tb46 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/lib/rpm/python3.req.py: /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 5.90user 0.62system 0:18.53elapsed 35%CPU (0avgtext+0avgdata 28752maxresident)k 0inputs+0outputs (0major+260645minor)pagefaults 0swaps 14.48user 3.07system 0:53.88elapsed 32%CPU (0avgtext+0avgdata 119496maxresident)k 0inputs+0outputs (0major+691312minor)pagefaults 0swaps