Debian Bug report logs - #1098578
mypy: FTBFS: testI64BasicOps fails

version graph

Package: src:mypy; Maintainer for src:mypy is Debian Python Team <[email protected]>;

Reported by: Santiago Vila <[email protected]>

Date: Fri, 21 Feb 2025 23:31:02 UTC

Severity: serious

Tags: ftbfs, sid, trixie

Found in version mypy/1.15.0-3

Fixed in version mypy/1.15.0-4

Done: Colin Watson <[email protected]>

Bug is archived. No further changes may be made.

Forwarded to https://github.com/python/mypy/issues/18610

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected], Debian Python Team <[email protected]>:
Bug#1098578; Package src:mypy. (Fri, 21 Feb 2025 23:31:02 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected], Debian Python Team <[email protected]>. (Fri, 21 Feb 2025 23:31:03 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Santiago Vila <[email protected]>
To: Debian BTS <[email protected]>
Subject: mypy: FTBFS: testI64BasicOps fails
Date: Fri, 21 Feb 2025 23:27:50 +0000
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:
  python3.12: /usr/include/python3.12/object.h:231: Py_SIZE: Assertion `ob->ob_type != &PyLong_Type' failed. (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:
  python3.12: /usr/include/python3.12/object.h:231: Py_SIZE: Assertion `ob->ob_type != &PyLong_Type' failed. (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:
  python3.12: /usr/include/python3.12/object.h:231: Py_SIZE: Assertion `ob->ob_type != &PyLong_Type' failed. (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:
  python3.12: /usr/include/python3.12/object.h:231: Py_SIZE: Assertion `ob->ob_type != &PyLong_Type' failed. (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:
  python3.12: /usr/include/python3.12/object.h:231: Py_SIZE: Assertion `ob->ob_type != &PyLong_Type' failed. (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.



Set Bug forwarded-to-address to 'https://github.com/python/mypy/issues/18610'. Request was from Colin Watson <[email protected]> to [email protected]. (Mon, 24 Feb 2025 15:39:01 GMT) (full text, mbox, link).


Message sent on to Santiago Vila <[email protected]>:
Bug#1098578. (Mon, 24 Feb 2025 16:45:02 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Colin Watson <[email protected]>
To: [email protected]
Subject: Bug#1098578 marked as pending in mypy
Date: Mon, 24 Feb 2025 16:42:07 +0000
Control: tag -1 pending

Hello,

Bug #1098578 in mypy reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/python-team/packages/mypy/-/commit/43e5553ca320c5681fbfae8aaaec498198c55be0

------------------------------------------------------------------------
Unset CFLAGS when running tests

Closes: #1098578
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1098578



Added tag(s) pending. Request was from Colin Watson <[email protected]> to [email protected]. (Mon, 24 Feb 2025 16:45:02 GMT) (full text, mbox, link).


Reply sent to Colin Watson <[email protected]>:
You have taken responsibility. (Mon, 24 Feb 2025 17:24:02 GMT) (full text, mbox, link).


Notification sent to Santiago Vila <[email protected]>:
Bug acknowledged by developer. (Mon, 24 Feb 2025 17:24:02 GMT) (full text, mbox, link).


Message #17 received at [email protected] (full text, mbox, reply):

From: Debian FTP Masters <[email protected]>
To: [email protected]
Subject: Bug#1098578: fixed in mypy 1.15.0-4
Date: Mon, 24 Feb 2025 17:20:41 +0000
[Message part 1 (text/plain, inline)]
Source: mypy
Source-Version: 1.15.0-4
Done: Colin Watson <[email protected]>

We believe that the bug you reported is fixed in the latest version of
mypy, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (supplier of updated mypy package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 24 Feb 2025 16:40:29 +0000
Source: mypy
Architecture: source
Version: 1.15.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 1098578
Changes:
 mypy (1.15.0-4) unstable; urgency=medium
 .
   * Team upload.
   * Unset CFLAGS when running tests (closes: #1098578).
Checksums-Sha1:
 e327dffd3e9b2173b026c724f0f443e9eb4cce1e 3155 mypy_1.15.0-4.dsc
 6b4400739d7553e93e98463955a6e1ad9e31f030 18988 mypy_1.15.0-4.debian.tar.xz
Checksums-Sha256:
 a8743eb4362c770403c4652ed26975baf9d5bf523cfb0a5f5c66526181e458ec 3155 mypy_1.15.0-4.dsc
 6df68821e03b7abd6bfbd8a2dbb283eb610033fca417190b3fd4bc31fe5d96ff 18988 mypy_1.15.0-4.debian.tar.xz
Files:
 3dba3c643f9e16963345bb6868775c18 3155 utils optional mypy_1.15.0-4.dsc
 4affdf072069d38d2b6c6c401268a9f0 18988 utils optional mypy_1.15.0-4.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAme8oVIACgkQOTWH2X2G
UAuLqg/9HFdb3b7UyXLrWKt4NDVwOOMAGNAe54sd+IfQGZgEvX9Gq8MGHZZWhBDl
o1GMJ0pyB5xEmq1YbQrrWLw+X2G4mFK10IyrLDcMrA0myctTUCFOPH7CQOkP8Qxf
SJ57RcvHUCwWJBLHfH1HpwrK3+pBKmZgi21YVEkfhpk25VXCXcSPAP48NK0YnMGp
lW8QBn0NVN5fIvZKYK7WZdI+ZXyWp/cEWdjnyzFmSXAREQ8dnnc+EB5yC34WIlkG
ZOm6TxjVdzYB12rkXBU5pezusQxKQtPbZP8RkVh43zIFWyp6KEA4Pneji+hURcck
Pa9LGmG6H7BfIweGsVsHHQsZQRk07GQgIBt6GGtM8zGwUwsE4EwUjgne7ruUjrlY
4Ox322y+vw0W5YIxvYOipzBve/EOXvDSR/i7zHVvQOlaSEwCn8gd84c0ews/AJFV
L2Yy6zevd22wj8tKimR6nqNJ6UdhKj3kjS0JXNf5mtaNttxdDt/mktAe+bQ1xaLC
Swhms90Dz1jlrrNBE5sh6+HNRO9ULKdQZadQUE6pd/iFUklqPriCCbZBIej9f3bF
wkpOGHOk6YIsNDAYOIJv5pqYOwjc0ylQNZKCUisjuTK2A244IqUyRExg+IPtHn2F
q1qetWNJ5Gmr+ZxyKoxp5ArWtC2NZ2993j2qd0K8CA61QHJRgJM=
=XOet
-----END PGP SIGNATURE-----

[Message part 2 (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <[email protected]> to [email protected]. (Thu, 27 Mar 2025 07:26:46 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Sun Jul 13 15:28:32 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.