Package: src:rust-gdk4 Version: 0.10.3-2 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202602/ 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 cannot 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-gdk4, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem cargo dh_auto_clean -O--buildsystem=cargo debian cargo wrapper: options = ['parallel=2'], profiles = [], parallel = ['-j2'], lto = debian cargo wrapper: rust_type = x86_64-unknown-linux-gnu, gnu_type = x86_64-linux-gnu debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', 'clean', '--verbose', '--verbose'],) {'check': True} Removed 0 files dh_autoreconf_clean -O--buildsystem=cargo dh_clean -XCargo.toml.orig -O--buildsystem=cargo debian/rules binary dh binary --buildsystem cargo dh_update_autotools_config -O--buildsystem=cargo dh_autoreconf -O--buildsystem=cargo dh_auto_configure -O--buildsystem=cargo debian cargo wrapper: options = ['parallel=2'], profiles = [], parallel = ['-j2'], lto = [... snipped ...] warning: unexpected `cfg` condition value: `win32-surface` --> /usr/share/cargo/registry/cairo-sys-rs-0.21.5/src/lib.rs:15:36 | 15 | #[cfg(all(docsrs, not(all(windows, feature = "win32-surface"))))] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `freetype`, `glib-sys`, `pdf`, `png`, `ps`, `quartz-surface`, `script`, `svg`, `use_glib`, `v1_16`, `v1_18`, `x11`, `xcb`, and `xlib` = help: consider adding `win32-surface` 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 warning: unexpected `cfg` condition value: `win32-surface` --> /usr/share/cargo/registry/cairo-sys-rs-0.21.5/src/lib.rs:1465:24 | 1465 | #[cfg(all(windows, feature = "win32-surface"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `freetype`, `glib-sys`, `pdf`, `png`, `ps`, `quartz-surface`, `script`, `svg`, `use_glib`, `v1_16`, `v1_18`, `x11`, `xcb`, and `xlib` = help: consider adding `win32-surface` 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 warning: unexpected `cfg` condition value: `win32-surface` --> /usr/share/cargo/registry/cairo-sys-rs-0.21.5/src/lib.rs:1468:24 | 1468 | #[cfg(all(windows, feature = "win32-surface"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `freetype`, `glib-sys`, `pdf`, `png`, `ps`, `quartz-surface`, `script`, `svg`, `use_glib`, `v1_16`, `v1_18`, `x11`, `xcb`, and `xlib` = help: consider adding `win32-surface` 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 warning: unexpected `cfg` condition value: `win32-surface` --> /usr/share/cargo/registry/cairo-sys-rs-0.21.5/src/lib.rs:1474:24 | 1474 | #[cfg(all(windows, feature = "win32-surface"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `freetype`, `glib-sys`, `pdf`, `png`, `ps`, `quartz-surface`, `script`, `svg`, `use_glib`, `v1_16`, `v1_18`, `x11`, `xcb`, and `xlib` = help: consider adding `win32-surface` 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 warning: unexpected `cfg` condition value: `win32-surface` --> /usr/share/cargo/registry/cairo-sys-rs-0.21.5/src/lib.rs:1481:24 | 1481 | #[cfg(all(windows, feature = "win32-surface"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `freetype`, `glib-sys`, `pdf`, `png`, `ps`, `quartz-surface`, `script`, `svg`, `use_glib`, `v1_16`, `v1_18`, `x11`, `xcb`, and `xlib` = help: consider adding `win32-surface` 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 warning: unexpected `cfg` condition value: `win32-surface` --> /usr/share/cargo/registry/cairo-sys-rs-0.21.5/src/lib.rs:1489:24 | 1489 | #[cfg(all(windows, feature = "win32-surface"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `freetype`, `glib-sys`, `pdf`, `png`, `ps`, `quartz-surface`, `script`, `svg`, `use_glib`, `v1_16`, `v1_18`, `x11`, `xcb`, and `xlib` = help: consider adding `win32-surface` 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 warning: unexpected `cfg` condition value: `win32-surface` --> /usr/share/cargo/registry/cairo-sys-rs-0.21.5/src/lib.rs:1492:24 | 1492 | #[cfg(all(windows, feature = "win32-surface"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `freetype`, `glib-sys`, `pdf`, `png`, `ps`, `quartz-surface`, `script`, `svg`, `use_glib`, `v1_16`, `v1_18`, `x11`, `xcb`, and `xlib` = help: consider adding `win32-surface` 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 warning: unexpected `cfg` condition value: `win32-surface` --> /usr/share/cargo/registry/cairo-sys-rs-0.21.5/src/lib.rs:1495:24 | 1495 | #[cfg(all(windows, feature = "win32-surface"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `freetype`, `glib-sys`, `pdf`, `png`, `ps`, `quartz-surface`, `script`, `svg`, `use_glib`, `v1_16`, `v1_18`, `x11`, `xcb`, and `xlib` = help: consider adding `win32-surface` 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 warning: `cairo-sys-rs` (lib) generated 9 warnings Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=pango_sy [too-long-redacted] 0 --cfg system_deps_have_pango` Compiling gdk4-sys v0.10.3 Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_sc [too-long-redacted] 1c13b2d2.rlib --cap-lints warn` Running `CARGO=/usr/bin/cargo CARGO_CFG_FEATURE='' CARG [too-long-redacted] f1def1b8524/build-script-build` [gdk4-sys 0.10.3] cargo:rerun-if-changed=/<<PKGBUILDDIR>>/debian/cargo_registry/gdk4-sys-0.10.3/Cargo.toml [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=GTK4_NO_PKG_CONFIG [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=HOST_PKG_CONFIG [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=DEB_HOST_GNU_TYPE [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_PATH [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=SYSROOT [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=HOST_PKG_CONFIG [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=DEB_HOST_GNU_TYPE [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_PATH [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR [gdk4-sys 0.10.3] cargo:rustc-link-lib=gtk-4 [gdk4-sys 0.10.3] cargo:rustc-link-lib=pangocairo-1.0 [gdk4-sys 0.10.3] cargo:rustc-link-lib=pango-1.0 [gdk4-sys 0.10.3] cargo:rustc-link-lib=harfbuzz [gdk4-sys 0.10.3] cargo:rustc-link-lib=gdk_pixbuf-2.0 [gdk4-sys 0.10.3] cargo:rustc-link-lib=cairo-gobject [gdk4-sys 0.10.3] cargo:rustc-link-lib=cairo [gdk4-sys 0.10.3] cargo:rustc-link-lib=vulkan [gdk4-sys 0.10.3] cargo:rustc-link-lib=graphene-1.0 [gdk4-sys 0.10.3] cargo:rustc-link-lib=gio-2.0 [gdk4-sys 0.10.3] cargo:rustc-link-lib=gobject-2.0 [gdk4-sys 0.10.3] cargo:rustc-link-lib=glib-2.0 [gdk4-sys 0.10.3] cargo:include=/usr/include/gtk-4.0:/usr/include/pango-1.0:/usr/include/fribidi:/usr/include:/usr/include/harfbuzz:/usr/include/gdk-pixbuf-2.0:/usr/include/glycin-2:/usr/include/cairo:/usr/include/freetype2:/usr/include/libpng16:/usr/include/pixman-1:/usr/include/graphene-1.0:/usr/lib/x86_64-linux-gnu/graphene-1.0/include:/usr/include/glib-2.0:/usr/lib/x86_64-linux-gnu/glib-2.0/include:/usr/include/libmount:/usr/include/blkid:/usr/include/sysprof-6 [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=SYSTEM_DEPS_BUILD_INTERNAL [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=SYSTEM_DEPS_LINK [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=SYSTEM_DEPS_GTK4_LIB [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=SYSTEM_DEPS_GTK4_LIB_FRAMEWORK [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=SYSTEM_DEPS_GTK4_SEARCH_NATIVE [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=SYSTEM_DEPS_GTK4_SEARCH_FRAMEWORK [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=SYSTEM_DEPS_GTK4_INCLUDE [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=SYSTEM_DEPS_GTK4_LDFLAGS [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=SYSTEM_DEPS_GTK4_NO_PKG_CONFIG [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=SYSTEM_DEPS_GTK4_BUILD_INTERNAL [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=SYSTEM_DEPS_GTK4_LINK [gdk4-sys 0.10.3] [gdk4-sys 0.10.3] cargo:rustc-cfg=system_deps_have_gtk4 [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=HOST_PKG_CONFIG [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=DEB_HOST_GNU_TYPE [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=GTK4_STATIC [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=GTK4_DYNAMIC [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_PATH [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR [gdk4-sys 0.10.3] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR [gdk4-sys 0.10.3] cargo:backends=broadway wayland x11 [gdk4-sys 0.10.3] cargo:rustc-cfg=gdk_backend="broadway" [gdk4-sys 0.10.3] cargo:rustc-cfg=gdk_backend="wayland" [gdk4-sys 0.10.3] cargo:rustc-cfg=gdk_backend="x11" Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=gdk4_sys [too-long-redacted] nd"' --cfg 'gdk_backend="x11"'` Compiling gio v0.21.5 Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=gio CARG [too-long-redacted] stry=/usr/share/cargo/registry` Compiling cairo-rs v0.21.5 Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=cairo CA [too-long-redacted] stry=/usr/share/cargo/registry` warning: unexpected `cfg` condition value: `win32-surface` --> /usr/share/cargo/registry/cairo-rs-0.21.5/src/lib.rs:290:20 | 290 | #[cfg(all(windows, feature = "win32-surface"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default`, `freetype`, `freetype-rs`, `glib`, `pdf`, `png`, `ps`, `quartz-surface`, `script`, `svg`, `use_glib`, `v1_16`, `v1_18`, `xcb`, and `xlib` = help: consider adding `win32-surface` 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 warning: unexpected `cfg` condition value: `win32-surface` --> /usr/share/cargo/registry/cairo-rs-0.21.5/src/lib.rs:293:20 | 293 | #[cfg(all(windows, feature = "win32-surface"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default`, `freetype`, `freetype-rs`, `glib`, `pdf`, `png`, `ps`, `quartz-surface`, `script`, `svg`, `use_glib`, `v1_16`, `v1_18`, `xcb`, and `xlib` = help: consider adding `win32-surface` 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 warning: `cairo-rs` (lib) generated 2 warnings Compiling gdk-pixbuf v0.21.5 Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=gdk_pixb [too-long-redacted] stry=/usr/share/cargo/registry` Compiling pango v0.21.5 Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=pango CA [too-long-redacted] stry=/usr/share/cargo/registry` Compiling gdk4 v0.10.3 (/<<PKGBUILDDIR>>) Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=gdk4 CAR [too-long-redacted] stry=/usr/share/cargo/registry` error[E0412]: cannot find type `String` in crate `glib` --> src/auto/rgba.rs:48:44 | 48 | pub fn print(&self, string: &mut glib::String) -> glib::String { | ^^^^^^ | ::: /usr/share/cargo/registry/glib-0.21.5/src/gstring.rs:1073:1 | 1073 | pub struct GString(Inner); | ------------------ similarly named struct `GString` defined here | help: a struct with a similar name exists | 48 | pub fn print(&self, string: &mut glib::GString) -> glib::String { | + help: consider importing this struct | 5 + use std::string::String; | help: if you import `String`, refer to it directly | 48 - pub fn print(&self, string: &mut glib::String) -> glib::String { 48 + pub fn print(&self, string: &mut String) -> glib::String { | error[E0412]: cannot find type `String` in crate `glib` --> src/auto/rgba.rs:48:61 | 48 | pub fn print(&self, string: &mut glib::String) -> glib::String { | ^^^^^^ | ::: /usr/share/cargo/registry/glib-0.21.5/src/gstring.rs:1073:1 | 1073 | pub struct GString(Inner); | ------------------ similarly named struct `GString` defined here | help: a struct with a similar name exists | 48 | pub fn print(&self, string: &mut glib::String) -> glib::GString { | + help: consider importing this struct | 5 + use std::string::String; | help: if you import `String`, refer to it directly | 48 - pub fn print(&self, string: &mut glib::String) -> glib::String { 48 + pub fn print(&self, string: &mut glib::String) -> String { | error[E0425]: cannot find function `gdk_rgba_print` in crate `ffi` --> src/auto/rgba.rs:50:33 | 50 | from_glib_full(ffi::gdk_rgba_print(self.to_glib_none().0, string.to_glib_none_mut().0)) | ^^^^^^^^^^^^^^ help: a function with a similar name exists: `gdk_rgba_free` | ::: /usr/share/cargo/registry/gdk4-sys-0.10.3/src/lib.rs:4483:5 | 4483 | pub fn gdk_rgba_free(rgba: *mut GdkRGBA); | ----------------------------------------- similarly named function `gdk_rgba_free` defined here Some errors have detailed explanations: E0412, E0425. For more information about an error, try `rustc --explain E0412`. error: could not compile `gdk4` (lib) due to 3 previous errors Caused by: process didn't exit successfully: `CARGO=/usr/bin/cargo CA [too-long-redacted] argo/registry` (exit status: 1) dh_auto_test: error: /usr/share/cargo/bin/cargo build returned exit code 101 make: *** [debian/rules:4: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

