[Pkg-rust-maintainers] Bug#1055622: rust-gdk-pixbuf-sys: FTBFS with nocheck build profile: cp: cannot stat '/usr/share/gir-1.0/GLib-2.0.gir': No such file or directory

Simon McVittie smcv at debian.org
Wed Nov 8 23:07:54 GMT 2023


Source: rust-gdk-pixbuf-sys
Version: 0.18.0-2
Severity: important

While testing a proposed update for gobject-introspection I found that
rust-gdk-pixbuf-sys FTBFS when built in sbuild with the nocheck build
profile:

> Command: dpkg-buildpackage --sanitize-env -Pnocheck -us -uc -B -rfakeroot
...
>    debian/rules execute_before_dh_auto_build
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> cp /usr/share/gir-1.0/GLib-2.0.gir /<<PKGBUILDDIR>>
> cp: cannot stat '/usr/share/gir-1.0/GLib-2.0.gir': No such file or directory

Either libgirepository1.0-dev should not be <!nocheck>, or that cp command
needs to be skipped when built with nocheck.

(Other GObject-Introspection-adjacent Rust libraries might have the same
issue, I haven't attempted to rebuild all of them.)

Thanks,
    smcv



More information about the Pkg-rust-maintainers mailing list