* [Buildroot] [PATCH 1/1] package/libodb-mysql: fix build with gcc 11
@ 2021-08-03 13:50 Fabrice Fontaine
2021-08-03 21:45 ` Arnout Vandecappelle
0 siblings, 1 reply; 4+ messages in thread
From: Fabrice Fontaine @ 2021-08-03 13:50 UTC (permalink / raw)
To: buildroot; +Cc: Kamel Bouhara, Fabrice Fontaine
Fixes:
- No autobuilder failures yet
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@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))
--
2.30.2
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/libodb-mysql: fix build with gcc 11
2021-08-03 13:50 [Buildroot] [PATCH 1/1] package/libodb-mysql: fix build with gcc 11 Fabrice Fontaine
@ 2021-08-03 21:45 ` Arnout Vandecappelle
2021-08-03 21:58 ` Fabrice Fontaine
0 siblings, 1 reply; 4+ messages in thread
From: Arnout Vandecappelle @ 2021-08-03 21:45 UTC (permalink / raw)
To: Fabrice Fontaine, buildroot; +Cc: Kamel Bouhara
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?
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@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))
>
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/libodb-mysql: fix build with gcc 11
2021-08-03 21:45 ` Arnout Vandecappelle
@ 2021-08-03 21:58 ` Fabrice Fontaine
2021-08-04 20:16 ` Arnout Vandecappelle
0 siblings, 1 reply; 4+ messages in thread
From: Fabrice Fontaine @ 2021-08-03 21:58 UTC (permalink / raw)
To: Arnout Vandecappelle; +Cc: Kamel Bouhara, Buildroot Mailing List
Le mar. 3 août 2021 à 23:45, Arnout Vandecappelle <arnout@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.
>
> 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@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
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/libodb-mysql: fix build with gcc 11
2021-08-03 21:58 ` Fabrice Fontaine
@ 2021-08-04 20:16 ` Arnout Vandecappelle
0 siblings, 0 replies; 4+ messages in thread
From: Arnout Vandecappelle @ 2021-08-04 20:16 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: Kamel Bouhara, Buildroot Mailing List
On 03/08/2021 23:58, Fabrice Fontaine wrote:
> Le mar. 3 août 2021 à 23:45, Arnout Vandecappelle <arnout@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@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
>
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-08-04 20:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-03 13:50 [Buildroot] [PATCH 1/1] package/libodb-mysql: fix build with gcc 11 Fabrice Fontaine
2021-08-03 21:45 ` Arnout Vandecappelle
2021-08-03 21:58 ` Fabrice Fontaine
2021-08-04 20:16 ` Arnout Vandecappelle
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.