Your message dated Thu, 8 Jan 2026 16:50:11 +0000
with message-id <[email protected]>
and subject line Re: Bug#1123167: pychromecast: FTBFS: dh_auto_test: error: 
pybuild --test -i python{version} -p "3.14 3.13" returned exit code 13
has caused the Debian Bug report #1123167,
regarding pychromecast: FTBFS: dh_auto_test: error: pybuild --test -i 
python{version} -p "3.14 3.13" returned exit code 13
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 [email protected]
immediately.)


-- 
1123167: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1123167
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:pychromecast
Version: 9.4.0-2
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:pychromecast, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
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 :: MIT License

        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 :: MIT License

        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
   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: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 :: MIT License

        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 :: MIT License

        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
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 :: MIT License

        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/pychromecast
copying pychromecast/error.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast
copying pychromecast/models.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast
copying pychromecast/quick_play.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast
copying pychromecast/logging_pb2.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast
copying pychromecast/authority_keys_pb2.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast
copying pychromecast/socket_client.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast
copying pychromecast/config.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast
copying pychromecast/discovery.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast
copying pychromecast/const.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast
copying pychromecast/dial.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast
copying pychromecast/cast_channel_pb2.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast
copying pychromecast/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast/controllers
copying pychromecast/controllers/dashcast.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast/controllers
copying pychromecast/controllers/media.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast/controllers
copying pychromecast/controllers/supla.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast/controllers
copying pychromecast/controllers/plex.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast/controllers
copying pychromecast/controllers/homeassistant.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast/controllers
copying pychromecast/controllers/bbciplayer.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast/controllers
copying pychromecast/controllers/bubbleupnp.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast/controllers
copying pychromecast/controllers/spotify.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast/controllers
copying pychromecast/controllers/homeassistant_media.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast/controllers
copying pychromecast/controllers/yleareena.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast/controllers
copying pychromecast/controllers/youtube.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast/controllers
copying pychromecast/controllers/multizone.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast/controllers
copying pychromecast/controllers/receiver.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast/controllers
copying pychromecast/controllers/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast/controllers
copying pychromecast/controllers/bbcsounds.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast/controllers
running egg_info
creating PyChromecast.egg-info
writing PyChromecast.egg-info/PKG-INFO
writing dependency_links to PyChromecast.egg-info/dependency_links.txt
writing requirements to PyChromecast.egg-info/requires.txt
writing top-level names to PyChromecast.egg-info/top_level.txt
writing manifest file 'PyChromecast.egg-info/SOURCES.txt'
reading manifest file 'PyChromecast.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.py[co]' found under directory 
'*'
adding license file 'LICENSE'
writing manifest file 'PyChromecast.egg-info/SOURCES.txt'
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 :: MIT License

        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/pychromecast
copying pychromecast/error.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pychromecast
copying pychromecast/models.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pychromecast
copying pychromecast/quick_play.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pychromecast
copying pychromecast/logging_pb2.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pychromecast
copying pychromecast/authority_keys_pb2.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pychromecast
copying pychromecast/socket_client.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pychromecast
copying pychromecast/config.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pychromecast
copying pychromecast/discovery.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pychromecast
copying pychromecast/const.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pychromecast
copying pychromecast/dial.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pychromecast
copying pychromecast/cast_channel_pb2.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pychromecast
copying pychromecast/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pychromecast
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pychromecast/controllers
copying pychromecast/controllers/dashcast.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pychromecast/controllers
copying pychromecast/controllers/media.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pychromecast/controllers
copying pychromecast/controllers/supla.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pychromecast/controllers
copying pychromecast/controllers/plex.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pychromecast/controllers
copying pychromecast/controllers/homeassistant.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pychromecast/controllers
copying pychromecast/controllers/bbciplayer.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pychromecast/controllers
copying pychromecast/controllers/bubbleupnp.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pychromecast/controllers
copying pychromecast/controllers/spotify.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pychromecast/controllers
copying pychromecast/controllers/homeassistant_media.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pychromecast/controllers
copying pychromecast/controllers/yleareena.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pychromecast/controllers
copying pychromecast/controllers/youtube.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pychromecast/controllers
copying pychromecast/controllers/multizone.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pychromecast/controllers
copying pychromecast/controllers/receiver.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pychromecast/controllers
copying pychromecast/controllers/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pychromecast/controllers
copying pychromecast/controllers/bbcsounds.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pychromecast/controllers
running egg_info
writing PyChromecast.egg-info/PKG-INFO
writing dependency_links to PyChromecast.egg-info/dependency_links.txt
writing requirements to PyChromecast.egg-info/requires.txt
writing top-level names to PyChromecast.egg-info/top_level.txt
reading manifest file 'PyChromecast.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.py[co]' found under directory 
'*'
adding license file 'LICENSE'
writing manifest file 'PyChromecast.egg-info/SOURCES.txt'
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; 
python3.14 -m unittest discover -v 
pychromecast (unittest.loader._FailedTest.pychromecast) ... ERROR

