amd64/115980: glom do not compile in Freebsd 6.2 stable AMD 64

Scot Hetzel swhetzel at gmail.com
Sat Sep 1 15:00:08 UTC 2007


The following reply was made to PR ports/115980; it has been noted by GNATS.

From: "Scot Hetzel" <swhetzel at gmail.com>
To: "Marcelo Costa" <unixmafia at yahoo.com.br>
Cc: freebsd-gnats-submit at freebsd.org
Subject: Re: amd64/115980: glom do not compile in Freebsd 6.2 stable AMD 64
Date: Sat, 1 Sep 2007 09:56:42 -0500

 On 8/31/07, Marcelo Costa <unixmafia at yahoo.com.br> wrote:
 > py_glom_record.cc:125: error: `Py_ssize_t' does not name a type
 
 What version of Python do you have installed?
 
 Python 2.4 doesn't define Py_ssize_t.
 Fix: Remove files/patch-glom-libglom-python_embed-py_glom_record.cc as it is only needed for Python 2.5.
 
 Python 2.5 has Py_ssize_t defined in include/python2.5/pyport.h. 
 
 py_glom_record.cc:121: warning: deprecated conversion from string constant to 'char*'
 py_glom_record.cc:186: error: invalid conversion from 'int (*)(PyObject*)' to 'Py_ssize_t (*)(PyObject*)'
 gmake[5]: *** [py_glom_record.lo] Error 1
 gmake[5]: Leaving directory `/usr/ports/databases/glom/work/glom-1.0.4/glom/libglom/python_embed'
 
 Not sure how to fix this error with python 2.5.
 
 Scot



More information about the freebsd-ports-bugs mailing list