Re: git: 8dcf3a82c54c - main - libc: Implement bsort(3) a bitonic type of sorting algorithm.

From: Hans Petter Selasky <hselasky_at_freebsd.org>
Date: Wed, 19 Apr 2023 20:15:05 UTC
On 4/19/23 21:49, Hans Petter Selasky wrote:
> On 4/19/23 21:07, Charlie Li wrote:
>> Hans Petter Selasky wrote:
> 
>> This causes ports to fail, so far with Python's configure phase and 
>> any Python ports with C extensions:
>>
>> In file included from /usr/local/include/python3.11/Python.h:23:
>> /usr/include/stdlib.h:409:1: error: unknown type name 'errno_t'
>> errno_t  bsort_s(void *, rsize_t, rsize_t,
>> ^
>> /usr/include/stdlib.h:409:35: error: redefinition of parameter 'rsize_t'
>> errno_t  bsort_s(void *, rsize_t, rsize_t,
>>                                    ^
>> /usr/include/stdlib.h:409:26: note: previous declaration is here
>> errno_t  bsort_s(void *, rsize_t, rsize_t,
>>                           ^
>> 2 errors generated.
>>
> 
> Hi Charlie,
> 
> The following patch should fix it. I'm just kicking a buildworld to 
> ensure nothing else is broken. Will push this once that is complete.
> 

Hi,

Then the buildworld completed for amd64 and the fix is in:

a7469c9c0a504a5e6e9b89e148cd78df5e67ff7f

I also tested building python38 from sources.

--HPS