Pádraig Brady <p...@draigbrady.com> writes:

> On 23/03/2024 17:47, Sam James wrote:
>> Pádraig Brady <p...@draigbrady.com> writes:
>> 
>>> We plan to release coreutils-9.5 in the coming week
>>> so any testing you can do on various different systems
>>> between now and then would be most welcome.
>>> This release comes about 30 weeks after the 9.4 release.
>>>
>> I hit this build failure on Linux with GCC 14:
>> src/uname.c: In function '__eat_cpuinfo_space':
>> src/uname.c:173:29: error: implicit declaration of function 'isspace' 
>> [-Wimplicit-function-declaration]
>>    173 |         while (tmp > buf && isspace (*tmp))
>>        |                             ^~~~~~~
>> src/uname.c:56:1: note: include '<ctype.h>' or provide a declaration of 
>> 'isspace'
>>     55 | #include "uname.h"
>>    +++ |+#include <ctype.h>
>>     56 |
>> make[2]: *** [Makefile:12507: src/uname.o] Error 1
>> make[2]: Leaving directory 
>> '/var/tmp/portage/sys-apps/coreutils-9.4_p20240323/work/coreutils-9.4.170-7b206'
>
> We no longer include ctype.h for all utils since:
> https://github.com/coreutils/coreutils/commit/4edb14d20
>
> So the gentoo specific patch needs to be adjusted to now include <ctype.h>

Thanks - and sorry, the patch predates me and I'd completely forgot we
had it.

>
> cheers,
> Pádraig

thanks,
sam

Attachment: signature.asc
Description: PGP signature

Reply via email to