* [Buildroot] [PATCH] sconeserver: fix autouild failure
@ 2013-06-03 12:10 spdawson at gmail.com
2013-06-03 12:44 ` Thomas Petazzoni
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: spdawson at gmail.com @ 2013-06-03 12:10 UTC (permalink / raw)
To: buildroot
From: Simon Dawson <spdawson@gmail.com>
Fixes autobuild failures such as the following.
http://autobuild.buildroot.net/results/1bdb5e014daf76b701afea5c82ac83ac4c97d4cb/
Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
package/sconeserver/sconeserver.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/sconeserver/sconeserver.mk b/package/sconeserver/sconeserver.mk
index 744f389..565d467 100644
--- a/package/sconeserver/sconeserver.mk
+++ b/package/sconeserver/sconeserver.mk
@@ -60,7 +60,8 @@ endif
ifeq ($(BR2_PACKAGE_SCONESERVER_MYSQL),y)
SCONESERVER_DEPENDENCIES += mysql_client
SCONESERVER_CONF_OPT += --with-mysql \
- --with-mysql_config="$(STAGING_DIR)/usr/bin/mysql_config"
+ --with-mysql_config="$(STAGING_DIR)/usr/bin/mysql_config" \
+ LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib/mysql"
else
SCONESERVER_CONF_OPT += --without-mysql
endif
--
1.8.1.2
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [Buildroot] [PATCH] sconeserver: fix autouild failure
2013-06-03 12:10 [Buildroot] [PATCH] sconeserver: fix autouild failure spdawson at gmail.com
@ 2013-06-03 12:44 ` Thomas Petazzoni
2013-06-03 13:12 ` Simon Dawson
2013-06-03 14:33 ` Peter Korsgaard
2013-06-08 15:49 ` Thomas Petazzoni
2 siblings, 1 reply; 12+ messages in thread
From: Thomas Petazzoni @ 2013-06-03 12:44 UTC (permalink / raw)
To: buildroot
Simon,
On Mon, 3 Jun 2013 13:10:09 +0100, spdawson at gmail.com wrote:
> diff --git a/package/sconeserver/sconeserver.mk b/package/sconeserver/sconeserver.mk
> index 744f389..565d467 100644
> --- a/package/sconeserver/sconeserver.mk
> +++ b/package/sconeserver/sconeserver.mk
> @@ -60,7 +60,8 @@ endif
> ifeq ($(BR2_PACKAGE_SCONESERVER_MYSQL),y)
> SCONESERVER_DEPENDENCIES += mysql_client
> SCONESERVER_CONF_OPT += --with-mysql \
> - --with-mysql_config="$(STAGING_DIR)/usr/bin/mysql_config"
> + --with-mysql_config="$(STAGING_DIR)/usr/bin/mysql_config" \
> + LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib/mysql"
> else
> SCONESERVER_CONF_OPT += --without-mysql
> endif
This more-or-less reverts part of your commit
8d34e073c00236ff41a6df8f0fdd6b0b25dc4ad1. Is there a reason why
sconeserver isn't taking the right ldflags from mysql_config?
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [PATCH] sconeserver: fix autouild failure
2013-06-03 12:44 ` Thomas Petazzoni
@ 2013-06-03 13:12 ` Simon Dawson
2013-06-03 13:24 ` Thomas Petazzoni
0 siblings, 1 reply; 12+ messages in thread
From: Simon Dawson @ 2013-06-03 13:12 UTC (permalink / raw)
To: buildroot
Hi Thomas; thanks for looking at this.
On 3 June 2013 13:44, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> This more-or-less reverts part of your commit
> 8d34e073c00236ff41a6df8f0fdd6b0b25dc4ad1. Is there a reason why
> sconeserver isn't taking the right ldflags from mysql_config?
The sconeserver configure script doesn't call mysql_config until after
it has checked for the mysqlclient library; the adjustment of the
LDFLAGS in the package makefile is needed so that the check for the
mysqlclient library works correctly. Once this library check has been
performed, the configure script calls mysql_config to obtain compile
and link flags for the build.
Simon.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [PATCH] sconeserver: fix autouild failure
2013-06-03 13:12 ` Simon Dawson
@ 2013-06-03 13:24 ` Thomas Petazzoni
2013-06-03 13:37 ` Simon Dawson
0 siblings, 1 reply; 12+ messages in thread
From: Thomas Petazzoni @ 2013-06-03 13:24 UTC (permalink / raw)
To: buildroot
Dear Simon Dawson,
On Mon, 3 Jun 2013 14:12:27 +0100, Simon Dawson wrote:
> The sconeserver configure script doesn't call mysql_config until after
> it has checked for the mysqlclient library; the adjustment of the
> LDFLAGS in the package makefile is needed so that the check for the
> mysqlclient library works correctly. Once this library check has been
> performed, the configure script calls mysql_config to obtain compile
> and link flags for the build.
Ok, the configure script is stupid (checking for a library existence
before calling mysql_config), but ok, I guess we have to live with
that :)
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [PATCH] sconeserver: fix autouild failure
2013-06-03 13:24 ` Thomas Petazzoni
@ 2013-06-03 13:37 ` Simon Dawson
0 siblings, 0 replies; 12+ messages in thread
From: Simon Dawson @ 2013-06-03 13:37 UTC (permalink / raw)
To: buildroot
On 3 June 2013 14:24, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Ok, the configure script is stupid (checking for a library existence
> before calling mysql_config), but ok, I guess we have to live with
> that :)
Yes, agreed.
Simon.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [PATCH] sconeserver: fix autouild failure
2013-06-03 12:10 [Buildroot] [PATCH] sconeserver: fix autouild failure spdawson at gmail.com
2013-06-03 12:44 ` Thomas Petazzoni
@ 2013-06-03 14:33 ` Peter Korsgaard
2013-06-08 15:49 ` Thomas Petazzoni
2 siblings, 0 replies; 12+ messages in thread
From: Peter Korsgaard @ 2013-06-03 14:33 UTC (permalink / raw)
To: buildroot
>>>>> "spdawson" == spdawson <spdawson@gmail.com> writes:
spdawson> From: Simon Dawson <spdawson@gmail.com>
spdawson> Fixes autobuild failures such as the following.
spdawson> http://autobuild.buildroot.net/results/1bdb5e014daf76b701afea5c82ac83ac4c97d4cb/
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [PATCH] sconeserver: fix autouild failure
2013-06-03 12:10 [Buildroot] [PATCH] sconeserver: fix autouild failure spdawson at gmail.com
2013-06-03 12:44 ` Thomas Petazzoni
2013-06-03 14:33 ` Peter Korsgaard
@ 2013-06-08 15:49 ` Thomas Petazzoni
2013-06-12 18:40 ` Simon Dawson
2 siblings, 1 reply; 12+ messages in thread
From: Thomas Petazzoni @ 2013-06-08 15:49 UTC (permalink / raw)
To: buildroot
Dear spdawson at gmail.com,
On Mon, 3 Jun 2013 13:10:09 +0100, spdawson at gmail.com wrote:
> From: Simon Dawson <spdawson@gmail.com>
>
> Fixes autobuild failures such as the following.
>
> http://autobuild.buildroot.net/results/1bdb5e014daf76b701afea5c82ac83ac4c97d4cb/
>
> Signed-off-by: Simon Dawson <spdawson@gmail.com>
There are still build failures related to sconeserver and MySQL. See
http://autobuild.buildroot.org/results/a16/a162fbd8977faa561a76f76072ec3335fb8e8d1f/build-end.log.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [PATCH] sconeserver: fix autouild failure
2013-06-08 15:49 ` Thomas Petazzoni
@ 2013-06-12 18:40 ` Simon Dawson
2013-06-12 21:48 ` Arnout Vandecappelle
0 siblings, 1 reply; 12+ messages in thread
From: Simon Dawson @ 2013-06-12 18:40 UTC (permalink / raw)
To: buildroot
Hi Thomas,
On 8 June 2013 16:49, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> There are still build failures related to sconeserver and MySQL. See
> http://autobuild.buildroot.org/results/a16/a162fbd8977faa561a76f76072ec3335fb8e8d1f/build-end.log.
I've been unable to reproduce this using the defconfig from the failed
autobuild. I'm struggling to understand what exactly is causing the
failures; would appreciate any suggestions that you may have...
Simon.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [PATCH] sconeserver: fix autouild failure
2013-06-12 18:40 ` Simon Dawson
@ 2013-06-12 21:48 ` Arnout Vandecappelle
2013-06-13 7:57 ` Peter Korsgaard
0 siblings, 1 reply; 12+ messages in thread
From: Arnout Vandecappelle @ 2013-06-12 21:48 UTC (permalink / raw)
To: buildroot
On 12/06/13 20:40, Simon Dawson wrote:
> Hi Thomas,
>
> On 8 June 2013 16:49, Thomas Petazzoni
> <thomas.petazzoni@free-electrons.com> wrote:
>> There are still build failures related to sconeserver and MySQL. See
>> http://autobuild.buildroot.org/results/a16/a162fbd8977faa561a76f76072ec3335fb8e8d1f/build-end.log.
>
> I've been unable to reproduce this using the defconfig from the failed
> autobuild. I'm struggling to understand what exactly is causing the
> failures; would appreciate any suggestions that you may have...
mysql.h is in $(STAGING_DIR)/usr/include/mysql, but that doesn't get
included in the CXXFLAGS.
Peter, can you reproduce the autobuilder error and extract the
config.log and $(STAGING_DIR)/usr/bin/mysql_config?
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [PATCH] sconeserver: fix autouild failure
2013-06-12 21:48 ` Arnout Vandecappelle
@ 2013-06-13 7:57 ` Peter Korsgaard
2013-06-13 8:09 ` Arnout Vandecappelle
0 siblings, 1 reply; 12+ messages in thread
From: Peter Korsgaard @ 2013-06-13 7:57 UTC (permalink / raw)
To: buildroot
>>>>> "Arnout" == Arnout Vandecappelle <arnout@mind.be> writes:
Hi,
>>> There are still build failures related to sconeserver and MySQL. See
>>> http://autobuild.buildroot.org/results/a16/a162fbd8977faa561a76f76072ec3335fb8e8d1f/build-end.log.
>>
>> I've been unable to reproduce this using the defconfig from the failed
>> autobuild. I'm struggling to understand what exactly is causing the
>> failures; would appreciate any suggestions that you may have...
Arnout> mysql.h is in $(STAGING_DIR)/usr/include/mysql, but that doesn't get
Arnout> included in the CXXFLAGS.
Arnout> Peter, can you reproduce the autobuilder error and extract the
Arnout> config.log and $(STAGING_DIR)/usr/bin/mysql_config?
Ehh, it was a build failure on Thomas' server, so it probably makes more
sense that he does it?
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [PATCH] sconeserver: fix autouild failure
2013-06-13 7:57 ` Peter Korsgaard
@ 2013-06-13 8:09 ` Arnout Vandecappelle
2013-06-13 8:29 ` Peter Korsgaard
0 siblings, 1 reply; 12+ messages in thread
From: Arnout Vandecappelle @ 2013-06-13 8:09 UTC (permalink / raw)
To: buildroot
On 13/06/13 09:57, Peter Korsgaard wrote:
>>>>>> "Arnout" == Arnout Vandecappelle <arnout@mind.be> writes:
>
> Hi,
>
> >>> There are still build failures related to sconeserver and MySQL. See
> >>> http://autobuild.buildroot.org/results/a16/a162fbd8977faa561a76f76072ec3335fb8e8d1f/build-end.log.
> >>
> >> I've been unable to reproduce this using the defconfig from the failed
> >> autobuild. I'm struggling to understand what exactly is causing the
> >> failures; would appreciate any suggestions that you may have...
>
> Arnout> mysql.h is in $(STAGING_DIR)/usr/include/mysql, but that doesn't get
> Arnout> included in the CXXFLAGS.
>
> Arnout> Peter, can you reproduce the autobuilder error and extract the
> Arnout> config.log and $(STAGING_DIR)/usr/bin/mysql_config?
>
> Ehh, it was a build failure on Thomas' server, so it probably makes more
> sense that he does it?
Sorry, I thought that those /home/test paths were yours. Won't happen
again :-)
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [PATCH] sconeserver: fix autouild failure
2013-06-13 8:09 ` Arnout Vandecappelle
@ 2013-06-13 8:29 ` Peter Korsgaard
0 siblings, 0 replies; 12+ messages in thread
From: Peter Korsgaard @ 2013-06-13 8:29 UTC (permalink / raw)
To: buildroot
>>>>> "Arnout" == Arnout Vandecappelle <arnout@mind.be> writes:
>> Ehh, it was a build failure on Thomas' server, so it probably makes more
>> sense that he does it?
Arnout> Sorry, I thought that those /home/test paths were yours. Won't
Arnout> happen again :-)
No problem. This is one of the reasons why we have the submitter file in
the same directory.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2013-06-13 8:29 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-03 12:10 [Buildroot] [PATCH] sconeserver: fix autouild failure spdawson at gmail.com
2013-06-03 12:44 ` Thomas Petazzoni
2013-06-03 13:12 ` Simon Dawson
2013-06-03 13:24 ` Thomas Petazzoni
2013-06-03 13:37 ` Simon Dawson
2013-06-03 14:33 ` Peter Korsgaard
2013-06-08 15:49 ` Thomas Petazzoni
2013-06-12 18:40 ` Simon Dawson
2013-06-12 21:48 ` Arnout Vandecappelle
2013-06-13 7:57 ` Peter Korsgaard
2013-06-13 8:09 ` Arnout Vandecappelle
2013-06-13 8:29 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox