[Pkg-rust-maintainers] Bug#1137410: rust-poppler-rs: FTBFS: Error: "Couldn't find `Poppler-0.18`..."

Santiago Vila sanvila at debian.org
Sat May 23 14:46:37 BST 2026


Package: src:rust-poppler-rs
Version: 0.26.0-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

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

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 cannot 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 add an affects on src:rust-poppler-rs, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem cargo
   dh_auto_clean -O--buildsystem=cargo
debian cargo wrapper: options = ['parallel=2'], profiles = [], parallel = ['-j2'], lto = 
debian cargo wrapper: rust_type = x86_64-unknown-linux-gnu, gnu_type = x86_64-linux-gnu
debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', 'clean', '--verbose', '--verbose'],) {'check': True}
     Removed 0 files
   dh_autoreconf_clean -O--buildsystem=cargo
   dh_clean -XCargo.toml.orig -O--buildsystem=cargo
 debian/rules binary
dh binary --buildsystem cargo
   dh_update_autotools_config -O--buildsystem=cargo
   dh_autoreconf -O--buildsystem=cargo
   dh_auto_configure -O--buildsystem=cargo
debian cargo wrapper: options = ['parallel=2'], profiles = [], parallel = ['-j2'], lto = 
debian cargo wrapper: rust_type = x86_64-unknown-linux-gnu, gnu_type = 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>>'
deb-gir-tool find \
	--target-directory=/<<PKGBUILDDIR>> \
	--verbose \
	--with-dependencies \
	Poppler-0.18
deb-gi-tool: Copied “/usr/share/gir-1.0/Poppler-0.18.gir” to “/<<PKGBUILDDIR>>/Poppler-0.18.gir”
deb-gi-tool: Poppler-0.18 depends on GObject-2.0
deb-gi-tool: Poppler-0.18 depends on Gio-2.0
deb-gi-tool: Poppler-0.18 depends on cairo-1.0
deb-gi-tool: Copied “/usr/share/gir-1.0/GObject-2.0.gir” to “/<<PKGBUILDDIR>>/GObject-2.0.gir”
deb-gi-tool: GObject-2.0 depends on GLib-2.0
deb-gi-tool: Copied “/usr/share/gir-1.0/Gio-2.0.gir” to “/<<PKGBUILDDIR>>/Gio-2.0.gir”
deb-gi-tool: Gio-2.0 depends on GLib-2.0
deb-gi-tool: Gio-2.0 depends on GModule-2.0
deb-gi-tool: Gio-2.0 depends on GObject-2.0 which was already processed
deb-gi-tool: Copied “/usr/share/gir-1.0/cairo-1.0.gir” to “/<<PKGBUILDDIR>>/cairo-1.0.gir”
deb-gi-tool: cairo-1.0 depends on GObject-2.0 which was already processed
deb-gi-tool: Copied “/usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir” to “/<<PKGBUILDDIR>>/GLib-2.0.gir”
deb-gi-tool: Copied “/usr/share/gir-1.0/GModule-2.0.gir” to “/<<PKGBUILDDIR>>/GModule-2.0.gir”
deb-gi-tool: GModule-2.0 depends on GLib-2.0 which was already processed
xmlstarlet ed -L \
-u '//*[@glib:error-domain="g-option-context-error-quark"]/@glib:error-domain' -v g-option-error-quark \
-u '//_:record[@name="KeyFile"]/_:method[@name="set_boolean_list"]//_:parameter[@name="list"]/_:array/@c:type' -v "gboolean*" \
-u '//_:record[@name="KeyFile"]/_:method[@name="set_double_list"]//_:parameter[@name="list"]/_:array/@c:type' -v "gdouble*" \
-u '//_:record[@name="KeyFile"]/_:method[@name="set_integer_list"]//_:parameter[@name="list"]/_:array/@c:type' -v "gint*" \
-u '//_:record[@name="KeyFile"]/_:method[@name="set_locale_string_list"]//_:parameter[@name="list"]/_:array/@c:type' -v "const gchar* const*" \
-u '//_:record[@name="KeyFile"]/_:method[@name="set_string_list"]//_:parameter[@name="list"]/_:array/@c:type' -v "const gchar* const*" \
GLib-2.0.gir
xmlstarlet ed -L \
-u '//_:class[@name="Object"]/_:method[@name="getv"]//_:parameter[@name="names"]/_:array/@c:type' -v "const gchar**" \
-u '//_:class[@name="Object"]/_:method[@name="getv"]//_:parameter[@name="values"]/_:array/@c:type' -v "GValue*" \
-u '//_:class[@name="Object"]/_:method[@name="setv"]//_:parameter[@name="names"]/_:array/@c:type' -v "const gchar**" \
-u '//_:class[@name="Object"]/_:method[@name="setv"]//_:parameter[@name="values"]/_:array/@c:type' -v "const GValue*" \
-u '//_:class[@name="Object"]/_:constructor[@name="new_with_properties"]//_:parameter[@name="names"]/_:array/@c:type' -v "const char**" \
-u '//_:class[@name="Object"]/_:constructor[@name="new_with_properties"]//_:parameter[@name="values"]/_:array/@c:type' -v "const GValue*" \
-i '//_:interface[@name="TypePlugin" and not(@glib:type-struct)]' -t 'attr' -n 'glib:type-struct' -v 'TypePluginClass' \
-i '//_:record[@name="TypePluginClass" and not(@glib:is-gtype-struct-for)]' -t 'attr' -n 'glib:is-gtype-struct-for' -v 'TypePlugin' \
GObject-2.0.gir
xmlstarlet ed -L -d  '///_:doc-version[@xml:space="preserve"]' Poppler-0.18.gir 
sed -i 's/girs_directories\s=\s\[\"\.\.\/\.\.\/gir-files\"\]/girs_directories=\[\".\"\]/' /<<PKGBUILDDIR>>/Gir.toml
gir -o .
Error: "Couldn't find `Poppler-0.18`..."
make[1]: *** [debian/rules:16: execute_before_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------



More information about the Pkg-rust-maintainers mailing list