Re: [OE-core] [PATCH] autotools.bbclass: output failed config.log

2019-05-20 Thread Khem Raj
On 5/15/19 7:02 AM, Adrian Bunk wrote: On Wed, May 15, 2019 at 09:50:35PM +0800, Hongxu Jia wrote: After applying my fix, here is the sample ... checking for i586-wrs-linux-gcc... i586-wrs-linux-gcc  -m32 -march=i586

Re: [OE-core] [PATCH] autotools.bbclass: output failed config.log

2019-05-15 Thread Adrian Bunk
On Wed, May 15, 2019 at 09:50:35PM +0800, Hongxu Jia wrote: > > After applying my fix, here is the sample > > ... > > checking for i586-wrs-linux-gcc... i586-wrs-linux-gcc  -m32 -march=i586 >

Re: [OE-core] [PATCH] autotools.bbclass: output failed config.log

2019-05-15 Thread Hongxu Jia
On 5/15/19 9:50 PM, Hongxu Jia wrote: The best available option might be to have a knob with default off, and autobuilders might be configured to dump config.log. See my V2 for detail //Hongxu -- ___ Openembedded-core mailing list

Re: [OE-core] [PATCH] autotools.bbclass: output failed config.log

2019-05-15 Thread Hongxu Jia
On 5/15/19 9:42 PM, Adrian Bunk wrote: On Wed, May 15, 2019 at 08:30:03PM +0800, Hongxu Jia wrote: On 5/15/19 7:08 PM, Adrian Bunk wrote: The end of config.log often contains expected error messages completely unrelated to the actual problem. I am afraid you did not suffer pain from it, the

Re: [OE-core] [PATCH] autotools.bbclass: output failed config.log

2019-05-15 Thread Adrian Bunk
On Wed, May 15, 2019 at 08:30:03PM +0800, Hongxu Jia wrote: > On 5/15/19 7:08 PM, Adrian Bunk wrote: > > The end of config.log often contains expected error messages completely > > unrelated to the actual problem. > > I am afraid you did not suffer pain from it, the most related message > > with

Re: [OE-core] [PATCH] autotools.bbclass: output failed config.log

2019-05-15 Thread Hongxu Jia
On 5/15/19 7:08 PM, Adrian Bunk wrote: The end of config.log often contains expected error messages completely unrelated to the actual problem. I am afraid you did not suffer pain from it, the most related message with do_configure failure is config.log. Take a example, as my previous commit

Re: [OE-core] [PATCH] autotools.bbclass: output failed config.log

2019-05-15 Thread Hongxu Jia
On 5/15/19 6:54 PM, Andreas Müller wrote: On Wed, May 15, 2019 at 11:50 AM Hongxu Jia wrote: On 5/15/19 5:32 PM, Andreas Müller wrote: --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass @@ -90,7 +90,11 @@ oe_runconf () { bbnote "Running $cfgscript

Re: [OE-core] [PATCH] autotools.bbclass: output failed config.log

2019-05-15 Thread Adrian Bunk
On Wed, May 15, 2019 at 05:50:44PM +0800, Hongxu Jia wrote: > On 5/15/19 5:32 PM, Andreas Müller wrote: > > > --- a/meta/classes/autotools.bbclass > > > +++ b/meta/classes/autotools.bbclass > > > @@ -90,7 +90,11 @@ oe_runconf () { > > > bbnote "Running $cfgscript ${CONFIGUREOPTS}

Re: [OE-core] [PATCH] autotools.bbclass: output failed config.log

2019-05-15 Thread Andreas Müller
On Wed, May 15, 2019 at 11:50 AM Hongxu Jia wrote: > > On 5/15/19 5:32 PM, Andreas Müller wrote: > > --- a/meta/classes/autotools.bbclass > +++ b/meta/classes/autotools.bbclass > @@ -90,7 +90,11 @@ oe_runconf () { > bbnote "Running $cfgscript ${CONFIGUREOPTS} ${EXTRA_OECONF} >

Re: [OE-core] [PATCH] autotools.bbclass: output failed config.log

2019-05-15 Thread Hongxu Jia
On 5/15/19 5:32 PM, Andreas Müller wrote: --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass @@ -90,7 +90,11 @@ oe_runconf () { bbnote "Running $cfgscript ${CONFIGUREOPTS} ${EXTRA_OECONF} $@" if ! ${CACHED_CONFIGUREVARS} $cfgscript

Re: [OE-core] [PATCH] autotools.bbclass: output failed config.log

2019-05-15 Thread Andreas Müller
On Wed, May 15, 2019 at 11:23 AM Hongxu Jia wrote: > > If do_configure failed, output content of config.log > to configure log, it is helpful to trace the do_configure > failure on the build system which is hard to login. > (such as autobuilder) > > Signed-off-by: Hongxu Jia > --- >

[OE-core] [PATCH] autotools.bbclass: output failed config.log

2019-05-15 Thread Hongxu Jia
If do_configure failed, output content of config.log to configure log, it is helpful to trace the do_configure failure on the build system which is hard to login. (such as autobuilder) Signed-off-by: Hongxu Jia --- meta/classes/autotools.bbclass | 6 +- 1 file changed, 5 insertions(+), 1