Article View: linux.debian.bugs.dist
Article #1556Bug#1151510: rust-gstreamer-video: error[E0308]: mismatched types expected `*mut [i32; 4]`, found `*mut i32`
From: Arnaud Rebillout
Date: Wed, 21 Oct 2026 07:00
Date: Wed, 21 Oct 2026 07:00
43 lines
3323 bytes
3323 bytes
Source: rust-gstreamer-video
Version: 0.25.3-2
Severity: normal
Dear Maintainer,
My tentative rust package fails to build today, it's actually
rust-gstreamer-video that fails to build:
```
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
```
The build passed last week, and the most obvious difference I can see in
the build environment is gstreamer-video-sys
- last week it was at v0.25.3 (build passed)
- this week it's at v0.25.4 (build failing)
So I suppose rust-gstreamer-video needs to be bumper to 0.25.4 as well?
Just trying to guess.
Full link to the build log, in case it helps:
https://salsa.debian.org/arnaudr/gst-pipeline-studio/-/jobs/10515863/viewer
Thanks,
Arnaud
Technical Details
Message-ID:
<NQysN-6VHC-9@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Arnaud Rebillout <arnaudr@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1151510: rust-gstreamer-video: error[E0308]: mismatched types expected `*mut [i32; 4]`, found `*mut i32` Date: Wed, 21 Oct 2026 09:00:01 +0200 Message-ID: <NQysN-6VHC-9@gated-at.bofh.it> X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Wed Oct 21 06:59:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Arnaud Rebillout <arnaudr@debian.org>, 1151510@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: pkg-rust-maintainers@alioth-lists.debian.net X-Debian-Pr-Message: report 1151510 X-Debian-Pr-Package: src:rust-gstreamer-video X-Debian-Pr-Source: rust-gstreamer-video Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: reportbug 13.2.0+nmu1 X-Debian-User: arnaudr X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1997863 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 43 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 21 Oct 2026 13:56:10 +0700 X-Original-Message-ID: <179256577066.770728.1978585834383782594.reportbug@carbon>