🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #767

Bug#1151154: rust-gst-plugin-gtk4: FTBFS: error[E0308]: mismatched types

#767
From: Santiago Vila
Date: Sat, 17 Oct 2026 13:40
80 lines
4655 bytes
Package: src:rust-gst-plugin-gtk4
Version: 0.15.2-3
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:rust-gst-plugin-gtk4, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
[gsk4-sys 0.11.5] cargo:rustc-cfg=system_deps_have_gtk4
   Compiling gdk4 v0.11.5
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=gdk4 CAR [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...
Error: CliError { error: Some(1 job failed

Stack backtrace:
   0: <unknown>
   1: <unknown>
   2: <unknown>
   3: <unknown>
   4: <unknown>
   5: <unknown>
   6: <unknown>
   7: <unknown>
   8: <unknown>
   9: <unknown>
  10: <unknown>
  11: <unknown>
  12: <unknown>
  13: __libc_start_main
  14: <unknown>), exit_code: 101 }
make[1]: *** [debian/rules:43: execute_after_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:28: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Technical Details
Message-ID: <NPcNH-68V2-21@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Santiago Vila <sanvila@debian.org>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1151154: rust-gst-plugin-gtk4: FTBFS: error[E0308]: mismatched types
Date: Sat, 17 Oct 2026 15:40:01 +0200
Message-ID: <NPcNH-68V2-21@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Sat Oct 17 13:39:41 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Santiago Vila <sanvila@debian.org>, 1151154@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: sanvila@debian.org, pkg-rust-maintainers@alioth-lists.debian.net
X-Debian-Pr-Message: report 1151154
X-Debian-Pr-Package: src:rust-gst-plugin-gtk4
X-Debian-Pr-Keywords: forky ftbfs sid
X-Debian-Pr-Source: rust-gst-plugin-gtk4
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/834764
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 80
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sat, 17 Oct 2026 13:38:30 +0000
X-Original-Message-ID: <E1xI4cI-008JrS-07@paradis.debian.org>