[Pkg-matrix-maintainers] Bug#1116789: matrix-synapse: FTBFS with the nocheck build profile

Santiago Vila sanvila at debian.org
Tue Sep 30 15:50:57 BST 2025


Package: src:matrix-synapse
Version: 1.136.0-1
Severity: important
Tags: forky sid ftbfs
User: debian-qa at lists.debian.org
Usertags: ftbfs-nocheck-profile

Dear maintainer:

During a rebuild of all packages in unstable using the nocheck build profile,
your package failed to build.

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

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

A wiki page discussing how to reproduce bugs in this category and
possible solutions is available here:

https://wiki.debian.org/qa.debian.org/FTBFS/Nocheck

(It's a wiki, so you are welcome to contribute)

[ Note: This is RC, but I will wait at least two weeks before raising
the severities, there are a lot of gcc-15 and CMake 4 bugs open now ].

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

Thanks.

--------------------------------------------------------------------------------
[...]
copying synapse/storage/schema/main/delta/79/03_read_write_locks_triggers.sql.sqlite -> /<<PKGBUILDDIR>>/build/lib.linux-x86_64-cpython-313/synapse/storage/schema/main/delta/79
copying synapse/storage/schema/main/delta/79/05_read_write_locks_triggers.sql.postgres -> /<<PKGBUILDDIR>>/build/lib.linux-x86_64-cpython-313/synapse/storage/schema/main/delta/79
running build_ext
running build_rust
debian cargo wrapper: options = ['parallel=2', 'nocheck'], profiles = ['nocheck'], parallel = ['-j2'], lto = 
debian cargo wrapper: rust_type = x86_64-unknown-linux-gnu, gnu_type = x86_64-linux-gnu
debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', 'metadata', '--manifest-path', 'rust/Cargo.toml', '--format-version', '1'],) {}
error: no matching package found
searched package name: `blake2`
perhaps you meant:      flate2
location searched: directory source `/<<PKGBUILDDIR>>/debian/cargo_registry` (which is replacing registry `crates-io`)
required by package `synapse v0.1.0 (/<<PKGBUILDDIR>>/rust)`
error: `/usr/share/cargo/bin/cargo metadata --manifest-path rust/Cargo.toml --format-version 1` failed with code 101
-- Output captured from stdout:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
    main()
    ~~~~^^
  File "/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in main
    json_out["return_val"] = hook(**hook_input["kwargs"])
                             ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py", line 280, in build_wheel
    return _build_backend().build_wheel(
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        wheel_directory, config_settings, metadata_directory
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3/dist-packages/poetry/core/masonry/api.py", line 58, in build_wheel
    return WheelBuilder.make_in(
           ~~~~~~~~~~~~~~~~~~~~^
        poetry,
        ^^^^^^^
    ...<2 lines>...
        config_settings=config_settings,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3/dist-packages/poetry/core/masonry/builders/wheel.py", line 95, in make_in
    wb.build(target_dir=directory)
    ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/poetry/core/masonry/builders/wheel.py", line 132, in build
    self._build(zip_file)
    ~~~~~~~~~~~^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/poetry/core/masonry/builders/wheel.py", line 193, in _build
    self._run_build_command(setup)
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
  File "/usr/lib/python3/dist-packages/poetry/core/masonry/builders/wheel.py", line 288, in _run_build_command
    subprocess.check_call(
    ~~~~~~~~~~~~~~~~~~~~~^
        [
        ^
    ...<9 lines>...
        ]
        ^
    )
    ^
  File "/usr/lib/python3.13/subprocess.py", line 419, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3.13', '/<<PKGBUILDDIR>>/setup.py', 'build', '-b', '/<<PKGBUILDDIR>>/build', '--build-purelib', '/<<PKGBUILDDIR>>/build/lib', '--build-platlib', '/<<PKGBUILDDIR>>/build/lib.linux-x86_64-cpython-313']' returned non-zero exit status 1.

ERROR Backend subprocess exited when trying to invoke build_wheel
E: pybuild pybuild:389: build: plugin pyproject failed with: exit code=1: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_matrix-synapse  
dh_auto_build: error: pybuild --build -i python{version} -p 3.13 returned exit code 13
make: *** [debian/rules:40: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the Pkg-matrix-maintainers mailing list