Package: src:rust-libphosh
Version: 0.0.6-2
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
warning: unused import: `handy_sys as handy`
  --> /usr/share/cargo/registry/libphosh-sys-0.0.6/src/lib.rs:16:5
   |
16 | use handy_sys as handy;
   |     ^^^^^^^^^^^^^^^^^^

warning: `libphosh-sys` (lib) generated 3 warnings
   Compiling gdk-pixbuf v0.18.5
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=gdk_pixb 
[too-long-redacted] stry=/usr/share/cargo/registry`
   Compiling pango v0.18.3
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=pango CA 
[too-long-redacted] stry=/usr/share/cargo/registry`
error[E0425]: cannot find value `PANGO_FONT_MASK_VARIATIONS` in crate `ffi`
   --> /usr/share/cargo/registry/pango-0.18-0.18.3/src/auto/flags.rs:27:33
    |
27  |         const VARIATIONS = ffi::PANGO_FONT_MASK_VARIATIONS as _;
    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a 
constant with a similar name exists: `PANGO_FONT_MASK_VARIANT`
    |
   ::: /usr/share/cargo/registry/pango-sys-0.18-0.18.0/src/lib.rs:362:1
    |
362 | pub const PANGO_FONT_MASK_VARIANT: PangoFontMask = 4;
    | ------------------------------------------------ similarly named constant 
`PANGO_FONT_MASK_VARIANT` defined here
    |
note: found an item that was configured out
   --> /usr/share/cargo/registry/pango-sys-0.18-0.18.0/src/lib.rs:369:11
    |
369 | pub const PANGO_FONT_MASK_VARIATIONS: PangoFontMask = 128;
    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^
note: the item is gated behind the `v1_42` feature
   --> /usr/share/cargo/registry/pango-sys-0.18-0.18.0/src/lib.rs:367:7
    |
367 | #[cfg(feature = "v1_42")]
    |       ^^^^^^^^^^^^^^^^^

warning: unexpected `cfg` condition value: `v1_54`
  --> /usr/share/cargo/registry/pango-0.18-0.18.3/src/auto/item.rs:39:11
   |
39 |     #[cfg(feature = "v1_54")]
   |           ^^^^^^^^^^-------
   |                     |
   |                     help: there is a expected value with a similar name: 
`"v1_44"`
   |
   = note: expected values for `feature` are: `v1_42`, `v1_44`, `v1_46`, 
`v1_48`, `v1_50`, and `v1_52`
   = help: consider adding `v1_54` as a feature in `Cargo.toml`
   = note: see 
<https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for 
more information about checking conditional configuration
   = note: `#[warn(unexpected_cfgs)]` on by default

For more information about this error, try `rustc --explain E0425`.
warning: `pango` (lib) generated 1 warning
error: could not compile `pango` (lib) due to 1 previous error; 1 warning 
emitted

Caused by:
  process didn't exit successfully: `CARGO=/usr/bin/cargo CA 
[too-long-redacted] argo/registry` (exit status: 1)
warning: build failed, waiting for other jobs to finish...
dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 
101
make[1]: *** [debian/rules:139: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

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

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

Thanks.

Reply via email to