• Bug#1106437: polyline: FTBFS: ModuleNotFoundError: No module named 'tom

    From Santiago Vila@21:1/5 to All on Sat May 24 18:50:02 2025
    Package: src:polyline
    Version: 2.0.0-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,sphinxdoc --buildsystem=pybuild
    dh_auto_clean -O--buildsystem=pybuild
    D: pybuild pybuild:602: version: 6.20250414
    D: pybuild pybuild:603: ['/usr/bin/pybuild', '--clean', '-i', 'python{version}', '-p', '3.13']
    D: pybuild pybuild:39: cfg: Namespace(verbose=True, quiet=Fa [too-long-redacted] sable=None, custom_tests=False)
    D: pybuild __init__:37: cannot initialize 'cmake' plugin: Missing command 'cmake'
    D: pybuild __init__:37: cannot initialize 'meson' plugin: Missing command 'meson'
    D: pybuild tools:232: invoking: /usr/bin/dpkg-architecture
    D: pybuild debhelper:174: source=polyline, binary packages=['python3-polyline'] D: pybuild pybuild:151: detected build system: pyproject (certainty: 99%)
    D: pybuild debhelper:174: source=polyline, binary packages=['python3-polyline'] D: pybuild plugin_pyproject:94: removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_polyline/build' (and everything under it)
    dh_autoreconf_clean -O--buildsystem=pybuild
    dh_clean -O--buildsystem=pybuild
    debian/rules binary
    dh binary --with python3,sphinxdoc --buildsystem=pybuild
    dh_update_autotools_config -O--buildsystem=pybuild
    dh_autoreconf -O--buildsystem=pybuild
    dh_auto_configure -O--buildsystem=pybuild
    D: pybuild pybuild:602: version: 6.20250414
    D: pybuild pybuild:603: ['/usr/bin/pybuild', '--configure', '-i', 'python{version}', '-p', '3.13']
    D: pybuild pybuild:39: cfg: Namespace(verbose=True, quiet=Fa [too-long-redacted] sable=None, custom_tests=False)
    D: pybuild __init__:37: cannot initialize 'cmake' plugin: Missing command 'cmake'
    D: pybuild __init__:37: cannot initialize 'meson' plugin: Missing command 'meson'
    D: pybuild tools:232: invoking: /usr/bin/dpkg-architecture
    D: pybuild debhelper:174: source=polyline, binary packages=['python3-polyline'] D: pybuild pybuild:151: detected build system: pyproject (certainty: 99%)
    dh_auto_build -O--buildsystem=pybuild
    D: pybuild pybuild:602: version: 6.20250414
    D: pybuild pybuild:603: ['/usr/bin/pybuild', '--build', '-i', 'python{version}', '-p', '3.13']
    D: pybuild pybuild:39: cfg: Namespace(verbose=True, quiet=Fa [too-long-redacted] sable=None, custom_tests=False)
    D: pybuild __init__:37: cannot initialize 'cmake' plugin: Missing command 'cmake'
    D: pybuild __init__:37: cannot initialize 'meson' plugin: Missing command 'meson'
    D: pybuild tools:232: invoking: /usr/bin/dpkg-architecture
    D: pybuild debhelper:174: source=polyline, binary packages=['python3-polyline'] D: pybuild pybuild:151: detected build system: pyproject (certainty: 99%)
    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_polyline
    D: pybuild tools:232: invoking: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_polyline
    * 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)
    running bdist_wheel
    running build
    running build_py
    creating build/lib/polyline
    copying src/polyline/__init__.py -> build/lib/polyline
    copying src/polyline/polyline.py -> build/lib/polyline
    running egg_info
    creating src/polyline.egg-info
    writing src/polyline.egg-info/PKG-INFO /usr/lib/python3/dist-packages/setuptools/_core_metadata.py:163: SetuptoolsDeprecationWarning: Invalid config.
    !!

    ********************************************************************************
    newlines are not allowed in `summary` and will break in the future
    ********************************************************************************

    !!
    write_field('Summary', single_line(summary))
    writing dependency_links to src/polyline.egg-info/dependency_links.txt
    writing requirements to src/polyline.egg-info/requires.txt
    writing top-level names to src/polyline.egg-info/top_level.txt
    writing manifest file 'src/polyline.egg-info/SOURCES.txt'
    reading manifest file 'src/polyline.egg-info/SOURCES.txt'
    adding license file 'LICENSE'
    writing manifest file 'src/polyline.egg-info/SOURCES.txt'
    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/polyline
    copying build/lib/polyline/__init__.py -> build/bdist.linux-x86_64/wheel/./polyline
    copying build/lib/polyline/polyline.py -> build/bdist.linux-x86_64/wheel/./polyline
    running install_egg_info
    Copying src/polyline.egg-info to build/bdist.linux-x86_64/wheel/./polyline-2.0.0.egg-info
    running install_scripts
    creating build/bdist.linux-x86_64/wheel/polyline-2.0.0.dist-info/WHEEL
    creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_polyline/.tmp-3plad0y5/polyline-2.0.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
    adding 'polyline/__init__.py'
    adding 'polyline/polyline.py'
    adding 'polyline-2.0.0.dist-info/licenses/LICENSE'
    adding 'polyline-2.0.0.dist-info/METADATA'
    adding 'polyline-2.0.0.dist-info/WHEEL'
    adding 'polyline-2.0.0.dist-info/top_level.txt'
    adding 'polyline-2.0.0.dist-info/RECORD'
    removing build/bdist.linux-x86_64/wheel
    Successfully built polyline-2.0.0-py3-none-any.whl
    I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module
    debian/rules execute_after_dh_auto_build
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    PYTHONPATH=. python3 -m sphinx -N -bhtml docs/ build/html
    Running Sphinx v8.1.3

    Configuration error:
    There is a programmable error in your configuration file:

    Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/sphinx/config.py", line 529, in eval_config_file
    exec(code, namespace) # NoQA: S102
    ~~~~^^^^^^^^^^^^^^^^^
    File "/<<PKGBUILDDIR>>/docs/conf.py", line 22, in <module>
    import toml
    ModuleNotFoundError: No module named 'toml'

    make[1]: *** [debian/rules:17: execute_after_dh_auto_build] Error 2
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:11: 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/202505/

    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:polyline, 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 Sun May 25 01:30:01 2025
    This is a multi-part message in MIME format...

    Your message dated Sat, 24 May 2025 23:21:22 +0000
    with message-id <E1uIyB8-001Y7Z-0K@fasolo.debian.org>
    and subject line Bug#1106437: fixed in polyline 2.0.0-2
    has caused the Debian Bug report #1106437,
    regarding polyline: FTBFS: ModuleNotFoundError: No module named 'toml'
    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.)


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

    Received: (at submit) by bugs.debian.org; 24 May 2025 16:40:13 +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.3 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, 26; hammy, 150; neutral, 302; 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