#1143338 mopidy: FTBFS: E AssertionError: assert PosixPath('/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/tests/data/scanner/plain.txt') in {}

Package:
src:mopidy
Source:
src:mopidy
Submitter:
Santiago Vila
Date:
2026-09-12 17:07:02 UTC
Severity:
normal
Tags:
#1143338#5
Date:
2026-08-01 22:36:41 UTC
From:
To:
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/202608/

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:mopidy, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with sphinxdoc --buildsystem=pybuild
   debian/rules execute_before_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
debconf-updatepo
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --with sphinxdoc --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   debian/rules override_dh_auto_build

[... snipped ...]

writing output... [  4%] api/audio
writing output... [  6%] api/backend
writing output... [  8%] api/commands
writing output... [  9%] api/config
writing output... [ 11%] api/core
writing output... [ 13%] api/ext
writing output... [ 15%] api/frontend
writing output... [ 17%] api/http
writing output... [ 19%] api/http-server
writing output... [ 21%] api/httpclient
writing output... [ 23%] api/index
writing output... [ 25%] api/js
writing output... [ 26%] api/mixer
writing output... [ 28%] api/models
writing output... [ 30%] api/zeroconf
writing output... [ 32%] audiosinks
writing output... [ 34%] authors
writing output... [ 36%] changelog
writing output... [ 38%] clients
writing output... [ 40%] codestyle
writing output... [ 42%] command
writing output... [ 43%] config
writing output... [ 45%] contributing
writing output... [ 47%] devenv
writing output... [ 49%] ext/file
writing output... [ 51%] ext/http
writing output... [ 53%] ext/m3u
writing output... [ 55%] ext/softwaremixer
writing output... [ 57%] ext/stream
writing output... [ 58%] extensiondev
writing output... [ 60%] glossary
writing output... [ 62%] history/changelog-0.x
writing output... [ 64%] history/changelog-1.x
writing output... [ 66%] history/changelog-2.x
writing output... [ 68%] history/index
writing output... [ 70%] icecast
writing output... [ 72%] index
writing output... [ 74%] installation/arch
writing output... [ 75%] installation/debian
writing output... [ 77%] installation/fedora
writing output... [ 79%] installation/index
writing output... [ 81%] installation/macos
writing output... [ 83%] installation/pypi
writing output... [ 85%] installation/raspberrypi
writing output... [ 87%] releasing
writing output... [ 89%] running/index
writing output... [ 91%] running/service
writing output... [ 92%] running/terminal
writing output... [ 94%] sponsors
writing output... [ 96%] troubleshooting
writing output... [ 98%] upnp
writing output... [100%] versioning

<unknown>:1: WARNING: more than one target found for cross-reference 'List': mopidy.config.List, mopidy.config.types.List [ref.python]
<unknown>:1: WARNING: more than one target found for cross-reference 'List': mopidy.config.List, mopidy.config.types.List [ref.python]
<unknown>:1: WARNING: more than one target found for cross-reference 'List': mopidy.config.List, mopidy.config.types.List [ref.python]
<unknown>:1: WARNING: more than one target found for cross-reference 'List': mopidy.config.List, mopidy.config.types.List [ref.python]
<unknown>:1: WARNING: more than one target found for cross-reference 'List': mopidy.config.List, mopidy.config.types.List [ref.python]
<unknown>:1: WARNING: more than one target found for cross-reference 'List': mopidy.config.List, mopidy.config.types.List [ref.python]
<unknown>:1: WARNING: more than one target found for cross-reference 'List': mopidy.config.List, mopidy.config.types.List [ref.python]
<unknown>:1: WARNING: more than one target found for cross-reference 'List': mopidy.config.List, mopidy.config.types.List [ref.python]
<unknown>:1: WARNING: more than one target found for cross-reference 'List': mopidy.config.List, mopidy.config.types.List [ref.python]
<unknown>:1: WARNING: more than one target found for cross-reference 'List': mopidy.config.List, mopidy.config.types.List [ref.python]
generating indices... genindex py-modindex done
highlighting module code... [  4%] mopidy.audio.actor
highlighting module code... [  8%] mopidy.audio.listener
highlighting module code... [ 12%] mopidy.audio.scan
highlighting module code... [ 16%] mopidy.audio.utils
highlighting module code... [ 20%] mopidy.backend
highlighting module code... [ 24%] mopidy.commands
highlighting module code... [ 28%] mopidy.config.schemas
highlighting module code... [ 32%] mopidy.config.types
highlighting module code... [ 36%] mopidy.config.validators
highlighting module code... [ 40%] mopidy.core.actor
highlighting module code... [ 44%] mopidy.core.history
highlighting module code... [ 48%] mopidy.core.library
highlighting module code... [ 52%] mopidy.core.listener
highlighting module code... [ 56%] mopidy.core.mixer
highlighting module code... [ 60%] mopidy.core.playback
highlighting module code... [ 64%] mopidy.core.playlists
highlighting module code... [ 68%] mopidy.core.tracklist
highlighting module code... [ 72%] mopidy.ext
highlighting module code... [ 76%] mopidy.httpclient
highlighting module code... [ 80%] mopidy.mixer
highlighting module code... [ 84%] mopidy.models
highlighting module code... [ 88%] mopidy.models.fields
highlighting module code... [ 92%] mopidy.models.immutable
highlighting module code... [ 96%] mopidy.models.serialize
highlighting module code... [100%] mopidy.zeroconf

writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 11 warnings.

The HTML pages are in build/html.
PYTHONPATH=. python3 -m sphinx -N -bman docs/ build/man
Running Sphinx v9.1.0
loading translations [en]... done
Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`.
loading intersphinx inventory 'python' from /usr/share/doc/python3-doc/html/objects.inv ...
loading intersphinx inventory 'pykka' from /usr/share/doc/python3-pykka/html/objects.inv ...
WARNING: failed to reach any of the inventories with the following issues:
intersphinx inventory '/usr/share/doc/python3-doc/html/objects.inv' not readable due to FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/doc/python3-doc/html/objects.inv'
building [mo]: targets for 0 po files that are out of date
writing output...
building [man]: all manpages
updating environment: [new config] 53 added, 0 changed, 0 removed
reading sources... [  2%] api/architecture
reading sources... [  4%] api/audio
reading sources... [  6%] api/backend
reading sources... [  8%] api/commands
reading sources... [  9%] api/config
reading sources... [ 11%] api/core
reading sources... [ 13%] api/ext
reading sources... [ 15%] api/frontend
reading sources... [ 17%] api/http
reading sources... [ 19%] api/http-server
reading sources... [ 21%] api/httpclient
reading sources... [ 23%] api/index
reading sources... [ 25%] api/js
reading sources... [ 26%] api/mixer
reading sources... [ 28%] api/models
reading sources... [ 30%] api/zeroconf
reading sources... [ 32%] audiosinks
reading sources... [ 34%] authors
reading sources... [ 36%] changelog
reading sources... [ 38%] clients
reading sources... [ 40%] codestyle
reading sources... [ 42%] command
reading sources... [ 43%] config
reading sources... [ 45%] contributing
reading sources... [ 47%] devenv
reading sources... [ 49%] ext/file
reading sources... [ 51%] ext/http
reading sources... [ 53%] ext/m3u
reading sources... [ 55%] ext/softwaremixer
reading sources... [ 57%] ext/stream
reading sources... [ 58%] extensiondev
reading sources... [ 60%] glossary
reading sources... [ 62%] history/changelog-0.x
reading sources... [ 64%] history/changelog-1.x
reading sources... [ 66%] history/changelog-2.x
reading sources... [ 68%] history/index
reading sources... [ 70%] icecast
reading sources... [ 72%] index
reading sources... [ 74%] installation/arch
reading sources... [ 75%] installation/debian
reading sources... [ 77%] installation/fedora
reading sources... [ 79%] installation/index
reading sources... [ 81%] installation/macos
reading sources... [ 83%] installation/pypi
reading sources... [ 85%] installation/raspberrypi
reading sources... [ 87%] releasing
reading sources... [ 89%] running/index
reading sources... [ 91%] running/service
reading sources... [ 92%] running/terminal
reading sources... [ 94%] sponsors
reading sources... [ 96%] troubleshooting
reading sources... [ 98%] upnp
reading sources... [100%] versioning

looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets...
copying assets: done
writing... mopidy.1 {
} done
build succeeded, 1 warning.

The manual pages are in build/man.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:385: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest -k 'not file:///test.mp3 and not test_missing_positionals'
============================= test session starts ==============================
platform linux -- Python 3.14.6, pytest-9.1.1, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
configfile: setup.cfg
plugins: typeguard-4.4.4
collected 1459 items / 5 deselected / 1454 selected

tests/audio/test_actor.py .............................................. [  3%]
..........................                                               [  4%]
tests/audio/test_listener.py ......                                      [  5%]
tests/audio/test_scan.py .........F..                                    [  6%]
tests/audio/test_tags.py ............................................... [  9%]
......                                                                   [  9%]
tests/audio/test_utils.py ..                                             [  9%]
tests/backend/test_backend.py ...                                        [ 10%]
tests/backend/test_listener.py ..                                        [ 10%]
tests/config/test_config.py .......................................      [ 12%]
tests/config/test_defaults.py ....                                       [ 13%]
tests/config/test_schemas.py .........                                   [ 13%]
tests/config/test_types.py ............................................. [ 16%]
........................................................................ [ 21%]
........................................................................ [ 26%]
...........................                                              [ 28%]
tests/config/test_validator.py ...............                           [ 29%]
tests/core/test_actor.py ...........                                     [ 30%]
tests/core/test_events.py .............                                  [ 31%]
tests/core/test_history.py ........                                      [ 31%]
tests/core/test_library.py ............................................. [ 35%]
....................                                                     [ 36%]
tests/core/test_listener.py ...............                              [ 37%]
tests/core/test_mixer.py ..............................                  [ 39%]
tests/core/test_playback.py ............................................ [ 42%]
..........................................................               [ 46%]
tests/core/test_playlists.py ........................................... [ 49%]
.                                                                        [ 49%]
tests/core/test_tracklist.py .......................                     [ 51%]
tests/file/test_browse.py ..............                                 [ 52%]
tests/file/test_file.py .                                                [ 52%]
tests/file/test_lookup.py .                                              [ 52%]
tests/http/test_events.py ..                                             [ 52%]
tests/http/test_extension.py ...                                         [ 52%]
tests/http/test_handlers.py ............................                 [ 54%]
tests/http/test_server.py ........................                       [ 56%]
tests/internal/test_deps.py .......                                      [ 56%]
tests/internal/test_http.py ...                                          [ 56%]
tests/internal/test_jsonrpc.py ........................................  [ 59%]
tests/internal/test_log.py ......                                        [ 60%]
tests/internal/test_models.py ...............................            [ 62%]
tests/internal/test_network.py .....                                     [ 62%]
tests/internal/test_path.py ...................................          [ 64%]
tests/internal/test_playlists.py ............................            [ 66%]
tests/internal/test_validation.py .........................              [ 68%]
tests/internal/test_xdg.py ........                                      [ 69%]
tests/m3u/test_playlists.py ............................................ [ 72%]
......................                                                   [ 73%]
tests/m3u/test_translator.py ......................                      [ 75%]
tests/models/test_fields.py ..........................................   [ 78%]
tests/models/test_legacy.py .........................                    [ 79%]
tests/models/test_models.py ............................................ [ 82%]
........................................................................ [ 87%]
................................................................         [ 92%]
tests/stream/test_library.py ....                                        [ 92%]
tests/stream/test_playback.py .........                                  [ 93%]
tests/test_commands.py .........................................         [ 95%]
tests/test_exceptions.py .......                                         [ 96%]
tests/test_ext.py ................................                       [ 98%]
tests/test_help.py .                                                     [ 98%]
tests/test_httpclient.py ................                                [ 99%]
tests/test_mixer.py ...                                                  [ 99%]
tests/test_version.py .                                                  [100%]

=================================== FAILURES ===================================


tests/audio/test_scan.py:118: AssertionError
=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/gi/overrides/__init__.py:159
  /usr/lib/python3/dist-packages/gi/overrides/__init__.py:159: PyGIDeprecationWarning: GLib.unix_signal_add_full is deprecated; use GLibUnix.signal_add_full instead
    value = getattr(proxy, attr)

.pybuild/cpython3_3.14/build/tests/test_version.py::VersionTest::test_current_version_is_parsable_as_a_strict_version_number
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/tests/test_version.py:9: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    StrictVersion(__version__)

#1143338#10
Date:
2026-09-12 17:05:27 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
mopidy, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1143338@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stein Magnus Jodal <jodal@debian.org> (supplier of updated mopidy package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 12 Sep 2026 18:12:01 +0200
Source: mopidy
Architecture: source
Version: 4.0.3-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Stein Magnus Jodal <jodal@debian.org>
Closes: 1143338 1146598
Changes:
 mopidy (4.0.3-1) unstable; urgency=medium
 .
   * New upstream release.
   * Fix FTBFS with GStreamer 1.28.5 and later, solved upstream.
     (Closes: #1143338, #1146598)
   * Drop the mopidy-doc binary package. Mopidy 4 builds its documentation
     with zensical and mkdocstrings-python, and neither is in Debian.
   * Add a manual page for the mopidy command. The Sphinx man builder that
     made it is gone.
   * Refresh the package description. It named Google Play Music, which
     closed in 2020, and Spotify, which has no package in Debian.
   * Update the build dependencies for Mopidy 4, which now needs cyclopts,
     httpx, platformdirs, pydantic, rich and setuptools-scm.
   * d/patches: Drop three patches applied upstream, refresh the systemd
     service patch, and add the Documentation and Keywords keys.
   * d/mopidy.lintian-overrides: Override the tags that do not apply.
   * d/copyright: Update the years.
Checksums-Sha1:
 5c7d92f83cbfd7a8e524434210b3780e89e145f5 2939 mopidy_4.0.3-1.dsc
 88d76b92be25b2253f0993b24ae80cf2675ef4a1 522161 mopidy_4.0.3.orig.tar.gz
 245190e353d5151bfda4f6b98f558ffc39ef7a64 20960 mopidy_4.0.3-1.debian.tar.xz
 c483ae1430b2271c6a2b8c836075239be463df05 938608 mopidy_4.0.3-1.git.tar.xz
 6b3932b7030f99e5c504b726d876643d79518340 17664 mopidy_4.0.3-1_source.buildinfo
Checksums-Sha256:
 5a3b7781e449c58636146149f5aef4e125a7da9622da37af28cbaf58e47959c5 2939 mopidy_4.0.3-1.dsc
 1245d627cf69da968cd42473ca4b0a2edadfb76e8f74f4128f483edc3f28b4ae 522161 mopidy_4.0.3.orig.tar.gz
 72d6f51360f8da68b8bb7006ccf83f9584107d8326be09db3f8e168309859b69 20960 mopidy_4.0.3-1.debian.tar.xz
 95f0ad9691bf670f8524d19af09d91be91e6fd67e0a8267215ddd8f2a98b6d91 938608 mopidy_4.0.3-1.git.tar.xz
 9537204acb2a5accc954c0f7aa4e17dd24488602241a54b6c360d99c10084d3b 17664 mopidy_4.0.3-1_source.buildinfo
Files:
 e7842a3cddbe1f83611c6e7fc72ad692 2939 sound optional mopidy_4.0.3-1.dsc
 324e1c89316fdefbcfb3e4fd8aaad246 522161 sound optional mopidy_4.0.3.orig.tar.gz
 7dcf70bd5b5d1f044ca256634623d391 20960 sound optional mopidy_4.0.3-1.debian.tar.xz
 b5716bb48269c8cf81bb7ee4766ff709 938608 sound None mopidy_4.0.3-1.git.tar.xz
 fe800fd3c6e47254c2be9f8f9261a6a7 17664 sound optional mopidy_4.0.3-1_source.buildinfo
Git-Tag-Info: tag=93414f75937d41cfa4dcdb5db5af1274ca04f226 fp=80aaf4907638251f08b1ca4620b4c7f5a17c58f6
Git-Tag-Tagger: Stein Magnus Jodal <jodal@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmqlgd8ACgkQYG0ITkaD
wHmbcA//XyjUHHKV29xEZfjUxUxVfjLD8Fpj0W2NxXXlCyarYmxIKMrdORO4p4N8
es1PsQQ7qx4mcKyeq1KluQkqIAeTnsNoWBrYQMpaz8XS2/p1o7s/csgIqJ/TZGZJ
QgqjxS/tCLG3Po4dgBUxTgN/UiFtlPAY7b0+t4ygmPMASMb9rhRb7iLUoEZKRbt8
wOKppBoxj+jjDShdcE/uN3idch4wpTV1u0vjn7ueKlE3uxg5Z5jOkcBWqoz2Wl+R
NuRGFhxy2N6vU7MoEA6H5zhbzrXZ5bUgSVH2uqJqVpFRfnxG8OlQ/oiyAtFIK8e7
3w3eUL+VE3/aRlhHh1iEQ8q8Q1fwEIFXbF7m73E3P0NnZcArb8sDueGkMLGHygv4
ZgNDDGt/DUPDimc90fl4xR8KNmwpLclFOpQMbyngtOY1ch43amqvRXInQzlo/XUT
vcyyBN4hx6W7UTjUIfEsZnKsB2ESHjNOK4vOQSJK7OxlEXVVdB9GxwmQjKPl192P
Oo1WvulSs1mppR7m830f379DTl5smsCnjTXBTVAnIqfj+H//fT1HC5pb77vYzneP
iT6/ZSQSDIjtR9V4s0aqmVnmWhoWElT24tcICiYGTaNh7g+X6dcrzzDhnnvYAR4K
VtTp8oH2OQOQ0/GVkMlWiD+P2L3ZdlGrLqy/2MWNKjHSlUhAOOY=
=S+JB
-----END PGP SIGNATURE-----