Package: src:cairosvg
Version: 2.7.1-1
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 --with python3 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --with python3 --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/dist.py:599: 
SetuptoolsDeprecationWarning: Invalid dash-separated key 'python-tag' in 
'bdist_wheel' (setup.cfg), please use the underscore name 'python_tag' instead.
!!

        
********************************************************************************
        Usage of dash-separated 'python-tag' will not be supported in future
        versions. Please use the underscore name 'python_tag' instead.

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

        See 
https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
details.
        
********************************************************************************

!!
  opt = self._enforce_underscore(opt, section)
/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 :: GNU Lesser General Public License v3 or 
later (LGPLv3+)

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

!!
  self._finalize_license_expression()
/usr/lib/python3/dist-packages/setuptools/dist.py:484: 
SetuptoolsDeprecationWarning: Please provide a valid glob pattern.
!!

        
********************************************************************************
        Pattern '[ LICENSE ]' contains invalid characters.

        By 2026-Mar-20, 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/specifications/glob-patterns/ for 
details.
        
********************************************************************************

!!
  for path in sorted(cls._find_pattern(pattern, enforce_match))
/usr/lib/python3/dist-packages/setuptools/dist.py:484: 
SetuptoolsDeprecationWarning: Cannot find any files for the given pattern.
!!

        
********************************************************************************
        Pattern '[ LICENSE ]' did not match any files.

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

!!
  for path in sorted(cls._find_pattern(pattern, enforce_match))
