Python in shebang
slowfranklin
slowfranklin at opencsw.org
Thu Feb 18 05:32:56 CET 2016
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?
Thanks for any pointers!
Cheerio!
-slow
More information about the maintainers
mailing list