Building python modules with a non-default version
Joe Marcus Clarke
marcus at marcuscom.com
Tue Oct 23 22:51:53 EDT 2007
On Tue, 2007-10-23 at 21:33 -0300, Alejandro Pulver wrote:
> On Sun, 21 Oct 2007 18:49:00 -0400
> Joe Marcus Clarke <marcus at marcuscom.com> wrote:
> > > Hello.
> > >
> > > It has no environment (other processes had):
> > >
> > > % ps -auwwex
> > > root 55899 14.0 0.3 7344 6628 p1 S 3:03PM 0:00.16
> > > /usr/bin/perl /usr/local/tinderbox/scripts/makemake 6-FreeBSD
> > > graphics/skencil (perl5.8.8)
> > >
> > > This problem also happens in tb4.droso.net
> > > (http://tb4.droso.net/errors/6-alepulver/skencil-0.6.17_2.log).
> > >
> > > I have also checked and found no references.
> > I checked this, and I see the same thing, but I think this also affects
> > pointyhat. Think of it this way. When INDEX is built, skencil will
> > have a Python 2.4 dependency, but py-imaging, for example, will have its
> > INDEX entry built for Python 2.5. Therefore, you will get into the same
> > problem. I'm not sure there is anything that can be done here, but I'm
> > open to ideas or any proof that my assumption is wrong.
> > Joe
> I understand the problem. Then I guess INDEX is used for calculating
> dependencies on the Tinderbox (like the pretty-print-*-list targets in
> bsd.port.mk) and pointyhat, because it works when building in a normal
INDEX is used to build the Makefile on pointyhat, but not in Tinderbox.
However, Tinderbox uses a similar algorithm to pointyhat which allows
for sparse ports trees. Both systems _should_ produce identical results
in terms of builds and packages.
> If my guess was correct then the solution could be to generate the
> dependencies without INDEX in Tinderbox and pointyhat.
Given the environment which this works, I do not see a good solution
that will produce consistent, well-checked packages. That is, there is
no way to do true dependency and plists checking if we do not calculate
dependencies on a per-port basis.
It seems the best solution to your problem, at least for Tinderbox, is
to change the default Python version in the Build environment. This
won't help on pointyhat, but perhaps the port should be marked
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://marcuscom.com/pipermail/tinderbox-list/attachments/20071023/31e021b2/attachment.bin
More information about the tinderbox-list