running bdist_wheel
running build
running build_py
creating build/lib/cairosvg
copying cairosvg/path.py -> build/lib/cairosvg
copying cairosvg/svg.py -> build/lib/cairosvg
copying cairosvg/shapes.py -> build/lib/cairosvg
copying cairosvg/css.py -> build/lib/cairosvg
copying cairosvg/text.py -> build/lib/cairosvg
copying cairosvg/__main__.py -> build/lib/cairosvg
copying cairosvg/features.py -> build/lib/cairosvg
copying cairosvg/surface.py -> build/lib/cairosvg
copying cairosvg/image.py -> build/lib/cairosvg
copying cairosvg/test_api.py -> build/lib/cairosvg
copying cairosvg/colors.py -> build/lib/cairosvg
copying cairosvg/parser.py -> build/lib/cairosvg
copying cairosvg/url.py -> build/lib/cairosvg
copying cairosvg/defs.py -> build/lib/cairosvg
copying cairosvg/bounding_box.py -> build/lib/cairosvg
copying cairosvg/__init__.py -> build/lib/cairosvg
copying cairosvg/helpers.py -> build/lib/cairosvg
copying cairosvg/VERSION -> build/lib/cairosvg
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/cairosvg
copying build/lib/cairosvg/path.py -> build/bdist.linux-x86_64/wheel/./cairosvg
copying build/lib/cairosvg/svg.py -> build/bdist.linux-x86_64/wheel/./cairosvg
copying build/lib/cairosvg/shapes.py -> 
build/bdist.linux-x86_64/wheel/./cairosvg
copying build/lib/cairosvg/css.py -> build/bdist.linux-x86_64/wheel/./cairosvg
copying build/lib/cairosvg/text.py -> build/bdist.linux-x86_64/wheel/./cairosvg
copying build/lib/cairosvg/__main__.py -> 
build/bdist.linux-x86_64/wheel/./cairosvg
copying build/lib/cairosvg/features.py -> 
build/bdist.linux-x86_64/wheel/./cairosvg
copying build/lib/cairosvg/surface.py -> 
build/bdist.linux-x86_64/wheel/./cairosvg
copying build/lib/cairosvg/image.py -> build/bdist.linux-x86_64/wheel/./cairosvg
copying build/lib/cairosvg/test_api.py -> 
build/bdist.linux-x86_64/wheel/./cairosvg
copying build/lib/cairosvg/colors.py -> 
build/bdist.linux-x86_64/wheel/./cairosvg
copying build/lib/cairosvg/parser.py -> 
build/bdist.linux-x86_64/wheel/./cairosvg
copying build/lib/cairosvg/url.py -> build/bdist.linux-x86_64/wheel/./cairosvg
copying build/lib/cairosvg/defs.py -> build/bdist.linux-x86_64/wheel/./cairosvg
copying build/lib/cairosvg/bounding_box.py -> 
build/bdist.linux-x86_64/wheel/./cairosvg
copying build/lib/cairosvg/VERSION -> build/bdist.linux-x86_64/wheel/./cairosvg
copying build/lib/cairosvg/__init__.py -> 
build/bdist.linux-x86_64/wheel/./cairosvg
copying build/lib/cairosvg/helpers.py -> 
build/bdist.linux-x86_64/wheel/./cairosvg
running install_egg_info
running egg_info
creating CairoSVG.egg-info
writing CairoSVG.egg-info/PKG-INFO
writing dependency_links to CairoSVG.egg-info/dependency_links.txt
writing entry points to CairoSVG.egg-info/entry_points.txt
writing requirements to CairoSVG.egg-info/requires.txt
writing top-level names to CairoSVG.egg-info/top_level.txt
writing manifest file 'CairoSVG.egg-info/SOURCES.txt'
reading manifest file 'CairoSVG.egg-info/SOURCES.txt'
writing manifest file 'CairoSVG.egg-info/SOURCES.txt'
Copying CairoSVG.egg-info to 
build/bdist.linux-x86_64/wheel/./CairoSVG-2.7.1.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/cairosvg-2.7.1.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/.tmp-lhaltej7/cairosvg-2.7.1-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'cairosvg/VERSION'
adding 'cairosvg/__init__.py'
adding 'cairosvg/__main__.py'
adding 'cairosvg/bounding_box.py'
adding 'cairosvg/colors.py'
adding 'cairosvg/css.py'
adding 'cairosvg/defs.py'
adding 'cairosvg/features.py'
adding 'cairosvg/helpers.py'
adding 'cairosvg/image.py'
adding 'cairosvg/parser.py'
adding 'cairosvg/path.py'
adding 'cairosvg/shapes.py'
adding 'cairosvg/surface.py'
adding 'cairosvg/svg.py'
adding 'cairosvg/test_api.py'
adding 'cairosvg/text.py'
adding 'cairosvg/url.py'
adding 'cairosvg-2.7.1.dist-info/METADATA'
adding 'cairosvg-2.7.1.dist-info/WHEEL'
adding 'cairosvg-2.7.1.dist-info/entry_points.txt'
adding 'cairosvg-2.7.1.dist-info/top_level.txt'
adding 'cairosvg-2.7.1.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built cairosvg-2.7.1-py3-none-any.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 
============================= test session starts ==============================
platform linux -- Python 3.13.3, pytest-8.3.5, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build
configfile: setup.cfg
plugins: typeguard-4.4.2, cov-5.0.0
collected 7 items

cairosvg/test_api.py .......                                             [100%]

============================== 7 passed in 0.34s ===============================
I: pybuild pybuild:334: rm -rf 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/.pytest_cache
   create-stamp debian/debhelper-build-stamp
   dh_testroot -O--buildsystem=pybuild
   dh_prep -O--buildsystem=pybuild
   dh_auto_install -O--buildsystem=pybuild
I: pybuild plugin_pyproject:178: Copying package built for python3.13 to destdir
   dh_install -O--buildsystem=pybuild
dh_install: warning: Cannot find (any matches for) "usr/bin/cairosvg" (tried in 
., debian/tmp)

dh_install: warning: cairosvg missing files: usr/bin/cairosvg
dh_install: warning: Cannot find (any matches for) 
"usr/lib/python3.*/dist-packages/CairoSVG-*.dist-info" (tried in ., debian/tmp)

dh_install: warning: python3-cairosvg missing files: 
usr/lib/python3.*/dist-packages/CairoSVG-*.dist-info
dh_install: error: missing files, aborting
make: *** [debian/rules:10: binary] Error 255
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/202504/

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

Thanks.

Reply via email to