🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #1259

Bug#1151215: rust-gstreamer-play: FTBFS: error[E0308]: mismatched types

#1259
From: Santiago Vila
Date: Sun, 18 Oct 2026 10:10
60 lines
4266 bytes
Package: src:rust-gstreamer-play
Version: 0.25.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:rust-gstreamer-play, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=gstreame [too-long-redacted] stry=/usr/share/cargo/registry`
   Compiling gstreamer-base v0.25.4
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=gstreame [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)
dh_auto_test: error: /usr/share/cargo/bin/cargo build returned exit code 101
make: *** [debian/rules:3: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Technical Details
Message-ID: <NPw02-6jE7-5@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!fu-berlin.de!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!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Santiago Vila <sanvila@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1151215: rust-gstreamer-play: FTBFS: error[E0308]: mismatched types
Date: Sun, 18 Oct 2026 12:10:02 +0200
Message-ID: <NPw02-6jE7-5@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Oct 18 10:07:10 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Santiago Vila <sanvila@debian.org>, 1151215@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 1151215
X-Debian-Pr-Package: src:rust-gstreamer-play
X-Debian-Pr-Keywords: forky ftbfs sid
X-Debian-Pr-Source: rust-gstreamer-play
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1997374
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 60
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sun, 18 Oct 2026 10:04:37 +0000
X-Original-Message-ID: <E1xINkr-00969o-1u@paradis.debian.org>