[Pkg-rust-maintainers] Bug#1070272: rust-sequoia-octopus-librnp: FTBFS on armel/armhf: tv_usec: duration.subsec_micros() as libc::suseconds_t, expected `i64`, found `i32`

Andreas Beckmann anbe at debian.org
Fri May 3 04:28:42 BST 2024


Source: rust-sequoia-octopus-librnp
Version: 1.8.1-4
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
User: debian-arm at lists.debian.org
Usertags: time-t

rust-sequoia-octopus-librnp FTBFS on armel/armhf due to the t64
transition:

https://buildd.debian.org/status/fetch.php?pkg=rust-sequoia-octopus-librnp&arch=armel&ver=1.8.1-4&stamp=1713865768&raw=0

   Compiling socket2 v0.5.5
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=socket2 CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/registry/socket2-0.5.5 CARGO_PKG_AUTHORS='Alex Crichton <alex at alexcrichton.com>:Thomas de Zeeuw <thomasdezeeuw at gmail.com>' CARGO_PKG_DESCRIPTION='Utilities for handling networking sockets with a maximal amount of configuration
possible intended.
' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/socket2' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=socket2 CARGO_PKG_REPOSITORY='https://github.com/rust-lang/socket2' CARGO_PKG_RUST_VERSION=1.63 CARGO_PKG_VERSION=0.5.5 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=5 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/release/deps:/usr/lib' rustc --crate-name socket2 --edition=2021 /<<PKGBUILDDIR>>/registry/socket2-0.5.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="all"' -C metadata=2c09183bf02940c5 -C extra-filename=-2c09183bf02940c5 --out-dir /<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/release/deps --target armv5te-unknown-linux-gnueabi -L dependency=/<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/release/deps -L dependency=/<<PKGBUILDDIR>>/target/release/deps --extern libc=/<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/release/deps/liblibc-da839ea29c615453.rmeta --cap-lints warn -C debuginfo=2 --cap-lints warn -C linker=arm-linux-gnueabi-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/sequoia-octopus-librnp-1.8.1 --remap-path-prefix /<<PKGBUILDDIR>>/registry=/usr/share/cargo/registry`
error[E0308]: mismatched types
    --> /usr/share/cargo/registry/socket2-0.5.5/src/sys/unix.rs:1137:22
     |
1137 |             tv_usec: duration.subsec_micros() as libc::suseconds_t,
     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `i32`

For more information about this error, try `rustc --explain E0308`.
error: could not compile `socket2` due to previous error

Caused by:
  process didn't exit successfully: `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=socket2 CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/registry/socket2-0.5.5 CARGO_PKG_AUTHORS='Alex Crichton <alex at alexcrichton.com>:Thomas de Zeeuw <thomasdezeeuw at gmail.com>' CARGO_PKG_DESCRIPTION='Utilities for handling networking sockets with a maximal amount of configuration
  possible intended.
  ' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/socket2' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=socket2 CARGO_PKG_REPOSITORY='https://github.com/rust-lang/socket2' CARGO_PKG_RUST_VERSION=1.63 CARGO_PKG_VERSION=0.5.5 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=5 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/release/deps:/usr/lib' rustc --crate-name socket2 --edition=2021 /<<PKGBUILDDIR>>/registry/socket2-0.5.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="all"' -C metadata=2c09183bf02940c5 -C extra-filename=-2c09183bf02940c5 --out-dir /<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/release/deps --target armv5te-unknown-linux-gnueabi -L dependency=/<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/release/deps -L dependency=/<<PKGBUILDDIR>>/target/release/deps --extern libc=/<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/release/deps/liblibc-da839ea29c615453.rmeta --cap-lints warn -C debuginfo=2 --cap-lints warn -C linker=arm-linux-gnueabi-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/sequoia-octopus-librnp-1.8.1 --remap-path-prefix /<<PKGBUILDDIR>>/registry=/usr/share/cargo/registry` (exit status: 1)


Andreas



More information about the Pkg-rust-maintainers mailing list