Package: src:sublime-music
Version: 0.12.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:sublime-music, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with sphinxdoc --buildsystem=pybuild --test-pytest
   dh_auto_clean -O--buildsystem=pybuild -O--test-pytest
   dh_autoreconf_clean -O--buildsystem=pybuild -O--test-pytest
   dh_clean -O--buildsystem=pybuild -O--test-pytest
 debian/rules binary
dh binary --with sphinxdoc --buildsystem=pybuild --test-pytest
   dh_update_autotools_config -O--buildsystem=pybuild -O--test-pytest
   dh_autoreconf -O--buildsystem=pybuild -O--test-pytest
   dh_auto_configure -O--buildsystem=pybuild -O--test-pytest
   dh_auto_build -O--buildsystem=pybuild -O--test-pytest
I: pybuild plugin_pyproject:131: Building wheel for python3.14 with "build" 
module
I: pybuild base:317: python3.14 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sublime-music  
* Building wheel...
Successfully built sublime_music-0.12.0-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.14 with 
"installer" module
I: pybuild plugin_pyproject:131: Building wheel for python3.13 with "build" 
module
I: pybuild base:317: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sublime-music  
* Building wheel...
Successfully built sublime_music-0.12.0-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.13 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild -O--test-pytest
I: pybuild base:317: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sublime-music/build; python3.14 -m 
pytest tests
============================= test session starts ==============================
platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0 -- 
/usr/bin/python3.14
cachedir: .pytest_cache
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sublime-music/build
configfile: setup.cfg
plugins: typeguard-4.4.4
collecting ... collected 59 items / 4 errors

==================================== ERRORS ====================================
___________ ERROR collecting tests/player_tests/chromecast_tests.py ____________
TypeError: Metaclasses with custom tp_new are not supported.

The above exception was the direct cause of the following exception:
tests/player_tests/chromecast_tests.py:1: in <module>
    from sublime_music.players.chromecast import ChromecastPlayer
sublime_music/players/__init__.py:1: in <module>
    from .manager import PlayerDeviceEvent, PlayerEvent, PlayerManager
sublime_music/players/manager.py:7: in <module>
    from .chromecast import ChromecastPlayer  # noqa: F401
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sublime_music/players/chromecast.py:14: in <module>
    import pychromecast
/usr/lib/python3/dist-packages/pychromecast/__init__.py:14: in <module>
    from . import socket_client
/usr/lib/python3/dist-packages/pychromecast/socket_client.py:23: in <module>
    from . import cast_channel_pb2
/usr/lib/python3/dist-packages/pychromecast/cast_channel_pb2.py:7: in <module>
    from google.protobuf import descriptor as _descriptor
/usr/lib/python3/dist-packages/google/protobuf/descriptor.py:40: in <module>
    from google.protobuf.internal import api_implementation
/usr/lib/python3/dist-packages/google/protobuf/internal/api_implementation.py:104:
 in <module>
    from google.protobuf.pyext import _message
E   SystemError: <built-in function __import__> returned a result with an 
exception set
___________ ERROR collecting tests/player_tests/chromecast_tests.py ____________
TypeError: Metaclasses with custom tp_new are not supported.

The above exception was the direct cause of the following exception:
tests/player_tests/chromecast_tests.py:1: in <module>
    from sublime_music.players.chromecast import ChromecastPlayer
sublime_music/players/__init__.py:1: in <module>
    from .manager import PlayerDeviceEvent, PlayerEvent, PlayerManager
sublime_music/players/manager.py:7: in <module>
    from .chromecast import ChromecastPlayer  # noqa: F401
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sublime_music/players/chromecast.py:14: in <module>
    import pychromecast
/usr/lib/python3/dist-packages/pychromecast/__init__.py:14: in <module>
    from . import socket_client
/usr/lib/python3/dist-packages/pychromecast/socket_client.py:23: in <module>
    from . import cast_channel_pb2
/usr/lib/python3/dist-packages/pychromecast/cast_channel_pb2.py:7: in <module>
    from google.protobuf import descriptor as _descriptor
/usr/lib/python3/dist-packages/google/protobuf/descriptor.py:40: in <module>
    from google.protobuf.internal import api_implementation
/usr/lib/python3/dist-packages/google/protobuf/internal/api_implementation.py:104:
 in <module>
    from google.protobuf.pyext import _message
