Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662374 - games-util/lutris python error when started, missing dependency
Summary: games-util/lutris python error when started, missing dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2018-07-29 00:50 UTC by John Moore
Modified: 2019-03-02 00:04 UTC (History)
1 user (show)

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


Attachments
emerge --info (ei.txt,6.29 KB, text/plain)
2018-07-29 00:50 UTC, John Moore
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Moore 2018-07-29 00:50:44 UTC
Created attachment 541576 [details]
emerge --info

After emerging games-util/lutis-0.4.14, when started it fails with this error:

Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.6/lutris", line 33, in <module>
    from lutris.gui.application import Application
  File "/usr/lib64/python3.6/site-packages/lutris/gui/application.py", line 26, in <module>
    gi.require_version('Gdk', '3.0')
  File "/usr/lib64/python3.6/site-packages/gi/__init__.py", line 122, in require_version
    (namespace, version))
ValueError: Namespace Gdk not available for version 3.0

After googling, I found a tip in the funtoo forums that lutris requires x11-libs/gtk+ emerged with USE="introspection" (I had gtk+ with -introspection).  Re-emerging gtk+ with introspection fixed this error and now lutris runs successfully.

The ebuild for lutris did not require x11-libs/gtk+ with USE=introspection as a dependency, so this looks like a missing dependency for lutris.
Comment 1 Michael Cook 2019-01-26 18:05:22 UTC
I also needed gnome-base/gnome-desktop:3 and net-libs/webkit-gtk
Comment 2 Larry the Git Cow gentoo-dev 2019-03-02 00:04:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08dbd2ec6914cd9a37a9ab446d0ab4ffb3eabb8e

commit 08dbd2ec6914cd9a37a9ab446d0ab4ffb3eabb8e
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-03-01 23:52:51 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-03-02 00:03:00 +0000

    games-util/lutris: EAPI-7 bump, add missing RDEPENDs, python3_7, xdg
    
    Thanks-to: Corentin `nado` Pazdera <nado@troglodyte.be>
    Closes: https://bugs.gentoo.org/667054
    Closes: https://bugs.gentoo.org/662374
    Closes: https://github.com/gentoo/gentoo/pull/10795
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 games-util/lutris/lutris-0.4.23.ebuild | 49 ++++++++++++++++++++--------------
 1 file changed, 29 insertions(+), 20 deletions(-)