WARNING: ... LICENSE value ... has an invalid format - license names must be separated by the following characters to indicate the license selection: ...

メッセージ

WARNING: MyRecipe: LICENSE value “My License” has an invalid format - license names must be separated by the following characters to indicate the license selection: &|()

警告: MyRecipe: LICENSE の値 “My License” は無効な形式 - ライセンス名は選択条件を示すために次の文字で区切られていなければならない: &|()

make[1]: *** [s-attrtab] Killed

問題

gcc-cross-initial-arm” レシピのコンパイルがエラーで失敗する。

環境
  • AmazonLinuxAMI-2016.09
  • Yocto 2.2.1 (Morty)
メッセージ
make[1]: *** [s-attrtab] Killed
原因

メモリ不足により、OOM Killer に kill された。

解決方法

スワップを作る。

SWAP=/tmp/swap
dd if=/dev/zero of=$SWAP bs=1M count=1024
mkswap $SWAP
sudo swapon $SWAP
参考文献

amazon ec2 - Make exits with "Error 2" when trying to install gcc-4.8.1 - Stack Overflow

ERROR: OE-core's config sanity checker detected a potential misconfiguration.

メッセージ
ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:
エラー:  OE-core のコンフィグ正当性チェッカーが潜在的なミスを検知した。
    このエラーの原因を修正するか、あるいは自己責任でチェッカーを無効にするか (sanity.conf を参照)。
    以下は、潜在的な問題 / アドバイスの一覧: