Package: src:python-magic Version: 2:0.4.27-3 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202511/ 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 cannot 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-magic, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem=pybuild --test-tox --with python3 dh_auto_clean -O--buildsystem=pybuild -O--test-tox I: pybuild base:311: python3.13 setup.py clean /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() running clean removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build' (and everything under it) 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.13' does not exist -- can't clean it dh_autoreconf_clean -O--buildsystem=pybuild -O--test-tox dh_clean -O--buildsystem=pybuild -O--test-tox debian/rules binary dh binary --buildsystem=pybuild --test-tox --with python3 dh_update_autotools_config -O--buildsystem=pybuild -O--test-tox dh_autoreconf -O--buildsystem=pybuild -O--test-tox dh_auto_configure -O--buildsystem=pybuild -O--test-tox I: pybuild base:311: python3.13 setup.py config /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() running config dh_auto_build -O--buildsystem=pybuild -O--test-tox I: pybuild base:311: /usr/bin/python3 setup.py build /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() running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/magic copying magic/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/magic copying magic/compat.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/magic copying magic/loader.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/magic copying magic/__init__.pyi -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/magic copying magic/py.typed -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/magic dh_auto_test -O--buildsystem=pybuild -O--test-tox I: pybuild base:311: /usr/bin/python3 -c "import setuptools, runpy; runpy.run_path('setup.py')" bdist_wheel /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() running bdist_wheel /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:135: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated !! ******************************************************************************** With Python 2.7 end-of-life, support for building universal wheels (i.e., wheels that support both Python 2 and Python 3) is being obviated. Please discontinue using this option, or if you still need it, file an issue with pypa/setuptools describing your use case. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! self.finalize_options() running build running build_py creating build/lib/magic copying magic/__init__.py -> build/lib/magic copying magic/compat.py -> build/lib/magic copying magic/loader.py -> build/lib/magic copying magic/__init__.pyi -> build/lib/magic copying magic/py.typed -> build/lib/magic /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:90: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() 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/magic copying build/lib/magic/__init__.py -> build/bdist.linux-x86_64/wheel/./magic copying build/lib/magic/py.typed -> build/bdist.linux-x86_64/wheel/./magic copying build/lib/magic/__init__.pyi -> build/bdist.linux-x86_64/wheel/./magic copying build/lib/magic/compat.py -> build/bdist.linux-x86_64/wheel/./magic copying build/lib/magic/loader.py -> build/bdist.linux-x86_64/wheel/./magic running install_egg_info running egg_info creating python_magic.egg-info writing python_magic.egg-info/PKG-INFO writing dependency_links to python_magic.egg-info/dependency_links.txt writing top-level names to python_magic.egg-info/top_level.txt writing manifest file 'python_magic.egg-info/SOURCES.txt' reading manifest file 'python_magic.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no directories found matching 'tests' warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.py[co]' found anywhere in distribution adding license file 'LICENSE' writing manifest file 'python_magic.egg-info/SOURCES.txt' Copying python_magic.egg-info to build/bdist.linux-x86_64/wheel/./python_magic-0.4.27.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/python_magic-0.4.27.dist-info/WHEEL creating 'dist/python_magic-0.4.27-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'magic/__init__.py' adding 'magic/__init__.pyi' adding 'magic/compat.py' adding 'magic/loader.py' adding 'magic/py.typed' adding 'python_magic-0.4.27.dist-info/licenses/LICENSE' adding 'python_magic-0.4.27.dist-info/METADATA' adding 'python_magic-0.4.27.dist-info/WHEEL' adding 'python_magic-0.4.27.dist-info/top_level.txt' adding 'python_magic-0.4.27.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; tox -c /<<PKGBUILDDIR>>/tox.ini --sitepackages -e py313 -x testenv.passenv+=_PYTHON_HOST_PLATFORM --installpkg /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/python_magic-0.4.27-py2.py3-none-any.whl py313: install_deps .pybuild/cpython3_3.13/build> python -I -m pip install coverage pytest '.[test]' [31m error: subprocess-exited-with-error à installing build dependencies did not run successfully. â exit code: 1 â°â> [7 lines of output] WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fc479dde270>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/setuptools/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fc479d8e5d0>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/setuptools/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fc479d8e710>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/setuptools/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fc479d8e850>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/setuptools/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fc479d8e990>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/setuptools/ ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none) ERROR: No matching distribution found for setuptools>=40.8.0 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed to build 'file:///<<PKGBUILDDIR>>' when installing build dependencies Processing /<<PKGBUILDDIR>> Installing build dependencies: started Installing build dependencies: finished with status 'error' py313: exit 1 (8.27 seconds) /<<PKGBUILDDIR>>> python -I -m pip install coverage pytest '.[test]' pid=112 [39m py313: FAIL code 1 (8.40 seconds) evaluation failed :( (8.46 seconds) E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; tox -c /<<PKGBUILDDIR>>/tox.ini --sitepackages -e py313 -x testenv.passenv+=_PYTHON_HOST_PLATFORM --installpkg /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/python_magic-0.4.27-py2.py3-none-any.whl dh_auto_test: error: pybuild --test --test-tox -i python{version} -p 3.13 returned exit code 13 make: *** [debian/rules:8: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

