Bug#1151383: gnome-snapshot: FTBFS: error[E0308]: mismatched types

Santiago Vila sanvila at debian.org
Tue Oct 20 11:37:25 BST 2026


Package: src:gnome-snapshot
Version: 51.0-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/202610/

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

Thanks.

--------------------------------------------------------------------------------
[...]
' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/regex' CA [too-long-redacted] stry=/usr/share/cargo/registry`
   Compiling lru v0.16.4
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=lru CARG [too-long-redacted] stry=/usr/share/cargo/registry`
   Compiling gstreamer-video v0.25.3
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=gstreame [too-long-redacted] stry=/usr/share/cargo/registry`
error[E0308]: mismatched types
    --> /usr/share/cargo/registry/gstreamer-video-0.25.3/src/video_format_info.rs:384:80
     |
 384 |             ffi::gst_video_format_info_component(self.to_glib_none().0, plane, comp.as_mut_ptr());
     |             ------------------------------------                               ^^^^^^^^^^^^^^^^^ expected `*mut [i32; 4]`, found `*mut i32`
     |             |
     |             arguments to this function are incorrect
     |
     = note: expected raw pointer `*mut [i32; 4]`
                found raw pointer `*mut i32`
note: function defined here
    --> /usr/share/cargo/registry/gstreamer-video-sys-0.25.4/src/lib.rs:3748:12
     |
3748 |     pub fn gst_video_format_info_component(
     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0308`.
error: could not compile `gstreamer-video` (lib) due to 1 previous error

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...
[61/62] /usr/bin/msgfmt -o po/zh_TW/LC_MESSAGES/snapshot.mo ../po/zh_TW.po
FAILED: [code=101] src/snapshot 
env CARGO_TARGET_DIR=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target /usr/share/cargo/bin/cargo build --manifest-path /<<PKGBUILDDIR>>/Cargo.toml --features x11 --release && cp /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/x86_64-unknown-linux-gnu/release/snapshot src/snapshot
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v returned exit code 101
make: *** [debian/rules:21: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------



More information about the pkg-gnome-maintainers mailing list