Package: src:ytcc
Version: 2.6.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
debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
sed -i '/@pytest.mark.skip/d' /<<PKGBUILDDIR>>/test/test_cli.py
dh_auto_clean
pybuild --clean -i python{version} -p "3.12 3.13"
I: pybuild base:311: python3.12 setup.py clean
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/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/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 .pybuild/
find . -name \*.pyc -exec rm {} \;
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_autoreconf_clean -O--buildsystem=pybuild
dh_clean -O--buildsystem=pybuild
rm -f debian/debhelper-build-stamp
rm -rf debian/.debhelper/
rm -f -- debian/ytcc.substvars debian/files
rm -fr -- debian/ytcc/ debian/tmp/
find . ! \( -regex .\*__pycache__.\* \) -a \( \( \
\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path
.\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o
-type f -a \
\( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
-o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
-o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
-o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
\) -exec rm -f {} + \) -o \
\( -type d -a \( -name autom4te.cache -o -name __pycache__ \)
-prune -exec rm -rf {} + \) \)
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
pybuild --configure -i python{version} -p "3.12 3.13"
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
pybuild --build -i python{version} -p "3.12 3.13"
I: pybuild base:311: /usr/bin/python3.12 setup.py build
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/ytcc
copying ytcc/terminal.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/ytcc
copying ytcc/cli.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/ytcc
copying ytcc/exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/ytcc
copying ytcc/core.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/ytcc
copying ytcc/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/ytcc
copying ytcc/printer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/ytcc
copying ytcc/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/ytcc
copying ytcc/migration.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/ytcc
copying ytcc/config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/ytcc
copying ytcc/database.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/ytcc
copying ytcc/tui.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/ytcc
copying ytcc/updater.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/ytcc
running build_scripts
creating build/scripts-3.12
copying scripts/ytccf.sh -> build/scripts-3.12
I: pybuild base:311: /usr/bin/python3 setup.py build
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/ytcc
copying ytcc/terminal.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/ytcc
copying ytcc/cli.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/ytcc
copying ytcc/exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/ytcc
copying ytcc/core.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/ytcc
copying ytcc/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/ytcc
copying ytcc/printer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/ytcc
copying ytcc/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/ytcc
copying ytcc/migration.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/ytcc
copying ytcc/config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/ytcc
copying ytcc/database.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/ytcc
copying ytcc/tui.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/ytcc
copying ytcc/updater.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/ytcc
running build_scripts
creating build/scripts-3.13
copying scripts/ytccf.sh -> build/scripts-3.13
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# exclude internet tests
# pytest --deselect does pattern matching so *all* test_subscribe* are
deselected...
sed -i -e '/test_subscribe(/i @pytest.mark.skip()' \
-e '/test_import(/i @pytest.mark.skip()' \
-e '/test_import_duplicate(/i @pytest.mark.skip()' \
-e '/test_update(/i @pytest.mark.skip()' \
-e '/test_download(/i @pytest.mark.skip()' \
-e '/test_play_video(/i @pytest.mark.skip()' \
/<<PKGBUILDDIR>>/test/test_cli.py
dh_auto_test
pybuild --test --test-pytest -i python{version} -p "3.12 3.13"
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/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>>/.pybuild/cpython3_3.12/build
configfile: pyproject.toml
plugins: typeguard-4.4.1
collected 32 items
test/test_cli.py .s....ss..sF..s.s.. [ 59%]
test/test_database.py ............. [100%]
=================================== FAILURES ===================================
____________________________ test_comma_list_error _____________________________
cli_runner = <function cli_runner.<locals>.context at 0x7fbc04fc0fe0>
def test_comma_list_error(cli_runner):
with cli_runner() as runner:
result = runner("list", "--ids", "a,b")
assert result.exit_code != 0
> assert "Unexpected value" in result.stdout
E AssertionError: assert 'Unexpected value' in ''
E + where '' = <Result SystemExit(2)>.stdout
test/test_cli.py:204: AssertionError
=============================== warnings summary ===============================
test/test_cli.py::test_bug_report_command
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/ytcc/cli.py:715:
DeprecationWarning: The '__version__' attribute is deprecated and will be
removed in Click 9.1. Use feature detection or
'importlib.metadata.version("click")' instead.
print(click.__version__)
test/test_cli.py::test_bug_report_command
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/ytcc/cli.py:719:
DeprecationWarning: version is deprecated and will be removed in Python 3.14
print("Python module version:", sqlite3.version)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED test/test_cli.py::test_comma_list_error - AssertionError: assert 'Unex...
============= 1 failed, 25 passed, 6 skipped, 2 warnings in 1.93s ==============
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m pytest test
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/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>>/.pybuild/cpython3_3.13/build
configfile: pyproject.toml
plugins: typeguard-4.4.1
collected 32 items
test/test_cli.py .s....ss..sF..s.s.. [ 59%]
test/test_database.py ............. [100%]
=================================== FAILURES ===================================
____________________________ test_comma_list_error _____________________________
cli_runner = <function cli_runner.<locals>.context at 0x7fd2e34584a0>
def test_comma_list_error(cli_runner):
with cli_runner() as runner:
result = runner("list", "--ids", "a,b")
assert result.exit_code != 0
> assert "Unexpected value" in result.stdout
E AssertionError: assert 'Unexpected value' in ''
E + where '' = <Result SystemExit(2)>.stdout
test/test_cli.py:204: AssertionError
=============================== warnings summary ===============================
test/test_cli.py::test_bug_report_command
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/ytcc/cli.py:715:
DeprecationWarning: The '__version__' attribute is deprecated and will be
removed in Click 9.1. Use feature detection or
'importlib.metadata.version("click")' instead.
print(click.__version__)
test/test_cli.py::test_bug_report_command
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/ytcc/cli.py:719:
DeprecationWarning: version is deprecated and will be removed in Python 3.14
print("Python module version:", sqlite3.version)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED test/test_cli.py::test_comma_list_error - AssertionError: assert 'Unex...
============= 1 failed, 25 passed, 6 skipped, 2 warnings in 1.83s ==============
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest test
rm -fr -- /tmp/dh-xdg-rundir-Rv0tboHF
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12
3.13" returned exit code 13
make[1]: *** [debian/rules:15: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: 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/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:ytcc, so that this is still
visible in the BTS web page for this package.
Thanks.