Bug#1084284: kooha: FTBFS: error[E0599]: the method `set` exists for struct `RefCell<String>`, but its trait bounds were not satisfied

Santiago Vila sanvila at debian.org
Mon Oct 7 09:32:32 BST 2024


Package: src:kooha
Version: 2.3.0-2
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
  debian/rules binary
dh binary
    dh_update_autotools_config
    dh_autoreconf
    debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/share/cargo/bin/cargo prepare-debian debian/cargo_registry --link-from-system
debian cargo wrapper: options, profiles, parallel, lto: ['parallel=2'] [] ['-j2']
debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu, x86_64-linux-gnu
debian cargo wrapper: linking /usr/share/cargo/registry/* into /<<PKGBUILDDIR>>/debian/cargo_registry/
rm -f Cargo.lock
dh_auto_configure -- \
-Dhost_arch="x86_64-unknown-linux-gnu" \


[... snipped ...]

     |
185 |                   glib::spawn_future_local(clone!(@strong obj => async move {
     |  __________________________________________^
186 | |                     if let Err(err) = gtk::FileLauncher::new(Some(&gio::File::for_uri(&uri)))
187 | |                         .launch_future(obj.active_window().as_ref())
188 | |                         .await
...   |
191 | |                     }
192 | |                 }));
     | |__________________^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/application.rs:199:42
     |
199 |                   glib::spawn_future_local(clone!(@strong obj => async move {
     |  __________________________________________^
200 | |                     if let Err(err) = gtk::FileLauncher::new(Some(&gio::File::for_uri(&uri)))
201 | |                         .open_containing_folder_future(obj.active_window().as_ref())
202 | |                         .await
...   |
205 | |                     }
206 | |                 }));
     | |__________________^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/area_selector/view_port.rs:376:21
     |
376 | /                     clone!(@weak obj => move |_| {
377 | |                         obj.queue_draw();
378 | |                     }),
     | |______________________^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/area_selector/view_port.rs:381:55
     |
381 |                       paintable.connect_invalidate_size(clone!(@weak obj => move |_| {
     |  _______________________________________________________^
382 | |                         obj.queue_resize();
383 | |                     })),
     | |______________________^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/area_selector/mod.rs:140:43
     |
140 |                   .connect_selection_notify(clone!(@weak obj => move |_| {
     |  ___________________________________________^
141 | |                     obj.update_selection_ui();
142 | |                 }));
     | |__________________^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/area_selector/mod.rs:145:48
     |
145 |                   .connect_paintable_rect_notify(clone!(@weak obj => move |_| {
     |  ________________________________________________^
146 | |                     obj.update_selection_ui();
147 | |                 }));
     | |__________________^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/area_selector/mod.rs:252:17
     |
252 | /                 clone!(@weak this as obj => @default-return glib::ControlFlow::Break, move |_, message| {
253 | |                     obj.handle_bus_message(message)
254 | |                 }),
     | |__________________^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
   --> src/preferences_dialog.rs:91:54
    |
91 |               settings.connect_saving_location_changed(clone!(@weak obj => move |_| {
    |  ______________________________________________________^
92 | |                 obj.update_file_chooser_label();
93 | |             }));
    | |______________^
    |
    = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
   --> src/preferences_dialog.rs:94:46
    |
94 |               settings.connect_profile_changed(clone!(@weak obj => move |_| {
    |  ______________________________________________^
95 | |                 obj.update_profile_row_selected();
96 | |             }));
    | |______________^
    |
    = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
   --> src/preferences_dialog.rs:97:48
    |
97 |               settings.connect_framerate_changed(clone!(@weak obj => move |_| {
    |  ________________________________________________^
98 | |                 obj.update_framerate_row_selected();
99 | |             }));
    | |______________^
    |
    = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/preferences_dialog.rs:108:47
     |
108 |                   .connect_selected_item_notify(clone!(@weak obj => move |row| {
     |  _______________________________________________^
109 | |                     if let Some(item) = row.selected_item() {
110 | |                         let profile = profile_from_obj(&item);
111 | |                         obj.settings().set_profile(profile);
112 | |                     }
113 | |                 }));
     | |__________________^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/preferences_dialog.rs:115:47
     |
115 |                   .connect_selected_item_notify(clone!(@weak obj => move |row| {
     |  _______________________________________________^
116 | |                     if let Some(item) = row.selected_item() {
117 | |                         let framerate_option = item
118 | |                             .downcast_ref::<BoxedAnyObject>()
...   |
123 | |                     }
124 | |                 }));
     | |__________________^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/preferences_dialog.rs:209:13
     |
209 | /             clone!(@strong settings => move |list_item| {
210 | |                 let item = list_item.item().unwrap();
211 | |                 let item_row = list_item.child().unwrap().downcast::<ItemRow>().unwrap();
...   |
230 | |                 update_framerate_row_shows_warning_icon(&settings, list_item);
231 | |             }),
     | |______________^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/preferences_dialog.rs:223:29
     |
223 | / ...                   clone!(@weak list_item => move |settings| {
224 | | ...                       update_framerate_row_shows_warning_icon(settings, &list_item);
225 | | ...                   }),
     | |________________________^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/preferences_dialog.rs:232:13
     |
232 | /             clone!(@strong settings => move |list_item| {
233 | |                 unsafe {
234 | |                     let handler_id = list_item
235 | |                         .steal_data(SETTINGS_PROFILE_CHANGED_HANDLER_ID_KEY)
...   |
238 | |                 }
239 | |             }),
     | |______________^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/preferences_dialog.rs:300:27
     |
300 |       factory.connect_setup(clone!(@weak row => move |_, list_item| {
     |  ___________________________^
301 | |         let list_item = list_item.downcast_ref::<gtk::ListItem>().unwrap();
302 | |
303 | |         let item_row = ItemRow::new();
...   |
306 | |         list_item.set_child(Some(&item_row));
307 | |     }));
     | |______^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/preferences_dialog.rs:309:26
     |
309 |       factory.connect_bind(clone!(@weak row => move |_, list_item| {
     |  __________________________^
310 | |         let list_item = list_item.downcast_ref::<gtk::ListItem>().unwrap();
311 | |
312 | |         let item_row = list_item.child().unwrap().downcast::<ItemRow>().unwrap();
...   |
335 | |         bind_cb(list_item);
336 | |     }));
     | |______^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/preferences_dialog.rs:324:54
     |
324 |                       row.connect_selected_item_notify(clone!(@weak list_item => move |row| {
     |  ______________________________________________________^
325 | |                         update_item_row_is_selected(row, &list_item);
326 | |                     })),
     | |______________________^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/preferences_dialog.rs:338:28
     |
338 |       factory.connect_unbind(clone!(@weak row => move |_, list_item| {
     |  ____________________________^
339 | |         let list_item = list_item.downcast_ref::<gtk::ListItem>().unwrap();
340 | |
341 | |         unsafe {
...   |
348 | |         unbind_cb(list_item);
349 | |     }));
     | |______^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/recording.rs:230:13
     |
230 | /             clone!(@weak self as obj => move |secs_left| {
231 | |                 obj.set_state(RecordingState::Delayed {
232 | |                     secs_left
233 | |                 });
234 | |             }),
     | |______________^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/recording.rs:243:17
     |
243 | /                 clone!(@weak self as obj => @default-return glib::ControlFlow::Break, move |_, message|  {
244 | |                     obj.handle_bus_message(message)
245 | |                 }),
     | |__________________^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/recording.rs:251:13
     |
251 | /             clone!(@weak self as obj => @default-return glib::ControlFlow::Break, move || {
252 | |                 obj.update_duration();
253 | |                 obj.update_flushing_progress();
254 | |                 glib::ControlFlow::Continue
255 | |             }),
     | |______________^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/recording.rs:352:35
     |
352 |           glib::idle_add_local_once(clone!(@weak self as obj => move || {
     |  ___________________________________^
353 | |             obj.set_finished(Err(Error::from(Cancelled::new("recording"))));
354 | |         }));
     | |__________^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/timer.rs:144:17
     |
144 | /                 clone!(@weak self.inner as inner => @default-return glib::ControlFlow::Break, move || {
145 | |                     (inner.secs_left_changed_cb)(inner.secs_left());
146 | |                     glib::ControlFlow::Continue
147 | |                 }),
     | |__________________^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/timer.rs:154:17
     |
154 | /                 clone!(@weak self.inner as inner => move || {
155 | |                     inner.state.set(State::Done);
156 | |
157 | |                     if let Some(source_id) = inner.secs_left_changed_source_id.take() {
...   |
163 | |                     }
164 | |                 }),
     | |__________________^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
   --> src/window/progress_icon.rs:48:51
    |
48 |                   adw::CallbackAnimationTarget::new(clone!(@weak obj => move |value| {
    |  ___________________________________________________^
49 | |                     let imp = obj.imp();
50 | |                     imp.display_progress.set(value);
51 | |                     obj.queue_draw();
52 | |                 }));
    | |__________________^
    |
    = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/window/mod.rs:135:42
     |
135 |                   glib::spawn_future_local(clone!(@weak obj => async move {
     |  __________________________________________^
136 | |                     if obj.run_quit_confirmation_dialog().await.is_proceed() {
137 | |                         obj.destroy();
138 | |                     }
139 | |                 }));
     | |__________________^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/window/mod.rs:312:13
     |
312 | /             clone!(@weak self as obj => move |dialog, _| {
313 | |                 dialog.close();
314 | |
315 | |                 let app = Application::get();
...   |
320 | |                 debug_assert!(was_focused);
321 | |             }),
     | |______________^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/window/mod.rs:337:44
     |
337 |               recording.connect_state_notify(clone!(@weak self as obj => move |_| {
     |  ____________________________________________^
338 | |                 obj.update_view();
339 | |                 obj.update_inhibit();
340 | |             })),
     | |______________^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/window/mod.rs:341:47
     |
341 |               recording.connect_duration_notify(clone!(@weak self as obj => move |recording| {
     |  _______________________________________________^
342 | |                 let formatted_time = format_time::digital_clock(recording.duration());
343 | |                 obj.imp().recording_time_label.set_label(&formatted_time);
344 | |             })),
     | |______________^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/window/mod.rs:345:40
     |
345 |               recording.connect_finished(clone!(@weak self as obj => move |recording, res| {
     |  ________________________________________^
346 | |                 obj.handle_recording_finished(recording, res);
347 | |             })),
     | |______________^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/window/mod.rs:391:42
     |
391 |                   glib::spawn_future_local(clone!(@strong recording_file => async move {
     |  __________________________________________^
392 | |                     let app = Application::get();
393 | |                     app.send_record_success_notification(&recording_file, duration).await;
394 | |                 }));
     | |__________________^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/window/mod.rs:569:47
     |
569 |           settings.connect_capture_mode_changed(clone!(@weak self as obj => move |_| {
     |  _______________________________________________^
570 | |             obj.update_title_label();
571 | |         }));
     | |__________^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/window/mod.rs:573:42
     |
573 |           settings.connect_profile_changed(clone!(@weak self as obj => move |_| {
     |  __________________________________________^
574 | |             obj.update_audio_actions();
575 | |             obj.update_subtitle_label();
576 | |         }));
     | |__________^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/window/mod.rs:578:44
     |
578 |           settings.connect_framerate_changed(clone!(@weak self as obj => move |_| {
     |  ____________________________________________^
579 | |             obj.update_subtitle_label();
580 | |         }));
     | |__________^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated macro `clone`: Using old-style clone! syntax
    --> src/window/mod.rs:582:59
     |
582 |           settings.connect_screencast_restore_token_changed(clone!(@weak self as obj => move |_| {
     |  ___________________________________________________________^
583 | |             obj.update_forget_video_sources_action();
584 | |         }));
     | |__________^
     |
     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0599]: the method `set` exists for struct `RefCell<String>`, but its trait bounds were not satisfied
   --> src/item_row.rs:77:24
    |
77 |             self.title.set(title);
    |                        ^^^
    |
    = note: the following trait bounds were not satisfied:
            `std::cell::RefCell<std::string::String>: libadwaita::prelude::IsA<libadwaita::gio::Settings>`
            which is required by `std::cell::RefCell<std::string::String>: libadwaita::prelude::SettingsExtManual`
    = help: items from traits can only be used if the trait is in scope
help: trait `PropertySet` which provides `set` is implemented but not in scope; perhaps you want to import it
    |
4  +     use libadwaita::glib::property::PropertySet;
    |

error[E0599]: the method `set` exists for struct `RefCell<String>`, but its trait bounds were not satisfied
   --> src/item_row.rs:89:39
    |
89 |             self.warning_tooltip_text.set(warning_tooltip_text);
    |                                       ^^^
    |
    = note: the following trait bounds were not satisfied:
            `std::cell::RefCell<std::string::String>: libadwaita::prelude::IsA<libadwaita::gio::Settings>`
            which is required by `std::cell::RefCell<std::string::String>: libadwaita::prelude::SettingsExtManual`
    = help: items from traits can only be used if the trait is in scope
help: trait `PropertySet` which provides `set` is implemented but not in scope; perhaps you want to import it
    |
4  +     use libadwaita::glib::property::PropertySet;
    |

For more information about this error, try `rustc --explain E0599`.
warning: `kooha` (bin "kooha") generated 37 warnings
error: could not compile `kooha` (bin "kooha") due to 2 previous errors; 37 warnings emitted

Caused by:
   process didn't exit successfully: `CARGO=/usr/share/cargo/bin/cargo CARGO_BIN_NAME=kooha CARGO_CRATE_NAME=kooha CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Dave Patrick Caberto <davecruz48 at gmail.com>' CARGO_PKG_DESCRIPTION='' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=GPL-3.0-or-later CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=kooha CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=2.3.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>> LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/release/deps rustc --crate-name kooha --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=ae1a881b8d92ecd3 -C extra-filename=-ae1a881b8d92ecd3 --out-dir /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps -L dependency=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/release/deps --extern anyhow=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libanyhow-a5dab4b403b37059.rlib --extern futures_channel=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libfutures_channel-9aa224981162339d.rlib --extern futures_util=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libfutures_util-a5a16d45166a6d79.rlib --extern gdk_wayland=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libgdk4_wayland-1ff4b948137866bd.rlib --extern gdk_x11=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libgdk4_x11-5adb1dc30b455d61.rlib --extern gettextrs=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libgettextrs-7b3bc4485e15635a.rlib --extern gsettings_macro=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/release/deps/libgsettings_macro-137857ddcd0cc5e9.so --extern gstgif=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libgstgif-1e1a321aaef6f9be.rlib --extern gstgtk4=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libgstgtk4-f06081d8c73a3af8.rlib --extern gst=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libgstreamer-eb1be80334e89c87.rlib --extern gtk=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libgtk4-5227a3b101362ff3.rlib --extern adw=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/liblibadwaita-b8e04ce3a5040362.rlib --extern num_traits=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libnum_traits-829a90d18f5f739d.rlib --extern once_cell=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libonce_cell-6adb74e5b31e6438.rlib --extern serde=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libserde-2372747c03ccd800.rlib --extern serde_yaml=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libserde_yaml-d352a5ae4bf6682f.rlib --extern tracing=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libtracing-73edc85167e5eb6e.rlib --extern tracing_subscriber=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libtracing_subscriber-2be6cb94ffd56639.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro -C link-arg=-Wl,-z,now --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/kooha-2.3.0 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry` (exit status: 1)
[47/48] /usr/bin/msgfmt -o po/ro/LC_MESSAGES/kooha.mo ../po/ro.po
FAILED: src/kooha
/usr/bin/env /usr/share/cargo/bin/cargo build --manifest-path /<<PKGBUILDDIR>>/Cargo.toml --target-dir /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src --release && cp src/x86_64-unknown-linux-gnu/release/kooha src/kooha
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v returned exit code 1
make: *** [debian/rules:16: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202410/

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 could not 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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.


More information about the pkg-gnome-maintainers mailing list