Package: src:ytcc
Version: 2.6.1-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202512/

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 cannot 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.

--------------------------------------------------------------------------------
[...]
 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.14 3.13"
I: pybuild base:317: python3.14 setup.py clean 
/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 General Public License v3 or later 
(GPLv3+)

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build' (and everything under 
it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.14' does not exist -- can't clean it
I: pybuild base:317: python3.13 setup.py clean 
/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 General Public License v3 or later 
(GPLv3+)

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
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.14 3.13"
I: pybuild base:317: python3.14 setup.py config 
/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 General Public License v3 or later 
(GPLv3+)

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running config
I: pybuild base:317: python3.13 setup.py config 
/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 General Public License v3 or later 
(GPLv3+)

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running config
   dh_auto_build -O--buildsystem=pybuild
        pybuild --build -i python{version} -p "3.14 3.13"
I: pybuild base:317: /usr/bin/python3.14 setup.py build 
/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 General Public License v3 or later 
(GPLv3+)

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/ytcc
copying ytcc/terminal.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/ytcc
copying ytcc/cli.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/ytcc
copying ytcc/tui.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/ytcc
copying ytcc/database.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/ytcc
copying ytcc/printer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/ytcc
copying ytcc/updater.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/ytcc
copying ytcc/config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/ytcc
copying ytcc/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/ytcc
copying ytcc/migration.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/ytcc
copying ytcc/core.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/ytcc
copying ytcc/exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/ytcc
copying ytcc/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/ytcc
running build_scripts
creating build/scripts-3.14
copying scripts/ytccf.sh -> build/scripts-3.14
I: pybuild base:317: /usr/bin/python3 setup.py build 
/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 General Public License v3 or later 
(GPLv3+)

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
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/tui.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/ytcc
copying ytcc/database.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/ytcc
copying ytcc/printer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/ytcc
copying ytcc/updater.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/ytcc
copying ytcc/config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/ytcc
copying ytcc/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/ytcc
copying ytcc/migration.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/ytcc
copying ytcc/core.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/ytcc
copying ytcc/exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/ytcc
copying ytcc/__init__.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.14 3.13"
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; 
python3.14 -m pytest test
============================= test session starts ==============================
platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build
configfile: pyproject.toml
plugins: typeguard-4.4.4
collected 32 items

test/test_cli.py Fs....ss..s...s.s..                                     [ 59%]
test/test_database.py .............                                      [100%]

=================================== FAILURES ===================================
___________________________ test_bug_report_command ____________________________

cli_runner = <function cli_runner.<locals>.context at 0x7f0c157b50c0>

    def test_bug_report_command(cli_runner):
        from ytcc import __version__
        with cli_runner() as runner:
            result = runner("bug-report")
>           assert result.exit_code == 0
E           assert 1 == 0
E            +  where 1 = <Result AttributeError("module 'sqlite3' has no 
attribute 'version'")>.exit_code

test/test_cli.py:86: AssertionError
=========================== short test summary info ============================
FAILED test/test_cli.py::test_bug_report_command - assert 1 == 0
=================== 1 failed, 25 passed, 6 skipped in 3.92s ====================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest test
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; 
python3.13 -m pytest test
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build
configfile: pyproject.toml
plugins: typeguard-4.4.4
collected 32 items

test/test_cli.py .s....ss..s...s.s..                                     [ 59%]
test/test_database.py .............                                      [100%]

=============================== warnings summary ===============================
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
=================== 26 passed, 6 skipped, 1 warning in 1.81s ===================
        rm -fr -- /tmp/dh-xdg-rundir-08s7kbOW
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
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
--------------------------------------------------------------------------------

Reply via email to