• Bug#1096239: rust-gdk4-wayland: FTBFS: dh_auto_test: error: /usr/share/

    From Lucas Nussbaum@21:1/5 to All on Mon Feb 17 17:50:11 2025
    Source: rust-gdk4-wayland
    Version: 0.9.5-1
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20250215 ftbfs-trixie

    Hi,

    During a rebuild of all packages in sid, your package failed to build
    on amd64.


    Relevant part (hopefully):
    Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=gdk4_wayland CARGO_MANIFEST_DIR=/build/reproducible-path/rust-gdk4-wayland-0.9.5 CARGO_MANIFEST_PATH=/build/reproducible-path/rust-gdk4-wayland-0.9.5/Cargo.toml CARGO_PKG_AUTHORS='The gtk-rs Project
    Developers' CARGO_PKG_DESCRIPTION='Rust bindings of the GDK 4 Wayland library' CARGO_PKG_HOMEPAGE='https://gtk-rs.org/gtk4-rs' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=gdk4-wayland CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='
    https://github.com/gtk-rs/gtk4-rs' CARGO_PKG_RUST_VERSION=1.70 CARGO_PKG_VERSION=0.9.5 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=9 CARGO_PKG_VERSION_PATCH=5 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH=/build/reproducible-path/
    rust-gdk4-wayland-0.9.5/target/debug/deps rustc --crate-name gdk4_wayland --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C
    debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("egl", "khronos-egl", "v4_10", "v4_12", "v4_16", "v4_4", "wayland-backend", "wayland-client", "wayland_crate"))' -C metadata=a4c06663cdb14ae5 -C extra-filename=-a4c06663cdb14ae5 --out-
    dir /build/reproducible-path/rust-gdk4-wayland-0.9.5/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C incremental=/build/reproducible-path/rust-gdk4-wayland-0.9.5/target/x86_64-unknown-linux-gnu/debug/incremental -L
    dependency=/build/reproducible-path/rust-gdk4-wayland-0.9.5/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/build/reproducible-path/rust-gdk4-wayland-0.9.5/target/debug/deps --extern gdk=/build/reproducible-path/rust-gdk4-wayland-0.9.5/target/
    x86_64-unknown-linux-gnu/debug/deps/libgdk4-b09dd371359d3f3a.rmeta --extern gdk4_wayland_sys=/build/reproducible-path/rust-gdk4-wayland-0.9.5/target/x86_64-unknown-linux-gnu/debug/deps/libgdk4_wayland_sys-17fbef3cb054dd89.rmeta --extern gio=/build/
    reproducible-path/rust-gdk4-wayland-0.9.5/target/x86_64-unknown-linux-gnu/debug/deps/libgio-27d49a42e5a4cc3c.rmeta --extern glib=/build/reproducible-path/rust-gdk4-wayland-0.9.5/target/x86_64-unknown-linux-gnu/debug/deps/libglib-756ac4c95bb121d7.rmeta --
    extern libc=/build/reproducible-path/rust-gdk4-wayland-0.9.5/target/x86_64-unknown-linux-gnu/debug/deps/liblibc-d61aaaa2774da485.rmeta -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-
    prefix /build/reproducible-path/rust-gdk4-wayland-0.9.5=/usr/share/cargo/registry/gdk4-wayland-0.9.5 --remap-path-prefix /build/reproducible-path/rust-gdk4-wayland-0.9.5/debian/cargo_registry=/usr/share/cargo/registry`
    error: cannot find macro `assert_initialized_main_thread` in this scope
    --> src/auto/wayland_surface.rs:23:9
    |
    23 | assert_initialized_main_thread!();
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    error[E0425]: cannot find function `gdk_wayland_surface_force_next_commit` in crate `ffi`
    --> src/auto/wayland_surface.rs:25:18
    |
    25 | ffi::gdk_wayland_surface_force_next_commit(surface.as_ref().to_glib_none().0);
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `ffi`

    For more information about this error, try `rustc --explain E0425`.
    error: could not compile `gdk4-wayland` (lib) due to 2 previous errors

    Caused by:
    process didn't exit successfully: `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=gdk4_wayland CARGO_MANIFEST_DIR=/build/reproducible-path/rust-gdk4-wayland-0.9.5 CARGO_MANIFEST_PATH=/build/reproducible-path/rust-gdk4-wayland-0.9.5/Cargo.toml CARGO_PKG_
    AUTHORS='The gtk-rs Project Developers' CARGO_PKG_DESCRIPTION='Rust bindings of the GDK 4 Wayland library' CARGO_PKG_HOMEPAGE='https://gtk-rs.org/gtk4-rs' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=gdk4-wayland CARGO_PKG_README=README.
    md CARGO_PKG_REPOSITORY='https://github.com/gtk-rs/gtk4-rs' CARGO_PKG_RUST_VERSION=1.70 CARGO_PKG_VERSION=0.9.5 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=9 CARGO_PKG_VERSION_PATCH=5 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH=
    /build/reproducible-path/rust-gdk4-wayland-0.9.5/target/debug/deps rustc --crate-name gdk4_wayland --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C
    embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("egl", "khronos-egl", "v4_10", "v4_12", "v4_16", "v4_4", "wayland-backend", "wayland-client", "wayland_crate"))' -C metadata=a4c06663cdb14ae5 -C extra-filename=-
    a4c06663cdb14ae5 --out-dir /build/reproducible-path/rust-gdk4-wayland-0.9.5/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C incremental=/build/reproducible-path/rust-gdk4-wayland-0.9.5/target/x86_64-unknown-linux-gnu/debug/
    incremental -L dependency=/build/reproducible-path/rust-gdk4-wayland-0.9.5/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/build/reproducible-path/rust-gdk4-wayland-0.9.5/target/debug/deps --extern gdk=/build/reproducible-path/rust-gdk4-wayland-
    0.9.5/target/x86_64-unknown-linux-gnu/debug/deps/libgdk4-b09dd371359d3f3a.rmeta --extern gdk4_wayland_sys=/build/reproducible-path/rust-gdk4-wayland-0.9.5/target/x86_64-unknown-linux-gnu/debug/deps/libgdk4_wayland_sys-17fbef3cb054dd89.rmeta --extern gio=/
    build/reproducible-path/rust-gdk4-wayland-0.9.5/target/x86_64-unknown-linux-gnu/debug/deps/libgio-27d49a42e5a4cc3c.rmeta --extern glib=/build/reproducible-path/rust-gdk4-wayland-0.9.5/target/x86_64-unknown-linux-gnu/debug/deps/libglib-756ac4c95bb121d7.
    rmeta --extern libc=/build/reproducible-path/rust-gdk4-wayland-0.9.5/target/x86_64-unknown-linux-gnu/debug/deps/liblibc-d61aaaa2774da485.rmeta -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-
    path-prefix /build/reproducible-path/rust-gdk4-wayland-0.9.5=/usr/share/cargo/registry/gdk4-wayland-0.9.5 --remap-path-prefix /build/reproducible-path/rust-gdk4-wayland-0.9.5/debian/cargo_registry=/usr/share/cargo/registry` (exit status: 1)
    dh_auto_test: error: /usr/share/cargo/bin/cargo build returned exit code 101


    The full build log is available from: http://qa-logs.debian.net/2025/02/15/rust-gdk4-wayland_0.9.5-1_unstable.log

    All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250215;users=lucas@debian.org
    or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250215&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

    A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

    If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects

    If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Mon Feb 24 18:10:01 2025
    This is a multi-part message in MIME format...

    Your message dated Mon, 24 Feb 2025 16:57:26 +0000
    with message-id <E1tmblm-003ABF-Vc@fasolo.debian.org>
    and subject line Bug#1096239: fixed in rust-gdk4-wayland 0.9.6-1
    has caused the Debian Bug report #1096239,
    regarding rust-gdk4-wayland: FTBFS: dh_auto_test: error: /usr/share/cargo/bin/cargo build returned exit code 101
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1096239: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096239
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 17 Feb 2025 16:44:17 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-105.1 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
    SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY,URIBL_SBL_A,
    USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST autolearn=ham
    autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 28; hammy, 150; neutral, 240; spammy,
    0. spammytokens:
    hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
    0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
    0.000-+--H*RT:311, 0.000-+--H*RT:108
    Return-path: <lucas@debian.org>
    Received: from stravinsky.debian.org ([2001:41b8:202:deb::3