[Bug 577398] Review Request: python-meliae - Python memory usage statistics

bugzilla at redhat.com bugzilla at redhat.com
Mon Mar 29 16:43:48 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=577398

Dave Malcolm <dmalcolm at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
               Flag|needinfo?(dmalcolm at redhat.c |
                   |om)                         |

--- Comment #4 from Dave Malcolm <dmalcolm at redhat.com> 2010-03-29 12:43:46 EDT ---
It builds OK on Fedora 12 with Cython-0.12.1-4.fc12.x86_64

The three errors appear to all relate to "Py_ssize_t", which doesn't exist yet
in the Python 2.4 in RHEL5.

It's probably fixable by patching away those references in EL5 builds to
ssize_t.  The relevant info from 2.6's Include/pyport.h:

/* Py_ssize_t is a signed integral type such that sizeof(Py_ssize_t) ==
 * sizeof(size_t).  C99 doesn't define such a thing directly (size_t is an
 * unsigned integral type).  See PEP 353 for details.
 */
#ifdef HAVE_SSIZE_T
typedef ssize_t  Py_ssize_t;
#elif SIZEOF_VOID_P == SIZEOF_SIZE_T
typedef Py_intptr_t Py_ssize_t;
#else
#   error "Python needs a typedef for Py_ssize_t in pyport.h."
#endif

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the package-review mailing list