E   SystemError: <built-in function __import__> returned a result with an 
exception set
_______________ ERROR collecting tests/player_tests/mpv_tests.py _______________
TypeError: Metaclasses with custom tp_new are not supported.

The above exception was the direct cause of the following exception:
tests/player_tests/mpv_tests.py:5: in <module>
    from sublime_music.players.mpv import MPVPlayer
sublime_music/players/__init__.py:1: in <module>
    from .manager import PlayerDeviceEvent, PlayerEvent, PlayerManager
sublime_music/players/manager.py:7: in <module>
    from .chromecast import ChromecastPlayer  # noqa: F401
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sublime_music/players/chromecast.py:14: in <module>
    import pychromecast
/usr/lib/python3/dist-packages/pychromecast/__init__.py:14: in <module>
    from . import socket_client
/usr/lib/python3/dist-packages/pychromecast/socket_client.py:23: in <module>
    from . import cast_channel_pb2
/usr/lib/python3/dist-packages/pychromecast/cast_channel_pb2.py:7: in <module>
    from google.protobuf import descriptor as _descriptor
/usr/lib/python3/dist-packages/google/protobuf/descriptor.py:40: in <module>
    from google.protobuf.internal import api_implementation
/usr/lib/python3/dist-packages/google/protobuf/internal/api_implementation.py:104:
 in <module>
    from google.protobuf.pyext import _message
E   SystemError: <built-in function __import__> returned a result with an 
exception set
_______________ ERROR collecting tests/player_tests/mpv_tests.py _______________
TypeError: Metaclasses with custom tp_new are not supported.

The above exception was the direct cause of the following exception:
tests/player_tests/mpv_tests.py:5: in <module>
    from sublime_music.players.mpv import MPVPlayer
sublime_music/players/__init__.py:1: in <module>
    from .manager import PlayerDeviceEvent, PlayerEvent, PlayerManager
sublime_music/players/manager.py:7: in <module>
    from .chromecast import ChromecastPlayer  # noqa: F401
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sublime_music/players/chromecast.py:14: in <module>
    import pychromecast
/usr/lib/python3/dist-packages/pychromecast/__init__.py:14: in <module>
    from . import socket_client
/usr/lib/python3/dist-packages/pychromecast/socket_client.py:23: in <module>
    from . import cast_channel_pb2
/usr/lib/python3/dist-packages/pychromecast/cast_channel_pb2.py:7: in <module>
    from google.protobuf import descriptor as _descriptor
/usr/lib/python3/dist-packages/google/protobuf/descriptor.py:40: in <module>
    from google.protobuf.internal import api_implementation
/usr/lib/python3/dist-packages/google/protobuf/internal/api_implementation.py:104:
 in <module>
    from google.protobuf.pyext import _message
E   SystemError: <built-in function __import__> returned a result with an 
exception set
=========================== short test summary info ============================
ERROR tests/player_tests/chromecast_tests.py - SystemError: <built-in function 
__import__> returned a result with an exception set
ERROR tests/player_tests/chromecast_tests.py - SystemError: <built-in function 
__import__> returned a result with an exception set
ERROR tests/player_tests/mpv_tests.py - SystemError: <built-in function 
__import__> returned a result with an exception set
ERROR tests/player_tests/mpv_tests.py - SystemError: <built-in function 
__import__> returned a result with an exception set
!!!!!!!!!!!!!!!!!!! Interrupted: 4 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 4 errors in 0.53s ===============================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sublime-music/build; python3.14 -m 
pytest tests
I: pybuild base:317: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sublime-music/build; python3.13 -m 
pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 -- 
/usr/bin/python3.13
cachedir: .pytest_cache
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sublime-music/build
configfile: setup.cfg
plugins: typeguard-4.4.4
collecting ... collected 62 items

