Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Santiago Vila
Thu, 08 Oct 2026 23:10
Bug#1150360: rust-libphosh: FTBFS: error[E0425]: cannot find function `phosh_screenshot_manager_select_area_async` in crate `ffi...
Author: Santiago Vila
Date: Thu, 08 Oct 2026 23:10
Date: Thu, 08 Oct 2026 23:10
74 lines
5226 bytes
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
--------------------------------------------------------------------------------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads