[Buildroot] [PATCH 1/1] package/zynaddsubfx: fix uclibc compile error

Julien Olivain ju.o at free.fr
Sat Sep 9 21:07:19 UTC 2023


Hi Thomas,

On 09/09/2023 17:08, Thomas Petazzoni wrote:
> Hello Julien,
> 
> On Sat,  9 Sep 2023 12:47:07 +0200
> Julien Olivain <ju.o at free.fr> wrote:
> 
>> When compiling with uclibc, build fails with errors, such as:
>> 
>>     In file included from 
>> /build/zynaddsubfx-3.0.6/src/Nio/NulEngine.h:21,
>>                      from 
>> /build/zynaddsubfx-3.0.6/src/Nio/NulEngine.cpp:14:
>>     /build/zynaddsubfx-3.0.6/src/Nio/MidiIn.h:37:9: error: 'uint8_t' 
>> does not name a type
>>        37 |         uint8_t midiSysEx(unsigned char data);
>>           |         ^~~~~~~
>> 
>> This commit fixes the issue by adding upstream patches, not yet
>> included in a release.
>> 
>> Fixes:
>> http://autobuild.buildroot.net/results/97b5a30c7be820ac91e745cf60f9b759e962aa5c
>> 
>> Signed-off-by: Julien Olivain <ju.o at free.fr>
> 
> Since when is this build issue occurring? zynaddsubfx has been in
> Buildroot for a while, and I don't see any recent update of it. Have
> this issue always existed? Is it due to a recent update of uClibc?

This build failure is the first of its kind, according to autobuild:
http://autobuild.buildroot.net/?reason=zynaddsubfx-3.0.6

Looking at the upstream code, this header inclusion is missing, so the
bug has always been there. My guess is that this "stdint.h" header was
included indirectly from the libc internally. I did not investigated
further. Do you want me to?

Best regards,

Julien.



More information about the buildroot mailing list