Source: parso Version: 0.5.2-1 Severity: serious Justification: FTBFS on amd64 Tags: bullseye sid ftbfs Usertags: ftbfs-20200222 ftbfs-bullseye
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > dh_auto_build -i > I: pybuild base:217: /usr/bin/python3.8 setup.py build > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso > copying parso/cache.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso > copying parso/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso > copying parso/parser.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso > copying parso/grammar.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso > copying parso/tree.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso > copying parso/normalizer.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso > copying parso/_compatibility.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso > copying parso/file_io.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso > copying parso/utils.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso/python > copying parso/python/errors.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso/python > copying parso/python/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso/python > copying parso/python/parser.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso/python > copying parso/python/tree.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso/python > copying parso/python/prefix.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso/python > copying parso/python/token.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso/python > copying parso/python/pep8.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso/python > copying parso/python/tokenize.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso/python > copying parso/python/diff.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso/python > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso/pgen2 > copying parso/pgen2/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso/pgen2 > copying parso/pgen2/generator.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso/pgen2 > copying parso/pgen2/grammar_parser.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso/pgen2 > running egg_info > writing parso.egg-info/PKG-INFO > writing dependency_links to parso.egg-info/dependency_links.txt > writing requirements to parso.egg-info/requires.txt > writing top-level names to parso.egg-info/top_level.txt > reading manifest file 'parso.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > warning: no previously-included files matching '*.pyc' found under directory > '*' > writing manifest file 'parso.egg-info/SOURCES.txt' > copying parso/python/grammar36.txt -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso/python > copying parso/python/grammar34.txt -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso/python > copying parso/python/grammar37.txt -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso/python > copying parso/python/grammar39.txt -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso/python > copying parso/python/grammar26.txt -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso/python > copying parso/python/grammar33.txt -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso/python > copying parso/python/grammar35.txt -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso/python > copying parso/python/grammar27.txt -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso/python > copying parso/python/grammar38.txt -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build/parso/python > I: pybuild base:217: /usr/bin/python3 setup.py build > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso > copying parso/cache.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso > copying parso/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso > copying parso/parser.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso > copying parso/grammar.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso > copying parso/tree.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso > copying parso/normalizer.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso > copying parso/_compatibility.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso > copying parso/file_io.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso > copying parso/utils.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso/python > copying parso/python/errors.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso/python > copying parso/python/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso/python > copying parso/python/parser.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso/python > copying parso/python/tree.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso/python > copying parso/python/prefix.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso/python > copying parso/python/token.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso/python > copying parso/python/pep8.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso/python > copying parso/python/tokenize.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso/python > copying parso/python/diff.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso/python > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso/pgen2 > copying parso/pgen2/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso/pgen2 > copying parso/pgen2/generator.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso/pgen2 > copying parso/pgen2/grammar_parser.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso/pgen2 > running egg_info > writing parso.egg-info/PKG-INFO > writing dependency_links to parso.egg-info/dependency_links.txt > writing requirements to parso.egg-info/requires.txt > writing top-level names to parso.egg-info/top_level.txt > reading manifest file 'parso.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > warning: no previously-included files matching '*.pyc' found under directory > '*' > writing manifest file 'parso.egg-info/SOURCES.txt' > copying parso/python/grammar36.txt -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso/python > copying parso/python/grammar34.txt -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso/python > copying parso/python/grammar37.txt -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso/python > copying parso/python/grammar39.txt -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso/python > copying parso/python/grammar26.txt -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso/python > copying parso/python/grammar33.txt -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso/python > copying parso/python/grammar35.txt -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso/python > copying parso/python/grammar27.txt -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso/python > copying parso/python/grammar38.txt -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_parso/build/parso/python > cd docs && \ > PYTHONPATH=/<<PKGBUILDDIR>> http_proxy='http://127.0.0.1:9/' > https_proxy='https://127.0.0.1:9/' \ > sphinx-build -N -E -T -b html . /<<PKGBUILDDIR>>/.pybuild/docs/html/ > Running Sphinx v1.8.5 > making output directory... > loading intersphinx inventory from https://docs.python.org/3.6/objects.inv... > WARNING: failed to reach any of the inventories with the following issues: > intersphinx inventory 'https://docs.python.org/3.6/objects.inv' not fetchable > due to <class 'requests.exceptions.ProxyError'>: > HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded > with url: /3.6/objects.inv (Caused by ProxyError('Cannot connect to proxy.', > NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at > 0x7fc028ba7790>: Failed to establish a new connection: [Errno 111] Connection > refused'))) > building [mo]: targets for 0 po files that are out of date > building [html]: targets for 6 source files that are out of date > updating environment: 6 added, 0 changed, 0 removed > reading sources... [ 16%] docs/development > reading sources... [ 33%] docs/installation > reading sources... [ 50%] docs/parser-tree > reading sources... [ 66%] docs/usage > reading sources... [ 83%] global > reading sources... [100%] index > > looking for now-outdated files... none found > pickling environment... done > checking consistency... done > preparing documents... done > writing output... [ 16%] docs/development > writing output... [ 33%] docs/installation > writing output... [ 50%] docs/parser-tree > writing output... [ 66%] docs/usage > writing output... [ 83%] global > writing output... [100%] index > > generating indices... genindex py-modindex > highlighting module code... [ 14%] abc > highlighting module code... [ 28%] parso > highlighting module code... [ 42%] parso.grammar > highlighting module code... [ 57%] parso.normalizer > highlighting module code... [ 71%] parso.python.tree > highlighting module code... [ 85%] parso.tree > highlighting module code... [100%] parso.utils > > writing additional pages... search > copying static files... done > copying extra files... done > dumping search index in English (code: en) ... done > dumping object inventory... done > build succeeded, 1 warning. > > The HTML pages are in ../.pybuild/docs/html. > rm -rf /<<PKGBUILDDIR>>/.pybuild/docs/html/.doctrees > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build; > python3.8 -m pytest test > ============================= test session starts > ============================== > platform linux -- Python 3.8.2rc2, pytest-4.6.9, py-1.8.1, pluggy-0.13.0 > rootdir: /<<PKGBUILDDIR>>, inifile: pytest.ini > collected 1189 items > > test/test_absolute_import.py ... [ > 0%] > test/test_cache.py .. [ > 0%] > test/test_diff_parser.py ............................................... [ > 4%] > ............. [ > 5%] > test/test_error_recovery.py ............. [ > 6%] > test/test_file_python_errors.py ........ [ > 7%] > test/test_fstring.py .................................................. [ > 11%] > test/test_get_code.py ...... [ > 11%] > test/test_grammar.py . [ > 12%] > test/test_load_grammar.py ............ [ > 13%] > test/test_normalizer_issues_files.py .................................. [ > 15%] > test/test_old_fast_parser.py ............... [ > 17%] > test/test_param_splitting.py .......... [ > 17%] > test/test_parser.py .................................................... [ > 22%] > ........................................................................ [ > 28%] > ........................................................................ [ > 34%] > ...... [ > 34%] > test/test_parser_tree.py ............................................... [ > 38%] > .................................. [ > 41%] > test/test_pep8.py ... [ > 42%] > test/test_pgen2.py ..........................x.......................... [ > 46%] > ........................................................................ [ > 52%] > ........................................................................ [ > 58%] > ........................................................................ [ > 64%] > ...................................................................... [ > 70%] > test/test_prefix.py ..................... [ > 72%] > test/test_python_errors.py ............................................. [ > 76%] > ........................................................................ [ > 82%] > ................................FFFFFFF...........FF.................... [ > 88%] > .................................... [ > 91%] > test/test_tokenize.py .................................................. [ > 95%] > ................................ [ > 98%] > test/test_utils.py ...................... > [100%] > > =================================== FAILURES > =================================== > _______________ test_python_exception_matches[(lambda: x := 1)] > ________________ > > code = '(lambda: x := 1)' > > @pytest.mark.parametrize('code', FAILING_EXAMPLES) > def test_python_exception_matches(code): > wanted, line_nr = _get_actual_exception(code) > > errors = _get_error_list(code) > actual = None > if errors: > error, = errors > actual = error.message > > assert actual in wanted > E AssertionError: assert 'SyntaxError: cannot use named assignment with > lambda' in ['SyntaxError: cannot use assignment expressions with lambda'] > > test/test_python_errors.py:39: AssertionError > ______________ test_python_exception_matches[((lambda: x) := 1)] > _______________ > > code = '((lambda: x) := 1)' > > @pytest.mark.parametrize('code', FAILING_EXAMPLES) > def test_python_exception_matches(code): > wanted, line_nr = _get_actual_exception(code) > > errors = _get_error_list(code) > actual = None > if errors: > error, = errors > actual = error.message > > assert actual in wanted > E AssertionError: assert 'SyntaxError: cannot use named assignment with > lambda' in ['SyntaxError: cannot use assignment expressions with lambda'] > > test/test_python_errors.py:39: AssertionError > __________________ test_python_exception_matches[(a[i] := x)] > __________________ > > code = '(a[i] := x)' > > @pytest.mark.parametrize('code', FAILING_EXAMPLES) > def test_python_exception_matches(code): > wanted, line_nr = _get_actual_exception(code) > > errors = _get_error_list(code) > actual = None > if errors: > error, = errors > actual = error.message > > assert actual in wanted > E AssertionError: assert 'SyntaxError: cannot use named assignment with > subscript' in ['SyntaxError: cannot use assignment expressions with > subscript'] > > test/test_python_errors.py:39: AssertionError > _________________ test_python_exception_matches[((a[i]) := x)] > _________________ > > code = '((a[i]) := x)' > > @pytest.mark.parametrize('code', FAILING_EXAMPLES) > def test_python_exception_matches(code): > wanted, line_nr = _get_actual_exception(code) > > errors = _get_error_list(code) > actual = None > if errors: > error, = errors > actual = error.message > > assert actual in wanted > E AssertionError: assert 'SyntaxError: cannot use named assignment with > subscript' in ['SyntaxError: cannot use assignment expressions with > subscript'] > > test/test_python_errors.py:39: AssertionError > __________________ test_python_exception_matches[(a(i) := x)] > __________________ > > code = '(a(i) := x)' > > @pytest.mark.parametrize('code', FAILING_EXAMPLES) > def test_python_exception_matches(code): > wanted, line_nr = _get_actual_exception(code) > > errors = _get_error_list(code) > actual = None > if errors: > error, = errors > actual = error.message > > assert actual in wanted > E AssertionError: assert 'SyntaxError: cannot use named assignment with > function call' in ['SyntaxError: cannot use assignment expressions with > function call'] > > test/test_python_errors.py:39: AssertionError > __________________ test_python_exception_matches[(a.b := c)] > ___________________ > > code = '(a.b := c)' > > @pytest.mark.parametrize('code', FAILING_EXAMPLES) > def test_python_exception_matches(code): > wanted, line_nr = _get_actual_exception(code) > > errors = _get_error_list(code) > actual = None > if errors: > error, = errors > actual = error.message > > assert actual in wanted > E AssertionError: assert 'SyntaxError: cannot use named assignment with > attribute' in ['SyntaxError: cannot use assignment expressions with > attribute'] > > test/test_python_errors.py:39: AssertionError > _____ test_python_exception_matches[[(i.i:= 0) for ((i), j) in range(5)]] > ______ > > code = '[(i.i:= 0) for ((i), j) in range(5)]' > > @pytest.mark.parametrize('code', FAILING_EXAMPLES) > def test_python_exception_matches(code): > wanted, line_nr = _get_actual_exception(code) > > errors = _get_error_list(code) > actual = None > if errors: > error, = errors > actual = error.message > > assert actual in wanted > E AssertionError: assert 'SyntaxError: cannot use named assignment with > attribute' in ['SyntaxError: cannot use assignment expressions with > attribute'] > > test/test_python_errors.py:39: AssertionError > ________________ test_python_exception_matches[(await a := x)] > _________________ > > code = '(await a := x)' > > @pytest.mark.parametrize('code', FAILING_EXAMPLES) > def test_python_exception_matches(code): > wanted, line_nr = _get_actual_exception(code) > > errors = _get_error_list(code) > actual = None > if errors: > error, = errors > actual = error.message > > assert actual in wanted > E AssertionError: assert 'SyntaxError: cannot use named assignment with > await expression' in ['SyntaxError: cannot use assignment expressions with > await expression'] > > test/test_python_errors.py:39: AssertionError > _______________ test_python_exception_matches[((await a) := x)] > ________________ > > code = '((await a) := x)' > > @pytest.mark.parametrize('code', FAILING_EXAMPLES) > def test_python_exception_matches(code): > wanted, line_nr = _get_actual_exception(code) > > errors = _get_error_list(code) > actual = None > if errors: > error, = errors > actual = error.message > > assert actual in wanted > E AssertionError: assert 'SyntaxError: cannot use named assignment with > await expression' in ['SyntaxError: cannot use assignment expressions with > await expression'] > > test/test_python_errors.py:39: AssertionError > =============== 9 failed, 1179 passed, 1 xfailed in 7.40 seconds > =============== > E: pybuild pybuild:341: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_parso/build; python3.8 -m pytest test > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.8 > 3.7" returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2020/02/22/parso_0.5.2-1_unstable.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures.