u-boot compile error with Kconfig


Rusty Howell
 

I am getting an error on only one of our many build machines when building u-boot. This particular machine is the only one running Ubuntu 20.04.4 LTS. We have several other build nodes running Ubuntu 20.04.3 that can run our Yocto build without any issue.  Are there any known issues with 20.04.4 and Hardknott?  I haven't seen anything relevant in the Yocto mailing lists.

uname -a: Linux yocto-build-5 5.4.0-109-generic #123-Ubuntu SMP Fri Apr 8 09:10:54 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Here is the error.  Any suggestions are appreciated.

|  GEN     ./Makefile                                                                                                                                                                                    
| rm -f .tmp_quiet_recordmcount                                                                                                                                                                            
| make -f /home/builder/corex/yocto/build.imx8mq-core/tmp/work/imx8mq_core-control4-linux/u-boot-c4-imx/2021.04+gitAUTOINC+6b12e08291-r0/git/scripts/Makefile.build obj=scripts                            
| if [ -f /home/builder/corex/yocto/build.imx8mq-core/tmp/work/imx8mq_core-control4-linux/u-boot-c4-imx/2021.04+gitAUTOINC+6b12e08291-r0/git/.config -o -d /home/builder/corex/yocto/build.imx8mq-core/tmp/
work/imx8mq_core-control4-linux/u-boot-c4-imx/2021.04+gitAUTOINC+6b12e08291-r0/git/include/config ]; then \                                                                                                
|       echo >&2 "  /home/builder/corex/yocto/build.imx8mq-core/tmp/work/imx8mq_core-control4-linux/u-boot-c4-imx/2021.04+gitAUTOINC+6b12e08291-r0/git is not clean, please run 'make mrproper'"; \        
|       echo >&2 "  in the '/home/builder/corex/yocto/build.imx8mq-core/tmp/work/imx8mq_core-control4-linux/u-boot-c4-imx/2021.04+gitAUTOINC+6b12e08291-r0/git' directory.";\                              
|       /bin/false; \                                                                                                                                                                                      
| fi;                                                                                                                                                                                                      
| make -f /home/builder/corex/yocto/build.imx8mq-core/tmp/work/imx8mq_core-control4-linux/u-boot-c4-imx/2021.04+gitAUTOINC+6b12e08291-r0/git/scripts/Makefile.build obj=scripts/dtc                        
| ===================== WARNING ======================                                                                                                                                                    
| This board uses CONFIG_SPL_FIT_GENERATOR. Please migrate                                                                                                                                                
| to binman instead, to avoid the proliferation of                                                                                                                                                        
| arch-specific scripts with no tests.                                                                                                                                                                    
| ====================================================                                                                                                                                                    
| ===================== WARNING ======================                                                                                                                                                     | This board does not use CONFIG_WDT (Driver Model                                                                                                                                                        
| for DM watchdog). Please update the board to use                                                                                                                                                        
| CONFIG_WDT before the v2019.10 release. Failure to                                                                                                                                                      
| update by the deadline may result in board removal.                                                                                                                                                      
| See doc/driver-model/migration.rst for more info.                                                                                                                                                        
| ====================================================                                                                                                                                                    
|   /home/builder/corex/yocto/build.imx8mq-core/tmp/work/imx8mq_core-control4-linux/u-boot-c4-imx/2021.04+gitAUTOINC+6b12e08291-r0/git/scripts/check-config.sh u-boot.cfg /home/builder/corex/yocto/build.i
mx8mq-core/tmp/work/imx8mq_core-control4-linux/u-boot-c4-imx/2021.04+gitAUTOINC+6b12e08291-r0/git/scripts/config_whitelist.txt /home/builder/corex/yocto/build.imx8mq-core/tmp/work/imx8mq_core-control4-li
nux/u-boot-c4-imx/2021.04+gitAUTOINC+6b12e08291-r0/git                                                                                                                                                    
| Error: You must add new CONFIG options using Kconfig                                                                                                                                                    
| The following new ad-hoc CONFIG options were detected:                                                                                                                                                  
| CONFIG_CREATE_ARCH_SYMLINK                                                                                                                                                                              
|                                                                                                                                                                                                          
| Please add these via Kconfig instead. Find a suitable Kconfig                                                                                                                                            
| file and add a 'config' or 'menuconfig' option.                                                                                                                                                          
| make[1]: *** [/home/builder/corex/yocto/build.imx8mq-core/tmp/work/imx8mq_core-control4-linux/u-boot-c4-imx/2021.04+gitAUTOINC+6b12e08291-r0/git/Makefile:1072: .binman_stamp] Error 1                  
| make[1]: *** Deleting file '.binman_stamp'                                                                                                                                                              
| make[1]: Leaving directory '/home/builder/corex/yocto/build.imx8mq-core/tmp/work/imx8mq_core-control4-linux/u-boot-c4-imx/2021.04+gitAUTOINC+6b12e08291-r0/build/imx8mq-core_config'                    
| make: *** [Makefile:167: sub-make] Error 2                                                                                                                                                               | make: Leaving directory '/home/builder/corex/yocto/build.imx8mq-core/tmp/work/imx8mq_core-control4-linux/u-boot-c4-imx/2021.04+gitAUTOINC+6b12e08291-r0/git'                                             | ERROR: oe_runmake failed                                                                                                                                                                                
Thanks in advance.