#1146083 rust-gio: FTBFS: error[E0425]: cannot find type `GDBusActionGroupClass` in crate `ffi`

#1146083#5
Date:
2026-08-29 16:11:22 UTC
From:
To:
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/202608/

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

Thanks.
--------------------------------------------------------------------------------
[...]
   Compiling glib v0.22.8
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=glib CAR [too-long-redacted] stry=/usr/share/cargo/registry`
   Compiling futures-io v0.3.33
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=futures_io CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/futures-io-0.3.33 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/futures-io-0.3.33/Cargo.toml CARGO_PKG_AUTHORS='' CARGO_PKG_DESCRIPTION='The `AsyncRead`, `AsyncWrite`, `AsyncSeek`, and `AsyncBufRead` traits for the futures-rs library.
' CARGO_PKG_HOMEPAGE='https://rust-lang.github.io/futures-rs [too-long-redacted] stry=/usr/share/cargo/registry`
   Compiling gio v0.22.8 (/<<PKGBUILDDIR>>)
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=gio CARG [too-long-redacted] stry=/usr/share/cargo/registry`
error[E0425]: cannot find type `GDBusActionGroupClass` in crate `ffi`
    --> src/auto/dbus_action_group.rs:10:67
     |
  10 |     pub struct DBusActionGroup(Object<ffi::GDBusActionGroup, ffi::GDBusActionGroupClass>) @implements ActionGroup, RemoteActionGroup;
     |                                                                   ^^^^^^^^^^^^^^^^^^^^^
     |
    ::: /usr/share/cargo/registry/gio-sys-0.22.8/src/lib.rs:7306:1
     |
7306 | pub struct GDBusActionGroup {
     | --------------------------- similarly named struct `GDBusActionGroup` defined here
     |
help: a struct with a similar name exists
     |
  10 -     pub struct DBusActionGroup(Object<ffi::GDBusActionGroup, ffi::GDBusActionGroupClass>) @implements ActionGroup, RemoteActionGroup;
  10 +     pub struct DBusActionGroup(Object<ffi::GDBusActionGroup, ffi::GDBusActionGroup>) @implements ActionGroup, RemoteActionGroup;
     |

warning: unexpected `cfg` condition value: `v2_90`
  --> src/auto/unix_fd_list.rs:36:11
   |
36 |     #[cfg(feature = "v2_90")]
   |           ^^^^^^^^^^-------
   |                     |
   |                     help: there is a expected value with a similar name: `"v2_80"`
   |
   = note: expected values for `feature` are: `v2_58`, `v2_60`, `v2_62`, `v2_64`, `v2_66`, `v2_68`, `v2_70`, `v2_72`, `v2_74`, `v2_76`, `v2_78`, `v2_80`, `v2_82`, `v2_84`, `v2_86`, and `v2_88`
   = help: consider adding `v2_90` as a feature in `Cargo.toml`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
   = note: `#[warn(unexpected_cfgs)]` on by default

warning: unexpected `cfg` condition value: `v2_90`
  --> src/auto/unix_fd_list.rs:53:11
   |
53 |     #[cfg(feature = "v2_90")]
   |           ^^^^^^^^^^-------
   |                     |
   |                     help: there is a expected value with a similar name: `"v2_80"`
   |
   = note: expected values for `feature` are: `v2_58`, `v2_60`, `v2_62`, `v2_64`, `v2_66`, `v2_68`, `v2_70`, `v2_72`, `v2_74`, `v2_76`, `v2_78`, `v2_80`, `v2_82`, `v2_84`, `v2_86`, and `v2_88`
   = help: consider adding `v2_90` as a feature in `Cargo.toml`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `v2_90`
  --> src/auto/unix_fd_list.rs:62:11
   |
62 |     #[cfg(feature = "v2_90")]
   |           ^^^^^^^^^^-------
   |                     |
   |                     help: there is a expected value with a similar name: `"v2_80"`
   |
   = note: expected values for `feature` are: `v2_58`, `v2_60`, `v2_62`, `v2_64`, `v2_66`, `v2_68`, `v2_70`, `v2_72`, `v2_74`, `v2_76`, `v2_78`, `v2_80`, `v2_82`, `v2_84`, `v2_86`, and `v2_88`
   = help: consider adding `v2_90` as a feature in `Cargo.toml`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

For more information about this error, try `rustc --explain E0425`.
warning: `gio` (lib) generated 3 warnings
error: could not compile `gio` (lib) due to 1 previous error; 3 warnings emitted

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:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1146083#10
Date:
2026-09-01 13:04:43 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
rust-gio, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1146083@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jeremy Bícha <jbicha@ubuntu.com> (supplier of updated rust-gio package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 1 Sep 2026 14:07:55 +0200
Source: rust-gio
Built-For-Profiles: derivative.ubuntu noudeb
Architecture: source
Version: 0.22.9-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Changed-By: Jeremy Bícha <jbicha@ubuntu.com>
Closes: 1146083
Changes:
 rust-gio (0.22.9-1) unstable; urgency=medium
 .
   * Team upload
   * Package gio 0.22.9 from crates.io using debcargo 2.8.4
     (Closes: #1146083)
   * Build with glib2.0 2.89.4
Checksums-Sha1:
 889a3605833774e8d6a03563656640e591009260 2901 rust-gio_0.22.9-1.dsc
 67c437e90d10f9c43b9381ff587dabc318c1d12a 251368 rust-gio_0.22.9.orig.tar.gz
 23c2a8a916f4983f26a511f7195397284db7ac4b 5560 rust-gio_0.22.9-1.debian.tar.xz
 e120f62a087474cc4f8f71b7cc9dc6c6e7f8aca6 8177 rust-gio_0.22.9-1_source.buildinfo
Checksums-Sha256:
 e8650e02416d744dc69ab271cede487850b7b3d1cf848ca90d0bce0f7a6da51c 2901 rust-gio_0.22.9-1.dsc
 b399f4650bb52c051f3fdf49a234e8a27ab5725c8cd774556c55eee64b2c0350 251368 rust-gio_0.22.9.orig.tar.gz
 501ee1ccf90f6e84b2a2805ef01095f4801fb0a30d41748b0b3b507b1501ed0a 5560 rust-gio_0.22.9-1.debian.tar.xz
 e4322868fbee8fb75471d6d19e08a30dc2cab46a4c5f7795bb9fe113814467ed 8177 rust-gio_0.22.9-1_source.buildinfo
Files:
 3ae223fd79cd6eae906cb68724a79dbd 2901 rust optional rust-gio_0.22.9-1.dsc
 9848415dfbd8734dddf25768cac51742 251368 rust optional rust-gio_0.22.9.orig.tar.gz
 7dcedf4d86211bfab6a1fa6a4204f6c2 5560 rust optional rust-gio_0.22.9-1.debian.tar.xz
 4a198a8745530c1a57641c7f0482d698 8177 rust optional rust-gio_0.22.9-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEETQvhLw5HdtiqzpaW5mx3Wuv+bH0FAmqWyqsACgkQ5mx3Wuv+
bH1keRAAodUV+1B5Sjz8b8wQJtg2I5dj58Uu0tisAPpoFWV8Mq3Hj2XWaU2I2Tpw
GNG0hAhSHeVRor7zL8D4C5fq0YG+b6sOBhOOG7vh+bni0v4IUDDg2a3Fn7oTf1qC
BMeSU481TK5gQgINTewNlXY6hRDzQiNPUIrwaOEzyahRQs3pjTVcbCUKupLN/gpL
RkXBf0nuksX1n0HmAKWQWq55ioIdwtgS3WBU8xMF5EZAM3kNU/mfkAIVZ1K6uJuS
+aqDODn7H1oN4va8nk0ne35uu29/yxZQCu/TwDgI8tsGzqPmvU5qNs+dCunSz6gP
vJK/dtLCe1eFobzVb/6OTZIBV+vbanEngxAzAV8MrXEyM013LcdRGhVPJIzBHv4U
ePm7QGMzClnpYUvmrWlHJuHh0KgGI9LR5fqVR9b/gdlDG4V/gd45V6gDxsR6azPS
9EEB8/ZwYmVaxLOdzVpqOLoHjgzie90SyeppOLZGu1TrNfDE3gyZmMy7miIdwLiu
XUBRa5DMPFKGLToXs73EzwBym4n441F3jDWXzc4qdxlVT8RJsNj/mHXizdqS9n6e
glQ8Uaf5+BpbgSGUmTah8B9gHI/qapiltk3bxgYpqi+ufqmCji9PyIppbBr28537
WySxHo6a7dJqT1+Bb7BVA16kx95A617xfKzSNj93RpIoa6xNXAs=
=nGbP
-----END PGP SIGNATURE-----