PREFERRED_PROVIDER

If multiple recipes provide an item, this variable determines which recipe should be given preference. You should always suffix the variable with the name of the provided item, and you should set it to the PN of the recipe to which you want to give precedence. Some examples:

複数のレシピがアイテムを提供する場合、この変数はどのレシピに優先権を与えるべきかを決定します。変数には常に提供されるアイテムのサフィックスを付ける必要があります。優先順位を付けるレシピの PN に設定する必要があります。

PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
PREFERRED_PROVIDER_virtual/xserver = "xserver-xf86"
PREFERRED_PROVIDER_virtual/libgl ?= "mesa"

PROVIDES

A list of aliases that a recipe also provides. These aliases are useful for satisfying dependencies of other recipes during the build (as specified by DEPENDS).

レシピが提供するエイリアスのリストです。これらのエイリアスは、ビルド中に( DEPENDS で指定された)他のレシピの依存関係を満たすのに役立ちます。

Note A recipe's own PN is implicitly already in its PROVIDES list.

注記 レシピ自身の PN は、暗黙で PROVIDES のリストに入っています。

python3 が "No module named 'encodings'" エラーで失敗する

事象

python3 の実行が次のエラーで失敗する

$ python3
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'
Aborted

翻訳:

Python の致命的なエラー: Py_Initialize: ローカルのエンコードを取得できません
取り込みエラー: 'encodings' という名前のモジュールはありません
中断しました

原因

codecs モジュールがインストールされていないため

対処

codecs モジュールをインストールする