Building python modules with a non-default version
Joe Marcus Clarke
marcus at marcuscom.com
Sun Sep 30 19:25:00 EDT 2007
On Sun, 2007-09-30 at 20:21 -0300, Alejandro Pulver wrote:
> On Sun, 30 Sep 2007 18:37:56 -0400
> Joe Marcus Clarke <marcus at marcuscom.com> wrote:
>
> > 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?
> >
>
> % env PORTSDIR=`realpath ../..` make package-depends-list
> py24-tkinter-2.4.4_2 /usr/local/tinderbox/portstrees/FreeBSD/ports/x11-toolkits/py-tkinter x11-toolkits/py-tkinter
> py25-tkinter-2.5.1_2 /usr/local/tinderbox/portstrees/FreeBSD/ports/x11-toolkits/py-tkinter x11-toolkits/py-tkinter
> tk-8.4.16,2 /usr/local/tinderbox/portstrees/FreeBSD/ports/x11-toolkits/tk84 x11-toolkits/tk84
> tcl-8.4.16,1 /usr/local/tinderbox/portstrees/FreeBSD/ports/lang/tcl84 lang/tcl84
> libX11-1.1.3,1 /usr/local/tinderbox/portstrees/FreeBSD/ports/x11/libX11 x11/libX11
> kbproto-1.0.3 /usr/local/tinderbox/portstrees/FreeBSD/ports/x11/kbproto x11/kbproto
> inputproto-1.4.2.1 /usr/local/tinderbox/portstrees/FreeBSD/ports/x11/inputproto x11/inputproto
> libXau-1.0.3_2 /usr/local/tinderbox/portstrees/FreeBSD/ports/x11/libXau x11/libXau
> xproto-7.0.10 /usr/local/tinderbox/portstrees/FreeBSD/ports/x11/xproto x11/xproto
> pkg-config-0.22 /usr/local/tinderbox/portstrees/FreeBSD/ports/devel/pkg-config devel/pkg-config
> libXdmcp-1.0.2 /usr/local/tinderbox/portstrees/FreeBSD/ports/x11/libXdmcp x11/libXdmcp
> xtrans-1.0.4 /usr/local/tinderbox/portstrees/FreeBSD/ports/x11/xtrans x11/xtrans
> python24-2.4.4_1 /usr/local/tinderbox/portstrees/FreeBSD/ports/lang/python24 lang/python24
> py24-imaging-1.1.6_2 /usr/local/tinderbox/portstrees/FreeBSD/ports/graphics/py-imaging graphics/py-imaging
> py25-imaging-1.1.6_2 /usr/local/tinderbox/portstrees/FreeBSD/ports/graphics/py-imaging graphics/py-imaging
> jpeg-6b_4 /usr/local/tinderbox/portstrees/FreeBSD/ports/graphics/jpeg graphics/jpeg
> freetype2-2.2.1_2 /usr/local/tinderbox/portstrees/FreeBSD/ports/print/freetype2 print/freetype2
> py24-reportlab-1.21.1 /usr/local/tinderbox/portstrees/FreeBSD/ports/print/py-reportlab print/py-reportlab
> py25-reportlab-1.21.1 /usr/local/tinderbox/portstrees/FreeBSD/ports/print/py-reportlab print/py-reportlab
> py24-xml-0.8.4 /usr/local/tinderbox/portstrees/FreeBSD/ports/textproc/py-xml textproc/py-xml
> py25-xml-0.8.4 /usr/local/tinderbox/portstrees/FreeBSD/ports/textproc/py-xml textproc/py-xml
> libXext-1.0.3,1 /usr/local/tinderbox/portstrees/FreeBSD/ports/x11/libXext x11/libXext
> xextproto-7.0.2 /usr/local/tinderbox/portstrees/FreeBSD/ports/x11/xextproto x11/xextproto
>
> I see both 2.4 and 2.5 modules are listed.
Something is wrong with your portstree, then. I only see the 2.4
versions listed:
env PORTSDIR=`realpath ../..` make package-depends-list
py24-tkinter-2.4.4_2 /space/portstrees/MarcusCom/ports/x11-toolkits/py-tkinter x11-toolkits/py-tkinter
tk-8.4.15_3,2 /space/portstrees/MarcusCom/ports/x11-toolkits/tk84 x11-toolkits/tk84
tcl-8.4.15_2,1 /space/portstrees/MarcusCom/ports/lang/tcl84 lang/tcl84
libX11-1.1.3,1 /space/portstrees/MarcusCom/ports/x11/libX11 x11/libX11
kbproto-1.0.3 /space/portstrees/MarcusCom/ports/x11/kbproto x11/kbproto
inputproto-1.4.2.1 /space/portstrees/MarcusCom/ports/x11/inputproto x11/inputproto
libXau-1.0.3_2 /space/portstrees/MarcusCom/ports/x11/libXau x11/libXau
xproto-7.0.10 /space/portstrees/MarcusCom/ports/x11/xproto x11/xproto
pkg-config-0.22 /space/portstrees/MarcusCom/ports/devel/pkg-config devel/pkg-config
libXdmcp-1.0.2 /space/portstrees/MarcusCom/ports/x11/libXdmcp x11/libXdmcp
xtrans-1.0.4 /space/portstrees/MarcusCom/ports/x11/xtrans x11/xtrans
python24-2.4.4_1 /space/portstrees/MarcusCom/ports/lang/python24 lang/python24
py24-imaging-1.1.6_2 /space/portstrees/MarcusCom/ports/graphics/py-imaging graphics/py-imaging
jpeg-6b_4 /space/portstrees/MarcusCom/ports/graphics/jpeg graphics/jpeg
freetype2-2.3.5 /space/portstrees/MarcusCom/ports/print/freetype2 print/freetype2
py24-reportlab-1.21.1 /space/portstrees/MarcusCom/ports/print/py-reportlab print/py-reportlab
py24-xml-0.8.4 /space/portstrees/MarcusCom/ports/textproc/py-xml textproc/py-xml
libXext-1.0.3,1 /space/portstrees/MarcusCom/ports/x11/libXext x11/libXext
xextproto-7.0.2 /space/portstrees/MarcusCom/ports/x11/xextproto x11/xextproto
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/e6c848b5/attachment.bin
More information about the tinderbox-list
mailing list