[Buildroot] [PATCH] package/libcap: fix build with gperf >= 3.1

Romain NAOUR romain.naour at smile.fr
Wed Jan 18 10:43:28 UTC 2017


Hi Peter,

Le 2017-01-18 11:31, Peter Korsgaard a écrit :

>>>>>> "Romain" == Romain Naour <romain.naour at gmail.com> writes:
> 
>> See gperf 3.1 ChangeLog:
>> * The 'len' parameter of the hash function and of the lookup function
> is now
>> of type 'size_t' instead of 'unsigned int'. This makes it safe to 
>> call
> these
>> functions with strings of length > 4 GB, on 64-bit machines.
> 
> :/
> 
> Have you submitted this patch upstream? Doesn't this then break 
> building
> against gperf <3.1?

Not yet. Indeed it break with gperf < 3.1 :-/
But I don't see how we can easily/properly handle the gperf version 
checking
in the libcap Makefile...

> 
> I think I'll apply Gustavoz patch to (temporarily) revert the gperf 
> bump
> instead. Once we have sorted out this libcap issue (and apparently 
> eudev
> as well) we can bump the version again.

Ok, it will give some time to Alvaro for investigation and test.

Best regards,
Romain




More information about the buildroot mailing list