Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 540546 - net-misc/pyhoca-gui with system python3 - pyhoca-gui fails to start(?)
Summary: net-misc/pyhoca-gui with system python3 - pyhoca-gui fails to start(?)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo NX Server project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2015-02-18 17:20 UTC by Henning Schild
Modified: 2015-02-19 09:36 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henning Schild 2015-02-18 17:20:03 UTC
Installing the package on a system where "env python" resolves to python3 will this application not start because it is a python2 application.

If you invoke it with python2 it will start as expected.

A simple one-line patch to the ebuild will solve this problem. In python_install replace "python_doexe" with "python_doscript". Now the gentoo python magic will happen and /usr/lib64/python-exec/python2.7/pyhoca-gui will get a python2 instead of a python shebang.
Comment 1 Bernard Cafarelli gentoo-dev 2015-02-19 09:36:57 UTC
Thanks for the report and patch! That is a not-so-corner case I had missed

Fixed in pyhoca-gui-0.5.0.4-r1 and pyhoca-cli-0.5.0.2-r1