Python in shebang

Dagobert Michelsen dam at opencsw.org
Thu Feb 18 11:20:28 CET 2016


Hi Slow,

Am 18.02.2016 um 10:44 schrieb slowfranklin <slowfranklin at opencsw.org>:
>>> The file to be installed in opt/csw/bin/afpstats does not specify a specific version of python either in its installed path nor in its text.  Such a file cannot be analyzed for dependencies since the v
>>> ersion of python it will be used with is unknown.  The text of the file is here: /home/slow/opencsw/netatalk/trunk/work/solaris11-i386/pkgroot/opt/csw/bin/afpstats.
>>> /home/slow/opencsw/.buildsys/v2/gar//gar.pkg.mk:1160: recipe for target 'packageips-netatalk' failed
>>> ---8<---
>>> 
>>> head -n 1 /home/slow/opencsw/netatalk/trunk/work/solaris11-i386/pkgroot/opt/csw/bin/afpstats
>>> #!/usr/bin/env python
>>> 
>>> How can I fix this?
>> 
>> You need to use a specific Python interpreter, like
>> #!/opt/csw/bin/python2.7
>> 
>> Can you specific something like —with-python=… or something?
> 
> arg, no. I'd have to add patch. :/
> 
> Can't I simply override the error in the Makefile like I do for all the other errors? :)))

For IPS this has not been implemented yet. You can go for SVR4 on Solaris 11
as Carsten described it.


Best regards

  — Dago

--
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20160218/c29cd5fa/attachment.asc>


More information about the maintainers mailing list