Bug#1100054: gir-rust-code-generator: Does not grok output of newer gobject-introspection
Samuel Thibault
sthibault at debian.org
Mon Mar 10 18:31:04 GMT 2025
Package: gir-rust-code-generator
Version: 0.20.5-1
Severity: serious
Justification: Makes rust packages FTBFS
Hello,
After e.g. rebuilding gtk4 with the latest gobject-introspection
(1.83.2-2), e.g. Gdk-4.0.gir contains an additional line:
<include name="cairo" version="1.0"/>
<package name="gtk4"/>
<c:include name="gdk/gdk.h"/>
+ <doc:format name="unknown"/>
<namespace name="Gdk"
version="4.0"
shared-library="libgtk-4.so.1"
which gir does not grok, when e.g. building rust-gtk4:
Error: "GirXml: ./Gdk-4.0.gir:16:29 Element doc:format prefix is unbound"
thus making e.g. rust-gtk4 fail to build.
I guess it's gir-rust-code-generator that somehow needs to be taught the
format that the newer gobject-introspection produces.
Samuel
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'oldstable-proposed-updates-debug'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64
Kernel: Linux 6.13.0 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages gir-rust-code-generator depends on:
ii libc6 2.40-7
ii libgcc-s1 15-20241220-1
gir-rust-code-generator recommends no packages.
gir-rust-code-generator suggests no packages.
-- no debconf information
--
Samuel
<D> m'enfin, le 5 juillet, le mec vient visiter le labo...
* D a marque d'une croix rouge le 5 juillet sur son agenda
<y> niarc niarc niarc
<D> cet homme va souffrir
<B> c'est donc le 5 juillet qu'il meurt d'un accident de la route écrasé par un truck muni d'un pare buffle
-+- #ens-mim - repaire de terroristes -+-
More information about the pkg-gnome-maintainers
mailing list