Package: src:scriv
Version: 1.5.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 --buildsystem=pybuild
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
I: pybuild base:311: python3.12 setup.py clean 
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scriv/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_scriv/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
rm -rf src/scriv.egg-info/ man/
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --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_scriv/build/scriv
copying src/scriv/format.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scriv/build/scriv
copying src/scriv/cli.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scriv/build/scriv
copying src/scriv/optional.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scriv/build/scriv
copying src/scriv/exceptions.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scriv/build/scriv
copying src/scriv/shell.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scriv/build/scriv
copying src/scriv/changelog.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scriv/build/scriv
copying src/scriv/create.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scriv/build/scriv
copying src/scriv/github.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scriv/build/scriv
copying src/scriv/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scriv/build/scriv
copying src/scriv/__main__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scriv/build/scriv
copying src/scriv/format_rst.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scriv/build/scriv
copying src/scriv/format_md.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scriv/build/scriv
copying src/scriv/collect.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scriv/build/scriv
copying src/scriv/config.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scriv/build/scriv
copying src/scriv/literals.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scriv/build/scriv
copying src/scriv/scriv.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scriv/build/scriv
copying src/scriv/util.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scriv/build/scriv
copying src/scriv/gitinfo.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scriv/build/scriv
copying src/scriv/ghrel.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scriv/build/scriv
copying src/scriv/linkcheck.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scriv/build/scriv
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scriv/build/scriv/templates
copying src/scriv/templates/new_fragment.md.j2 -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scriv/build/scriv/templates
copying src/scriv/templates/new_fragment.rst.j2 -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scriv/build/scriv/templates
I: pybuild pybuild:334: PYTHONPATH=src python3 setup.py 
--command-packages=click_man.commands man_pages
running man_pages
I: pybuild base:311: /usr/bin/python3 setup.py build 
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scriv/build/scriv
copying src/scriv/format.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scriv/build/scriv
copying src/scriv/cli.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scriv/build/scriv
copying src/scriv/optional.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scriv/build/scriv
copying src/scriv/exceptions.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scriv/build/scriv
copying src/scriv/shell.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scriv/build/scriv
copying src/scriv/changelog.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scriv/build/scriv
copying src/scriv/create.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scriv/build/scriv
copying src/scriv/github.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scriv/build/scriv
copying src/scriv/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scriv/build/scriv
copying src/scriv/__main__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scriv/build/scriv
copying src/scriv/format_rst.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scriv/build/scriv
copying src/scriv/format_md.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scriv/build/scriv
copying src/scriv/collect.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scriv/build/scriv
copying src/scriv/config.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scriv/build/scriv
copying src/scriv/literals.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scriv/build/scriv
copying src/scriv/scriv.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scriv/build/scriv
copying src/scriv/util.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scriv/build/scriv
copying src/scriv/gitinfo.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scriv/build/scriv
copying src/scriv/ghrel.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scriv/build/scriv
copying src/scriv/linkcheck.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scriv/build/scriv
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scriv/build/scriv/templates
copying src/scriv/templates/new_fragment.md.j2 -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scriv/build/scriv/templates
copying src/scriv/templates/new_fragment.rst.j2 -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scriv/build/scriv/templates
I: pybuild pybuild:334: PYTHONPATH=src python3 setup.py 
--command-packages=click_man.commands man_pages
running man_pages
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scriv/build; 
python3.12 -m pytest tests -k "not test_real_get_github_repo"
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
configfile: setup.cfg
plugins: mock-3.14.0, typeguard-4.4.1
collected 226 items / 1 deselected / 225 selected

tests/test_changelog.py .......                                          [  3%]
tests/test_collect.py ..........................                         [ 14%]
tests/test_config.py ....................................                [ 30%]
tests/test_create.py ..................                                  [ 38%]
tests/test_faker.py ..                                                   [ 39%]
tests/test_format_md.py .............                                    [ 45%]
tests/test_format_rst.py ......................                          [ 55%]
tests/test_ghrel.py ............                                         [ 60%]
tests/test_github.py ........                                            [ 64%]
tests/test_gitinfo.py ............                                       [ 69%]
tests/test_linkcheck.py ......                                           [ 72%]
tests/test_literals.py .................................                 [ 86%]
tests/test_process.py F                                                  [ 87%]
tests/test_util.py .............................                         [100%]

