• Bug#1098529: anymarkup: FTBFS: E assert 2 == 0

    From Santiago Vila@21:1/5 to All on Sat Feb 22 00:40:01 2025
    Package: src:anymarkup
    Version: 0.8.1-2
    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
    I: pybuild base:311: python3.12 setup.py clean
    running clean
    removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_anymarkup/build' (and everything under it)
    'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.12' does not exist -- can't clean it
    I: pybuild base:311: python3.13 setup.py clean
    running clean
    removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_anymarkup/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
    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
    I: pybuild base:311: python3.12 setup.py config
    running config
    I: pybuild base:311: python3.13 setup.py config
    running config
    dh_auto_build -O--buildsystem=pybuild
    I: pybuild base:311: /usr/bin/python3.12 setup.py build
    running build
    running build_py
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_anymarkup/build/anymarkup copying anymarkup/cli.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_anymarkup/build/anymarkup
    copying anymarkup/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_anymarkup/build/anymarkup
    I: pybuild base:311: /usr/bin/python3 setup.py build
    running build
    running build_py
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_anymarkup/build/anymarkup copying anymarkup/cli.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_anymarkup/build/anymarkup
    copying anymarkup/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_anymarkup/build/anymarkup
    dh_auto_test -O--buildsystem=pybuild
    I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_anymarkup/build; python3.12 -m pytest test
    ============================= test session starts ==============================
    platform linux -- Python 3.12.9, pytest-8.3.4, pluggy-1.5.0
    rootdir: /<<PKGBUILDDIR>>
    plugins: typeguard-4.4.1
    collected 25 items

    test/test_cli.py F..... [ 24%] test/test_cli_ini.py ..... [ 44%] test/test_cli_json.py ... [ 56%] test/test_cli_json5.py ... [ 68%] test/test_cli_toml.py ... [ 80%] test/test_cli_xml.py .. [ 88%] test/test_cli_yaml.py .. [ 96%] test/test_imports.py . [100%]

    =================================== FAILURES ===================================
    __________________________ TestCli.test_no_arguments ___________________________

    self = <test.test_cli.TestCli object at 0x7f38e55a6c90>
    runner = <click.testing.CliRunner object at 0x7f38e55e04d0>

    def test_no_arguments(self, runner):
    result = runner.invoke(cli)
    assert result.exit_code == 0
    E assert 2 == 0
    E + where 2 = <Result SystemExit(2)>.exit_code

    test/test_cli.py:17: AssertionError
    =========================== short test summary info ============================
    FAILED test/test_cli.py::TestCli::test_no_arguments - assert 2 == 0 ========================= 1 failed, 24 passed in 0.16s =========================
    E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_anymarkup/build; python3.12 -m pytest test
    I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_anymarkup/build; python3.13 -m pytest test
    ============================= test session starts ==============================
    platform linux -- Python 3.13.2, pytest-8.3.4, pluggy-1.5.0
    rootdir: /<<PKGBUILDDIR>>
    plugins: typeguard-4.4.1
    collected 25 items

    test/test_cli.py F..... [ 24%] test/test_cli_ini.py ..... [ 44%] test/test_cli_json.py ... [ 56%] test/test_cli_json5.py ... [ 68%] test/test_cli_toml.py ... [ 80%] test/test_cli_xml.py .. [ 88%] test/test_cli_yaml.py .. [ 96%] test/test_imports.py . [100%]

    =================================== FAILURES ===================================
    __________________________ TestCli.test_no_arguments ___________________________

    self = <test.test_cli.TestCli object at 0x7fcc4908ccd0>
    runner = <click.testing.CliRunner object at 0x7fcc490a9400>

    def test_no_arguments(self, runner):
    result = runner.invoke(cli)
    assert result.exit_code == 0
    E assert 2 == 0
    E + where 2 = <Result SystemExit(2)>.exit_code

    test/test_cli.py:17: AssertionError
    =========================== short test summary info ============================
    FAILED test/test_cli.py::TestCli::test_no_arguments - assert 2 == 0 ========================= 1 failed, 24 passed in 0.15s =========================
    E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_anymarkup/build; python3.13 -m pytest test
    dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.13" returned exit code 13
    make: *** [debian/rules:6: binary] Error 25
    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/202502/

    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:anymarkup, 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 Mar 2 08:40:02 2025
    Processing control commands:

    severity -1 normal
    Bug #1098529 [src:anymarkup] anymarkup: FTBFS: E assert 2 == 0
    Severity set to 'normal' from 'serious'

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Santiago Vila on Sun Mar 2 08:40:02 2025
    Control: severity -1 normal

    Hello Santiago,

    On Fri, 2025-02-21 at 23:26 +0000, Santiago Vila wrote:
    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
    I: pybuild base:311: python3.12 setup.py clean
    running clean
    removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_anymarkup/build' (and everything under it)
    'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.12' does not exist -- can't clean it
    I: pybuild base:311: python3.13 setup.py clean
    running clean
    removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_anymarkup/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
    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
    I: pybuild base:311: python3.12 setup.py config
    running config
    I: pybuild base:311: python3.13 setup.py config
    running config
    dh_auto_build -O--buildsystem=pybuild
    I: pybuild base:311: /usr/bin/python3.12 setup.py build
    running build
    running build_py
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_anymarkup/build/anymarkup copying anymarkup/cli.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_anymarkup/build/anymarkup
    copying anymarkup/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_anymarkup/build/anymarkup
    I: pybuild base:311: /usr/bin/python3 setup.py build
    running build
    running build_py
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_anymarkup/build/anymarkup copying anymarkup/cli.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_anymarkup/build/anymarkup
    copying anymarkup/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_anymarkup/build/anymarkup
    dh_auto_test -O--buildsystem=pybuild
    I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_anymarkup/build; python3.12 -m pytest test
    ============================= test session starts ==============================
    platform linux -- Python 3.12.9, pytest-8.3.4, pluggy-1.5.0
    rootdir: /<<PKGBUILDDIR>>
    plugins: typeguard-4.4.1
    collected 25 items

    test/test_cli.py F..... [ 24%]
    test/test_cli_ini.py ..... [ 44%]
    test/test_cli_json.py ... [ 56%]
    test/test_cli_json5.py ... [ 68%]
    test/test_cli_toml.py ... [ 80%]
    test/test_cli_xml.py .. [ 88%]
    test/test_cli_yaml.py .. [ 96%]
    test/test_imports.py . [100%]

    =================================== FAILURES ===================================
    __________________________ TestCli.test_no_arguments ___________________________

    self = <test.test_cli.TestCli object at 0x7f38e55a6c90>
    runner = <click.testing.CliRunner object at 0x7f38e55e04d0>

    def test_no_arguments(self, runner):
    result = runner.invoke(cli)
    assert result.exit_code == 0
    E assert 2 == 0
    E + where 2 = <Result SystemExit(2)>.exit_code

    test/test_cli.py:17: AssertionError
    =========================== short test summary info ============================
    FAILED test/test_cli.py::TestCli::test_no_arguments - assert 2 == 0 ========================= 1 failed, 24 passed in 0.16s =========================
    E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_anymarkup/build; python3.12 -m pytest test
    I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_anymarkup/build; python3.13 -m pytest test
    ============================= test session starts ==============================
    platform linux -- Python 3.13.2, pytest-8.3.4, pluggy-1.5.0
    rootdir: /<<PKGBUILDDIR>>
    plugins: typeguard-4.4.1
    collected 25 items

    test/test_cli.py F..... [ 24%]
    test/test_cli_ini.py ..... [ 44%]
    test/test_cli_json.py ... [ 56%]
    test/test_cli_json5.py ... [ 68%]
    test/test_cli_toml.py ... [ 80%]
    test/test_cli_xml.py .. [ 88%]
    test/test_cli_yaml.py .. [ 96%]
    test/test_imports.py . [100%]

    =================================== FAILURES ===================================
    __________________________ TestCli.test_no_arguments ___________________________

    self = <test.test_cli.TestCli object at 0x7fcc4908ccd0>
    runner = <click.testing.CliRunner object at 0x7fcc490a9400>

    def test_no_arguments(self, runner):
    result = runner.invoke(cli)
    assert result.exit_code == 0
    E assert 2 == 0
    E + where 2 = <Result SystemExit(2)>.exit_code

    test/test_cli.py:17: AssertionError
    =========================== short test summary info ============================
    FAILED test/test_cli.py::TestCli::test_no_arguments - assert 2 == 0 ========================= 1 failed, 24 passed in 0.15s =========================
    E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_anymarkup/build; python3.13 -m pytest test
    dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.13" returned exit code 13
    make: *** [debian/rules:6: binary] Error 25
    dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
    --------------------------------------------------------------------------------

    I cannot reproduce the bug in a freshly created unstable chroot, so I'm lowering the
    severity for the time being. Please let me know how to reproduce the issue.

    FWIW, python-anymarkup also builds fine in openSUSE Tumbleweed with Python 3.13 where
    it is regularly rebuild to check for build regressions [1].

    Adrian

    [1] https://build.opensuse.org/package/show/devel:languages:python/python-anymarkup

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer
    `. `' Physicist
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)