Your message dated Sat, 17 Oct 2026 06:16:39 +0200
with message-id
<caaajcmbsy8rvtcyagvoq2tzh7gtyexuqqubnupvblfwx-vy...@mail.gmail.com>
and subject line Re: rust-libphosh: FTBFS: error[E0425]: cannot find function
`phosh_screenshot_manager_select_area_async` in crate `ffi`
has caused the Debian Bug report #1150360,
regarding rust-libphosh: FTBFS: error[E0425]: cannot find function
`phosh_screenshot_manager_select_area_async` in crate `ffi`
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1150360: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1150360
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--------------------------------------------------------------------------------
--- End Message ---
--- Begin Message ---
rust-libphosh seems to build ok now. I think this issue was fixed by
rebuilding rust-libphosh-sys after phosh was updated.
https://tracker.debian.org/news/1805871/accepted-rust-libphosh-sys-007-4-source-into-unstable/
Thank you,
Jeremy BĂcha
--- End Message ---