[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1007940: ITP: matrix-conduit -- lighweight homeserver for the Matrix protocol



On Tue, 23 Jan 2024 19:39:22 +0100 Jonas Smedegaard <dr@jones.dk> wrote:
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.

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
--
Nicolas Peugnet


Reply to: