Building python modules with a non-default version

Joe Marcus Clarke marcus at marcuscom.com
Sun Sep 30 18:37:56 EDT 2007


On Sun, 2007-09-30 at 19:31 -0300, Alejandro Pulver wrote:
> On Sun, 30 Sep 2007 18:16:09 -0400
> Joe Marcus Clarke <marcus at marcuscom.com> wrote:
> 
> > On Sun, 2007-09-30 at 18:04 -0300, Alejandro Pulver wrote:
> > > Hello.
> > > 
> > > There is a port graphics/skencil which doesn't work with Python 2.5,
> > > but does with previous versions. The bsd.python.mk file sets
> > > PYTHON_VERSION to dependencies through DEPENDS_ARGS, and allows
> > > concurrent modules built for different Python versions (they use
> > > different directories).
> > > 
> > > Setting USE_PYTHON=-2.4 in the mentioned port causes Tinderbox to
> > > install the packages of the 2.5 versions of the dependencies (python,
> > > py-tkinter and py-imaging), but fails with a "filesystem touched prior
> > > to install" message since before building installs the 2.4
> > > dependencies. Actually both packages for Python 2.4 and 2.5 are
> > > installed before starting the build, but only the 2.5 versions of the
> > > required modules.
> > > 
> > > I've attached the log, patch to graphics/skencil and to
> > > graphics/py-imaging (allowing it to build for multiple Python
> > > versions). I would appreciate any help.
> > 
> > Please provide the log of the build as well as the Makefile that was
> > generated.  What Hooks or environment changes are you using for this
> > Build?
> > 
> 
> Sorry, the log was a .bz2 and got stripped. The Makefile is attached
> and the log is available here:
> 
> http://people.freebsd.org/~alepulver/skencil-0.6.17_2.log
> 
> I haven't any hooks and the environment settings are the defaults.

Are you absolutely certain all elements in your ports tree are
up-to-date.  If you cd to /portstree/graphics/skencil and do:

env PORTSDIR=`realpath ../..` make package-depends-list

What do you get?

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://marcuscom.com/pipermail/tinderbox-list/attachments/20070930/c4b2751e/attachment.bin 


More information about the tinderbox-list mailing list