• Bug#1103184: cairosvg: FTBFS: dh_install: warning: Cannot find (any mat

    From Santiago Vila@21:1/5 to All on Tue Apr 15 02:30:04 2025
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Thu Apr 17 02:30:01 2025
    Processing control commands:

    tag -1 pending
    Bug #1103184 [src:cairosvg] cairosvg: FTBFS: dh_install: warning: Cannot find (any matches for) "usr/bin/cairosvg"
    Added tag(s) pending.

    --
    1103184: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103184
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Colin Watson@21:1/5 to All on Thu Apr 17 02:30:01 2025
    Control: tag -1 pending

    Hello,

    Bug #1103184 in cairosvg 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/cairosvg/-/commit/9db9127ec433295247c08d71e89da5155ae7f678

    ------------------------------------------------------------------------ d/python3-cairosvg.install: Adjust for changes in latest setuptools

    Closes: #1103184 ------------------------------------------------------------------------

    (this message was generated automatically)
    --
    Greetings

    https://bugs.debian.org/1103184

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Thu Apr 17 03:00:01 2025
    This is a multi-part message in MIME format...

    Your message dated Thu, 17 Apr 2025 00:49:10 +0000
    with message-id <E1u5DRG-00FpEs-UA@fasolo.debian.org>
    and subject line Bug#1103184: fixed in cairosvg 2.7.1-2
    has caused the Debian Bug report #1103184,
    regarding cairosvg: FTBFS: dh_install: warning: Cannot find (any matches for) "usr/bin/cairosvg"
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1103184: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103184
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 15 Apr 2025 00:19:07 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-120.0 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
    RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_NONE,USER_IN_DKIM_WELCOMELIST,
    USER_IN_DKIM_WHITELIST,X_DEBBUGS_CC autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 49; hammy, 150; neutral, 342; spammy,
    0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--trixie,
    0.000-+--pkgbuilddir, 0.000-+--PKGBUILDDIR, 0.000-+--sk:dh_auto Return-path: <sanvila@debian.org>
    Received: from mitropoulos.debian.org ([2001:648:2ffc:deb:216:6