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

Adrian Bunk bunk at stusta.de
Wed May 15 14:02:53 UTC 2019


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 --sysroot=/buildarea1/hjia/wrlinux-1019/build_master-wr_qemux86_2019051509/build/tmp-glibc/work/i586-wrs-linux/grub/2.02-r0/recipe-sysroot
> checking whether the C compiler works... no
> configure: error: in `/buildarea1/hjia/wrlinux-1019/build_master-wr_qemux86_2019051509/build/tmp-glibc/work/i586-wrs-linux/grub/2.02-r0/build':
> configure: error: C compiler cannot create executables
> See `config.log' for more details
> NOTE: The following config.log files may provide further information.
> NOTE: /buildarea1/hjia/wrlinux-1019/build_master-wr_qemux86_2019051509/build/tmp-glibc/work/i586-wrs-linux/grub/2.02-r0/build/config.log
> NOTE: This file contains any messages produced by compilers while
> NOTE: running configure, to aid debugging if configure makes a mistake.
> 
> ...
> 
> The content of config.log has prefix `NOTE:' and also tells user
>...

The problem is that the last > 1000 lines are NOTE: - and they all get 
dumped to the terminal.

It is a problem when you have to scroll up through more than a thousand 
lines of mostly irrelvant information before you are seeing the most 
relevant information.

> //Hongxu

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the Openembedded-core mailing list