bst2: fail to build components/librsvg.bst
Context
- Happens randomly on all arches
- The current error is:
error[E0425]: cannot find function `mut_override` in this scope
--> /buildstream/freedesktop-sdk/components/librsvg.bst/crates/pangocairo-0.15.1/src/auto/functions.rs:142:38
|
142 | ffi::pango_cairo_show_layout(mut_override(cr.to_glib_none().0), layout.to_glib_none().0);
| ^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `mut_override` in this scope
--> /buildstream/freedesktop-sdk/components/librsvg.bst/crates/pangocairo-0.15.1/src/auto/functions.rs:149:43
|
149 | ffi::pango_cairo_show_layout_line(mut_override(cr.to_glib_none().0), line.to_glib_none().0);
| ^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `mut_override` in this scope
--> /buildstream/freedesktop-sdk/components/librsvg.bst/crates/pangocairo-0.15.1/src/auto/functions.rs:157:13
|
157 | mut_override(cr.to_glib_none().0),
| ^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `mut_override` in this scope
--> /buildstream/freedesktop-sdk/components/librsvg.bst/crates/pangocairo-0.15.1/src/auto/functions.rs:166:40
|
166 | ffi::pango_cairo_update_layout(mut_override(cr.to_glib_none().0), layout.to_glib_none().0);
| ^^^^^^^^^^^^ not found in this scope
error[E0405]: cannot find trait `IsA` in this scope
--> /buildstream/freedesktop-sdk/components/librsvg.bst/crates/pangocairo-0.15.1/src/font_map.rs:13:9
|
13 | impl<O: IsA<FontMap>> FontMapExtManual for O {
| ^^^ not found in this scope
error[E0425]: cannot find function `from_glib_full` in this scope
--> /buildstream/freedesktop-sdk/components/librsvg.bst/crates/pangocairo-0.15.1/src/font_map.rs:23:18
|
23 | unsafe { from_glib_full(ffi::pango_cairo_font_map_new_for_font_type(fonttype.into())) }
| ^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `from_glib_full` in this scope
--> /buildstream/freedesktop-sdk/components/librsvg.bst/crates/pangocairo-0.15.1/src/font_map.rs:29:18
|
29 | unsafe { from_glib_full(ffi::pango_cairo_font_map_new()) }
| ^^^^^^^^^^^^^^ not found in this scope
Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0786.
For more information about an error, try `rustc --explain E0405`.
error: could not compile `pangocairo` due to 89 previous errors
See:
- Job #2701660556 failed for 988bf7f1:
- https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/jobs/2701661043
Upstream issue:
Edited by Seppo Yli-Olli