Package: src:mypy
Version: 1.11.2-3
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary  --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
        pybuild --configure -i python{version} -p 3.12
   debian/rules override_dh_auto_build-arch
make[1]: Entering directory '/<<PKGBUILDDIR>>'
MYPY_USE_MYPYC=1 dh_auto_build
        pybuild --build -i python{version} -p 3.12
I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" 
module
I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel 
--outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mypy
* Building wheel...
Parsed and typechecked in 27.801s

[... snipped ...]

adding 'mypyc/test-data/run-classes.test'
adding 'mypyc/test-data/run-dicts.test'
adding 'mypyc/test-data/run-dunders.test'
adding 'mypyc/test-data/run-exceptions.test'
adding 'mypyc/test-data/run-floats.test'
adding 'mypyc/test-data/run-functions.test'
adding 'mypyc/test-data/run-generators.test'
adding 'mypyc/test-data/run-i16.test'
adding 'mypyc/test-data/run-i32.test'
adding 'mypyc/test-data/run-i64.test'
adding 'mypyc/test-data/run-imports.test'
adding 'mypyc/test-data/run-integers.test'
adding 'mypyc/test-data/run-lists.test'
adding 'mypyc/test-data/run-loops.test'
adding 'mypyc/test-data/run-match.test'
adding 'mypyc/test-data/run-math.test'
adding 'mypyc/test-data/run-misc.test'
adding 'mypyc/test-data/run-multimodule.test'
adding 'mypyc/test-data/run-mypy-sim.test'
adding 'mypyc/test-data/run-primitives.test'
adding 'mypyc/test-data/run-python312.test'
adding 'mypyc/test-data/run-python37.test'
adding 'mypyc/test-data/run-python38.test'
adding 'mypyc/test-data/run-sets.test'
adding 'mypyc/test-data/run-singledispatch.test'
adding 'mypyc/test-data/run-strings.test'
adding 'mypyc/test-data/run-traits.test'
adding 'mypyc/test-data/run-tuples.test'
adding 'mypyc/test-data/run-u8.test'
adding 'mypyc/test-data/driver/driver.py'
adding 'mypyc/test-data/fixtures/ir.py'
adding 'mypyc/test-data/fixtures/testutil.py'
adding 'mypyc/test-data/fixtures/typing-full.pyi'
adding 'mypyc/transform/__init__.py'
adding 'mypyc/transform/copy_propagation.py'
adding 'mypyc/transform/exceptions.py'
adding 'mypyc/transform/flag_elimination.py'
adding 'mypyc/transform/ir_transform.py'
adding 'mypyc/transform/lower.py'
adding 'mypyc/transform/refcount.py'
adding 'mypyc/transform/uninit.py'
adding 'mypy-1.11.2.dist-info/LICENSE'
adding 'mypy-1.11.2.dist-info/METADATA'
adding 'mypy-1.11.2.dist-info/WHEEL'
adding 'mypy-1.11.2.dist-info/entry_points.txt'
adding 'mypy-1.11.2.dist-info/top_level.txt'
adding 'mypy-1.11.2.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built mypy-1.11.2-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with 
"installer" module
W: pybuild plugin_pyproject:150: Scripts directory already exists, skipping 
unpack. Is the Python package being built twice?
PYTHONPATH=/<<PKGBUILDDIR>> /usr/bin/make -C docs html
make[2]: Entering directory '/<<PKGBUILDDIR>>/docs'
sphinx-build -b html -d build/doctrees   source build/html
Running Sphinx v7.4.7
loading translations [en]... done
making output directory... done
Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 
'restructuredtext'}`.
loading intersphinx inventory 'python' from 
/usr/share/doc/python3/html/objects.inv...
loading intersphinx inventory 'attrs' from 
/usr/share/doc/python-attr-doc/html/objects.inv...
loading intersphinx inventory 'cython' from 
/usr/share/doc/cython3/html/objects.inv...
loading intersphinx inventory 'monkeytype' from 
../../debian/intersphinx/monkeytype_objects.inv...
loading intersphinx inventory 'setuptools' from 
/usr/share/doc/python-setuptools-doc/html/objects.inv...
building [mo]: targets for 0 po files that are out of date
writing output...
building [html]: targets for 36 source files that are out of date
updating environment: [new config] 36 added, 0 changed, 0 removed
reading sources... [  3%] additional_features
reading sources... [  6%] builtin_types
reading sources... [  8%] cheat_sheet_py3
reading sources... [ 11%] class_basics
reading sources... [ 14%] command_line
reading sources... [ 17%] common_issues
reading sources... [ 19%] config_file
reading sources... [ 22%] duck_type_compatibility
reading sources... [ 25%] dynamic_typing
reading sources... [ 28%] error_code_list
reading sources... [ 31%] error_code_list2
reading sources... [ 33%] error_codes
reading sources... [ 36%] existing_code
reading sources... [ 39%] extending_mypy
reading sources... [ 42%] faq
reading sources... [ 44%] final_attrs
reading sources... [ 47%] generics
reading sources... [ 50%] getting_started
reading sources... [ 53%] index
reading sources... [ 56%] inline_config
reading sources... [ 58%] installed_packages
reading sources... [ 61%] kinds_of_types
reading sources... [ 64%] literal_types
reading sources... [ 67%] metaclasses
reading sources... [ 69%] more_types
reading sources... [ 72%] mypy_daemon
reading sources... [ 75%] protocols
reading sources... [ 78%] running_mypy
reading sources... [ 81%] runtime_troubles
reading sources... [ 83%] stubgen
reading sources... [ 86%] stubs
reading sources... [ 89%] stubtest
reading sources... [ 92%] supported_python_features
reading sources... [ 94%] type_inference_and_annotations
reading sources... [ 97%] type_narrowing
reading sources... [100%] typed_dict

looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets...
copying static files... done
copying extra files... done
copying assets: done
writing output... [  3%] additional_features
writing output... [  6%] builtin_types
writing output... [  8%] cheat_sheet_py3
writing output... [ 11%] class_basics
writing output... [ 14%] command_line
writing output... [ 17%] common_issues
writing output... [ 19%] config_file
writing output... [ 22%] duck_type_compatibility
writing output... [ 25%] dynamic_typing
writing output... [ 28%] error_code_list
writing output... [ 31%] error_code_list2
writing output... [ 33%] error_codes
writing output... [ 36%] existing_code
writing output... [ 39%] extending_mypy
writing output... [ 42%] faq
writing output... [ 44%] final_attrs
writing output... [ 47%] generics
writing output... [ 50%] getting_started
writing output... [ 53%] index
writing output... [ 56%] inline_config
writing output... [ 58%] installed_packages
writing output... [ 61%] kinds_of_types
writing output... [ 64%] literal_types
writing output... [ 67%] metaclasses
writing output... [ 69%] more_types
writing output... [ 72%] mypy_daemon
writing output... [ 75%] protocols
writing output... [ 78%] running_mypy
writing output... [ 81%] runtime_troubles
writing output... [ 83%] stubgen
writing output... [ 86%] stubs
writing output... [ 89%] stubtest
writing output... [ 92%] supported_python_features
writing output... [ 94%] type_inference_and_annotations
writing output... [ 97%] type_narrowing
writing output... [100%] typed_dict

generating indices... genindex done
writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded.

The HTML pages are in build/html.

Build finished. The HTML pages are in build/html.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/docs'
PYTHONPATH=/<<PKGBUILDDIR>> /usr/bin/make -C mypyc/doc html
make[2]: Entering directory '/<<PKGBUILDDIR>>/mypyc/doc'
Running Sphinx v7.4.7
loading translations [en]... done
making output directory... done
WARNING: html_static_path entry '_static' does not exist
building [mo]: targets for 0 po files that are out of date
writing output...
building [html]: targets for 17 source files that are out of date
updating environment: [new config] 17 added, 0 changed, 0 removed
reading sources... [  6%] bool_operations
reading sources... [ 12%] compilation_units
reading sources... [ 18%] dict_operations
reading sources... [ 24%] differences_from_python
reading sources... [ 29%] float_operations
reading sources... [ 35%] getting_started
reading sources... [ 41%] index
reading sources... [ 47%] int_operations
reading sources... [ 53%] introduction
reading sources... [ 59%] list_operations
reading sources... [ 65%] native_classes
reading sources... [ 71%] native_operations
reading sources... [ 76%] performance_tips_and_tricks
reading sources... [ 82%] set_operations
reading sources... [ 88%] str_operations
reading sources... [ 94%] tuple_operations
reading sources... [100%] using_type_annotations

looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets...
copying static files... done
copying extra files... done
copying assets: done
writing output... [  6%] bool_operations
writing output... [ 12%] compilation_units
writing output... [ 18%] dict_operations
writing output... [ 24%] differences_from_python
writing output... [ 29%] float_operations
writing output... [ 35%] getting_started
writing output... [ 41%] index
writing output... [ 47%] int_operations
writing output... [ 53%] introduction
writing output... [ 59%] list_operations
writing output... [ 65%] native_classes
writing output... [ 71%] native_operations
writing output... [ 76%] performance_tips_and_tricks
writing output... [ 82%] set_operations
writing output... [ 88%] str_operations
writing output... [ 94%] tuple_operations
writing output... [100%] using_type_annotations

generating indices... genindex done
writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 1 warning.

The HTML pages are in _build/html.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/mypyc/doc'
mv mypyc/doc/_build/html mypyc/doc/_build/mypyc
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
        rm -f debian/mypy-doc.debhelper.log debian/mypy.debhelper.log
   debian/rules override_dh_auto_test-arch
make[1]: Entering directory '/<<PKGBUILDDIR>>'
py3versions: no X-Python3-Version in control file, using supported versions
export TEST_MYPYC=1
PYBUILD_SYSTEM=custom \
        PYBUILD_TEST_ARGS="{interpreter} -m mypy \
        --config-file {dir}/mypy_self_check.ini -p mypy" dh_auto_test
        pybuild --test --test-pytest -i python{version} -p 3.12
I: pybuild base:311: python3.12 -m mypy         --config-file 
/<<PKGBUILDDIR>>/mypy_self_check.ini -p mypy
Success: no issues found in 181 source files
        rm -fr -- /tmp/dh-xdg-rundir-KR_R4zLY
dh_auto_install
        install -m0755 -d /<<PKGBUILDDIR>>/debian/tmp
        pybuild --install -i python{version} -p 3.12 --dest-dir 
/<<PKGBUILDDIR>>/debian/tmp
I: pybuild plugin_pyproject:178: Copying package built for python3.12 to destdir
set -e; for v in 3.12; do \
        PYTHONPATH=$(pybuild --print build_dir --pyver $v | awk '{ print $3 }') 
PATH=$PATH:/<<PKGBUILDDIR>>/debian/python3-mypy/usr/bin/ python$v -m pytest -n 
auto \
        -o testpaths="mypy/test mypyc/test" -o python_files=test*.py -k 'not 
(testCustomTypeshedDirWithRelativePathDoesNotCrash or testNoPython3StubAvailable or 
testIgnoreImportIfNoPython3StubAvailable or PEP561Suite)' \
        -o python_classes= -o python_functions= ; \
done
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
configfile: pyproject.toml
testpaths: mypy/test, mypyc/test
plugins: typeguard-4.3.0, xdist-3.6.1, cov-5.0.0
created: 2/2 workers
2 workers [12249 items]

........................................................................ [  0%]
........s............................................................... [  1%]
........................................................................ [  1%]
........................................................................ [  2%]
........................................................................ [  2%]
........................................................................ [  3%]
.......................................................s................ [  4%]
........................................................................ [  4%]
...............ss.....................s................................. [  5%]
......................................................................s. [  5%]
........................................................................ [  6%]
........................................................................ [  7%]
........................................................................ [  7%]
........................................................................ [  8%]
........................................................................ [  8%]
........................................................................ [  9%]
...............................................x........................ [  9%]
........................................................................ [ 10%]
.................x.x.................................................... [ 11%]
........................................................................ [ 11%]
........................................................................ [ 12%]
........................................................................ [ 12%]
........................................................................ [ 13%]
........................................................................ [ 14%]
.....................s.................................................. [ 14%]
........................................................................ [ 15%]
........................................................................ [ 15%]
........................................................................ [ 16%]
........................................................................ [ 17%]
.....................................................s.................. [ 17%]
........................................................................ [ 18%]
........................................................................ [ 18%]
........................................................................ [ 19%]
........................................................................ [ 19%]
........................................................................ [ 20%]
........................................................................ [ 21%]
........................................................................ [ 21%]
........................................................................ [ 22%]
........................................................................ [ 22%]
...................................s.................................... [ 23%]
........................................................................ [ 24%]
........................................................................ [ 24%]
........................................................................ [ 25%]
........................................................................ [ 25%]
........................................................................ [ 26%]
........................................................................ [ 27%]
............................................s........................... [ 27%]
........................................................................ [ 28%]
........................................................................ [ 28%]
........................................................................ [ 29%]
........................................................................ [ 29%]
........................................................................ [ 30%]
........................................................................ [ 31%]
........................................................................ [ 31%]
........................................................................ [ 32%]
........................................................................ [ 32%]
........................................................................ [ 33%]
........................................................................ [ 34%]
........................................................................ [ 34%]
........................................................................ [ 35%]
....x................................................................... [ 35%]
........................................................................ [ 36%]
........................................................................ [ 37%]
...........................x............................................ [ 37%]
........................................................................ [ 38%]
.....................................................................s.. [ 38%]
...............................................................s........ [ 39%]
........................................................................ [ 39%]
........................................................................ [ 40%]
........................................................................ [ 41%]
........................................................................ [ 41%]
........................................................................ [ 42%]
........................................................................ [ 42%]
........................................................................ [ 43%]
........................................................................ [ 44%]
........................................................................ [ 44%]
........................................................................ [ 45%]
........................................................................ [ 45%]
........................................................................ [ 46%]
........................................................................ [ 47%]
....................................................................s... [ 47%]
........................................................................ [ 48%]
........................................................................ [ 48%]
........................................................................ [ 49%]
........................................................................ [ 49%]
........................................................................ [ 50%]
........................................................................ [ 51%]
........................................................................ [ 51%]
........................................................................ [ 52%]
........................................................................ [ 52%]
........................................................................ [ 53%]
........................................................................ [ 54%]
............................................................s........... [ 54%]
.................................s...................................... [ 55%]
............................................x......................s.... [ 55%]
..s.s................................................................... [ 56%]
........................................................................ [ 57%]
........................................................................ [ 57%]
.......................................................................s [ 58%]
....................................................................s... [ 58%]
........................................................................ [ 59%]
........................................................................ [ 59%]
........................................................................ [ 60%]
....s.................................................................s. [ 61%]
....................s...............................................s... [ 61%]
.......................................................s................ [ 62%]
........................................................s....s.ss....... [ 62%]
................s....ssssss.ssssssssss...........ss............s.......s [ 63%]
..s...s.s.s.....ss..s.............ssss............ss......s...ssss.s..s. [ 64%]
.s............................s...ssss.s.ss.....ss....s......ssss..sss.. [ 64%]
sssssss...s....................sssss...s......s........s.s.............. [ 65%]
...s..s..ss..s.s...ss...ssssss.sss.sssss..s........s.s....s....s..s.ss.. [ 65%]
..........................................s............................. [ 66%]
............s........................................................... [ 67%]
........................................................................ [ 67%]
........................................................................ [ 68%]
...............................................................sssssssss [ 68%]
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss........ [ 69%]
........................................................................ [ 69%]
..........................x............................................. [ 70%]
........................................................................ [ 71%]
........................................................................ [ 71%]
........................................................................ [ 72%]
........................................................................ [ 72%]
........................................................................ [ 73%]
........................................................................ [ 74%]
........................................................................ [ 74%]
........................................................................ [ 75%]
........................................................................ [ 75%]
...............s........................................................ [ 76%]
........................................................................ [ 77%]
...............x........................................................ [ 77%]
........................................................................ [ 78%]
........................................................................ [ 78%]
........................................................................ [ 79%]
........................................................................ [ 79%]
........................................................................ [ 80%]
........................................................................ [ 81%]
........................................................................ [ 81%]
................................................................s....... [ 82%]
........................................................................ [ 82%]
...............................s.......s................................ [ 83%]
..........................................................s............. [ 84%]
........................................................................ [ 84%]
........................................................................ [ 85%]
........................................................................ [ 85%]
........................................................................ [ 86%]
........................................................................ [ 86%]
........................................................................ [ 87%]
........................................................................ [ 88%]
........................................................................ [ 88%]
........................................................................ [ 89%]
........................................................................ [ 89%]
........................................................................ [ 90%]
........................................................................ [ 91%]
........................................................................ [ 91%]
........................................................................ [ 92%]
.......................................s................................ [ 92%]
............ssssssss...........s.................s.................s.... [ 93%]
........................s...s.....ss..................s........s........ [ 94%]
.....s.sssssssssssss..ss.sssssssssssssssssssssssssssss.................. [ 94%]
.s..sss..s.s......................................................sss... [ 95%]
......sss..sssssssss..........s....ssssss.s....ss....ss..s.............. [ 95%]
..............................s.s.s........s.sss.s........s.....s....... [ 96%]
........s....s....s....................................sss....ss........ [ 96%]
.s...................................................................... [ 97%]
................F....................................................... [ 98%]
........................................................................ [ 98%]
.......................xx............................................... [ 99%]
........................................................................ [ 99%]
.........                                                                [100%]
=================================== FAILURES ===================================
_________________________ testDictIterationMethodsRun __________________________
[gw1] linux -- Python 3.12.7 /usr/bin/python3.12
data: /<<PKGBUILDDIR>>/mypyc/test-data/run-dicts.test:97:
Failed: Invalid output (/<<PKGBUILDDIR>>/mypyc/test-data/run-dicts.test, line 
97)
----------------------------- Captured stdout call -----------------------------

*** Exit status: 1
----------------------------- Captured stderr call -----------------------------
Expected:
  1
  3
  4
  ...
  2
  4
  2
Actual:
  1
  3
  4
  ...
  2
  4
  2
  Traceback (most recent call last): (diff)
    File "driver.py", line 23, in <module> (diff)
      clear_during_iter(d) (diff)
    File "native.py", line 34, in clear_during_iter (diff)
      for k in d: (diff)
  RuntimeError: OrderedDict mutated during iteration (diff)
   (diff)
  During handling of the above exception, another exception occurred: 
(diff)
   (diff)
  Traceback (most recent call last): (diff)
    File "driver.py", line 25, in <module> (diff)
      assert str(e) == "OrderedDict changed size during iteration" 
(diff)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
(diff)
  AssertionError (diff)

Update the test output using --update-data (implies -n0; you can additionally 
use the -k selector to update only specific tests)
------------------------------ Captured log call -------------------------------
INFO     root:dist.py:970 running build_ext
INFO     root:build_ext.py:530 building 'native' extension
INFO     root:dir_util.py:70 creating build/temp.linux-x86_64-cpython-312
INFO     root:dir_util.py:70 creating build/temp.linux-x86_64-cpython-312/build
INFO     root:spawn.py:60 x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 
-Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wno-misleading-indentation -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
-I/<<PKGBUILDDIR>>/mypyc/lib-rt -I/usr/include/python3.12 -c build/__native.c -o 
build/temp.linux-x86_64-cpython-312/build/__native.o -O0 -g1 -Werror -Wno-unused-function 
-Wno-unused-label -Wno-unreachable-code -Wno-unused-variable -Wno-unused-command-line-argument 
-Wno-unknown-warning-option -Wno-unused-but-set-variable -Wno-ignored-optimization-argument -Wno-cpp
INFO     root:dir_util.py:70 creating build/lib.linux-x86_64-cpython-312
INFO     root:spawn.py:60 x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions 
-Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security 
-fcf-protection -Wno-misleading-indentation -Wdate-time -D_FORTIFY_SOURCE=2 
build/temp.linux-x86_64-cpython-312/build/__native.o -L/usr/lib/x86_64-linux-gnu -o 
build/lib.linux-x86_64-cpython-312/native.cpython-312-x86_64-linux-gnu.so
INFO     root:file_util.py:130 copying 
build/lib.linux-x86_64-cpython-312/native.cpython-312-x86_64-linux-gnu.so ->
=========================== short test summary info ============================
FAILED 
mypyc/test/test_run.py::TestRun::run-dicts.test::testDictIterationMethodsRun
===== 1 failed, 11906 passed, 332 skipped, 10 xfailed in 599.10s (0:09:59) =====
make[1]: *** [debian/rules:81: override_dh_auto_test-arch] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:25: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202410/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to