[Pkg-rust-maintainers] Bug#1072159: rust-pango-sys FTBFS with nocheck build profile: cp: cannot stat '/usr/share/gir-1.0/Pango-1.0.gir': No such file or directory

Helmut Grohne helmut at subdivi.de
Wed May 29 06:09:03 BST 2024


Source: rust-pango-sys
Version: 0.19.5-2
Severity: serious
Tags: ftbfs trixie sid

rust-pango-sys fails to build from source when enabling the nocheck
build profile. A build ends with:

|    dh_auto_configure -O--buildsystem=cargo
| debian cargo wrapper: options, profiles, parallel, lto: ['nocheck', 'parallel=8'] ['nocheck'] ['-j8'] 0
| 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/
|    debian/rules execute_before_dh_auto_build
| make[1]: Entering directory '/<<PKGBUILDDIR>>'
| cp /usr/share/gir-1.0/GLib-2.0.gir /<<PKGBUILDDIR>>
| cp /usr/share/gir-1.0/GModule-2.0.gir /<<PKGBUILDDIR>>
| cp /usr/share/gir-1.0/GObject-2.0.gir /<<PKGBUILDDIR>>
| cp /usr/share/gir-1.0/Pango-1.0.gir /<<PKGBUILDDIR>>
| cp: cannot stat '/usr/share/gir-1.0/Pango-1.0.gir': No such file or directory
| make[1]: *** [debian/rules:12: execute_before_dh_auto_build] Error 1
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| make: *** [debian/rules:4: binary] Error 2
| dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Please review the <!nocheck> annotations in your package. Since trixie,
a nocheck build failure is considered release-critical.

Helmut



More information about the Pkg-rust-maintainers mailing list