[Buildroot] [PATCH 1/1] package/libodb-mysql: fix build with gcc 11

Arnout Vandecappelle arnout at mind.be
Wed Aug 4 20:16:51 UTC 2021



On 03/08/2021 23:58, Fabrice Fontaine wrote:
> Le mar. 3 août 2021 à 23:45, Arnout Vandecappelle <arnout at mind.be> a écrit :
>>
>>
>>
>> On 03/08/2021 15:50, Fabrice Fontaine wrote:
>>> Fixes:
>>>  - No autobuilder failures yet
>>
>>  That's extremely unlikely, with James's autobuilders there should be dozens
>> already after a single day. Are you sure that the build fails for this package?
> Yes, I'm sure, I ran into this failure on my local machine.
> The autobuilders will run into it after a few days now that libodb has
> been fixed less than a day ago with
> 69d2d1d91e44d6bc80690b82811d0447e81ed31b.

 ... And now there are autobuild failures.

 So I added them to the commit message and applied to master, thanks.

 Regards,
 Arnout

>>
>>  Same for libodb-boost.
>>
>>  We can let this soak for a few days and see if autobuilder failures turn up. Or
>> you can simply copy&paste the error from a manual build.
>>
>>  Regards,
>>  Arnout
>>
>>>
>>> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
>>> ---
>>>  package/libodb-mysql/libodb-mysql.mk | 4 +++-
>>>  1 file changed, 3 insertions(+), 1 deletion(-)
>>>
>>> diff --git a/package/libodb-mysql/libodb-mysql.mk b/package/libodb-mysql/libodb-mysql.mk
>>> index a9040c65f8..88b6f4cb31 100644
>>> --- a/package/libodb-mysql/libodb-mysql.mk
>>> +++ b/package/libodb-mysql/libodb-mysql.mk
>>> @@ -12,6 +12,8 @@ LIBODB_MYSQL_INSTALL_STAGING = YES
>>>  LIBODB_MYSQL_LICENSE = GPL-2.0
>>>  LIBODB_MYSQL_LICENSE_FILES = LICENSE
>>>  LIBODB_MYSQL_DEPENDENCIES = libodb mysql
>>> -LIBODB_MYSQL_CONF_ENV = LIBS=`$(STAGING_DIR)/usr/bin/mysql_config --libs`
>>> +LIBODB_MYSQL_CONF_ENV = \
>>> +     CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" \
>>> +     LIBS=`$(STAGING_DIR)/usr/bin/mysql_config --libs`
>>>
>>>  $(eval $(autotools-package))
>>>
> Best Regards,
> 
> Fabrice
> 


More information about the buildroot mailing list