I attempted to do a validation build this morning, and the build failed before it even started. This is the first time this has happened; we’ve done many successful builds of this type.
It was probably operator error. The PATH variable looks rather cluttered, due to a large number of build variations we’ve been trying. After a reboot, PATH is much cleaner, and bitbake is working just fine.
Also in your PATH you have paths pointing into workspace/imx8_clean2 and workspace/imx8_clean1. This looks like you did in the source the fsl-setup-release.sh from two different installations in the same environment.
What happens if you start a new terminal (PATH should now not contain any reference to a bitbake installation), source the fsl-setup-release.sh and then start bitbake?
Also in your PATH you have paths pointing into workspace/imx8_clean2 and workspace/imx8_clean1. This looks like you did in the source the fsl-setup-release.sh from two different installations in the same environment.
What happens if you start a new terminal (PATH should now not contain any reference to a bitbake installation), source the fsl-setup-release.sh and then start bitbake?
Yes, my PATH had become rather cluttered. I may have done the ‘source fsl-setup-release.sh’ command in one environment (imx8_clean1) and then inadvertently tried a build in the other environment (imx8_clean2).
I had to reboot my workstation for other reasons. After the reboot and a new ‘source fsl-setup-release.sh’, the PATH was more orderly, as shown in the above comment, and bitbake executed successfully.
Answering the first question last:
What is the output of the following command executed in your build directory?
repo forall -c ‘basename $(pwd); git rev-parse HEAD’