<div dir="ltr">so i'm trying to compile kdev-python on Alpine Linux 3.19 / KDevelop 23.08.4<div><br></div><div>currently the problem is that compilation fails of asttransformer.cpp on pyport.h and unknown type ssize_t in this block of the header..</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>/* Py_ssize_t is a signed integral type such that sizeof(Py_ssize_t) ==</div><div> * sizeof(size_t).  C99 doesn't define such a thing directly (size_t is an</div><div> * unsigned integral type).  See PEP 353 for details.</div><div> * PY_SSIZE_T_MAX is the largest positive value of type Py_ssize_t.</div><div> */</div><div>#ifdef HAVE_PY_SSIZE_T</div><div><br></div><div>#elif HAVE_SSIZE_T</div><div>typedef ssize_t         Py_ssize_t;</div><div>#   define PY_SSIZE_T_MAX SSIZE_MAX</div><div>#elif SIZEOF_VOID_P == SIZEOF_SIZE_T</div><div>typedef Py_intptr_t     Py_ssize_t;</div><div>#   define PY_SSIZE_T_MAX INTPTR_MAX</div><div>#else</div><div>#   error "Python needs a typedef for Py_ssize_t in pyport.h."</div><div>#endif</div></blockquote><br><div>this sounds like something that might be related to Alpine Linux using musl as its libc, </div><div>since it seems to compile fine on Arch Linux that uses glibc, since they package it while Alpine Linux does not..</div><div><br></div><div>would be nice to have python language support in KDevelop, </div><div>hopefully someone still reads this list, </div><div>and might have some ideas what needs patching if its musl related..</div><div><br></div><div>/Björn</div></div>