======================================================================
ERROR: pychromecast (unittest.loader._FailedTest.pychromecast)
----------------------------------------------------------------------
ImportError: Failed to import test module: pychromecast
TypeError: Metaclasses with custom tp_new are not supported.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3.14/unittest/loader.py", line 460, in _find_test_path
    package = self._get_module_from_name(name)
  File "/usr/lib/python3.14/unittest/loader.py", line 367, in 
_get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast/__init__.py", line 
14, in <module>
    from . import socket_client
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast/socket_client.py", 
line 23, in <module>
    from . import cast_channel_pb2
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pychromecast/cast_channel_pb2.py",
 line 7, in <module>
    from google.protobuf import descriptor as _descriptor
  File "/usr/lib/python3/dist-packages/google/protobuf/descriptor.py", line 40, 
in <module>
    from google.protobuf.internal import api_implementation
  File 
"/usr/lib/python3/dist-packages/google/protobuf/internal/api_implementation.py",
 line 104, in <module>
    from google.protobuf.pyext import _message
SystemError: <built-in function __import__> returned a result with an exception 
set


----------------------------------------------------------------------
Ran 1 test in 0.000s

FAILED (errors=1)
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m unittest discover 
-v 
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; 
python3.13 -m unittest discover -v 

----------------------------------------------------------------------
Ran 0 tests in 0.000s

NO TESTS RAN
dh_auto_test: error: pybuild --test -i python{version} -p "3.14 3.13" returned 
exit code 13
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Source: pychromecast
Source-Version: 14.0.9-1

On Tue, Dec 16, 2025 at 07:44:25PM +0000, Santiago Vila wrote:
Package: src:pychromecast
Version: 9.4.0-2
Severity: serious
Tags: ftbfs forky sid
[...]
ERROR: pychromecast (unittest.loader._FailedTest.pychromecast)
----------------------------------------------------------------------
ImportError: Failed to import test module: pychromecast
TypeError: Metaclasses with custom tp_new are not supported.

This seems to have been at least worked around in 14.0.9-1, which has migrated to testing:

pychromecast (14.0.9-1) unstable; urgency=medium

  * New upstream release.
  * Drop patches, no longer required.
  * Fix autopkgtest on Python 3.14 by avoiding the broken C backend of
    python-protobuf and forcing the pure-Python implementation.
  * Include examples.
  * Add my name to copyright and Uploaders.
  * Remove 'Priority: optional', now the default.
  * Remove 'Rules-Requires-Root: no', now the default.
  * Update Standards-Version.
  * Update debian/watch to format version 5.

 -- Edward Betts <[email protected]>  Tue, 30 Dec 2025 18:43:59 +0000

CCing Edward just in case I've got the wrong end of the stick here.

Thanks,

--
Colin Watson (he/him)                              [[email protected]]

--- End Message ---

Reply via email to