[OE-core] [PATCH] autotools: don't output the full config.log on configure failure

Otavio Salvador otavio.salvador at ossystems.com.br
Wed Jan 13 22:03:21 UTC 2016


On Wed, Jan 13, 2016 at 7:47 PM, Ross Burton <ross.burton at intel.com> wrote:
> The config.log written by autoconf includes many pages of useless output,
> followed by an obfuscated error message, and then more pages of every variable
> that's been set.  It's only understandable if you're well versed in how autoconf
> behaves, and often in simple failure modes doesn't actually make it clear what
> the problem was.
>
> Instead of outputting config.log to the console when do_configure() fails, just
> use bbfatal_log so the human-readable configure output (not the config.log) is
> shown to the user.
>
> [ YOCTO #8856 ]
>
> Signed-off-by: Ross Burton <ross.burton at intel.com>

What about printing the config.log files so it is easier to copy and
paste for checking?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-core mailing list