🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1150360: rust-libphosh: FTBFS: error[E0425]: cannot find function `phosh_screenshot_manager_select_area_async` in crate `ffi...

#180
From: Santiago Vila
Date: Thu, 08 Oct 2026 23:10
74 lines
5226 bytes
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, &mut error);
 42 +             let ret = ffi::phosh_screenshot_manager_take_screenshot(_source_object as *mut _, res, &mut error);
    |

error[E0425]: cannot find function `phosh_screenshot_manager_select_area_async` in crate `ffi`
   --> 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() -> 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`
  --> 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 '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Technical Details
Message-ID: <NM5pn-4lPo-5@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!3.eu.feeder.erje.net!feeder.erje.net!news.in-chemnitz.de!news.szaf.org!news.datentrampelpfad.de!news.imp.ch!news.corradoroberto.it!diesel.cu.mi.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!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.in-chemnitz.de!news.szaf.org!news.datentrampelpfad.de!news.imp.ch!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: Santiago Vila <sanvila@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1150360: rust-libphosh: FTBFS: error[E0425]: cannot find function `phosh_screenshot_manager_select_area_async` in crate `ffi`
Date: Fri, 09 Oct 2026 01:10:01 +0200
Message-ID: <NM5pn-4lPo-5@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Oct  8 23:03:19 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Santiago Vila <sanvila@debian.org>, 1150360@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 1150360
X-Debian-Pr-Package: src:rust-libphosh
X-Debian-Pr-Keywords: forky ftbfs sid
X-Debian-Pr-Source: rust-libphosh
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1995784
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 74
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 08 Oct 2026 23:00:53 +0000
X-Original-Message-ID: <E1xEx6b-0009ih-0E@paradis.debian.org>