tests/adapter_tests/adapter_manager_tests.py::test_result_immediate PASSED [  
1%]
tests/adapter_tests/adapter_manager_tests.py::test_result_immediate_callback 
PASSED [  3%]
tests/adapter_tests/adapter_manager_tests.py::test_result_future PASSED  [  4%]
tests/adapter_tests/adapter_manager_tests.py::test_result_future_callback 
PASSED [  6%]
tests/adapter_tests/adapter_manager_tests.py::test_default_value PASSED  [  8%]
tests/adapter_tests/adapter_manager_tests.py::test_cancel PASSED         [  9%]
tests/adapter_tests/adapter_manager_tests.py::test_get_song_details PASSED [ 
11%]
tests/adapter_tests/adapter_manager_tests.py::test_search_result_sort PASSED [ 
12%]
tests/adapter_tests/adapter_manager_tests.py::test_search_result_update PASSED 
[ 14%]
tests/adapter_tests/adapter_manager_tests.py::test_search PASSED         [ 16%]
tests/adapter_tests/filesystem_adapter_tests.py::test_caching_get_playlists 
PASSED [ 17%]
tests/adapter_tests/filesystem_adapter_tests.py::test_no_caching_get_playlists 
PASSED [ 19%]
tests/adapter_tests/filesystem_adapter_tests.py::test_caching_get_playlist_details
 PASSED [ 20%]
tests/adapter_tests/filesystem_adapter_tests.py::test_no_caching_get_playlist_details
 PASSED [ 22%]
tests/adapter_tests/filesystem_adapter_tests.py::test_caching_get_playlist_then_details
 PASSED [ 24%]
tests/adapter_tests/filesystem_adapter_tests.py::test_cache_cover_art PASSED [ 
25%]
tests/adapter_tests/filesystem_adapter_tests.py::test_invalidate_playlist 
PASSED [ 27%]
tests/adapter_tests/filesystem_adapter_tests.py::test_invalidate_song_file 
PASSED [ 29%]
tests/adapter_tests/filesystem_adapter_tests.py::test_malformed_song_path 
PASSED [ 30%]
tests/adapter_tests/filesystem_adapter_tests.py::test_get_cached_statuses 
PASSED [ 32%]
tests/adapter_tests/filesystem_adapter_tests.py::test_delete_playlists PASSED [ 
33%]
tests/adapter_tests/filesystem_adapter_tests.py::test_delete_song_data PASSED [ 
35%]
tests/adapter_tests/filesystem_adapter_tests.py::test_caching_get_genres PASSED 
[ 37%]
tests/adapter_tests/filesystem_adapter_tests.py::test_caching_get_song_details 
PASSED [ 38%]
tests/adapter_tests/filesystem_adapter_tests.py::test_caching_get_song_details_missing_data
 PASSED [ 40%]
tests/adapter_tests/filesystem_adapter_tests.py::test_caching_less_info PASSED 
[ 41%]
tests/adapter_tests/filesystem_adapter_tests.py::test_caching_get_artists 
PASSED [ 43%]
tests/adapter_tests/filesystem_adapter_tests.py::test_caching_get_ignored_articles
 PASSED [ 45%]
tests/adapter_tests/filesystem_adapter_tests.py::test_caching_get_artist PASSED 
[ 46%]
tests/adapter_tests/filesystem_adapter_tests.py::test_caching_get_album PASSED 
[ 48%]
tests/adapter_tests/filesystem_adapter_tests.py::test_caching_invalidate_artist 
PASSED [ 50%]
tests/adapter_tests/filesystem_adapter_tests.py::test_get_music_directory XFAIL 
[ 51%]
tests/adapter_tests/filesystem_adapter_tests.py::test_search PASSED      [ 53%]
tests/adapter_tests/subsonic_adapter_tests.py::test_plain_auth_logic PASSED [ 
54%]
tests/adapter_tests/subsonic_adapter_tests.py::test_salt_auth_logic PASSED [ 
56%]
tests/adapter_tests/subsonic_adapter_tests.py::test_migrate_configuration_populate_salt_auth
 PASSED [ 58%]
tests/adapter_tests/subsonic_adapter_tests.py::test_migrate_configuration_salt_auth_present
 PASSED [ 59%]
tests/adapter_tests/subsonic_adapter_tests.py::test_make_url PASSED      [ 61%]
tests/adapter_tests/subsonic_adapter_tests.py::test_ping_status PASSED   [ 62%]
tests/adapter_tests/subsonic_adapter_tests.py::test_get_playlists PASSED [ 64%]
tests/adapter_tests/subsonic_adapter_tests.py::test_get_playlist_details PASSED 
[ 66%]
tests/adapter_tests/subsonic_adapter_tests.py::test_create_playlist PASSED [ 
67%]
tests/adapter_tests/subsonic_adapter_tests.py::test_update_playlist PASSED [ 
69%]
tests/adapter_tests/subsonic_adapter_tests.py::test_get_song_details PASSED [ 
70%]
tests/adapter_tests/subsonic_adapter_tests.py::test_get_song_details_missing_data
 PASSED [ 72%]
