tgamblin has quit [Remote host closed the connection]
tgamblin has joined #yocto
Saur_Home57 has quit [Quit: Client closed]
Saur_Home57 has joined #yocto
<Saur_Home57>
RP: Are you available for a question related to changing virtual/ to virtual- for runtime dependencies?
<RP>
Saur_Home57: I'm around...
<Saur_Home57>
Ok, good. Let's see if I can manage to describe what's going on...
<Saur_Home57>
RP: We have four recipes (A, B, C and D) that provide virtual/foo. A, B and C depend on virtual/bar, but D does not. We have a PREFERRED_PROVIDER_virtual/foo ?= "D" that I am now changing to PREFERRED_RPROVIDER_virtual-foo ?= "D" (since there are only runtime dependencies on this virtual). With this setup, there should be no dependencies on
<Saur_Home57>
virtual/bar thus there is no PREFERRED_PROVIDER_virtual/bar for this BSP. However, after the change I now get errors because some random recipe that provides virtual/bar depends on a recipe that is not compatible with the current BSP. If I remove the three recipes A, B and C, the error goes away.
<Saur_Home57>
RP: Do I still have to have a PREFERRED_PROVIDER_virtual/foo even if it is never used?
goliath has quit [Quit: SIGSEGV]
<RP>
Saur_Home57: I'm not sure defining that would actually help in this case?
<RP>
Saur_Home57: is anything referencing virtual-foo even if you're not building it?
<RP>
Saur_Home57: from bitbake's perspective, it has to consider all the possible ways to provide something, then look at what selections the user has made. I'd guess something is bringing this other chain to bitbake's attention
<RP>
Saur_Home57: bitbake -DDDv and grepping for "virtual-foo" and "virtual-bar" may give clues. The output is verbose but potentially helpful in a scenario like this
kergoth has joined #yocto
<JaMa>
or add SKIP_RECIPE[D] in your local.conf and see what complains about missing PROVIDEr
CrazyGecko has quit [Ping timeout: 252 seconds]
hexbrex3 has joined #yocto
kergoth has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hexbrex has joined #yocto
hexbrex2 has quit [Ping timeout: 246 seconds]
hexbrex3 has quit [Ping timeout: 260 seconds]
Saur_Home57 has quit [Quit: Client closed]
Saur_Home57 has joined #yocto
<Saur_Home57>
RP: There must be something in the logic related to handling virtual/ dependencies that solves the situation in our current setup, because if I do a simple sed s|virtual/foo|virtual-foo| on the original code (i.e., without changing PREFERRED_PROVIDER to PREFERRED_RPROVIDER and such), it breaks too. :(
Saur_Home57 has quit [Quit: Client closed]
Saur_Home57 has joined #yocto
ehussain has quit [Remote host closed the connection]
mckoan is now known as mckoan|away
kergoth has joined #yocto
gspbirel56 has quit [Ping timeout: 276 seconds]
goliath has joined #yocto
hexbrex has quit [Read error: Connection reset by peer]