setting preferred provider for "virtual/libx11"?

Robert P. J. Day

with latest poky git pull, did "bitbake -c fetchall world" just for
fun and got:

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
ERROR: Multiple .bb files are due to be built which each provide
This usually means one provides something the other doesn't and
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 1359 tasks of which 1359 didn't need to
be rerun and 0 failed.

i'm *assuming* that, since both of those .bb files pull in, this is the offending line from that file:

PROVIDES = "virtual/libx11"

and that (as saul just explained to me before his linuxcon talk
starts), what is needed is a PREFERRED_PROVIDER for this virtual
package to distinguish between them, correct?

i can see several directives throughout the tree:

PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim"

but, obviously(?), there's none being included in my specific example
of doing a fetchall for world. feel free to explain why i have no
idea what i'm talking about.



Robert P. J. Day Ottawa, Ontario, CANADA


Join to automatically receive all group messages.