dieterv@localhost ~ $ emerge -pvt gnome-sudoku These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild R ] games-puzzle/gnome-sudoku-3.8.1 PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_6 python2_7" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB dieterv@localhost ~ $ eselect python list Available Python interpreters: [1] python2.6 [2] python2.7 [3] python3.2 [4] python3.3 * dieterv@localhost ~ $ gnome-sudoku Traceback (most recent call last): File "/usr/games/bin/gnome-sudoku", line 19, in <module> from lib.gnome_sudoku import start_game ImportError: No module named 'lib' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/games/bin/gnome-sudoku", line 21, in <module> from gnome_sudoku.gnome_sudoku import start_game ImportError: No module named 'gnome_sudoku' # But this works: dieterv@localhost ~ $ python2.7 /usr/games/bin/gnome-sudoku # Aha, the shebang takes whatever python interpreter (defaults to 3.3 on my system) dieterv@localhost ~ $ cat /usr/games/bin/gnome-sudoku #! /usr/bin/env python Reproducible: Always
+ 25 Aug 2013; Gilles Dartiguelongue <eva@gentoo.org> + gnome-sudoku-3.8.1.ebuild: + Fix shebang, bug #480846. Thanks for reporting.