• Bug#1098578: mypy: FTBFS: testI64BasicOps fails (2/2)

    From Santiago Vila@21:1/5 to All on Sat Feb 22 00:40:06 2025
    [continued from previous message]

    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)