The yocto environment will build the toolchain, so this isn’t the issue. I believe the problem is the legato source code wasn’t pulled properly.
Could you please supply the output for the following commands:
- ls -la /home/gustavo/leafFX30
- ls -la /home/gustavo/leafFX30/legato-src-fx30
- ls -la /home/gustavo/leafFX30/legato-src-fx30/legato
- ls -la /home/gustavo/leafFX30/swi-linux-src
Could you confirm the legato source code was pulled correctly when you executed these 2 commands?
repo init -u ssh://firstname.lastname@example.org:29418/manifest -m legato/releases/18.06.5/legato.xml
assuming your gerrit username is “gustavo”
The patch that is failing applies to the Legato framework. The framework is pulled using repo and must be outside the swi-linux repo workspace.
In addition, the Legato framework cannot be used from “leaf getsrc swi-legato” because leaf automatically patches the source framework with the FX30 Legato patches. ie, the framework pulled in this way is intended for framework development so it is pre-patched. Compared to the yocto environment, which contains the patch files and applies them to the base framework at build-time.