Freescale / meta-freescale

Layer containing NXP hardware support metadata
Other
172 stars 257 forks source link

[qoriq] Build failure while attempting to build the `linux-qoriq` recipe version 5.10 for `ls1021atwr` #1497

Closed otavio closed 1 year ago

otavio commented 1 year ago

I encountered a build failure while attempting to build the linux-qoriq recipe version 5.10. The build to fail log is below:

ERROR: Logfile of failure stored in: /home/otavio/src/oe/oel/master/build/tmp/work/ls1021atwr-oel-linux-gnueabi/linux-qoriq/5.10.52+gitAUTOINC+a11753a89e-r0/temp/log.do_compile.1999789
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: KBUILD_BUILD_TIMESTAMP: Wed Sep  8 10:41:11 UTC 2021
| NOTE: make -j 24 CC=arm-oel-linux-gnueabi-gcc   -fuse-ld=bfd -fmacro-prefix-map=/home/otavio/src/oe/oel/master/build/tmp/work/ls1021atwr-oel-linux-gnueabi/linux-qoriq/5.10.52+gitAUTOINC+a11753a89e-r0/git=/usr/src/debug/linux-qoriq/5.10.52+gitAUTOINC+a11753a89e-r0  -fdebug-prefix-map=/home/otavio/src/oe/oel/master/build/tmp/work/ls1021atwr-oel-linux-gnueabi/linux-qoriq/5.10.52+gitAUTOINC+a11753a89e-r0/git=/usr/src/debug/linux-qoriq/5.10.52+gitAUTOINC+a11753a89e-r0  -fmacro-prefix-map=/home/otavio/src/oe/oel/master/build/tmp/work/ls1021atwr-oel-linux-gnueabi/linux-qoriq/5.10.52+gitAUTOINC+a11753a89e-r0/build=/usr/src/debug/linux-qoriq/5.10.52+gitAUTOINC+a11753a89e-r0  -fdebug-prefix-map=/home/otavio/src/oe/oel/master/build/tmp/work/ls1021atwr-oel-linux-gnueabi/linux-qoriq/5.10.52+gitAUTOINC+a11753a89e-r0/build=/usr/src/debug/linux-qoriq/5.10.52+gitAUTOINC+a11753a89e-r0  -fdebug-prefix-map=/home/otavio/src/oe/oel/master/build/tmp/work/ls1021atwr-oel-linux-gnueabi/linux-qoriq/5.10.52+gitAUTOINC+a11753a89e-r0/recipe-sysroot=  -fmacro-prefix-map=/home/otavio/src/oe/oel/master/build/tmp/work/ls1021atwr-oel-linux-gnueabi/linux-qoriq/5.10.52+gitAUTOINC+a11753a89e-r0/recipe-sysroot=  -fdebug-prefix-map=/home/otavio/src/oe/oel/master/build/tmp/work/ls1021atwr-oel-linux-gnueabi/linux-qoriq/5.10.52+gitAUTOINC+a11753a89e-r0/recipe-sysroot-native=  -fdebug-prefix-map=/home/otavio/src/oe/oel/master/build/tmp/work-shared/ls1021atwr/kernel-source=/usr/src/kernel -fdebug-prefix-map=/home/otavio/src/oe/oel/master/build/tmp/work-shared/ls1021atwr/kernel-build-artifacts=/usr/src/kernel  --sysroot=/home/otavio/src/oe/oel/master/build/tmp/work/ls1021atwr-oel-linux-gnueabi/linux-qoriq/5.10.52+gitAUTOINC+a11753a89e-r0/recipe-sysroot LD=arm-oel-linux-gnueabi-ld.bfd    --sysroot=/home/otavio/src/oe/oel/master/build/tmp/work/ls1021atwr-oel-linux-gnueabi/linux-qoriq/5.10.52+gitAUTOINC+a11753a89e-r0/recipe-sysroot OBJCOPY=arm-oel-linux-gnueabi-objcopy  HOSTCC=gcc  HOSTCFLAGS=-isystem/home/otavio/src/oe/oel/master/build/tmp/work/ls1021atwr-oel-linux-gnueabi/linux-qoriq/5.10.52+gitAUTOINC+a11753a89e-r0/recipe-sysroot-native/usr/include -O2 -pipe HOSTLDFLAGS=-L/home/otavio/src/oe/oel/master/build/tmp/work/ls1021atwr-oel-linux-gnueabi/linux-qoriq/5.10.52+gitAUTOINC+a11753a89e-r0/recipe-sysroot-native/usr/lib                         -L/home/otavio/src/oe/oel/master/build/tmp/work/ls1021atwr-oel-linux-gnueabi/linux-qoriq/5.10.52+gitAUTOINC+a11753a89e-r0/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,/home/otavio/src/oe/oel/master/build/tmp/work/ls1021atwr-oel-linux-gnueabi/linux-qoriq/5.10.52+gitAUTOINC+a11753a89e-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,/home/otavio/src/oe/oel/master/build/tmp/work/ls1021atwr-oel-linux-gnueabi/linux-qoriq/5.10.52+gitAUTOINC+a11753a89e-r0/recipe-sysroot-native/lib                         -Wl,-rpath,/home/otavio/src/oe/oel/master/build/tmp/work/ls1021atwr-oel-linux-gnueabi/linux-qoriq/5.10.52+gitAUTOINC+a11753a89e-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath,/home/otavio/src/oe/oel/master/build/tmp/work/ls1021atwr-oel-linux-gnueabi/linux-qoriq/5.10.52+gitAUTOINC+a11753a89e-r0/recipe-sysroot-native/lib                         -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/home/otavio/src/oe/oel/master/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 HOSTCPP=gcc  -E HOSTCXX=g++  HOSTCXXFLAGS=-isystem/home/otavio/src/oe/oel/master/build/tmp/work/ls1021atwr-oel-linux-gnueabi/linux-qoriq/5.10.52+gitAUTOINC+a11753a89e-r0/recipe-sysroot-native/usr/include -O2 -pipe PAHOLE=false uImage LOADADDR=0x80008000
| "mkimage" command not found - U-Boot images will not be built
| make[2]: *** [/home/otavio/src/oe/oel/master/build/tmp/work-shared/ls1021atwr/kernel-source/arch/arm/boot/Makefile:91: arch/arm/boot/uImage] Error 1
| make[1]: *** [arch/arm/Makefile:324: uImage] Error 2
| make: *** [/home/otavio/src/oe/oel/master/build/tmp/work-shared/ls1021atwr/kernel-source/Makefile:185: __sub-make] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
NOTE: recipe linux-qoriq-5.10.52+gitAUTOINC+a11753a89e-r0: task do_compile: Failed
ERROR: Task (/home/otavio/src/oe/oel/master/sources/meta-freescale/recipes-kernel/linux/linux-qoriq_5.10.bb:do_compile) failed with exit code '1'

This machine have been broken for a long time and if no one is interested in maintaining them, it would be preferable to remove them from the repository.

Please advise on how to proceed with fixing the build for these machines or removing them from the repository.

otavio commented 1 year ago

This is still reproducible. Are anyone going to look at this or should we remove the machines?