Created attachment 565612 [details] build log sb2600k ~ # emerge -pqv '=games-board/gnome-chess-3.28.1::gentoo' [ebuild R ] games-board/gnome-chess-3.28.1 ... >>> Compiling source in /var/tmp/portage/games-board/gnome-chess-3.28.1/work/gnome-chess-3.28.1 ... ninja -v -j9 -l0 -C /var/tmp/portage/games-board/gnome-chess-3.28.1/work/gnome-chess-3.28.1-build ninja: Entering directory `/var/tmp/portage/games-board/gnome-chess-3.28.1/work/gnome-chess-3.28.1-build' [1/31] glib-compile-resources ../gnome-chess-3.28.1/src/chess.gresource.xml --sourcedir ../gnome-chess-3.28.1/src --c-name resources --internal --generate --target src/org.gnome.chess.h [2/31] glib-compile-resources ../gnome-chess-3.28.1/src/chess.gresource.xml --sourcedir ../gnome-chess-3.28.1/src --c-name resources --internal --generate --target src/org.gnome.chess.c --dependency-file src/org.gnome.chess.c.d [3/31] /usr/lib64/python-exec/python3.5/meson --internal msgfmthelper ../gnome-chess-3.28.1/data/gnome-chess.appdata.xml.in data/gnome-chess.appdata.xml xml /var/tmp/portage/games-board/gnome-chess-3.28.1/work/gnome-chess-3.28.1/po [4/31] /usr/lib64/python-exec/python3.5/meson --internal msgfmthelper ../gnome-chess-3.28.1/data/gnome-chess.desktop.in data/gnome-chess.desktop desktop /var/tmp/portage/games-board/gnome-chess-3.28.1/work/gnome-chess-3.28.1/po [5/31] /usr/bin/valac-0.42 -C --debug --vapidir /var/tmp/portage/games-board/gnome-chess-3.28.1/work/gnome-chess-3.28.1/src --pkg config --pkg posix --pkg gio-unix-2.0 --target-glib 2.44.0 --pkg glib-2.0 --color=always --directory lib/76b5a35@@libchess@sta --basedir ../gnome-chess-3.28.1/lib --library libchess --header lib/libchess.h --vapi ../libchess.vapi --target-glib=2.44.0 ../gnome-chess-3.28.1/lib/chess-bitboard.vala ../gnome-chess-3.28.1/lib/chess-clock.vala ../gnome-chess-3.28.1/lib/chess-game.vala ../gnome-chess-3.28.1/lib/chess-move.vala ../gnome-chess-3.28.1/lib/chess-pgn.vala ../gnome-chess-3.28.1/lib/chess-piece.vala ../gnome-chess-3.28.1/lib/chess-player.vala ../gnome-chess-3.28.1/lib/chess-state.vala [6/31] /usr/bin/valac-0.42 -C --debug --vapidir /var/tmp/portage/games-board/gnome-chess-3.28.1/work/gnome-chess-3.28.1/src --pkg config --pkg posix --pkg librsvg-2.0 --pkg gtk+-3.0 --pkg gmodule-2.0 --target-glib 2.44.0 --pkg glib-2.0 --color=always --directory src/25a6634@@gnome-chess@exe --basedir ../gnome-chess-3.28.1/src --gresources=../gnome-chess-3.28.1/src/chess.gresource.xml --target-glib=2.44.0 ../gnome-chess-3.28.1/src/portability.vapi ../gnome-chess-3.28.1/src/ai-profile.vala ../gnome-chess-3.28.1/src/chess-engine-cecp.vala ../gnome-chess-3.28.1/src/chess-engine-uci.vala ../gnome-chess-3.28.1/src/chess-engine.vala ../gnome-chess-3.28.1/src/chess-scene.vala ../gnome-chess-3.28.1/src/chess-view.vala ../gnome-chess-3.28.1/src/gnome-chess.vala lib/libchess.vapi FAILED: src/25a6634@@gnome-chess@exe/ai-profile.c src/25a6634@@gnome-chess@exe/chess-engine-cecp.c src/25a6634@@gnome-chess@exe/chess-engine-uci.c src/25a6634@@gnome-chess@exe/chess-engine.c src/25a6634@@gnome-chess@exe/chess-scene.c src/25a6634@@gnome-chess@exe/chess-view.c src/25a6634@@gnome-chess@exe/gnome-chess.c /usr/bin/valac-0.42 -C --debug --vapidir /var/tmp/portage/games-board/gnome-chess-3.28.1/work/gnome-chess-3.28.1/src --pkg config --pkg posix --pkg librsvg-2.0 --pkg gtk+-3.0 --pkg gmodule-2.0 --target-glib 2.44.0 --pkg glib-2.0 --color=always --directory src/25a6634@@gnome-chess@exe --basedir ../gnome-chess-3.28.1/src --gresources=../gnome-chess-3.28.1/src/chess.gresource.xml --target-glib=2.44.0 ../gnome-chess-3.28.1/src/portability.vapi ../gnome-chess-3.28.1/src/ai-profile.vala ../gnome-chess-3.28.1/src/chess-engine-cecp.vala ../gnome-chess-3.28.1/src/chess-engine-uci.vala ../gnome-chess-3.28.1/src/chess-engine.vala ../gnome-chess-3.28.1/src/chess-scene.vala ../gnome-chess-3.28.1/src/chess-view.vala ../gnome-chess-3.28.1/src/gnome-chess.vala lib/libchess.vapi error: Package `librsvg-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories Compilation failed: 1 error(s), 0 warning(s)
Created attachment 565614 [details] emerge --info
See Also: https://bugs.gentoo.org/678212
I had the same problem. Following https://gitlab.gnome.org/GNOME/gnome-sdk-images/issues/6, I re-emerged librsvg manually with the "vala" use flag and then gnome-chess compiled without problems. So, it seems that the corresponding dependency for the use flag is missing - but this needs to be clarified by an expert.
vala:0.40 and newer doesn't ship its own librsvg vapi anymore, 0.36 does; so now when people have newer vala, this fails, while it worked before. We'll need to catch those and add the USE deps indeed.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7c3818f059cc56a86cf4c21d801b4e9245deda8 commit d7c3818f059cc56a86cf4c21d801b4e9245deda8 Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2019-02-17 11:09:59 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2019-02-17 11:21:15 +0000 games-board/gnome-chess: depend on librsvg[vala] vala itself doesn't ship vapi files for librsvg since 0.40, so we need to depend on librsvg[vala] for them to be provided. We do this unconditionally even if older vala is used for build, as they are more up to date and matching librsvg C library than what vala itself shipped. Closes: https://bugs.gentoo.org/678210 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org> games-board/gnome-chess/gnome-chess-3.28.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17dce04efab9f0b1e9d18a4016b9f163fe43ca03 commit 17dce04efab9f0b1e9d18a4016b9f163fe43ca03 Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2019-02-17 11:20:47 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2019-02-17 11:21:27 +0000 gnome-base/librsvg: default enable USE=vala vala:0.40 and newer don't ship a librsvg vapi file anymore, while various things (especially when building with meson) are quite likely to need it. Default enable the vapi file building here to reduce package.use tweaks that have to be done. Bug: https://bugs.gentoo.org/678210 Bug: https://bugs.gentoo.org/678212 Bug: https://bugs.gentoo.org/665578 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org> gnome-base/librsvg/librsvg-2.40.20.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)