#1007940 RFP: matrix-conduit -- lightweight homeserver for the Matrix protocol

Package:
wnpp
Source:
wnpp
Submitter:
Jonas Smedegaard
Date:
2025-11-29 16:50:31 UTC
Severity:
wishlist
#1007940#5
Date:
2022-03-18 23:56:35 UTC
From:
To:
* Package name    : matrix-conduit
  Version         : 0.3.0
  Upstream Author : timokoesters <timo@koesters.xyz>
* URL             : https://conduit.rs/
* License         : Apache-2.0
  Programming Lang: Rust
  Description     : lighweight homeserver for the Matrix protocol

 Conduit is a simple, fast and reliable Matrix chat server.
 .
 Matrix is an open, federated communications protocol.

This package will be maintained in the Matrix Packaging Team.
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmI1HDAACgkQLHwxRsGg
ASFOjA/8C3NzjxLA6KwaIDb8KsZhMuf4c4VYOoHOP1JK3rJXGQqhsq1YdaSpPO75
bZrgSXRxeTo9WflaJAt/dCuf0vRUtuaMjya1wD7rNbGeKQuvelU9/mB5yHZeut4U
Q1Rgd271xdUIsWtPECAT3AbpJEf/uTyvM5CVwOeQUJJkrXDgSRv9izTkiD9o5047
NPqExf9whDtZryY0N5WbB87YBtBYs4Ixc4okzl7PFXGQujgVES0NUy4DRKAoa1L2
xbUIiV76L9d9FFwvS4iYox10eckJh5IRGKLfl0VSFpHFpTzT49j3EyY9OdU3Wnn2
uNv7oToUwaUSPp9mBD5ZRifoMF5g+03DYJg22niPfdd5UDmdnTF0r4jL6ouwjCR0
X1G0M5ZqtQKX90EDCrKTGqV02vtAQPXYAkBBCFgHkAJNogQiPsal6JaSUO0XhADY
o+xlj8L4t5yrue/7j1ilOsTKCvf7CpXVj7Up73PJqIG4MTBy0+ceL+din0jU1q1p
UBjf5YU46udkmtW3/lc+KVpEdTunUX+iUeyLaATVsYwzhub2+Rt+tvcqwxzLVUtx
0hD2YB6Pg8++Dl0BCjqS9tSaoXxIcVNVcKMM+pzWBoPiPjgUCy16rkxkvVUoI8jW
IPxVbFHZ8HmvkrDg1Yt77AQ+dLIY6z+QFkawuXoSbYtdWWI36yY=
=SLQR
-----END PGP SIGNATURE-----

#1007940#16
Date:
2024-01-23 18:39:22 UTC
From:
To:
0.6.0 draft 2 needs embedding 45 crates (21 missing, 1 broken, 12 ahead, 11 unreleased); cannot build due to unsatisfied build-dependency on librust-axum-0.6+form-dev

Main task now is packaging remaining missing Rust crates.

Here's how you can help:

As user running Debian, you can test this draft package: Either build it
yourself from source or tell (by posting to this bugreport) if you
prefer testing the binary that I've built - then I will share that.

As developer (any developer: you need not be official member of Debian!)
you can join the Debian Rust team and help package these missing crates:
https://salsa.debian.org/matrix-team/matrix-conduit/-/blob/debian/latest/debian/TODO

#1007940#21
Date:
2024-03-03 11:40:59 UTC
From:
To:
I tried to build the package from salsa but had the following error:

     cp: cannot stat 'debian/Cargo.toml': No such file or directory

Here is the full log:

$ gbp buildpackage
gbp:info: Creating /home/nicolas/debian/matrix-conduit_0.6.0.orig.tar.bz2
gbp:info: Performing the build
  dpkg-buildpackage -us -uc -ui -i -I
dpkg-buildpackage: info: source package matrix-conduit
dpkg-buildpackage: info: source version 0.6.0-0~draft2
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Jonas Smedegaard <dr@jones.dk>
  dpkg-source -i -I --before-build .
dpkg-buildpackage: info: host architecture amd64
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying 1001_directories.patch
dpkg-source: info: applying 1001_heed.patch
dpkg-source: info: applying 1001_reqwest.patch
dpkg-source: info: applying 1001_ring.patch
dpkg-source: info: applying 1001_sha1.patch
dpkg-source: info: applying 2001_crossbeam.patch
dpkg-source: info: applying 2001_serde_yaml.patch
dpkg-source: info: applying 2001_thread_local.patch
dpkg-source: info: applying 2003_no_telemetry.patch
dpkg-source: info: applying 2004_system-shared_libs.patch
  debian/rules clean
dh clean --buildsystem cargo
    dh_auto_clean -O--buildsystem=cargo
