Subject: Re: Dependencies are not resolved correctly when building the SDK To: yocto@lists.yoctoproject.org From: "asconcepcion" X-Originating-Location: Barcelona, Catalonia, ES (83.50.28.239) X-Originating-Platform: Windows Firefox 91 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Thu, 26 Aug 2021 02:24:08 -0700 References: <011a8e920057889ec1b6161944316e7be2a5e7cc.camel@intel.com> In-Reply-To: <011a8e920057889ec1b6161944316e7be2a5e7cc.camel@intel.com> Message-ID: <9702.1629969848736255021@lists.yoctoproject.org> Content-Type: multipart/alternative; boundary="PYci8lptTueCJuFlYjw2" --PYci8lptTueCJuFlYjw2 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable >=20 > Please post the exact error that you're getting. Sorry, I haven't posted the exact error because I thought it is quite speci= fic to the recipe I'm building. My first question was also too vague, sorry= for that. The problem is that it fails in building that package because of= a missing file that should be populated by that dependency. The error happens in the do_compile task: >=20 > | make[1]: *** No rule to make target 'm4_image.bin', needed by > 'flash_linux_m40'.=C2=A0 Stop. > | make: *** [Makefile:23: flash_linux_m40] Error 2 > | WARNING: exit code 2 from a shell command. So, the package expects that the file 'm4_image.bin' exists, and this file = is generated by the dependency (it works well when building the yocto image= , but not when building the SDK from scratch). Thanks, Alejandro --PYci8lptTueCJuFlYjw2 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Please post the exact error that you're getting.
Sorry, I haven't posted the exact error because I thought it is quite speci= fic to the recipe I'm building. My first question was also too vague, sorry= for that. The problem is that it fails in building that package because of= a missing file that should be populated by that dependency.

The= error happens in the do_compile task:

| make[1]: *** No rule to make target 'm4_image.bin', needed by= 'flash_linux_m40'.  Stop.       &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;     
| make: *** [Makefile:23: flash_linux_m40] = Error 2           &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;  
| WARNING: exit code 2 from a shell command.
So, the package expects that the file 'm4_image.bin' exists, and this file = is generated by the dependency (it works well when building the yocto image= , but not when building the SDK from scratch).

Thanks,
Alej= andro --PYci8lptTueCJuFlYjw2--