[Pkg-rust-maintainers] Bug#1096239: rust-gdk4-wayland: FTBFS: dh_auto_test: error: /usr/share/cargo/bin/cargo build returned exit code 101
Lucas Nussbaum
lucas at debian.org
Mon Feb 17 16:41:27 GMT 2025
Source: rust-gdk4-wayland
Version: 0.9.5-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at 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.
More information about the Pkg-rust-maintainers
mailing list