[OE-core] Circular dependency of do_populate_sysroot

Stefan Herbrechtsmeier stefan at herbrechtsmeier.net
Sun Apr 7 19:18:12 UTC 2019


Hi,

I'm working towards an integrated Node.js support without npm and have a 
problem with a circular dependency of do_populate_sysroot for the native 
build.

I have two recipes a.bb and b.bb which have no DEPENDS but a 
RDEPENDS_${PN} between each other. This is no problem for a cross build 
but leads to the following error for the native build:
Task virtual:native:a.bb:do_populate_sysroot has circular dependency on 
virtual:native:b.bb:do_populate_sysroot.

It looks like the problem comes from the following lines in 
native.bbclass and commit eea86c4f0a960d0094571a78dc0cf9d46d162a22:
RECIPERDEPTASK = "do_populate_sysroot"
do_populate_sysroot[rdeptask] = "${RECIPERDEPTASK}"

Is the rdeptask on the same task really needed or is it possible to use 
an other task after do_populate_sysroot as sync task which run time 
dependency on the other do_populate_sysroot task?

Best regards
   Stefan


More information about the Openembedded-core mailing list