Skip to content

Update for gobject-introspection 1.83's new doc:format element #1642

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jbicha opened this issue Mar 10, 2025 · 2 comments · May be fixed by #1641
Closed

Update for gobject-introspection 1.83's new doc:format element #1642

jbicha opened this issue Mar 10, 2025 · 2 comments · May be fixed by #1641

Comments

@jbicha
Copy link

jbicha commented Mar 10, 2025

Originally reported at https://bugs.debian.org/110054 . See the similar glib issue

gobject-introspection 1.83 emits a new doc:format.

In Debian, libadwaita was built against this new gobject-introspection which means that /usr/share/gir1.0/Adw-1.gir contains <doc:format name="unknown"/>

The gir command now fails when trying to process rust-libadwaita.

gir -o .
Error: "GirXml: ./Adw-1.gir at line 14:3: Unexpected element <format>"

If you are able to build Debian packages easily, then this error can be seen by trying to build rust-libadwaita in Debian Unstable.

@bilelmoussaoui
Copy link
Member

See #1641

@bilelmoussaoui bilelmoussaoui linked a pull request Mar 10, 2025 that will close this issue
@bilelmoussaoui
Copy link
Member

this was worked around already, the only missing bit is making use of the new tag which is in the 1641 PR, this one can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants