[From nobody Sat Oct 17 05:19:06 2026
Received: (at submit) by bugs.debian.org; 8 Oct 2026 23:00:55 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-119.4 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,LONGWORD,
 SPF_HELO_PASS,SPF_PASS,USER_IN_DKIM_WELCOMELIST,X_DEBBUGS_CC
 autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 20; hammy, 150; neutral, 129; spammy,
 0. spammytokens: hammytokens:0.000-+--pkgbuilddir,
 0.000-+--PKGBUILDDIR, 0.000-+--HTo:N*Debian, 0.000-+--forky,
 0.000-+--H*F:U*sanvila
Return-path: &lt;sanvila@debian.org&gt;
Received: from mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72]:58844)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1xEx6e-000GK6-0s
 for submit@bugs.debian.org; Thu, 08 Oct 2026 23:00:55 +0000
Received: via submission
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=paradis.debian.org, EMAIL=hostmaster@paradis.debian.org (verified)
 by mailly.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1xEx6c-0005TX-17
 for submit@bugs.debian.org; Thu, 08 Oct 2026 23:00:54 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.paradis;
 h=Date:Message-Id:Subject:To:From:Reply-To:Cc:
 MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=3e0tTCsP1dE9DJjnD4uyShX3vBvtF5I7HSSocitz/Uw=; b=qVl6EslY51e7fjDQ40H+SEHE2i
 qVaXB5OuMsxI6eiAud69VfhZ2ok/97vjIbEQ1V30kYLzKzc2qH5NXcboN2I6Iu1vhqLib7E8wBmp1
 Y+SRtZLnX/x/9OrWxfDCqVZtw96J/qBth9BGtPxgPQz846OeQ2Y8k1Q4VsJ7sSLMqvhI5Cr/iPOzf
 60SY02+H+GIa+PPFdeg2qk9DG+b4SzFRvhNLBgGe2CLTFTRtbv61DdyaAAuReOOy/Tct2RyE8eBhW
 DmTE7Zge+3/PApsAJp5QfKucWk6m8zUCU5sLCjmCxuZfphCAplfmmhDQJTI9apT/pMiG0EYy9bPn+
 P0vwptqg==;
Received: from sanvila by paradis.debian.org with local (Exim 4.96)
 (envelope-from &lt;sanvila@debian.org&gt;) id 1xEx6b-0009ih-0E
 for submit@bugs.debian.org; Thu, 08 Oct 2026 23:00:53 +0000
From: Santiago Vila &lt;sanvila@debian.org&gt;
To: Debian BTS &lt;submit@bugs.debian.org&gt;
Subject: rust-libphosh: FTBFS: error[E0425]: cannot find function
 `phosh_screenshot_manager_select_area_async` in crate `ffi`
X-Debbugs-Cc: sanvila@debian.org
Message-Id: &lt;E1xEx6b-0009ih-0E@paradis.debian.org&gt;
Date: Thu, 08 Oct 2026 23:00:53 +0000
Delivered-To: submit@bugs.debian.org

Package: src:rust-libphosh
Version: 0.0.7-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-libphosh, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
    |
 42 -             let ret = ffi::phosh_screenshot_manager_select_area_finish(_source_object as *mut _, res, &amp;mut error);
 42 +             let ret = ffi::phosh_screenshot_manager_take_screenshot(_source_object as *mut _, res, &amp;mut error);
    |

error[E0425]: cannot find function `phosh_screenshot_manager_select_area_async` in crate `ffi`
   --&gt; src/auto/screenshot_manager.rs:50:18
    |
 50 | ...   ffi::phosh_screenshot_manager_select_area_async(self.to_glib_none().0, cancel.map(|p| p.as_ref()).to_glib_none().0, Some(call...
    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
   ::: /usr/share/cargo/registry/libphosh-sys-0.0.7/src/lib.rs:554:5
    |
554 |     pub fn phosh_screenshot_manager_get_type() -&gt; GType;
    |     ---------------------------------------------------- similarly named function `phosh_screenshot_manager_get_type` defined here
    |
help: a function with a similar name exists
    |
 50 -             ffi::phosh_screenshot_manager_select_area_async(self.to_glib_none().0, cancel.map(|p| p.as_ref()).to_glib_none().0, Some(callback), Box_::into_raw(user_data) as *mut _);
 50 +             ffi::phosh_screenshot_manager_get_type(self.to_glib_none().0, cancel.map(|p| p.as_ref()).to_glib_none().0, Some(callback), Box_::into_raw(user_data) as *mut _);
    |

warning: unused variable: `cancellable`
  --&gt; src/auto/screenshot_manager.rs:58:56
   |
58 |         Box_::pin(gio::GioFuture::new(self, move |obj, cancellable, send| {
   |                                                        ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cancellable`
   |
   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

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

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...
warning: `gtk` (lib) generated 30 warnings
dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 101
make[1]: *** [debian/rules:118: override_dh_auto_test] Error 25
make[1]: Leaving directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
]