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

Björn Strömberg bjorn.stromberg86 at gmail.com
Tue Jan 2 04:54:34 GMT 2024


looks like those deprecations are atleast in some due to Qt6 changes, so
they might not be warranted for 23.08 branch when were two months from
24.02..

On Tue, Jan 2, 2024 at 5:22 AM Björn Strömberg <bjorn.stromberg86 at gmail.com>
wrote:

> Hello Sven,
>
> yes that was the header I was expecting was the problem last night..
>
> added it on row 1 in asttransformer.cpp fixes the issue, now its compiling
> again. since it was a missing symbol, it has to be before asttransformer.h
> which feels a bit smelly..
>
> there is also a few warnings about deprecations. is this something that is
> wanted to be fixed?
> i could roll this up in a quick merge request on invent.kde.org since i
> need to create the patch files via git for the packaging anyway.
>
>
>
> On Tue, Jan 2, 2024 at 1:28 AM Sven Brauch <mail at svenbrauch.de> wrote:
>
>> 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 --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20240102/f37c3d3d/attachment-0001.htm>


More information about the KDevelop-devel mailing list