kdev-python not compiling cleanly on Alpine Linux Py_ssize_t due to musl?

Sven Brauch mail at svenbrauch.de
Tue Jan 2 00:28:44 GMT 2024


Hi,

On 01.01.24 22:23, Björn Strömberg wrote:
> currently the problem is that compilation fails of asttransformer.cpp on 
> pyport.h and unknown type ssize_t in this block of the header..
 >
> this sounds like something that might be related to Alpine Linux using 
> musl as its libc,

yes, that sounds related, at least a quick google search shows similar 
patches to other projects to make them build with musl. Try adding

#include <sys/types.h>

in asttransformer.cpp. Does that work? If yes, we can certainly fix that 
upstream.

Greetings,
Sven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xA4AAD0019BE03F15.asc
Type: application/pgp-keys
Size: 3147 bytes
Desc: OpenPGP public key
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20240102/7c01d71b/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20240102/7c01d71b/attachment.sig>


More information about the KDevelop-devel mailing list