Due to recent glib/glib-introspection changes I re-enabled USE-introspection and the subsequent rebuild of json-glib-1.8.0 failed: ../json-glib-1.8.0/json-glib/json-object.c:944: Warning: Json: invalid "closure" annotation: only valid on callback parameters ../json-glib-1.8.0/json-glib/json-array.c:718: Warning: Json: invalid "closure" annotation: only valid on callback parameters <unknown>:: Fatal: Json: warnings configured as fatal <unknown>:: Fatal: Json: warnings configured as fatal Reproducible: Always Steps to Reproduce: 1. emerge json-glib-1.8.0 with USE="introspection" 2. build failure I locally bumped the json-glib ebuild to 1.10.0 (the latest stable release at https://gitlab.gnome.org/GNOME/json-glib) and while the changelog does not explicitly mention introspection, it does build correctly again.
Created attachment 913118 [details] json-glib-1.8.0 build log
https://gitlab.gnome.org/GNOME/json-glib/-/commit/a5eb23ca06a6ec345fba376296bd4236b7fb7635 probably
(In reply to Sam James from comment #2) > https://gitlab.gnome.org/GNOME/json-glib/-/commit/ > a5eb23ca06a6ec345fba376296bd4236b7fb7635 probably (there's other commits fixing said warnings)
*** Bug 945761 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a1baaeb3522dffb5bd7d6a0d9f477ec24dbf782 commit 9a1baaeb3522dffb5bd7d6a0d9f477ec24dbf782 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-12-05 18:40:48 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-12-05 18:40:48 +0000 dev-libs/json-glib: disable Werror-like-behaviour for introspection As I noted in the bug, there's fixes for the warnings themselves too, but I'd rather see a bump to handle those. Closes: https://bugs.gentoo.org/945771 Signed-off-by: Sam James <sam@gentoo.org> .../json-glib/files/json-glib-1.8.0-werror.patch | 27 ++++++++++++++++++++++ dev-libs/json-glib/json-glib-1.8.0.ebuild | 4 ++++ 2 files changed, 31 insertions(+)