Mock Version: 1.4.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-msrest.spec'], chrootPath='/var/lib/mock/996860-epel-7-x86_64-1565354433.085569/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iw_uk8rk:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iw_uk8rk:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '880a40d493c5425a9893be84809447e0', '-D', '/var/lib/mock/996860-epel-7-x86_64-1565354433.085569/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iw_uk8rk:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-msrest.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False BUILDSTDERR: sh: /usr/bin/python2: No such file or directory BUILDSTDERR: sh: /usr/bin/python2: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-msrest-0.6.9-1.el7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-msrest.spec'], chrootPath='/var/lib/mock/996860-epel-7-x86_64-1565354433.085569/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iw_uk8rk:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iw_uk8rk:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3e753f9a98be44c5a65480427bbfa184', '-D', '/var/lib/mock/996860-epel-7-x86_64-1565354433.085569/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iw_uk8rk:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-msrest.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.u2vSbs + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf msrest-for-python-0.6.9 + /usr/bin/gzip -dc /builddir/build/SOURCES/msrest-0.6.9.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd msrest-for-python-0.6.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/python-msrest-0.6.2-setup.patch + /usr/bin/patch -p0 -s + /usr/bin/cat /builddir/build/SOURCES/python-msrest-0.6.2-isodate.patch + /usr/bin/patch -p0 -s + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qEJozL + umask 022 + cd /builddir/build/BUILD + cd msrest-for-python-0.6.9 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib creating build/lib/msrest copying msrest/serialization.py -> build/lib/msrest copying msrest/version.py -> build/lib/msrest copying msrest/service_client.py -> build/lib/msrest copying msrest/paging.py -> build/lib/msrest copying msrest/http_logger.py -> build/lib/msrest copying msrest/exceptions.py -> build/lib/msrest copying msrest/configuration.py -> build/lib/msrest copying msrest/authentication.py -> build/lib/msrest copying msrest/async_paging.py -> build/lib/msrest copying msrest/async_client.py -> build/lib/msrest copying msrest/__init__.py -> build/lib/msrest creating build/lib/msrest/universal_http copying msrest/universal_http/requests.py -> build/lib/msrest/universal_http copying msrest/universal_http/async_requests.py -> build/lib/msrest/universal_http copying msrest/universal_http/async_abc.py -> build/lib/msrest/universal_http copying msrest/universal_http/aiohttp.py -> build/lib/msrest/universal_http copying msrest/universal_http/__init__.py -> build/lib/msrest/universal_http creating build/lib/msrest/polling copying msrest/polling/poller.py -> build/lib/msrest/polling copying msrest/polling/async_poller.py -> build/lib/msrest/polling copying msrest/polling/__init__.py -> build/lib/msrest/polling creating build/lib/msrest/pipeline copying msrest/pipeline/universal.py -> build/lib/msrest/pipeline copying msrest/pipeline/requests.py -> build/lib/msrest/pipeline copying msrest/pipeline/async_requests.py -> build/lib/msrest/pipeline copying msrest/pipeline/async_abc.py -> build/lib/msrest/pipeline copying msrest/pipeline/aiohttp.py -> build/lib/msrest/pipeline copying msrest/pipeline/__init__.py -> build/lib/msrest/pipeline + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wjkJc9 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64 + cd msrest-for-python-0.6.9 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr creating /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest creating /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/pipeline copying build/lib/msrest/pipeline/__init__.py -> /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/pipeline copying build/lib/msrest/pipeline/aiohttp.py -> /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/pipeline copying build/lib/msrest/pipeline/async_abc.py -> /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/pipeline copying build/lib/msrest/pipeline/async_requests.py -> /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/pipeline copying build/lib/msrest/pipeline/requests.py -> /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/pipeline copying build/lib/msrest/pipeline/universal.py -> /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/pipeline creating /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/polling copying build/lib/msrest/polling/__init__.py -> /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/polling copying build/lib/msrest/polling/async_poller.py -> /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/polling copying build/lib/msrest/polling/poller.py -> /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/polling creating /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/universal_http copying build/lib/msrest/universal_http/__init__.py -> /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/universal_http copying build/lib/msrest/universal_http/aiohttp.py -> /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/universal_http copying build/lib/msrest/universal_http/async_abc.py -> /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/universal_http copying build/lib/msrest/universal_http/async_requests.py -> /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/universal_http copying build/lib/msrest/universal_http/requests.py -> /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/universal_http copying build/lib/msrest/__init__.py -> /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest copying build/lib/msrest/async_client.py -> /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest copying build/lib/msrest/async_paging.py -> /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest copying build/lib/msrest/authentication.py -> /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest copying build/lib/msrest/configuration.py -> /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest copying build/lib/msrest/exceptions.py -> /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest copying build/lib/msrest/http_logger.py -> /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest copying build/lib/msrest/paging.py -> /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest copying build/lib/msrest/service_client.py -> /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest copying build/lib/msrest/version.py -> /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest copying build/lib/msrest/serialization.py -> /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest byte-compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/pipeline/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/pipeline/aiohttp.py to aiohttp.pyc byte-compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/pipeline/async_abc.py to async_abc.pyc BUILDSTDERR: File "/usr/lib/python2.7/site-packages/msrest/pipeline/aiohttp.py", line 38 BUILDSTDERR: def __init__(self, driver: Optional[_AioHTTPSenderDriver] = None, *, loop=None) -> None: BUILDSTDERR: ^ BUILDSTDERR: SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/pipeline/async_requests.py to async_requests.pyc byte-compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/pipeline/requests.py to requests.pyc BUILDSTDERR: File "/usr/lib/python2.7/site-packages/msrest/pipeline/async_abc.py", line 40 BUILDSTDERR: async def __aenter__(self): BUILDSTDERR: ^ BUILDSTDERR: SyntaxError: invalid syntax BUILDSTDERR: File "/usr/lib/python2.7/site-packages/msrest/pipeline/async_requests.py", line 53 BUILDSTDERR: def __init__(self, universal_http_requests_driver: Optional[AsyncBasicRequestsHTTPSender]=None) -> None: BUILDSTDERR: ^ BUILDSTDERR: SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/pipeline/universal.py to universal.pyc byte-compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/polling/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/polling/async_poller.py to async_poller.pyc BUILDSTDERR: File "/usr/lib/python2.7/site-packages/msrest/polling/async_poller.py", line 38 BUILDSTDERR: async def run(self): BUILDSTDERR: ^ BUILDSTDERR: SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/polling/poller.py to poller.pyc byte-compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/universal_http/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/universal_http/aiohttp.py to aiohttp.pyc BUILDSTDERR: File "/usr/lib/python2.7/site-packages/msrest/universal_http/aiohttp.py", line 40 BUILDSTDERR: def __init__(self, *, loop=None): BUILDSTDERR: ^ BUILDSTDERR: SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/universal_http/async_abc.py to async_abc.pyc byte-compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/universal_http/async_requests.py to async_requests.pyc byte-compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/universal_http/requests.py to requests.pyc BUILDSTDERR: File "/usr/lib/python2.7/site-packages/msrest/universal_http/async_abc.py", line 34 BUILDSTDERR: async def __aenter__(self): BUILDSTDERR: ^ BUILDSTDERR: SyntaxError: invalid syntax BUILDSTDERR: File "/usr/lib/python2.7/site-packages/msrest/universal_http/async_requests.py", line 53 BUILDSTDERR: async def __aenter__(self): BUILDSTDERR: ^ BUILDSTDERR: SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/async_client.py to async_client.pyc BUILDSTDERR: File "/usr/lib/python2.7/site-packages/msrest/async_client.py", line 56 BUILDSTDERR: def __init__(self, config: 'Configuration') -> None: BUILDSTDERR: ^ BUILDSTDERR: SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/async_paging.py to async_paging.pyc byte-compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/authentication.py to authentication.pyc BUILDSTDERR: File "/usr/lib/python2.7/site-packages/msrest/async_paging.py", line 43 BUILDSTDERR: async def async_get(self, url): BUILDSTDERR: ^ BUILDSTDERR: SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/configuration.py to configuration.pyc byte-compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/exceptions.py to exceptions.pyc byte-compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/http_logger.py to http_logger.pyc byte-compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/paging.py to paging.pyc byte-compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/service_client.py to service_client.pyc byte-compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/version.py to version.pyc byte-compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/serialization.py to serialization.pyc writing byte-compilation script '/tmp/tmpbKs4Ez.py' /usr/bin/python2 -O /tmp/tmpbKs4Ez.py BUILDSTDERR: File "/usr/lib/python2.7/site-packages/msrest/pipeline/aiohttp.py", line 38 BUILDSTDERR: def __init__(self, driver: Optional[_AioHTTPSenderDriver] = None, *, loop=None) -> None: BUILDSTDERR: ^ BUILDSTDERR: SyntaxError: invalid syntax BUILDSTDERR: File "/usr/lib/python2.7/site-packages/msrest/pipeline/async_abc.py", line 40 BUILDSTDERR: async def __aenter__(self): BUILDSTDERR: ^ BUILDSTDERR: SyntaxError: invalid syntax BUILDSTDERR: File "/usr/lib/python2.7/site-packages/msrest/pipeline/async_requests.py", line 53 BUILDSTDERR: def __init__(self, universal_http_requests_driver: Optional[AsyncBasicRequestsHTTPSender]=None) -> None: BUILDSTDERR: ^ BUILDSTDERR: SyntaxError: invalid syntax BUILDSTDERR: File "/usr/lib/python2.7/site-packages/msrest/polling/async_poller.py", line 38 BUILDSTDERR: async def run(self): BUILDSTDERR: ^ BUILDSTDERR: SyntaxError: invalid syntax BUILDSTDERR: File "/usr/lib/python2.7/site-packages/msrest/universal_http/aiohttp.py", line 40 BUILDSTDERR: def __init__(self, *, loop=None): BUILDSTDERR: ^ BUILDSTDERR: SyntaxError: invalid syntax BUILDSTDERR: File "/usr/lib/python2.7/site-packages/msrest/universal_http/async_abc.py", line 34 BUILDSTDERR: async def __aenter__(self): BUILDSTDERR: ^ BUILDSTDERR: SyntaxError: invalid syntax BUILDSTDERR: File "/usr/lib/python2.7/site-packages/msrest/universal_http/async_requests.py", line 53 BUILDSTDERR: async def __aenter__(self): BUILDSTDERR: ^ BUILDSTDERR: SyntaxError: invalid syntax BUILDSTDERR: File "/usr/lib/python2.7/site-packages/msrest/async_client.py", line 56 BUILDSTDERR: def __init__(self, config: 'Configuration') -> None: BUILDSTDERR: ^ BUILDSTDERR: SyntaxError: invalid syntax BUILDSTDERR: File "/usr/lib/python2.7/site-packages/msrest/async_paging.py", line 43 BUILDSTDERR: async def async_get(self, url): BUILDSTDERR: ^ BUILDSTDERR: SyntaxError: invalid syntax removing /tmp/tmpbKs4Ez.py running install_egg_info running egg_info creating msrest.egg-info writing requirements to msrest.egg-info/requires.txt writing msrest.egg-info/PKG-INFO writing top-level names to msrest.egg-info/top_level.txt writing dependency_links to msrest.egg-info/dependency_links.txt writing manifest file 'msrest.egg-info/SOURCES.txt' reading manifest file 'msrest.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'msrest.egg-info/SOURCES.txt' Copying msrest.egg-info to /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest-0.6.9-py2.7.egg-info running install_scripts + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/msrest-for-python-0.6.9 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. BUILDSTDERR: find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7 using /usr/bin/python2.7 Compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/async_client.py ... File "/usr/lib/python2.7/site-packages/msrest/async_client.py", line 56 def __init__(self, config: 'Configuration') -> None: ^ SyntaxError: invalid syntax Compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/async_paging.py ... File "/usr/lib/python2.7/site-packages/msrest/async_paging.py", line 43 async def async_get(self, url): ^ SyntaxError: invalid syntax Compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/pipeline/aiohttp.py ... File "/usr/lib/python2.7/site-packages/msrest/pipeline/aiohttp.py", line 38 def __init__(self, driver: Optional[_AioHTTPSenderDriver] = None, *, loop=None) -> None: ^ SyntaxError: invalid syntax Compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/pipeline/async_abc.py ... File "/usr/lib/python2.7/site-packages/msrest/pipeline/async_abc.py", line 40 async def __aenter__(self): ^ SyntaxError: invalid syntax Compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/pipeline/async_requests.py ... File "/usr/lib/python2.7/site-packages/msrest/pipeline/async_requests.py", line 53 def __init__(self, universal_http_requests_driver: Optional[AsyncBasicRequestsHTTPSender]=None) -> None: ^ SyntaxError: invalid syntax Compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/polling/async_poller.py ... File "/usr/lib/python2.7/site-packages/msrest/polling/async_poller.py", line 38 async def run(self): ^ SyntaxError: invalid syntax Compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/universal_http/aiohttp.py ... File "/usr/lib/python2.7/site-packages/msrest/universal_http/aiohttp.py", line 40 def __init__(self, *, loop=None): ^ SyntaxError: invalid syntax Compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/universal_http/async_abc.py ... File "/usr/lib/python2.7/site-packages/msrest/universal_http/async_abc.py", line 34 async def __aenter__(self): ^ SyntaxError: invalid syntax Compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/universal_http/async_requests.py ... File "/usr/lib/python2.7/site-packages/msrest/universal_http/async_requests.py", line 53 async def __aenter__(self): ^ SyntaxError: invalid syntax Compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/async_client.py ... File "/usr/lib/python2.7/site-packages/msrest/async_client.py", line 56 def __init__(self, config: 'Configuration') -> None: ^ SyntaxError: invalid syntax Compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/async_paging.py ... File "/usr/lib/python2.7/site-packages/msrest/async_paging.py", line 43 async def async_get(self, url): ^ SyntaxError: invalid syntax Compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/pipeline/aiohttp.py ... File "/usr/lib/python2.7/site-packages/msrest/pipeline/aiohttp.py", line 38 def __init__(self, driver: Optional[_AioHTTPSenderDriver] = None, *, loop=None) -> None: ^ SyntaxError: invalid syntax Compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/pipeline/async_abc.py ... File "/usr/lib/python2.7/site-packages/msrest/pipeline/async_abc.py", line 40 async def __aenter__(self): ^ SyntaxError: invalid syntax Compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/pipeline/async_requests.py ... File "/usr/lib/python2.7/site-packages/msrest/pipeline/async_requests.py", line 53 def __init__(self, universal_http_requests_driver: Optional[AsyncBasicRequestsHTTPSender]=None) -> None: ^ SyntaxError: invalid syntax Compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/polling/async_poller.py ... File "/usr/lib/python2.7/site-packages/msrest/polling/async_poller.py", line 38 async def run(self): ^ SyntaxError: invalid syntax Compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/universal_http/aiohttp.py ... File "/usr/lib/python2.7/site-packages/msrest/universal_http/aiohttp.py", line 40 def __init__(self, *, loop=None): ^ SyntaxError: invalid syntax Compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/universal_http/async_abc.py ... File "/usr/lib/python2.7/site-packages/msrest/universal_http/async_abc.py", line 34 async def __aenter__(self): ^ SyntaxError: invalid syntax Compiling /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/lib/python2.7/site-packages/msrest/universal_http/async_requests.py ... File "/usr/lib/python2.7/site-packages/msrest/universal_http/async_requests.py", line 53 async def __aenter__(self): ^ SyntaxError: invalid syntax + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: python2-msrest-0.6.9-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OXRVaz + umask 022 + cd /builddir/build/BUILD + cd msrest-for-python-0.6.9 + DOCDIR=/builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/share/doc/python2-msrest-0.6.9 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/share/doc/python2-msrest-0.6.9 + cp -pr README.rst /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/share/doc/python2-msrest-0.6.9 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.atOXaZ + umask 022 + cd /builddir/build/BUILD + cd msrest-for-python-0.6.9 + LICENSEDIR=/builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/share/licenses/python2-msrest-0.6.9 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/share/licenses/python2-msrest-0.6.9 + cp -pr LICENSE.md /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64/usr/share/licenses/python2-msrest-0.6.9 + exit 0 Provides: python-msrest = 0.6.9-1.el7 python2-msrest = 0.6.9-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 2.7 Obsoletes: python-msrest < 0.6.9-1.el7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64 Wrote: /builddir/build/RPMS/python2-msrest-0.6.9-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.WfNtRT + umask 022 + cd /builddir/build/BUILD + cd msrest-for-python-0.6.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-msrest-0.6.9-1.el7.x86_64 + exit 0 Child return code was: 0