Package: src:python-tomli
Version: 2.2.1-2
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

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

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

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

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:python-tomli, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 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
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" 
module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13  
* Building wheel...
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82: 
SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
!!

        
********************************************************************************
        Please use a simple string containing a SPDX expression for 
`project.license`. You can also use `project.license-files`. (Both options 
available on setuptools>=77.0.0).

        By 2026-Feb-18, you need to update your project and remove deprecated 
calls
        or your builds will no longer be supported.

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  corresp(dist, value, root_dir)
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:61: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: MIT License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  dist._finalize_license_expression()
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: MIT License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
src/tomli/_parser.py:412: warning: Treating generator comprehension as list
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-313/tomli
copying src/tomli/__init__.py -> build/lib.linux-x86_64-cpython-313/tomli
copying src/tomli/_types.py -> build/lib.linux-x86_64-cpython-313/tomli
copying src/tomli/_re.py -> build/lib.linux-x86_64-cpython-313/tomli
copying src/tomli/_parser.py -> build/lib.linux-x86_64-cpython-313/tomli
running egg_info
creating src/tomli.egg-info
writing src/tomli.egg-info/PKG-INFO
writing dependency_links to src/tomli.egg-info/dependency_links.txt
writing top-level names to src/tomli.egg-info/top_level.txt
writing manifest file 'src/tomli.egg-info/SOURCES.txt'
dependency build/bytes_ops.c won't be automatically included in the manifest: 
the path doesn't exist
dependency build/dict_ops.c won't be automatically included in the manifest: 
the path doesn't exist
dependency build/exc_ops.c won't be automatically included in the manifest: the 
path doesn't exist
dependency build/float_ops.c won't be automatically included in the manifest: 
the path doesn't exist
dependency build/generic_ops.c won't be automatically included in the manifest: 
the path doesn't exist
dependency build/getargs.c won't be automatically included in the manifest: the 
path doesn't exist
dependency build/getargsfast.c won't be automatically included in the manifest: 
the path doesn't exist
dependency build/init.c won't be automatically included in the manifest: the 
path doesn't exist
dependency build/int_ops.c won't be automatically included in the manifest: the 
path doesn't exist
dependency build/list_ops.c won't be automatically included in the manifest: 
the path doesn't exist
dependency build/misc_ops.c won't be automatically included in the manifest: 
the path doesn't exist
dependency build/pythonsupport.c won't be automatically included in the 
manifest: the path doesn't exist
dependency build/set_ops.c won't be automatically included in the manifest: the 
path doesn't exist
dependency build/str_ops.c won't be automatically included in the manifest: the 
path doesn't exist
dependency build/tuple_ops.c won't be automatically included in the manifest: 
the path doesn't exist
reading manifest file 'src/tomli.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
adding license file 'LICENSE-HEADER'
writing manifest file 'src/tomli.egg-info/SOURCES.txt'
copying src/tomli/py.typed -> build/lib.linux-x86_64-cpython-313/tomli
running build_ext
building 'e8f80a2acf7dc9f5bdf3__mypyc' extension
creating build/temp.linux-x86_64-cpython-313/build
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 
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
-I/usr/lib/python3/dist-packages/mypyc/lib-rt -Ibuild -I/usr/include/python3.13 
-c build/__native_e8f80a2acf7dc9f5bdf3.c -o 
build/temp.linux-x86_64-cpython-313/build/__native_e8f80a2acf7dc9f5bdf3.o -O3 
-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
x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g 
-fwrapv -O2 -Wl,-z,relro -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 
build/temp.linux-x86_64-cpython-313/build/__native_e8f80a2acf7dc9f5bdf3.o 
-L/usr/lib/x86_64-linux-gnu -o 
build/lib.linux-x86_64-cpython-313/e8f80a2acf7dc9f5bdf3__mypyc.cpython-313-x86_64-linux-gnu.so
building 'tomli.__init__' extension
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 
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.13 -c 
build/tomli.c -o build/temp.linux-x86_64-cpython-313/build/tomli.o -O3 -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
x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g 
-fwrapv -O2 -Wl,-z,relro -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 
build/temp.linux-x86_64-cpython-313/build/tomli.o -L/usr/lib/x86_64-linux-gnu 
-o 
build/lib.linux-x86_64-cpython-313/tomli/__init__.cpython-313-x86_64-linux-gnu.so
building 'tomli._types' extension
creating build/temp.linux-x86_64-cpython-313/build/tomli
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 
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.13 -c 
build/tomli/_types.c -o 
build/temp.linux-x86_64-cpython-313/build/tomli/_types.o -O3 -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
x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g 
-fwrapv -O2 -Wl,-z,relro -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 
build/temp.linux-x86_64-cpython-313/build/tomli/_types.o 
-L/usr/lib/x86_64-linux-gnu -o 
build/lib.linux-x86_64-cpython-313/tomli/_types.cpython-313-x86_64-linux-gnu.so
building 'tomli._re' extension
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 
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.13 -c 
build/tomli/_re.c -o build/temp.linux-x86_64-cpython-313/build/tomli/_re.o -O3 
-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
x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g 
-fwrapv -O2 -Wl,-z,relro -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 
build/temp.linux-x86_64-cpython-313/build/tomli/_re.o 
-L/usr/lib/x86_64-linux-gnu -o 
build/lib.linux-x86_64-cpython-313/tomli/_re.cpython-313-x86_64-linux-gnu.so
building 'tomli._parser' extension
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 
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.13 -c 
build/tomli/_parser.c -o 
build/temp.linux-x86_64-cpython-313/build/tomli/_parser.o -O3 -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
x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g 
-fwrapv -O2 -Wl,-z,relro -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 
build/temp.linux-x86_64-cpython-313/build/tomli/_parser.o 
-L/usr/lib/x86_64-linux-gnu -o 
build/lib.linux-x86_64-cpython-313/tomli/_parser.cpython-313-x86_64-linux-gnu.so
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/tomli
copying build/lib.linux-x86_64-cpython-313/tomli/__init__.py -> 
build/bdist.linux-x86_64/wheel/./tomli
copying build/lib.linux-x86_64-cpython-313/tomli/_types.py -> 
build/bdist.linux-x86_64/wheel/./tomli
copying 
build/lib.linux-x86_64-cpython-313/tomli/_re.cpython-313-x86_64-linux-gnu.so -> 
build/bdist.linux-x86_64/wheel/./tomli
copying build/lib.linux-x86_64-cpython-313/tomli/_re.py -> 
build/bdist.linux-x86_64/wheel/./tomli
copying 
build/lib.linux-x86_64-cpython-313/tomli/_parser.cpython-313-x86_64-linux-gnu.so
 -> build/bdist.linux-x86_64/wheel/./tomli
