Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 462966

Summary: =net-voip/telepathy-salut-0.8.1: _python_rewrite_shebangs: command not found
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: New packagesAssignee: Gilles Dartiguelongue (RETIRED) <eva>
Status: RESOLVED FIXED    
Severity: normal CC: gnome, python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2013-03-24 13:13:37 UTC
* QA Notice: command not found:
 * 
 *      /var/tmp/portage/net-voip/telepathy-salut-0.8.1/temp/environment: line 2500: _python_rewrite_sheban
Comment 1 Pacho Ramos gentoo-dev 2013-03-24 18:39:43 UTC
_python_rewrite_shebangs should lose last "s"... but, anyway, it won't work with "." as it looks to require files and not dirs... no idea about how to proceed since looks like this package needs python2 at build time (and nothing at runtime). Any ideas mgorny? Thanks
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-03-24 18:48:44 UTC
(I'm on python@)

PROTIP: '_' at the beginning and '@INTERNAL' in docs mean it shouldn't have been there in the first place.

As for the package, unless the shebangs in it are really screwed up, the pkg_setup() should handle setting proper EPYTHON for the wrapper. It should be enough.
Comment 3 Pacho Ramos gentoo-dev 2013-03-24 19:09:21 UTC
+  24 Mar 2013; Pacho Ramos <pacho@gentoo.org> telepathy-salut-0.8.1.ebuild:
+  Use python-any-r1.eclass properly: pkg_setup is exported by eclass and it
+  doesn't need shebangs conversion at all (#462966 by ago, thanks also to mgorny
+  for help)
+