[yocto] setting preferred provider for "virtual/libx11"?
Robert P. J. Day
rpjday at crashcourse.ca
Wed Aug 17 14:01:32 PDT 2011
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
virtual/libx11
(/home/rpjday/yocto/poky.git/meta/recipes-graphics/xorg-lib/libx11-trim_1.3.4.bb
/home/rpjday/yocto/poky.git/meta/recipes-graphics/xorg-lib/libx11_1.3.4.bb).
This usually means one provides something the other doesn't and
should.
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
libx11.inc, this is the offending line from that libx11.inc 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.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
More information about the yocto
mailing list