What should be in scripts shebangs for python2?

Marcus von Appen mva at FreeBSD.org
Thu Feb 20 21:05:25 UTC 2014


On, Thu Feb 20, 2014, Lev Serebryakov wrote:

> Hello, Marcus.
> You wrote 20 февраля 2014 г., 12:06:46:
>
> MvA> No, USE_PYTHON_BUILD=2 should provide lang/python2, which will install
> MvA> /usr/local/bin/python2. This works for many ports, so I have no idea,
> MvA> what's wrong
>  It works locally, but "pkg-fallout-builder at FreeBSD.org" sends me e-mails,
> where I see, that its software installs python27 but not python2 as dependency
> and it fails:
>
> http://beefy2.isc.freebsd.org/bulk/91amd64-default/2014-02-19_20h54m43s/logs/libopencm3-0.0.20140213.log

I can't recreate this in a local poudriere environment, so I have no idea,
what is going on on the build cluster. Excerpt from the local build:

[...]
===>   Returning to build of libopencm3-0.0.20140218
===>   libopencm3-0.0.20140218 depends on executable: python2 - not found
===>    Verifying install for python2 in /usr/ports/lang/python2
===>   Installing existing package /packages/All/python2-2_2.txz
Installing python2-2_2... done
===>   Returning to build of libopencm3-0.0.20140218
===>   libopencm3-0.0.20140218 depends on executable: gmake -
[...]

The port looks fine, make all-depends-list correctly lists lang/python2,
stage builds work and all my poudriere installations handle it properly.
My best guess is, that something on the build cluster (or that specific
instance) goes wrong.

Cheers
Marcus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140220/31e68083/attachment.sig>


More information about the freebsd-ports mailing list