[Pkg-rust-maintainers] Bug#1067351: rust-gdk4-wayland: FTBFS: make[1]: *** [debian/rules:31: execute_before_dh_auto_build] Error 101

Lucas Nussbaum lucas at debian.org
Wed Mar 20 21:01:38 GMT 2024


Source: rust-gdk4-wayland
Version: 0.7.2-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240319 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> cp /usr/share/gir-1.0/GLib-2.0.gir /<<PKGBUILDDIR>>
> cp /usr/share/gir-1.0/freetype2-2.0.gir /<<PKGBUILDDIR>>
> cp /usr/share/gir-1.0/GObject-2.0.gir /<<PKGBUILDDIR>>
> cp /usr/share/gir-1.0/Gio-2.0.gir /<<PKGBUILDDIR>>
> cp /usr/share/gir-1.0/PangoCairo-1.0.gir /<<PKGBUILDDIR>>
> cp /usr/share/gir-1.0/GdkWayland-4.0.gir /<<PKGBUILDDIR>>
> cp /usr/share/gir-1.0/HarfBuzz-0.0.gir /<<PKGBUILDDIR>>
> cp /usr/share/gir-1.0/Gdk-4.0.gir /<<PKGBUILDDIR>>
> cp /usr/share/gir-1.0/Pango-1.0.gir /<<PKGBUILDDIR>>
> cp /usr/share/gir-1.0/GdkPixbuf-2.0.gir /<<PKGBUILDDIR>>
> cp /usr/share/gir-1.0/GModule-2.0.gir /<<PKGBUILDDIR>>
> cp /usr/share/gir-1.0/cairo-1.0.gir /<<PKGBUILDDIR>>
> # We need to fix some gir files; lines taken from https://github.com/gtk-rs/gir-files/blob/master/fix.sh
> # this needs to be re-done for every new upstream release :(
> # freetype
> xmlstarlet ed -L \
> -d '///_:alias[@name="Int32"]' \
> freetype2-2.0.gir
> # harfbuzz
> xmlstarlet ed -L \
> -d '///_:function[@c:identifier="hb_graphite2_face_get_gr_face"]' \
> -d '///_:function[@c:identifier="hb_graphite2_font_get_gr_font"]' \
> -d '///_:function[@c:identifier="hb_ft_face_create"]' \
> -d '///_:function[@c:identifier="hb_ft_face_create_cached"]' \
> -d '///_:function[@c:identifier="hb_ft_face_create_referenced"]' \
> -d '///_:function[@c:identifier="hb_ft_font_create"]' \
> -d '///_:function[@c:identifier="hb_ft_font_create_cached"]' \
> -d '///_:function[@c:identifier="hb_ft_font_create_referenced"]' \
> -d '///_:function[@c:identifier="hb_ft_font_get_face"]' \
> -d '///_:function[@c:identifier="hb_ft_font_lock_face"]' \
> HarfBuzz-0.0.gir
> #pango
> xmlstarlet ed -L \
> -i '///_:type[not(@name) and @c:type="hb_font_t*"]' -t 'attr' -n 'name' -v "gconstpointer" \
> -u '//_:type[@c:type="hb_font_t*"]/@c:type' -v "gconstpointer" \
> -i '///_:array[not(@name) and @c:type="hb_feature_t*"]' -t 'attr' -n 'name' -v "gconstpointer" \
> -r '///_:array[@c:type="hb_feature_t*"]' -v "type" \
> -d '//_:type[@c:type="hb_feature_t*"]/*' \
> -d '//_:type[@c:type="hb_feature_t*"]/@length' \
> -d '//_:type[@c:type="hb_feature_t*"]/@zero-terminated' \
> -u '//_:type[@c:type="hb_feature_t*"]/@c:type' -v "gconstpointer" \
> Pango-1.0.gir
> xmlstarlet ed -L \
> -d '//_:record[@c:type="PangoGlyphVisAttr"]/_:field/@bits' \
> -d '//_:record[@c:type="PangoGlyphVisAttr"]/_:field[@name="is_color"]' \
> Pango-1.0.gir
> # gdk4-wayland
> xmlstarlet ed -L \
> -u '//_:class[@name="WaylandDevice"]/_:method[@name="get_wl_keyboard"]//_:type[@name="gpointer"]/@c:type' -v "gpointer" \
> -u '//_:class[@name="WaylandDevice"]/_:method[@name="get_wl_pointer"]//_:type[@name="gpointer"]/@c:type' -v "gpointer" \
> -u '//_:class[@name="WaylandDevice"]/_:method[@name="get_wl_seat"]//_:type[@name="gpointer"]/@c:type' -v "gpointer" \
> -u '//_:class[@name="WaylandDisplay"]/_:method[@name="get_wl_compositor"]//_:type[@name="gpointer"]/@c:type' -v "gpointer" \
> -u '//_:class[@name="WaylandDisplay"]/_:method[@name="get_wl_display"]//_:type[@name="gpointer"]/@c:type' -v "gpointer" \
> -u '//_:class[@name="WaylandMonitor"]/_:method[@name="get_wl_output"]//_:type[@name="gpointer"]/@c:type' -v "gpointer" \
> -u '//_:class[@name="WaylandSeat"]/_:method[@name="get_wl_seat"]//_:type[@name="gpointer"]/@c:type' -v "gpointer" \
> -u '//_:class[@name="WaylandSurface"]/_:method[@name="get_wl_surface"]//_:type[@name="gpointer"]/@c:type' -v "gpointer" \
> -u '//_:class[@name="WaylandDevice"]/_:method[@name="get_xkb_keymap"]//_:type[@name="gpointer"]/@c:type' -v "gpointer" \
> GdkWayland-4.0.gir
> sed -i 's/girs_directories\s=\s\[\"\.\.\/gir-files\"\]/girs_directories = \[\".\"\]/' /<<PKGBUILDDIR>>/Gir.toml
> gir -o .
> thread 'main' panicked at 'Incomplete library, unresolved: ["GLib.time_t"]', src/library_postprocessing.rs:69:9
> note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
> make[1]: *** [debian/rules:31: execute_before_dh_auto_build] Error 101


The full build log is available from:
http://qa-logs.debian.net/2024/03/19/rust-gdk4-wayland_0.7.2-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240319;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240319&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-rust-maintainers mailing list