Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 910189 - games-board/gnome-mahjongg-3.40.0 missing dependency gui-libs/libadwaita:1[vala]
Summary: games-board/gnome-mahjongg-3.40.0 missing dependency gui-libs/libadwaita:1[vala]
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-07-10 11:26 UTC by Peter Fox
Modified: 2024-04-18 18:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge info (mahjongg.info,6.62 KB, text/plain)
2023-07-10 11:33 UTC, Peter Fox
Details
build log (mahjongg.blog,33.10 KB, text/plain)
2023-07-10 11:34 UTC, Peter Fox
Details
Proposed patch (gnome-mahjongg-3.40.0.ebuild.patch,333 bytes, patch)
2023-07-10 11:39 UTC, Peter Fox
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Fox 2023-07-10 11:26:38 UTC
gnome-mahjongg fails to build if libadwaita not built with vala support:

FAILED: src/gnome-mahjongg.p/game.c src/gnome-mahjongg.p/game-view.c src/gnome-mahjongg.p/gnome-mahjongg.c src/gnome-mahjongg.p/history.c src/gnome-mahjongg.p/map.c src/gnome-mahjongg.p/score-dialog.c src/gnome-mahjongg.p/window.c src/gnome-mahjongg.p/preferences.c 
/usr/bin/valac-0.56 -C --pkg librsvg-2.0 --pkg libadwaita-1 --pkg gtk4 --target-glib ' 2.40.0' --pkg glib-2.0 --color=always --directory src/gnome-mahjongg.p --basedir ../gnome-mahjongg-3.40.0/src --gresources=../gnome-mahjongg-3.40.0/data/org.gnome.Mahjongg.gresource.xml --pkg=posix ../gnome-mahjongg-3.40.0/src/config.vapi ../gnome-mahjongg-3.40.0/src/game.vala ../gnome-mahjongg-3.40.0/src/game-view.vala ../gnome-mahjongg-3.40.0/src/gnome-mahjongg.vala ../gnome-mahjongg-3.40.0/src/history.vala ../gnome-mahjongg-3.40.0/src/map.vala ../gnome-mahjongg-3.40.0/src/score-dialog.vala ../gnome-mahjongg-3.40.0/src/window.vala ../gnome-mahjongg-3.40.0/src/preferences.vala
error: Package `libadwaita-1' not found in specified Vala API directories or GObject-Introspection GIR directories
Compilation failed: 1 error(s), 0 warning(s)


Reproducible: Always

Steps to Reproduce:
1. emerge =games-board/gnome-mahjongg-3.40.0
2.
3.
Actual Results:  
Emerge fails

Expected Results:  
Emerge builds

Modify the ebuild to include [vala] lin libadwaita dependency line
Comment 1 Peter Fox 2023-07-10 11:33:46 UTC
Created attachment 865330 [details]
emerge info
Comment 2 Peter Fox 2023-07-10 11:34:23 UTC
Created attachment 865331 [details]
build log
Comment 3 Peter Fox 2023-07-10 11:39:09 UTC
Created attachment 865332 [details, diff]
Proposed patch

Add vala requirement for libadwaita