tests/adapter_tests/subsonic_adapter_tests.py::test_get_genres PASSED    [ 74%]
tests/adapter_tests/subsonic_adapter_tests.py::test_get_artists PASSED   [ 75%]
tests/adapter_tests/subsonic_adapter_tests.py::test_get_ignored_articles PASSED 
[ 77%]
tests/adapter_tests/subsonic_adapter_tests.py::test_get_ignored_articles_from_cached_get_artists
 PASSED [ 79%]
tests/adapter_tests/subsonic_adapter_tests.py::test_get_artist PASSED    [ 80%]
tests/adapter_tests/subsonic_adapter_tests.py::test_get_artist_with_good_image_url
 PASSED [ 82%]
tests/adapter_tests/subsonic_adapter_tests.py::test_get_play_queue PASSED [ 83%]
tests/adapter_tests/subsonic_adapter_tests.py::test_get_album PASSED     [ 85%]
tests/adapter_tests/subsonic_adapter_tests.py::test_get_music_directory PASSED 
[ 87%]
tests/adapter_tests/subsonic_adapter_tests.py::test_search PASSED        [ 88%]
tests/config_test.py::test_config_default_cache_location PASSED          [ 90%]
tests/config_test.py::test_server_property PASSED                        [ 91%]
tests/config_test.py::test_json_load_unload PASSED                       [ 93%]
tests/config_test.py::test_config_migrate_v5_to_v6 PASSED                [ 95%]
tests/player_tests/chromecast_tests.py::test_init PASSED                 [ 96%]
tests/player_tests/mpv_tests.py::test_init PASSED                        [ 98%]
tests/player_tests/mpv_tests.py::test_play PASSED                        [100%]

=============================== warnings summary ===============================
<frozen importlib._bootstrap>:488
  <frozen importlib._bootstrap>:488: DeprecationWarning: Type 
google.protobuf.pyext._message.ScalarMapContainer uses PyType_Spec with a 
metaclass that has custom tp_new. This is deprecated and will no longer be 
allowed in Python 3.14.

<frozen importlib._bootstrap>:488
  <frozen importlib._bootstrap>:488: DeprecationWarning: Type 
google.protobuf.pyext._message.MessageMapContainer uses PyType_Spec with a 
metaclass that has custom tp_new. This is deprecated and will no longer be 
allowed in Python 3.14.

../../../../../../usr/lib/python3/dist-packages/google/protobuf/internal/well_known_types.py:91
  
/usr/lib/python3/dist-packages/google/protobuf/internal/well_known_types.py:91: 
DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and 
scheduled for removal in a future version. Use timezone-aware objects to 
represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, 
datetime.UTC).
    _EPOCH_DATETIME_NAIVE = datetime.datetime.utcfromtimestamp(0)

tests/adapter_tests/adapter_manager_tests.py::test_cancel
  /usr/lib/python3/dist-packages/_pytest/raises.py:622: PytestWarning: matching 
against an empty string will *always* pass. If you want to check for an empty 
message you need to pass '^$'. If you don't want to match you should pass 
`None` or leave out the parameter.
    super().__init__(match=match, check=check)

tests/player_tests/chromecast_tests.py::test_init
  /usr/lib/python3.13/multiprocessing/popen_fork.py:67: DeprecationWarning: 
This process (pid=96) is multi-threaded, use of fork() may lead to deadlocks in 
the child.
    self.pid = os.fork()

tests/player_tests/chromecast_tests.py::test_init
  /usr/lib/python3/dist-packages/pychromecast/dial.py:101: DeprecationWarning: 
ssl.SSLContext() without protocol argument is deprecated.
    context = ssl.SSLContext()

tests/player_tests/chromecast_tests.py::test_init
  /usr/lib/python3/dist-packages/pychromecast/dial.py:101: DeprecationWarning: 
ssl.PROTOCOL_TLS is deprecated
    context = ssl.SSLContext()

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================== 61 passed, 1 xfailed, 7 warnings in 2.02s ===================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" returned exit code 13
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to