debian cargo wrapper: WARNING: falling back to simply calling upstream
cargo, because CARGO_HOME does not end with debian/cargo_home:
Use of uninitialized value in concatenation (.) or string at
/home/nicolas/debian/matrix-conduit/debian/dh-cargo/lib/Debian/Debhelper/Buildsystem/cargo.pm
line 359, <F> line 2.
	env DEB_BUILDDIR=
/home/nicolas/debian/matrix-conduit/debian/dh-cargo/bin/cargo clean
debian cargo wrapper: options, profiles, parallel, lto: ['parallel=4']
[] ['-j4'] 0
debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu,
x86_64-linux-gnu
debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1',
'/usr/bin/cargo', 'clean', '--verbose', '--verbose'],) {'check': True}
    debian/rules execute_after_dh_auto_clean
make[1]: Entering directory '/home/nicolas/debian/matrix-conduit'
[ ! -f Cargo.toml.orig ] || mv -f Cargo.toml.orig Cargo.toml
[ ! -f Cargo.lock.orig ] || mv -f Cargo.lock.orig Cargo.lock
make[1]: Leaving directory '/home/nicolas/debian/matrix-conduit'
    dh_autoreconf_clean -O--buildsystem=cargo
    dh_clean -O--buildsystem=cargo
  dpkg-source -i -I -b .
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building matrix-conduit using existing
./matrix-conduit_0.6.0.orig.tar.bz2
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: warning: ignoring deletion of file .gitlab-ci.yml, use
--include-removal to override
dpkg-source: warning: ignoring deletion of directory .github
dpkg-source: warning: ignoring deletion of directory .github/ISSUE_TEMPLATE
dpkg-source: warning: ignoring deletion of file
.github/ISSUE_TEMPLATE/Issue.md, use --include-removal to override
dpkg-source: warning: ignoring deletion of directory .gitlab
dpkg-source: warning: ignoring deletion of file .gitlab/CODEOWNERS, use
--include-removal to override
dpkg-source: warning: ignoring deletion of file
.gitlab/setup-buildx-remote-builders.sh, use --include-removal to override
dpkg-source: warning: ignoring deletion of directory .gitlab/issue_templates
dpkg-source: warning: ignoring deletion of file
.gitlab/issue_templates/Feature Request.md, use --include-removal to
override
dpkg-source: warning: ignoring deletion of file
.gitlab/issue_templates/Bug Report.md, use --include-removal to override
dpkg-source: warning: ignoring deletion of directory
.gitlab/merge_request_templates
dpkg-source: warning: ignoring deletion of file
.gitlab/merge_request_templates/MR.md, use --include-removal to override
dpkg-source: warning: ignoring deletion of directory .gitea
dpkg-source: warning: ignoring deletion of file
.gitea/PULL_REQUEST_TEMPLATE.md, use --include-removal to override
dpkg-source: info: building matrix-conduit in
matrix-conduit_0.6.0-0~draft2.debian.tar.xz
dpkg-source: info: building matrix-conduit in
matrix-conduit_0.6.0-0~draft2.dsc
  debian/rules binary
dh binary --buildsystem cargo
    dh_update_autotools_config -O--buildsystem=cargo
    dh_autoreconf -O--buildsystem=cargo
    debian/rules execute_before_dh_auto_configure
make[1]: Entering directory '/home/nicolas/debian/matrix-conduit'
[ -f Cargo.toml.orig ] || cp Cargo.toml Cargo.toml.orig
cp -f debian/Cargo.toml Cargo.toml
cp: cannot stat 'debian/Cargo.toml': No such file or directory
make[1]: *** [debian/rules:31: execute_before_dh_auto_configure] Error 1
make[1]: Leaving directory '/home/nicolas/debian/matrix-conduit'
make: *** [debian/rules:27: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
debuild: fatal error at line 1184:
dpkg-buildpackage -us -uc -ui -i -I failed
gbp:error: 'debuild -i -I' failed: it exited with 29

#1007940#26
Date:
2024-07-19 13:16:15 UTC
From:
To:
Release 0.8.0 succesfully builds as an unofficial draft package,
when embedding 36 crates (20 missing, 1 broken, 2 outdated, 13 unreleased)
which needs to be packaged before this can officially enter Debian.
The built binary is untested.

Main task now is to package the remaining missing Rust crates,
and to test the built package.

Here's how you can help:

As user running Debian, you can test this draft package:
Either build it yourself from source,
or if you want to test the binary that I've built
then tell by posting to this bugreport and I will share that.

As developer (any developer: you need not be official member of Debian!)
you can join the Debian Rust team and help package these missing crates:
https://salsa.debian.org/matrix-team/matrix-conduit/-/blob/debian/latest/debian/TODO