🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1151385: rust-aperture: FTBFS: error[E0308]: mismatched types

#1431
From: Santiago Vila
Date: Tue, 20 Oct 2026 10:40
63 lines
4400 bytes
Package: src:rust-aperture
Version: 0.12.0-4
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-aperture, 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-video v0.25.3
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=gstreame [too-long-redacted] stry=/usr/share/cargo/registry`
   Compiling gtk4 v0.11.5
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=gtk4 CAR [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...
dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 101
make[1]: *** [debian/rules:6: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:3: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Technical Details
Message-ID: <NQfqa-6JV2-13@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.xs3.de!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!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Santiago Vila <sanvila@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1151385: rust-aperture: FTBFS: error[E0308]: mismatched types
Date: Tue, 20 Oct 2026 12:40:02 +0200
Message-ID: <NQfqa-6JV2-13@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Oct 20 10:39:27 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Santiago Vila <sanvila@debian.org>, 1151385@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 1151385
X-Debian-Pr-Package: src:rust-aperture
X-Debian-Pr-Keywords: forky ftbfs sid
X-Debian-Pr-Source: rust-aperture
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1997658
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 63
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 20 Oct 2026 10:37:29 +0000
X-Original-Message-ID: <E1xJ7Dl-0015yj-1g@paradis.debian.org>