gnome-extra/gnome-contacts-42.0 will happily attempt to build on a system with stable keyword vala (0.52.10), however, in my case it failed with this error: https://dpaste.com/7NDTHM425 (build.log). When I installed the next newest version of vala; 0.54.7, it was used for the build and the build completed successfully.
Please provide emerge --info and attach a full build log. Pastebin links tend to expire/fail over time. Change the bug status back to UNCONFIRMED once the above has been provided.
Created attachment 771086 [details] jayf-838727-build-log.txt
Created attachment 771089 [details] jayf-838727-emerge-info.txt
I was able to fix this locally by adding VALA_MIN_API_VERSION="0.54" to gnome-contacts-42.0.ebuild. I would create a patch but I suspect it'd be more pain to merge it in than it would be to add the line locally :).
It seems like: https://gitlab.gnome.org/GNOME/gnome-contacts/-/tree/0733806c026504db7f644abd2d04385f54161773 introduced the code that the earlier vala (seemingly) breaks. But meson.build in the gnome-contacts repo still only specifies a minimum of 0.40.10.
(In reply to Jay Faulkner from comment #4) > I was able to fix this locally by adding > > VALA_MIN_API_VERSION="0.54" > > to gnome-contacts-42.0.ebuild. I would create a patch but I suspect it'd be > more pain to merge it in than it would be to add the line locally :). it isn't, it's very easy to merge :p
I was able to reproduce this on an otherwise up-to-date unstable system (that also had `vala:0.52` installed) by running VALA_MAX_API_VERSION="0.52" emerge -1 =gnome-extra/gnome-contacts-42.0.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3acb14fad25898657881117d29966ef8c20a11c5 commit 3acb14fad25898657881117d29966ef8c20a11c5 Author: Jay Faulkner <jay@jvf.cc> AuthorDate: 2022-04-16 23:33:43 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2022-04-17 00:44:18 +0000 gnome-extra/gnome-contacts: Require >=dev-lang/vala-0.54 Despite the meson.build upstream stating a minimum vala API of 0.40, any builds with that API or any lower that 0.54 fail. Closes: https://bugs.gentoo.org/838727 Closes: https://github.com/gentoo/gentoo/pull/25052 Signed-off-by: Jay Faulkner <jay@jvf.cc> Signed-off-by: Matt Turner <mattst88@gentoo.org> gnome-extra/gnome-contacts/gnome-contacts-42.0.ebuild | 1 + 1 file changed, 1 insertion(+)