Opened 11 months ago
Closed 11 months ago
#21259 closed enhancement (fixed)
gobject-introspection-1.84.0
| Reported by: | Douglas R. Reno | Owned by: | Douglas R. Reno |
|---|---|---|---|
| Priority: | normal | Milestone: | 12.4 |
| Component: | BOOK | Version: | git |
| Severity: | normal | Keywords: | |
| Cc: |
Description
New minor version
Change History (5)
comment:1 by , 11 months ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 11 months ago
comment:3 by , 11 months ago
This version of gobject-introspection causes a regression in glib that we'll need to patch for. The issue is evident when running the test suite, where "glib:girepository+no-valgrind+compiler / gi-compile-repository.py" fails.
I found the following lines in the log:
not ok 4 __main__.TestGICompileRepositoryForGObject.test_compile
# gir path set to [PosixPath('/sources/glib-2.84.0/glib-2.84.0/build-glib/girepository/
introspection')]
# gi-compile-repository: /sources/glib-2.84.0/glib-2.84.0/build-glib/girepository/
compiler/gi-compile-repository
# tmpdir: /tmp/tmpzuefndcv
# Running: ['/sources/glib-2.84.0/glib-2.84.0/build-glib/girepository/compiler/gi-
compile-repository', '/sources/glib-2.84.0/glib-2.84.0/build-glib/girepository/
introspection/GObject-2.0.gir', '--output', '/tmp/tmpzuefndcv/GObject-2.typelib', '--
includedir', '/sources/glib-2.84.0/glib-2.84.0/build-glib/girepository/introspection']
# Return code: 0
# Output:
#
# Error:
# /sources/glib-2.84.0/glib-2.84.0/build-glib/girepository/introspection/GLib-2.0.gir:12:31: warning: element doc:format from state 3 is unknown, ignoring
# /sources/glib-2.84.0/glib-2.84.0/build-glib/girepository/introspection/GObject-2.0.gir:13:31: warning: element doc:format from state 3 is unknown, ignoring
---
message: |
Traceback (most recent call last):
File "/sources/glib-2.84.0/glib-2.84.0/build-glib/../girepository/tests/gi-
compile-repository.py", line 101, in test_compile
self.assertFalse(result.err)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^
AssertionError: '/sources/glib-2.84.0/glib-2.84.0/build-glib/girepository/
introspection/GLib-2.0.gir:12:31: warning: element doc:format from state 3 is unknown,
ignoring\n/sources/glib-2.84.0/glib-2.84.0/build-glib/girepository/introspection/
GObject-2.0.gir:13:31: warning: element doc:format from state 3 is unknown, ignoring' is
not false
This was reported upstream at https://gitlab.gnome.org/GNOME/glib/-/issues/3634 and was fixed in https://gitlab.gnome.org/GNOME/glib/-/merge_requests/4550
comment:4 by , 11 months ago
The tests look a lot better with the patch:
Ok: 391 Expected Fail: 0 Fail: 0 Unexpected Pass: 0 Skipped: 5 Timeout: 0
From the MR: "For the moment, this information isn’t needed in libgirepository — but the GIR parser does have to know about the element in order to not throw an error claiming it’s invalid."
comment:5 by , 11 months ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |

1.83.2
1.83.4