#1149423 gnome-tour: FTBFS: error[E0034]: multiple applicable items in scope

#1149423#5
Date:
2026-09-29 22:19:32 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/202609/

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

Thanks.
--------------------------------------------------------------------------------
[...]
   |
37 -                     win.close();
37 +                     gtk4::prelude::GtkWindowExt::close(&win);
   |

error[E0034]: multiple applicable items in scope
  --> src/widgets/window.rs:57:20
   |
57 |             widget.set_icon_name(Some(config::APP_ID));
   |                    ^^^^^^^^^^^^^ multiple `set_icon_name` found
   |
   = note: candidate #1 is defined in an impl of the trait `gtk4::prelude::ButtonExt` for the type `O`
   = note: candidate #2 is defined in an impl of the trait `gtk4::prelude::GdkAppLaunchContextExt` for the type `O`
   = note: candidate #3 is defined in an impl of the trait `gtk4::prelude::GtkWindowExt` for the type `O`
   = note: candidate #4 is defined in an impl of the trait `libadwaita::prelude::ActionRowExt` for the type `O`
   = note: and 2 others
help: disambiguate the method for candidate #1
   |
57 -             widget.set_icon_name(Some(config::APP_ID));
57 +             gtk4::prelude::ButtonExt::set_icon_name(&widget, Some(config::APP_ID));
   |
help: disambiguate the method for candidate #2
   |
57 -             widget.set_icon_name(Some(config::APP_ID));
57 +             gtk4::prelude::GdkAppLaunchContextExt::set_icon_name(&widget, Some(config::APP_ID));
   |
help: disambiguate the method for candidate #3
   |
57 -             widget.set_icon_name(Some(config::APP_ID));
57 +             gtk4::prelude::GtkWindowExt::set_icon_name(&widget, Some(config::APP_ID));
   |
help: disambiguate the method for candidate #4
   |
57 -             widget.set_icon_name(Some(config::APP_ID));
57 +             libadwaita::prelude::ActionRowExt::set_icon_name(&widget, Some(config::APP_ID));
   |

Some errors have detailed explanations: E0034, E0425.
For more information about an error, try `rustc --explain E0034`.
error: could not compile `gnome-tour` (bin "gnome-tour") due to 6 previous errors
FAILED: [code=101] src/gnome-tour
/usr/bin/cargo build --manifest-path /<<PKGBUILDDIR>>/Cargo.toml --target-dir /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src --release && cp src/release/gnome-tour src/gnome-tour
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j1 -v returned exit code 101
make: *** [debian/rules:15: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1149423#8
Date:
2026-10-02 03:51:50 UTC
From:
To:
Hello,

Bug #1149423 in gnome-tour reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/gnome-team/gnome-tour/-/commit/afdd5ad280e7bda2b4f52da73ced8c29828d4860
------------------------------------------------------------------------
Cherry-pick patch to fix build with latest rust-gtk4

Closes: #1149423
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1149423

#1149423#15
Date:
2026-10-02 04:06:03 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
gnome-tour, 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 1149423@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 gnome-tour 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: Fri, 02 Oct 2026 05:48:50 +0200
Source: gnome-tour
Built-For-Profiles: derivative.ubuntu noudeb
Architecture: source
Version: 50.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Changed-By: Jeremy Bícha <jbicha@ubuntu.com>
Closes: 1149423
Changes:
 gnome-tour (50.0-2) unstable; urgency=medium
 .
   * Cherry-pick patch to fix build with latest rust-gtk4 (Closes: #1149423)
   * Update debhelper compat to 14
Checksums-Sha1:
 740058eb5f6fd1ab58ba1915d22c445796279571 2372 gnome-tour_50.0-2.dsc
 e066e69fc7688f5305fcf6f901a3be2af5578a90 4280 gnome-tour_50.0-2.debian.tar.xz
 ef7f0212469481b0c05827d6642402efebdac221 8977 gnome-tour_50.0-2_source.buildinfo
Checksums-Sha256:
 473e9cc96afef30ecfdd363cd7e80b258c6fa7a987f7bbffd56dd48cc9366856 2372 gnome-tour_50.0-2.dsc
 fae718c7ee635d0f2ce789aab5ff845e89a8051249fdb883aaeb4ab3cfd83669 4280 gnome-tour_50.0-2.debian.tar.xz
 237c4af053f1ca178704d45b27e8b9777c4e1f3d4f16dfddb9c60034f2174872 8977 gnome-tour_50.0-2_source.buildinfo
Files:
 2b13b7ea2ab592f4d974174de12ee40d 2372 gnome optional gnome-tour_50.0-2.dsc
 b30b8fbcaf1b99c9cb74dd4f5421035f 4280 gnome optional gnome-tour_50.0-2.debian.tar.xz
 e59ab724b875c7b3bbed276c8267381f 8977 gnome optional gnome-tour_50.0-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEETQvhLw5HdtiqzpaW5mx3Wuv+bH0FAmq/Km4ACgkQ5mx3Wuv+
bH2Ltw/9GWfCfwswwrwu6aNXR07Dsx8B4atagUb6QtFqTtCzMUpixUsHIcXDyx2P
oRgVGQ+Jk363FdneINpZwYAVvy1+2EMF5GdmazKJ58KXNtcgipqMXbPi1pDLYjY1
9JWiqLVHrsfX+q9xj3aCnUXVkbV+SwunTrro8iEjyWnEs90r4luWlF5bN7rgKiuH
52CmHx/Gay20cklIJ31k8IjlGRYZMyNJtD0WIExFVLWjzvv9LEwxTPuix/XllNbl
h2KRqEjBpXvXbhGqmds6JPsb7j9el2KCxW0qFtA+1hllYZM4bFrdOtmq+9AN+mj9
Dv1jyZCmPhB/YLCE8xklC3ccKz6Bw3V4OF4vLuepyPsphM28KCoJ4qFuzPLRGBMD
JLnwASKXP6OufBesgPuiH9z6LezBhl50NuFQ0cPhJrLbMDtK4TGOG41qvpfXGrpn
OOFm8n0WX2JxrqJTOp5IO4b58Ddv2usCaL0PPJDu4vUDnTwHcDm7C3rc4LmQHQAN
ly4amJSjktqdWXGHcab6SCJaj/5hUUCVjYAs1SMnlz3m1Nv3s36x6PIG4dzuGRDs
SU7xs/Y98XjbeZnpFcQmnNlA1KzNc7m8p1+RBoVCJlmaHQBuE8TEZIPIXBdUV2P6
TxnfAZoGOD3hmkR1QKo0Kmm/avjjXF0ltGbW+4F1XrKaftamoyc=
=9yDE
-----END PGP SIGNATURE-----