Python in shebang

Carsten Grzemba grzemba at contac-dt.de
Thu Feb 18 10:03:53 CET 2016


Please not that you tried to build an IPS package, IPS packaging work is still on progress and perhaps not that what you want.
Python dependency could not resolved because we have no IPS Python package on build machine in the Moment

I guess you are satisfy if you get an SVR4 package.
You can build SVR4 packages on unstable11(x|s):
$ mgar package PKGFORMAT-5.11=svr4

On 18.02.16 09:42, Dagobert Michelsen  <dam at opencsw.org> wrote: 
> 
> Hi Slow,
> 
> Am 18.02.2016 um 05:32 schrieb slowfranklin <slowfranklin at opencsw.org>:
> > Hey folks!
> > 
> > I just tried to package a Netatalk update and got this at the end of mgar package:
> > ---8<---
> > [ Generating checkpkg override for package CSWnetatalk ]
> > 
> > # # ###### ##### #### ######
> > ## ## # # # # # #
> > # ## # ##### # # # #####
> > # # # ##### # ### #
> > # # # # # # # #
> > # # ###### # # #### ######
> > 
> > pkgrepo create -s /home/slow/staging/ips
> > pkgrepo set -s /home/slow/staging/ips publisher/prefix=opencsw
> > PKG: opencsw/netatalk
> > echo "<transform file path=etc/opt/csw/afp.conf -> default preserve renamenew>" >> work/solaris11-i386/build-global/netatalk.proto.filtered; echo "<transform file path=etc/opt/csw/extmap.conf -> defa
> > ult preserve renamenew>" >> work/solaris11-i386/build-global/netatalk.proto.filtered;
> > mv work/solaris11-i386/build-global/netatalk.proto.filtered work/solaris11-i386/build-global/netatalk.proto
> > echo "set name=variant.arch value=i386" >> work/solaris11-i386/build-global/netatalk.meta;
> > cd work/solaris11-i386/build-global && cat netatalk.meta netatalk.proto > netatalk.premog
> > pkgmogrify -I /home/slow/opencsw/.buildsys/v2/gar/transforms -I work/solaris11-i386/build-global netatalk.premog defaults | pkgfmt > work/solaris11-i386/build-global/netatalk.mogrified
> > pkgdepend generate -D ISALIST=amd64 -D ISALIST=i386 -md /home/slow/opencsw/netatalk/trunk/work/solaris11-i386/pkgroot work/solaris11-i386/build-global/netatalk.mogrified > work/solaris11-i386/build-glo
> > bal/netatalk.depend
> > 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?
> 
> 
> 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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20160218/22881f88/attachment.html>


More information about the maintainers mailing list