=================================== FAILURES ===================================
__________________________________ test_dashm __________________________________

    def test_dashm():
        ok, output = run_command([sys.executable, "-m", "scriv"])
        print(output)
>       assert ok
E       assert False

tests/test_process.py:12: AssertionError
----------------------------- Captured stdout call -----------------------------
Usage: scriv [OPTIONS] COMMAND [ARGS]...

  Manage changelogs.

  Version 1.5.1

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  collect         Collect and combine fragments into the changelog.
  create          Create a new changelog fragment.
  github-release  Create GitHub releases from the changelog.

=============================== warnings summary ===============================
.pybuild/cpython3_3.12_scriv/build/tests/test_literals.py::test_find_python_literal[version-1.2.3]
.pybuild/cpython3_3.12_scriv/build/tests/test_literals.py::test_find_python_literal[version-1.2.3]
.pybuild/cpython3_3.12_scriv/build/tests/test_literals.py::test_find_python_literal[a_thing_2-None]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scriv/build/scriv/literals.py:106: 
DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; 
use ast.Constant instead
    elif isinstance(value, ast.Str):

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_process.py::test_dashm - assert False
=========== 1 failed, 224 passed, 1 deselected, 3 warnings in 1.17s ============
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scriv/build; python3.12 -m pytest tests 
-k "not test_real_get_github_repo"
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scriv/build; 
python3.13 -m pytest tests -k "not test_real_get_github_repo"
============================= test session starts ==============================
platform linux -- Python 3.13.2, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
configfile: setup.cfg
plugins: mock-3.14.0, typeguard-4.4.1
collected 226 items / 1 deselected / 225 selected

tests/test_changelog.py .......                                          [  3%]
tests/test_collect.py ..........................                         [ 14%]
tests/test_config.py ....................................                [ 30%]
tests/test_create.py ..................                                  [ 38%]
tests/test_faker.py ..                                                   [ 39%]
tests/test_format_md.py .............                                    [ 45%]
tests/test_format_rst.py ......................                          [ 55%]
tests/test_ghrel.py ............                                         [ 60%]
tests/test_github.py ........                                            [ 64%]
tests/test_gitinfo.py ............                                       [ 69%]
tests/test_linkcheck.py ......                                           [ 72%]
tests/test_literals.py .................................                 [ 86%]
tests/test_process.py F                                                  [ 87%]
tests/test_util.py .............................                         [100%]

=================================== FAILURES ===================================
__________________________________ test_dashm __________________________________

    def test_dashm():
        ok, output = run_command([sys.executable, "-m", "scriv"])
        print(output)
>       assert ok
E       assert False

tests/test_process.py:12: AssertionError
----------------------------- Captured stdout call -----------------------------
Usage: scriv [OPTIONS] COMMAND [ARGS]...

  Manage changelogs.

  Version 1.5.1

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  collect         Collect and combine fragments into the changelog.
  create          Create a new changelog fragment.
  github-release  Create GitHub releases from the changelog.

=============================== warnings summary ===============================
.pybuild/cpython3_3.13_scriv/build/tests/test_literals.py::test_find_python_literal[version-1.2.3]
.pybuild/cpython3_3.13_scriv/build/tests/test_literals.py::test_find_python_literal[version-1.2.3]
.pybuild/cpython3_3.13_scriv/build/tests/test_literals.py::test_find_python_literal[a_thing_2-None]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scriv/build/scriv/literals.py:106: 
DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; 
use ast.Constant instead
    elif isinstance(value, ast.Str):

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_process.py::test_dashm - assert False
=========== 1 failed, 224 passed, 1 deselected, 3 warnings in 1.15s ============
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scriv/build; python3.13 -m pytest tests 
-k "not test_real_get_github_repo"
dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.13" returned 
exit code 13
make: *** [debian/rules:9: 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:scriv, so that this is still
visible in the BTS web page for this package.

Thanks.

Reply via email to