PREFERRED PROVIDER for jpeg and jpeg-native

From Openembedded.org
Revision as of 13:55, 9 March 2015 by Crofton (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This combined with building some packages can lead to a dreadful error message.

NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg
NOTE: multiple providers are available for jpeg-native (jpeg-native, libjpeg-turbo-native)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg-native

To solve the problem, insert this is local.conf (or a distro conf file):

PREFERRED_PROVIDER_jpeg = "libjpeg-turbo"
PREFERRED_PROVIDER_jpeg-native = "libjpeg-turbo-native"

It looks like you get into this situation when you try to build vlc, since it DEPENDS on libjpeg-turbo.

More information is welcome!