[Pkg-rust-maintainers] Bug#1120197: rust-subversion: FTBFS: error: could not compile `subversion` (lib) due to 145 previous errors
Santiago Vila
sanvila at debian.org
Thu Nov 6 12:00:41 GMT 2025
Package: src:rust-subversion
Version: 0.0.8-4
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/202511/
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:rust-subversion, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem cargo
dh_auto_clean -O--buildsystem=cargo
debian cargo wrapper: options = ['parallel=2'], profiles = [], 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', 'clean', '--verbose', '--verbose'],) {'check': True}
Removed 0 files
dh_autoreconf_clean -O--buildsystem=cargo
dh_clean -XCargo.toml.orig -O--buildsystem=cargo
debian/rules binary
dh binary --buildsystem cargo
dh_update_autotools_config -O--buildsystem=cargo
dh_autoreconf -O--buildsystem=cargo
dh_auto_configure -O--buildsystem=cargo
debian cargo wrapper: options = ['parallel=2'], profiles = [], parallel = ['-j2'], lto =
[... snipped ...]
396 | pub fn tview_len(&self) -> apr::apr_size_t {
| ^^^^^^^^^^ help: a type alias with a similar name exists: `apr_time_t`
--> /usr/share/cargo/registry/subversion-0.0.8/target/x86_64-unknown-linux-gnu/debug/build/apr-sys-4f0823cd70591532/out/bindings.rs:3:51850
|
= note: similarly named type alias `apr_time_t` defined here
error[E0412]: cannot find type `apr_size_t` in crate `apr`
--> src/delta.rs:424:49
|
424 | let mut tlen = target.len() as apr::apr_size_t;
| ^^^^^^^^^^ help: a type alias with a similar name exists: `apr_time_t`
--> /usr/share/cargo/registry/subversion-0.0.8/target/x86_64-unknown-linux-gnu/debug/build/apr-sys-4f0823cd70591532/out/bindings.rs:3:51850
|
= note: similarly named type alias `apr_time_t` defined here
error[E0412]: cannot find type `apr_pool_t` in crate `apr`
--> src/delta.rs:451:22
|
451 | _pool: *mut apr::apr_pool_t,
| ^^^^^^^^^^ not found in `apr`
error[E0412]: cannot find type `apr_pool_t` in crate `apr`
--> src/delta.rs:470:22
|
470 | _pool: *mut apr::apr_pool_t,
| ^^^^^^^^^^ not found in `apr`
error[E0412]: cannot find type `apr_pool_t` in crate `apr`
--> src/delta.rs:486:22
|
486 | _pool: *mut apr::apr_pool_t,
| ^^^^^^^^^^ not found in `apr`
error[E0412]: cannot find type `apr_pool_t` in crate `apr`
--> src/delta.rs:519:22
|
519 | _pool: *mut apr::apr_pool_t,
| ^^^^^^^^^^ not found in `apr`
error[E0412]: cannot find type `apr_pool_t` in crate `apr`
--> src/delta.rs:540:22
|
540 | _pool: *mut apr::apr_pool_t,
| ^^^^^^^^^^ not found in `apr`
error[E0412]: cannot find type `apr_pool_t` in crate `apr`
--> src/delta.rs:554:22
|
554 | _pool: *mut apr::apr_pool_t,
| ^^^^^^^^^^ not found in `apr`
error[E0412]: cannot find type `apr_pool_t` in crate `apr`
--> src/delta.rs:566:22
|
566 | _pool: *mut apr::apr_pool_t,
| ^^^^^^^^^^ not found in `apr`
error[E0412]: cannot find type `apr_pool_t` in crate `apr`
--> src/delta.rs:582:22
|
582 | _pool: *mut apr::apr_pool_t,
| ^^^^^^^^^^ not found in `apr`
error[E0412]: cannot find type `apr_pool_t` in crate `apr`
--> src/delta.rs:613:22
|
613 | _pool: *mut apr::apr_pool_t,
| ^^^^^^^^^^ not found in `apr`
error[E0412]: cannot find type `apr_pool_t` in crate `apr`
--> src/delta.rs:631:29
|
631 | _result_pool: *mut apr::apr_pool_t,
| ^^^^^^^^^^ not found in `apr`
error[E0412]: cannot find type `apr_pool_t` in crate `apr`
--> src/delta.rs:653:22
|
653 | _pool: *mut apr::apr_pool_t,
| ^^^^^^^^^^ not found in `apr`
error[E0412]: cannot find type `apr_pool_t` in crate `apr`
--> src/delta.rs:668:22
|
668 | _pool: *mut apr::apr_pool_t,
| ^^^^^^^^^^ not found in `apr`
error[E0412]: cannot find type `apr_pool_t` in crate `apr`
--> src/delta.rs:685:23
|
685 | _pooll: *mut apr::apr_pool_t,
| ^^^^^^^^^^ not found in `apr`
error[E0412]: cannot find type `apr_pool_t` in crate `apr`
--> src/delta.rs:701:22
|
701 | _pool: *mut apr::apr_pool_t,
| ^^^^^^^^^^ not found in `apr`
error[E0412]: cannot find type `apr_pool_t` in crate `apr`
--> src/delta.rs:712:22
|
712 | _pool: *mut apr::apr_pool_t,
| ^^^^^^^^^^ not found in `apr`
error[E0412]: cannot find type `apr_pool_t` in crate `apr`
--> src/delta.rs:724:22
|
724 | _pool: *mut apr::apr_pool_t,
| ^^^^^^^^^^ not found in `apr`
error[E0412]: cannot find type `PooledPtr` in module `apr::pool`
--> src/io.rs:47:28
|
47 | pub struct Mark(apr::pool::PooledPtr<crate::generated::svn_stream_mark_t>);
| ^^^^^^^^^ not found in `apr::pool`
error[E0412]: cannot find type `PooledPtr` in module `apr::pool`
--> src/io.rs:59:30
|
59 | pub struct Stream(apr::pool::PooledPtr<crate::generated::svn_stream_t>);
| ^^^^^^^^^ not found in `apr::pool`
error[E0412]: cannot find type `apr_pool_t` in crate `apr`
--> src/ra.rs:15:21
|
15 | pool: *mut apr::apr_pool_t,
| ^^^^^^^^^^ not found in `apr`
error[E0412]: cannot find type `apr_pool_t` in crate `apr`
--> src/ra.rs:34:21
|
34 | pool: *mut apr::apr_pool_t,
| ^^^^^^^^^^ not found in `apr`
error[E0412]: cannot find type `apr_pool_t` in crate `apr`
--> src/ra.rs:54:21
|
54 | pool: *mut apr::apr_pool_t,
| ^^^^^^^^^^ not found in `apr`
error[E0412]: cannot find type `ArrayHeader` in module `apr::tables`
--> src/ra.rs:466:43
|
466 | let patterns: Option<apr::tables::ArrayHeader<*const std::os::raw::c_char>> =
| ^^^^^^^^^^^ not found in `apr::tables`
error[E0412]: cannot find type `ArrayHeader` in module `apr::tables`
--> src/ra.rs:507:33
|
507 | let paths: apr::tables::ArrayHeader<*const std::os::raw::c_char> =
| ^^^^^^^^^^^ not found in `apr::tables`
error[E0412]: cannot find type `ArrayHeader` in module `apr::tables`
--> src/ra.rs:790:33
|
790 | let paths: apr::tables::ArrayHeader<*const std::os::raw::c_char> =
| ^^^^^^^^^^^ not found in `apr::tables`
error[E0412]: cannot find type `ArrayHeader` in module `apr::tables`
--> src/ra.rs:792:36
|
792 | let revprops: apr::tables::ArrayHeader<*const std::os::raw::c_char> = revprops
| ^^^^^^^^^^^ not found in `apr::tables`
error[E0412]: cannot find type `ArrayHeader` in module `apr::tables`
--> src/ra.rs:825:46
|
825 | let location_revisions: apr::tables::ArrayHeader<crate::generated::svn_revnum_t> =
| ^^^^^^^^^^^ not found in `apr::tables`
error[E0412]: cannot find type `apr_pool_t` in crate `apr`
--> src/ra.rs:1013:29
|
1013 | pool: *mut apr::apr_pool_t,
| ^^^^^^^^^^ not found in `apr`
error[E0412]: cannot find type `apr_pool_t` in crate `apr`
--> src/ra.rs:1065:29
|
1065 | pool: *mut apr::apr_pool_t,
| ^^^^^^^^^^ not found in `apr`
error[E0412]: cannot find type `ArrayHeader` in module `apr::tables`
--> src/repos.rs:135:37
|
135 | .collect::<apr::tables::ArrayHeader<_>>();
| ^^^^^^^^^^^ not found in `apr::tables`
error[E0412]: cannot find type `apr_pool_t` in crate `apr`
--> src/repos.rs:303:30
|
303 | _pool: *mut apr::apr_pool_t,
| ^^^^^^^^^^ not found in `apr`
error[E0412]: cannot find type `apr_pool_t` in crate `apr`
--> src/repos.rs:425:22
|
425 | _pool: *mut apr::apr_pool_t,
| ^^^^^^^^^^ not found in `apr`
error[E0412]: cannot find type `ArrayHeader` in module `apr::tables`
--> src/repos.rs:445:33
|
445 | .collect::<apr::tables::ArrayHeader<_>>();
| ^^^^^^^^^^^ not found in `apr::tables`
error[E0412]: cannot find type `apr_pool_t` in crate `apr`
--> src/repos.rs:471:21
|
471 | pool: *mut apr::apr_pool_t,
| ^^^^^^^^^^ not found in `apr`
error[E0412]: cannot find type `PooledPtr` in module `apr::pool`
--> src/wc.rs:8:31
|
8 | pub struct Context(apr::pool::PooledPtr<svn_wc_context_t>);
| ^^^^^^^^^ not found in `apr::pool`
error[E0405]: cannot find trait `IntoHashKey` in module `apr::hash`
--> src/lib.rs:74:17
|
74 | impl apr::hash::IntoHashKey<'_> for &Revnum {
| ^^^^^^^^^^^ not found in `apr::hash`
error[E0412]: cannot find type `PooledPtr` in module `apr::pool`
--> src/lib.rs:381:32
|
381 | pub struct LogEntry(apr::pool::PooledPtr<generated::svn_log_entry_t>);
| ^^^^^^^^^ not found in `apr::pool`
error[E0412]: cannot find type `PooledPtr` in module `apr::pool`
--> src/lib.rs:437:37
|
437 | pub struct InheritedItem(apr::pool::PooledPtr<generated::svn_prop_inherited_item_t>);
| ^^^^^^^^^ not found in `apr::pool`
error[E0412]: cannot find type `PooledPtr` in module `apr::pool`
--> src/lib.rs:440:37
|
440 | pub fn from_raw(ptr: apr::pool::PooledPtr<generated::svn_prop_inherited_item_t>) -> Self {
| ^^^^^^^^^ not found in `apr::pool`
error[E0412]: cannot find type `apr_pool_t` in crate `apr`
--> src/lib.rs:704:21
|
704 | pool: *mut apr::apr_pool_t,
| ^^^^^^^^^^ not found in `apr`
error[E0412]: cannot find type `apr_pool_t` in crate `apr`
--> src/lib.rs:723:21
|
723 | pool: *mut apr::apr_pool_t,
| ^^^^^^^^^^ not found in `apr`
error[E0107]: struct takes 0 generic arguments but 2 generic arguments were supplied
--> src/config.rs:1:37
|
1 | pub struct Config<'pool>(apr::hash::Hash<'pool, &'pool str, *mut crate::generated::svn_config_t>);
| ^^^^ ------------------------------------- help: remove the unnecessary generic arguments
| |
| expected 0 generic arguments
|
note: struct defined here, with 0 generic parameters
--> /usr/share/cargo/registry/apr-0.3.4/src/hash.rs:13:12
|
13 | pub struct Hash<'pool> {
| ^^^^
Some errors have detailed explanations: E0107, E0405, E0412, E0432, E0433.
For more information about an error, try `rustc --explain E0107`.
error: could not compile `subversion` (lib) due to 145 previous errors
Caused by:
process didn't exit successfully: `CARGO=/usr/bin/cargo CA [too-long-redacted] ave_libsvn_wc` (exit status: 1)
dh_auto_test: error: /usr/share/cargo/bin/cargo build returned exit code 101
make: *** [debian/rules:3: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-rust-maintainers
mailing list