copying build/lib.linux-x86_64-cpython-313/tomli/py.typed -> 
build/bdist.linux-x86_64/wheel/./tomli
copying build/lib.linux-x86_64-cpython-313/tomli/_parser.py -> 
build/bdist.linux-x86_64/wheel/./tomli
copying 
build/lib.linux-x86_64-cpython-313/tomli/_types.cpython-313-x86_64-linux-gnu.so 
-> build/bdist.linux-x86_64/wheel/./tomli
copying 
build/lib.linux-x86_64-cpython-313/tomli/__init__.cpython-313-x86_64-linux-gnu.so
 -> build/bdist.linux-x86_64/wheel/./tomli
copying 
build/lib.linux-x86_64-cpython-313/e8f80a2acf7dc9f5bdf3__mypyc.cpython-313-x86_64-linux-gnu.so
 -> build/bdist.linux-x86_64/wheel/.
running install_egg_info
Copying src/tomli.egg-info to 
build/bdist.linux-x86_64/wheel/./tomli-2.2.1.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/tomli-2.2.1.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/.tmp-5d5revfj/tomli-2.2.1-cp313-cp313-linux_x86_64.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'e8f80a2acf7dc9f5bdf3__mypyc.cpython-313-x86_64-linux-gnu.so'
adding 'tomli/__init__.cpython-313-x86_64-linux-gnu.so'
adding 'tomli/__init__.py'
adding 'tomli/_parser.cpython-313-x86_64-linux-gnu.so'
adding 'tomli/_parser.py'
adding 'tomli/_re.cpython-313-x86_64-linux-gnu.so'
adding 'tomli/_re.py'
adding 'tomli/_types.cpython-313-x86_64-linux-gnu.so'
adding 'tomli/_types.py'
adding 'tomli/py.typed'
adding 'tomli-2.2.1.dist-info/licenses/LICENSE'
adding 'tomli-2.2.1.dist-info/licenses/LICENSE-HEADER'
adding 'tomli-2.2.1.dist-info/METADATA'
adding 'tomli-2.2.1.dist-info/WHEEL'
adding 'tomli-2.2.1.dist-info/top_level.txt'
adding 'tomli-2.2.1.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built tomli-2.2.1-cp313-cp313-linux_x86_64.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; 
python3.13 -m pytest -n 2 -k "not test_own_pyproject" /<<PKGBUILDDIR>>/tests
============================= test session starts ==============================
platform linux -- Python 3.13.7, pytest-8.4.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
configfile: pyproject.toml
plugins: xdist-3.8.0, typeguard-4.4.4
created: 2/2 workers
2 workers [15 items]

..........F.F..                                                          [100%]
=================================== FAILURES ===================================
_____________ TestMiscellaneous.test_inline_array_recursion_limit ______________
[gw1] linux -- Python 3.13.7 /usr/bin/python3.13
RecursionError: TOML inline arrays/tables are nested more than the allowed None 
levels

During handling of the above exception, another exception occurred:

self = <tests.test_misc.TestMiscellaneous 
testMethod=test_inline_array_recursion_limit>

    def test_inline_array_recursion_limit(self):
        nest_count = 470
        recursive_array_toml = "arr = " + nest_count * "[" + nest_count * "]"
        tomllib.loads(recursive_array_toml)
    
        nest_count = sys.getrecursionlimit() + 2
        recursive_array_toml = "arr = " + nest_count * "[" + nest_count * "]"
>       with self.assertRaisesRegex(
            RecursionError,
            r"maximum recursion depth exceeded"
            r"|"
            r"TOML inline arrays/tables are nested more than the allowed [0-9]+ 
levels",
        ):
E       AssertionError: "maximum recursion depth exceeded|TOML inline 
arrays/tables are nested more than the allowed [0-9]+ levels" does not match 
"TOML inline arrays/tables are nested more than the allowed None levels"

../../../tests/test_misc.py:109: AssertionError
_____________ TestMiscellaneous.test_inline_table_recursion_limit ______________
[gw1] linux -- Python 3.13.7 /usr/bin/python3.13
RecursionError: TOML inline arrays/tables are nested more than the allowed None 
levels

During handling of the above exception, another exception occurred:

self = <tests.test_misc.TestMiscellaneous 
testMethod=test_inline_table_recursion_limit>

    def test_inline_table_recursion_limit(self):
        nest_count = 310
        recursive_table_toml = nest_count * "key = {" + nest_count * "}"
        tomllib.loads(recursive_table_toml)
    
        nest_count = sys.getrecursionlimit() + 2
        recursive_table_toml = nest_count * "key = {" + nest_count * "}"
>       with self.assertRaisesRegex(
            RecursionError,
            r"maximum recursion depth exceeded"
            r"|"
            r"TOML inline arrays/tables are nested more than the allowed [0-9]+ 
levels",
        ):
E       AssertionError: "maximum recursion depth exceeded|TOML inline 
arrays/tables are nested more than the allowed [0-9]+ levels" does not match 
"TOML inline arrays/tables are nested more than the allowed None levels"

../../../tests/test_misc.py:124: AssertionError
=========================== short test summary info ============================
FAILED 
../../../tests/test_misc.py::TestMiscellaneous::test_inline_array_recursion_limit
FAILED 
../../../tests/test_misc.py::TestMiscellaneous::test_inline_table_recursion_limit
========================= 2 failed, 13 passed in 0.33s =========================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest -n 2 -k 
"not test_own_pyproject" {dir}/tests
dh_auto_test: error: pybuild --test -i python{version} -p 3.13 returned exit 
code 13
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to