extra-x86_64-build :: Synchronizing package databases... core is up to date extra is up to date community is up to date :: Starting full system upgrade... there is nothing to do ==> Building in chroot for [extra] (x86_64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-x86_64/root] -> [builduser]...done ==> Making package: python-zc.lockfile 2.0-3 (Tue Nov 3 00:05:49 2020) ==> Retrieving sources... -> Found python-zc.lockfile-2.0.tar.gz ==> Validating source files with sha512sums... python-zc.lockfile-2.0.tar.gz ... Passed ==> Making package: python-zc.lockfile 2.0-3 (Tue 03 Nov 2020 12:05:52 AM) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (21) libnsl-1.3.0-1 python-3.8.6-1 python-appdirs-1.4.4-1 python-ordered-set-4.0.2-1 python-packaging-20.4-1 python-pyparsing-2.4.7-1 python-six-1.15.0-1 python-zope-exceptions-4.4-1 python-zope-interface-5.1.2-1 python2-2.7.18-2 python2-appdirs-1.4.4-1 python2-ordered-set-3.1.1-3 python2-packaging-20.4-1 python2-pyparsing-2.4.7-1 python2-six-1.15.0-1 python2-zope-exceptions-4.4-1 python2-zope-interface-5.1.2-1 python-setuptools-1:50.3.2-1 python-zope-testing-4.7-3 python2-setuptools-2:44.1.1-1 python2-zope-testing-4.7-3 Total Installed Size: 170.61 MiB :: Proceed with installation? [Y/n] (21/21) checking keys in keyring [######################] 100% (21/21) checking package integrity [######################] 100% (21/21) loading package files [######################] 100% (21/21) checking for file conflicts [######################] 100% :: Processing package changes... ( 1/21) installing libnsl [######################] 100% ( 2/21) installing python [######################] 100% Optional dependencies for python python-setuptools [pending] python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter ( 3/21) installing python-appdirs [######################] 100% ( 4/21) installing python-pyparsing [######################] 100% ( 5/21) installing python-six [######################] 100% ( 6/21) installing python-packaging [######################] 100% ( 7/21) installing python-ordered-set [######################] 100% ( 8/21) installing python-setuptools [######################] 100% ( 9/21) installing python2 [######################] 100% Optional dependencies for python2 tk: for IDLE python2-setuptools [pending] python2-pip (10/21) installing python2-appdirs [######################] 100% (11/21) installing python2-pyparsing [######################] 100% (12/21) installing python2-six [######################] 100% (13/21) installing python2-packaging [######################] 100% (14/21) installing python2-ordered-set [######################] 100% (15/21) installing python2-setuptools [######################] 100% (16/21) installing python-zope-interface [######################] 100% (17/21) installing python-zope-exceptions [######################] 100% (18/21) installing python-zope-testing [######################] 100% (19/21) installing python2-zope-interface [######################] 100% (20/21) installing python2-zope-exceptions [######################] 100% (21/21) installing python2-zope-testing [######################] 100% ==> Retrieving sources... -> Found python-zc.lockfile-2.0.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting python-zc.lockfile-2.0.tar.gz with bsdtar ==> Starting prepare()... ==> Starting build()... Building python-zc.lockfile 2.0 running build running build_py creating build creating build/lib creating build/lib/zc copying src/zc/__init__.py -> build/lib/zc creating build/lib/zc/lockfile copying src/zc/lockfile/__init__.py -> build/lib/zc/lockfile copying src/zc/lockfile/tests.py -> build/lib/zc/lockfile running egg_info creating src/zc.lockfile.egg-info writing src/zc.lockfile.egg-info/PKG-INFO writing dependency_links to src/zc.lockfile.egg-info/dependency_links.txt writing namespace_packages to src/zc.lockfile.egg-info/namespace_packages.txt writing requirements to src/zc.lockfile.egg-info/requires.txt writing top-level names to src/zc.lockfile.egg-info/top_level.txt writing manifest file 'src/zc.lockfile.egg-info/SOURCES.txt' reading manifest file 'src/zc.lockfile.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'src/zc.lockfile.egg-info/SOURCES.txt' copying src/zc/lockfile/README.txt -> build/lib/zc/lockfile Building python2-zc.lockfile 2.0 running build running build_py creating build creating build/lib creating build/lib/zc copying src/zc/__init__.py -> build/lib/zc creating build/lib/zc/lockfile copying src/zc/lockfile/__init__.py -> build/lib/zc/lockfile copying src/zc/lockfile/tests.py -> build/lib/zc/lockfile running egg_info creating src/zc.lockfile.egg-info writing requirements to src/zc.lockfile.egg-info/requires.txt writing src/zc.lockfile.egg-info/PKG-INFO writing namespace_packages to src/zc.lockfile.egg-info/namespace_packages.txt writing top-level names to src/zc.lockfile.egg-info/top_level.txt writing dependency_links to src/zc.lockfile.egg-info/dependency_links.txt writing manifest file 'src/zc.lockfile.egg-info/SOURCES.txt' reading manifest file 'src/zc.lockfile.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'src/zc.lockfile.egg-info/SOURCES.txt' copying src/zc/lockfile/README.txt -> build/lib/zc/lockfile ==> Starting check()... Running tests on python-zc.lockfile 2.0 running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. running egg_info writing src/zc.lockfile.egg-info/PKG-INFO writing dependency_links to src/zc.lockfile.egg-info/dependency_links.txt writing namespace_packages to src/zc.lockfile.egg-info/namespace_packages.txt writing requirements to src/zc.lockfile.egg-info/requires.txt writing top-level names to src/zc.lockfile.egg-info/top_level.txt reading manifest file 'src/zc.lockfile.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'src/zc.lockfile.egg-info/SOURCES.txt' running build_ext ....... ---------------------------------------------------------------------- Ran 7 tests in 0.689s OK Running tests on python2-zc.lockfile 2.0 running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. WARNING: The pip package is not available, falling back to EasyInstall for handling setup_requires/test_requires; this is deprecated and will be removed in a future version. Searching for mock Reading https://pypi.org/simple/mock/ Downloading https://files.pythonhosted.org/packages/2e/35/594f501b2a0fb3732c8190ca885dfdf60af72d678cd5fa8169c358717567/mock-4.0.2.tar.gz#sha256=dd33eb70232b6118298d516bbcecd26704689c386594f0f3c4f13867b2c56f72 Best match: mock 4.0.2 Processing mock-4.0.2.tar.gz Writing /tmp/easy_install-u7GwKa/mock-4.0.2/setup.cfg Running mock-4.0.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-u7GwKa/mock-4.0.2/egg-dist-tmp-W_q0ii File "build/bdist.linux-x86_64/egg/mock/backports.py", line 45 async def _asyncioLoopRunner(self, fut): ^ SyntaxError: invalid syntax File "build/bdist.linux-x86_64/egg/mock/mock.py", line 575 def reset_mock(self, visited=None,*, return_value=False, side_effect=False): ^ SyntaxError: invalid syntax zip_safe flag not set; analyzing archive contents... Moving mock-4.0.2-py2.7.egg to /build/python-zc.lockfile/src/zc.lockfile-2.0-py2/.eggs Installed /build/python-zc.lockfile/src/zc.lockfile-2.0-py2/.eggs/mock-4.0.2-py2.7.egg running egg_info writing requirements to src/zc.lockfile.egg-info/requires.txt writing src/zc.lockfile.egg-info/PKG-INFO writing namespace_packages to src/zc.lockfile.egg-info/namespace_packages.txt writing top-level names to src/zc.lockfile.egg-info/top_level.txt writing dependency_links to src/zc.lockfile.egg-info/dependency_links.txt reading manifest file 'src/zc.lockfile.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'src/zc.lockfile.egg-info/SOURCES.txt' running build_ext Traceback (most recent call last): File "setup.py", line 79, in zip_safe=False, File "/usr/lib/python2.7/site-packages/setuptools/__init__.py", line 162, in setup return distutils.core.setup(**attrs) File "/usr/lib/python2.7/distutils/core.py", line 151, in setup dist.run_commands() File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/site-packages/setuptools/command/test.py", line 237, in run self.run_tests() File "/usr/lib/python2.7/site-packages/setuptools/command/test.py", line 259, in run_tests exit=False, File "/usr/lib/python2.7/unittest/main.py", line 94, in __init__ self.parseArgs(argv) File "/usr/lib/python2.7/unittest/main.py", line 149, in parseArgs self.createTests() File "/usr/lib/python2.7/unittest/main.py", line 158, in createTests self.module) File "/usr/lib/python2.7/unittest/loader.py", line 130, in loadTestsFromNames suites = [self.loadTestsFromName(name, module) for name in names] File "/usr/lib/python2.7/unittest/loader.py", line 91, in loadTestsFromName module = __import__('.'.join(parts_copy)) File "/build/python-zc.lockfile/src/zc.lockfile-2.0-py2/src/zc/lockfile/tests.py", line 21, in from mock import Mock, patch File "build/bdist.linux-x86_64/egg/mock/__init__.py", line 7, in File "/build/python-zc.lockfile/src/zc.lockfile-2.0-py2/.eggs/mock-4.0.2-py2.7.egg/mock/mock.py", line 575 def reset_mock(self, visited=None,*, return_value=False, side_effect=False): ^ SyntaxError: invalid syntax ==> ERROR: A failure occurred in check(). Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-x86_64/builduser/build