Package: src:mypy
Version: 1.15.0-3
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem=pybuild
dh_auto_clean -O--buildsystem=pybuild
pybuild --clean -i python{version} -p "3.12 3.13"
rm -rf .pybuild/
find . -name \*.pyc -exec rm {} \;
debian/rules execute_after_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make -C docs clean
make[2]: Entering directory '/<<PKGBUILDDIR>>/docs'
rm -rf build/*
make[2]: Leaving directory '/<<PKGBUILDDIR>>/docs'
/usr/bin/make -C mypyc/doc clean
make[2]: Entering directory '/<<PKGBUILDDIR>>/mypyc/doc'
[... snipped ...]
reading sources... [ 49%] generics
reading sources... [ 51%] getting_started
reading sources... [ 54%] index
reading sources... [ 57%] inline_config
reading sources... [ 59%] installed_packages
reading sources... [ 62%] kinds_of_types
reading sources... [ 65%] literal_types
reading sources... [ 68%] metaclasses
reading sources... [ 70%] more_types
reading sources... [ 73%] mypy_daemon
reading sources... [ 76%] protocols
reading sources... [ 78%] running_mypy
reading sources... [ 81%] runtime_troubles
reading sources... [ 84%] stubgen
reading sources... [ 86%] stubs
reading sources... [ 89%] stubtest
reading sources... [ 92%] supported_python_features
reading sources... [ 95%] 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...
Writing evaluated template result to
/<<PKGBUILDDIR>>/docs/build/html/_static/documentation_options.js
Writing evaluated template result to
/<<PKGBUILDDIR>>/docs/build/html/_static/basic.css
Writing evaluated template result to
/<<PKGBUILDDIR>>/docs/build/html/_static/language_data.js
copying static files: done
copying extra files...
copying extra files: done
copying assets: done
writing output... [ 3%] additional_features
writing output... [ 5%] builtin_types
writing output... [ 8%] changelog
writing output... [ 11%] cheat_sheet_py3
writing output... [ 14%] class_basics
writing output... [ 16%] command_line
writing output... [ 19%] common_issues
writing output... [ 22%] config_file
writing output... [ 24%] duck_type_compatibility
writing output... [ 27%] dynamic_typing
writing output... [ 30%] error_code_list
writing output... [ 32%] error_code_list2
writing output... [ 35%] error_codes
writing output... [ 38%] existing_code
writing output... [ 41%] extending_mypy
writing output... [ 43%] faq
writing output... [ 46%] final_attrs
writing output... [ 49%] generics
writing output... [ 51%] getting_started
writing output... [ 54%] index
writing output... [ 57%] inline_config
writing output... [ 59%] installed_packages
writing output... [ 62%] kinds_of_types
writing output... [ 65%] literal_types
writing output... [ 68%] metaclasses
writing output... [ 70%] more_types
writing output... [ 73%] mypy_daemon
writing output... [ 76%] protocols
writing output... [ 78%] running_mypy
writing output... [ 81%] runtime_troubles
writing output... [ 84%] stubgen
writing output... [ 86%] stubs
writing output... [ 89%] stubtest
writing output... [ 92%] supported_python_features
writing output... [ 95%] 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 v8.1.3
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 18 source files that are out of date
updating environment: [new config] 18 added, 0 changed, 0 removed
reading sources... [ 6%] bool_operations
reading sources... [ 11%] bytes_operations
reading sources... [ 17%] compilation_units
reading sources... [ 22%] dict_operations
reading sources... [ 28%] differences_from_python
reading sources... [ 33%] float_operations
reading sources... [ 39%] getting_started
reading sources... [ 44%] index
reading sources... [ 50%] int_operations
reading sources... [ 56%] introduction
reading sources... [ 61%] list_operations
reading sources... [ 67%] native_classes
reading sources... [ 72%] native_operations
reading sources... [ 78%] performance_tips_and_tricks
reading sources... [ 83%] set_operations
reading sources... [ 89%] 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...
Writing evaluated template result to
/<<PKGBUILDDIR>>/mypyc/doc/_build/html/_static/documentation_options.js
Writing evaluated template result to
/<<PKGBUILDDIR>>/mypyc/doc/_build/html/_static/basic.css
Writing evaluated template result to
/<<PKGBUILDDIR>>/mypyc/doc/_build/html/_static/language_data.js
copying static files: done
copying extra files...
copying extra files: done
copying assets: done
writing output... [ 6%] bool_operations
writing output... [ 11%] bytes_operations
writing output... [ 17%] compilation_units
writing output... [ 22%] dict_operations
writing output... [ 28%] differences_from_python
writing output... [ 33%] float_operations
writing output... [ 39%] getting_started
writing output... [ 44%] index
writing output... [ 50%] int_operations
writing output... [ 56%] introduction
writing output... [ 61%] list_operations
writing output... [ 67%] native_classes
writing output... [ 72%] native_operations
writing output... [ 78%] performance_tips_and_tricks
writing output... [ 83%] set_operations
writing output... [ 89%] 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 3.13"
I: pybuild base:311: python3.12 -m mypy --config-file
/<<PKGBUILDDIR>>/mypy_self_check.ini -p mypy
Success: no issues found in 182 source files
I: pybuild base:311: python3.13 -m mypy --config-file
/<<PKGBUILDDIR>>/mypy_self_check.ini -p mypy
Success: no issues found in 182 source files
rm -fr -- /tmp/dh-xdg-rundir-f7IJcHVR
dh_auto_install
install -m0755 -d /<<PKGBUILDDIR>>/debian/tmp
pybuild --install -i python{version} -p "3.12 3.13"
--dest-dir=/<<PKGBUILDDIR>>/debian/tmp
I: pybuild plugin_pyproject:178: Copying package built for python3.12 to destdir
I: pybuild plugin_pyproject:178: Copying package built for python3.13 to destdir
set -e; for v in 3.12 3.13; do \
PYTHONPATH=$(pybuild --print build_dir --pyver $v | awk '{ print $3 }')
PATH=$PATH:/<<PKGBUILDDIR>>/debian/python3-mypy/usr/bin/ python$v -m pytest -n
2 \
-o testpaths="mypy/test mypyc/test" -o python_files=test*.py -k 'not
(testCustomTypeshedDirWithRelativePathDoesNotCrash or
testNoPython3StubAvailable or testIgnoreImportIfNoPython3StubAvailable or
PEP561Suite or testDaemonStatusKillRestartRecheck)' \
-o python_classes= -o python_functions= ; \
done
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
configfile: pyproject.toml
testpaths: mypy/test, mypyc/test
plugins: xdist-3.6.1, typeguard-4.4.1, cov-5.0.0
created: 2/2 workers
2 workers [12534 items]
........................................................................ [ 0%]
........................................................................ [ 1%]
........................................................................ [ 1%]
........................................................................ [ 2%]
........................................................................ [ 2%]
........................................................................ [ 3%]
........................................................................ [ 4%]
........................................................................ [ 4%]
........................................................................ [ 5%]
........................................................................ [ 5%]
........................................................................ [ 6%]
........................................................................ [ 6%]
........................................................................ [ 7%]
........................................................................ [ 8%]
.........................................s.............................. [ 8%]
.............s.......................................................... [ 9%]
..................................x.................................s... [ 9%]
......s.s............................................................... [ 10%]
........................................................................ [ 10%]
........................................................................ [ 11%]
........................................................................ [ 12%]
........................................................................ [ 12%]
........................................................................ [ 13%]
........................................................................ [ 13%]
........................................................................ [ 14%]
........................................................................ [ 14%]
.....................ss................................................. [ 15%]
.....s.................................................................. [ 16%]
........................................................................ [ 16%]
........................................................................ [ 17%]
..........................s............................................. [ 17%]
........................................................................ [ 18%]
.....................................s.................................. [ 18%]
........................................................................ [ 19%]
........................................................................ [ 20%]
........................................................................ [ 20%]
........................................................................ [ 21%]
........................................................................ [ 21%]
........................................................................ [ 22%]
.......s................................................................ [ 22%]
........................................................................ [ 23%]
......................................s................................. [ 24%]
........................................................................ [ 24%]
........................................................................ [ 25%]
........................................................................ [ 25%]
...x.................................................................... [ 26%]
........................................................................ [ 26%]
.............................................................s.......... [ 27%]
........................................................................ [ 28%]
........................................................................ [ 28%]
........................................................................ [ 29%]
........................................................................ [ 29%]
........................................................................ [ 30%]
........................................................................ [ 31%]
........................................................................ [ 31%]
........................................................................ [ 32%]
........................................................................ [ 32%]
.................................x...................................... [ 33%]
........................................................................ [ 33%]
.................................................s...................... [ 34%]
........................................................................ [ 35%]
........................................................................ [ 35%]
........................................................................ [ 36%]
........................................................................ [ 36%]
........................................................................ [ 37%]
........................................................................ [ 37%]
........................................................................ [ 38%]
........................................................................ [ 39%]
........................................................................ [ 39%]
........................................................................ [ 40%]
...................................s.................................... [ 40%]
........s............................................................... [ 41%]
........................................................................ [ 41%]
........................................................................ [ 42%]
........................................................................ [ 43%]
........................................................................ [ 43%]
........................................................................ [ 44%]
........................................................................ [ 44%]
......................................................s................. [ 45%]
........................................................................ [ 45%]
........................................................................ [ 46%]
......................................s................................. [ 47%]
........................................................................ [ 47%]
........................................................................ [ 48%]
........................................................................ [ 48%]
........................................................................ [ 49%]
........................................................................ [ 49%]
........................................................................ [ 50%]
........................................................................ [ 51%]
........................................................................ [ 51%]
........................................................................ [ 52%]
....x........xx......................................................... [ 52%]
........................................................................ [ 53%]
........................................................................ [ 53%]
........................................................................ [ 54%]
........................................................................ [ 55%]
........................................................................ [ 55%]
........................................................................ [ 56%]
........................................................................ [ 56%]
........................................................................ [ 57%]
........................................................................ [ 58%]
........................................................................ [ 58%]
......................s................................................. [ 59%]
........................................................................ [ 59%]
........................................................................ [ 60%]
.............................s.......................................... [ 60%]
..........................s.....................s....................... [ 61%]
.......................s................................................ [ 62%]
..........s...............................s.s....s...s.................. [ 62%]
.........................................................ssssss.ssssssss [ 63%]
ss...........ss............s.......s..s...s.s.s......ss..s............ss [ 63%]
ss............ss......s...ssss.s..s.....ss.ss.s.sss.s...........s.ssssss [ 64%]
sssssss..ss.sssssssssssssssssssssssssssss...............s.s....s....s..s [ 64%]
.ss.......s...ssss.s.ss.....ss....s......ssss..sss..sssssss...s......... [ 65%]
............sssss...s.....s........s.s.................s..s..ss.......s. [ 66%]
s...ss...ssssss.sss.sssss..s............................................ [ 66%]
....s.........................................s......................... [ 67%]
........................................................................ [ 67%]
........................................................................ [ 68%]
........................................................................ [ 68%]
..........................ssssssssssssssssssssssssssssssssssssssssssssss [ 69%]
ssssssssssssssssssssssssssss............................................ [ 70%]
..................................................x..................... [ 70%]
........................................................................ [ 71%]
........................................................................ [ 71%]
........................................................................ [ 72%]
........................................................................ [ 72%]
........................................................................ [ 73%]
........................................................................ [ 74%]
........................................................................ [ 74%]
........................................................................ [ 75%]
........................................................................ [ 75%]
.................................s...................................... [ 76%]
........................................................................ [ 76%]
.....................................x.................................. [ 77%]
........................................................................ [ 78%]
........................................................................ [ 78%]
.................................................ss..................... [ 79%]
........................................................................ [ 79%]
........................................................................ [ 80%]
........................................................................ [ 80%]
........................................................................ [ 81%]
........................................................................ [ 82%]
......................................s................................. [ 82%]
........................................................................ [ 83%]
.....s.......s.......................................................... [ 83%]
...............................s........................................ [ 84%]
........................................................................ [ 85%]
........................................................................ [ 85%]
........................................................................ [ 86%]
........................................................................ [ 86%]
........................................................................ [ 87%]
........................................................................ [ 87%]
........................................................................ [ 88%]
........................................................................ [ 89%]
........................................................................ [ 89%]
........................................................................ [ 90%]
........................................................................ [ 90%]
........................................................................ [ 91%]
........................................................................ [ 91%]
........................................................................ [ 92%]
..................s.........s............................s.............. [ 93%]
..............................ssssssss...........s.................s.... [ 93%]
..............s...............................s...s.....ss............s. [ 94%]
....................s..sss..s.s......................................... [ 94%]
.............sss.........sss..sssssssss.........s....ssssss.s....ss....s [ 95%]
s..s...........................................s..s.s.......s.sss.s..... [ 95%]
....s....s...............s....s....s.................................... [ 96%]
sss....ss........s......s....s.ss.......................s............... [ 97%]
.................F...F..F....F......................F................... [ 97%]
........................................................................ [ 98%]
........................................................................ [ 98%]
.............................xx......................................... [ 99%]
........................................................................ [ 99%]
...... [100%]
=================================== FAILURES ===================================
_______________________________ testI64BasicOps ________________________________
[gw1] linux -- Python 3.12.9 /usr/bin/python3.12
data: /<<PKGBUILDDIR>>/mypyc/test-data/run-i64.test:1:
Failed: Invalid output (/<<PKGBUILDDIR>>/mypyc/test-data/run-i64.test, line 1)
----------------------------- Captured stdout call -----------------------------
*** Exit status: -6
----------------------------- Captured stderr call -----------------------------
Generated files: /<<PKGBUILDDIR>>/.mypyc_test_output (for first failure only)
Expected:
Actual:
[32m python3.12: /usr/include/python3.12/object.h:231: Py_SIZE: Assertion
`ob->ob_type != &PyLong_Type' failed.[0m (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:999 running build_ext
INFO root:build_ext.py:535 building 'native' extension
INFO root:dir_util.py:58 creating build/temp.linux-x86_64-cpython-312/build
INFO root:spawn.py:60 x86_64-linux-gnu-gcc -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:58 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 ->
________________________ testI64ErrorValuesAndUndefined ________________________
[gw1] linux -- Python 3.12.9 /usr/bin/python3.12
data: /<<PKGBUILDDIR>>/mypyc/test-data/run-i64.test:519:
Failed: Invalid output (/<<PKGBUILDDIR>>/mypyc/test-data/run-i64.test, line 519)
----------------------------- Captured stdout call -----------------------------
*** Exit status: -6
----------------------------- Captured stderr call -----------------------------
Expected:
Actual:
[32m python3.12: /usr/include/python3.12/object.h:231: Py_SIZE: Assertion
`ob->ob_type != &PyLong_Type' failed.[0m (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:999 running build_ext
INFO root:build_ext.py:535 building 'native' extension
INFO root:dir_util.py:58 creating build/temp.linux-x86_64-cpython-312/build
INFO root:spawn.py:60 x86_64-linux-gnu-gcc -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:58 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 ->
___________________________ testI64DefaultArgValues ____________________________
[gw1] linux -- Python 3.12.9 /usr/bin/python3.12
data: /<<PKGBUILDDIR>>/mypyc/test-data/run-i64.test:907:
Failed: Invalid output (/<<PKGBUILDDIR>>/mypyc/test-data/run-i64.test, line 907)
----------------------------- Captured stdout call -----------------------------
*** Exit status: -6
----------------------------- Captured stderr call -----------------------------
Expected:
Actual:
[32m python3.12: /usr/include/python3.12/object.h:231: Py_SIZE: Assertion
`ob->ob_type != &PyLong_Type' failed.[0m (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:999 running build_ext
INFO root:build_ext.py:535 building 'native' extension
INFO root:dir_util.py:58 creating build/temp.linux-x86_64-cpython-312/build
INFO root:spawn.py:60 x86_64-linux-gnu-gcc -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:58 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 ->
_______________________ testI64GlueMethodsAndInheritance _______________________
[gw1] linux -- Python 3.12.9 /usr/bin/python3.12
data: /<<PKGBUILDDIR>>/mypyc/test-data/run-i64.test:1340:
Failed: Invalid output (/<<PKGBUILDDIR>>/mypyc/test-data/run-i64.test, line
1340)
----------------------------- Captured stdout call -----------------------------
*** Exit status: -6
----------------------------- Captured stderr call -----------------------------
Expected:
Actual:
[32m python3.12: /usr/include/python3.12/object.h:231: Py_SIZE: Assertion
`ob->ob_type != &PyLong_Type' failed.[0m (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:999 running build_ext
INFO root:build_ext.py:535 building 'native' extension
INFO root:dir_util.py:58 creating build/temp.linux-x86_64-cpython-312/build
INFO root:spawn.py:60 x86_64-linux-gnu-gcc -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:58 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 ->
_________________________________ testBoolOps __________________________________
[gw1] linux -- Python 3.12.9 /usr/bin/python3.12
data: /<<PKGBUILDDIR>>/mypyc/test-data/run-bools.test:17:
Failed: Invalid output (/<<PKGBUILDDIR>>/mypyc/test-data/run-bools.test, line
17)
----------------------------- Captured stdout call -----------------------------
*** Exit status: -6
----------------------------- Captured stderr call -----------------------------
Expected:
Actual:
[32m python3.12: /usr/include/python3.12/object.h:231: Py_SIZE: Assertion
`ob->ob_type != &PyLong_Type' failed.[0m (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:999 running build_ext
INFO root:build_ext.py:535 building 'native' extension
INFO root:dir_util.py:58 creating build/temp.linux-x86_64-cpython-312/build
INFO root:spawn.py:60 x86_64-linux-gnu-gcc -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:58 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-i64.test::testI64BasicOps
FAILED
mypyc/test/test_run.py::TestRun::run-i64.test::testI64ErrorValuesAndUndefined
FAILED mypyc/test/test_run.py::TestRun::run-i64.test::testI64DefaultArgValues
FAILED
mypyc/test/test_run.py::TestRun::run-i64.test::testI64GlueMethodsAndInheritance
FAILED mypyc/test/test_run.py::TestRun::run-bools.test::testBoolOps
===== 5 failed, 12172 passed, 347 skipped, 10 xfailed in 639.77s (0:10:39) =====
make[1]: *** [debian/rules:86: override_dh_auto_test-arch] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:28: 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/202502/
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 add an affects on src:mypy, so that this is still
visible in the BTS web page for this package.
Thanks.