• Bug#1104596: rust-libphosh: FTBFS: error[E0425]: cannot find value `PAN

    From Santiago Vila@21:1/5 to All on Fri May 2 19:00:01 2025
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Santiago Vila@21:1/5 to All on Fri May 2 19:20:01 2025
    Hi. I'm trying to figure out why there are both failed
    and successful builds in the official buildds.

    Is it possible that there is a missing build-depends like this?

    Build-Depends: rust-pango-0.18 (>= 0.18.3-2)

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Santiago Vila@21:1/5 to All on Fri May 2 23:30:01 2025
    severity 1104596 important
    thanks

    Hi. As I suspected, the package builds ok
    after today's mirror pulse of 20:00 UTC.

    [ But I still think the versioned build-dependency is missing.
    It could still happen that this package propagates to testing
    before the build-dependency that was updated ]

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Fri May 2 23:30:01 2025
    Processing commands for control@bugs.debian.org:

    severity 1104596 important
    Bug #1104596 [src:rust-libphosh] rust-libphosh: FTBFS: error[E0425]: cannot find value `PANGO_FONT_MASK_VARIATIONS` in crate `ffi`
    Severity set to 'important' from 'serious'
    thanks
    Stopping processing here.

    Please contact me if you need assistance.
    --
    1104596: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1104596
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)