こんにちは。S32G2_LinuxBSP_44.0_User_Manual_updated_D250603.pdf で指定されているように、xx 用の Ubuntu イメージを構築しようとしています。しかし、以下のエラーが発生しています。設定ファイルを調べたところ、現在`scarthgap`でビルドしているにもかかわらず、システムの一部がまだ`kirkstone`を想定しているようです。そして、期待されるglibのバージョンが一致しないようです。ビルドを実行しようとした際に実行したコマンドと、その際に出力されたエラーを以下に示します。何か設定が抜けているのでしょうか?
コマンド:
mkdir fsl-auto-yocto-bsp
cd fsl-auto-yocto-bsp
repo init -u https://github.com/nxp-auto-linux/auto_yocto_bsp/ -b release/bsp44.0 -m default.xml
repo sync
sudo apt update
./sources/meta-alb/scripts/host-prepare.sh
source nxp-setup-alb.sh -m s32g274ardb2ubuntu
# Set NXP_FIRMWARE_LOCAL_DIR in local/local.conf
bitbake fsl-image-ubuntu-base
出力:
❯ bitbake fsl-image-ubuntu-base
Loading cache: 100% |#######################################################################################################################################################################################################| Time: 0:00:00
Loaded 1143 entries from dependency cache.
ERROR: /path/reproduce-for-forum/fsl-auto-yocto-bsp/sources/meta-alb/meta-alb-sdk/recipes-fsl/images/fsl-image-ubuntu.bb: nativeaptinstall.bbclass is incompatible to the current layer set | ETA: 0:00:44
ERROR: /path/reproduce-for-forum/fsl-auto-yocto-bsp/sources/meta-alb/meta-alb-sdk/recipes-fsl/images/fsl-image-ubuntu.bb: You must check APTGET_YOCTO_TRANSLATION and update the anonymous python() function!
ERROR: /path/reproduce-for-forum/fsl-auto-yocto-bsp/sources/meta-alb/meta-alb-sdk/recipes-fsl/images/fsl-image-ubuntu-ros.bb: nativeaptinstall.bbclass is incompatible to the current layer set | ETA: 0:00:32
ERROR: /path/reproduce-for-forum/fsl-auto-yocto-bsp/sources/meta-alb/meta-alb-sdk/recipes-fsl/images/fsl-image-ubuntu-ros.bb: You must check APTGET_YOCTO_TRANSLATION and update the anonymous python() function!
ERROR: /path/reproduce-for-forum/fsl-auto-yocto-bsp/sources/meta-alb/meta-alb-sdk/recipes-fsl/images/fsl-image-ubuntu-base.bb: nativeaptinstall.bbclass is incompatible to the current layer set | ETA: 0:00:29
ERROR: /path/reproduce-for-forum/fsl-auto-yocto-bsp/sources/meta-alb/meta-alb-sdk/recipes-fsl/images/fsl-image-ubuntu-base.bb: You must check APTGET_YOCTO_TRANSLATION and update the anonymous python() function!
ERROR: /path/reproduce-for-forum/fsl-auto-yocto-bsp/sources/meta-alb/meta-alb-sdk/recipes-extended/ubuntu/ubuntu-base_22.04.1.bb: nativeaptinstall.bbclass is incompatible to the current layer setETA: 0:00:17
ERROR: /path/reproduce-for-forum/fsl-auto-yocto-bsp/sources/meta-alb/meta-alb-sdk/recipes-extended/ubuntu/ubuntu-base_22.04.1.bb: You must check APTGET_YOCTO_TRANSLATION and update the anonymous python() function!
Parsing recipes: 100% |#####################################################################################################################################################################################################| Time: 0:00:55
Parsing of 3692 .bb files complete (766 cached, 2926 parsed). 5803 targets, 617 skipped, 2 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
WARNING: preferred version 2.35 of cross-localedef-native not available (for item cross-localedef-native)
WARNING: versions of cross-localedef-native available: 2.31+git 2.39+git
WARNING: preferred version 2.38 of binutils-cross-aarch64 not available (for item virtual/aarch64-fsl-linux-binutils)
WARNING: versions of binutils-cross-aarch64 available: 2.34 2.42
WARNING: preferred version 2.35 of cross-localedef-native not available (for item cross-localedef-native-dev)
WARNING: versions of cross-localedef-native available: 2.31+git 2.39+git
WARNING: preferred version 2.35 of cross-localedef-native not available (for item cross-localedef-native)
WARNING: versions of cross-localedef-native available: 2.31+git 2.39+git
WARNING: preferred version 2.38 of binutils-crosssdk-x86_64-fslbsp-linux not available (for item virtual/x86_64-fslbsp-linux-binutils)
WARNING: versions of binutils-crosssdk-x86_64-fslbsp-linux available: 2.42
WARNING: preferred version 2.35 of nativesdk-glibc not available (for item virtual/nativesdk-libc)
WARNING: versions of nativesdk-glibc available: 2.39+git
WARNING: preferred version 2.35 of glibc not available (for item virtual/libc)
WARNING: versions of glibc available: 2.31+git 2.39+git
WARNING: preferred version 2.38 of binutils-native not available (for item binutils-native)
WARNING: versions of binutils-native available: 2.42
WARNING: preferred version 2.35 of nativesdk-glibc not available (for item virtual/nativesdk-libintl)
WARNING: versions of nativesdk-glibc available: 2.39+git
WARNING: preferred version 2.35 of nativesdk-glibc not available (for item virtual/nativesdk-libiconv)
WARNING: versions of nativesdk-glibc available: 2.39+git
WARNING: preferred version 2.35 of glibc not available (for item glibc-thread-db)
WARNING: versions of glibc available: 2.31+git 2.39+git
WARNING: preferred version 2.35 of glibc-locale not available (for item glibc-localedata-i18n)
WARNING: versions of glibc-locale available: 2.31 2.39+git
WARNING: preferred version 2.35 of glibc not available (for item glibc-utils)
WARNING: versions of glibc available: 2.31+git 2.39+git
WARNING: preferred version 2.35 of glibc not available (for item glibc-dbg)
WARNING: versions of glibc available: 2.31+git 2.39+git
WARNING: preferred version 2.35 of glibc not available (for item glibc-dev)
WARNING: versions of glibc available: 2.31+git 2.39+git
WARNING: preferred version 2.38 of binutils-cross-canadian-aarch64 not available (for item binutils-cross-canadian-aarch64)
WARNING: versions of binutils-cross-canadian-aarch64 available: 2.34 2.42
WARNING: preferred version 2.35 of nativesdk-glibc not available (for item nativesdk-ldconfig)
WARNING: versions of nativesdk-glibc available: 2.39+git
WARNING: preferred version 2.35 of nativesdk-glibc not available (for item nativesdk-glibc)
WARNING: versions of nativesdk-glibc available: 2.39+git
WARNING: preferred version 2.35 of nativesdk-glibc not available (for item nativesdk-glibc-utils)
WARNING: versions of nativesdk-glibc available: 2.39+git
WARNING: preferred version 2.35 of nativesdk-glibc not available (for item nativesdk-glibc-dev)
WARNING: versions of nativesdk-glibc available: 2.39+git
WARNING: preferred version 2.35 of glibc not available (for item glibc)
WARNING: versions of glibc available: 2.31+git 2.39+git
WARNING: preferred version 2.35 of glibc not available (for item ldconfig)
WARNING: versions of glibc available: 2.31+git 2.39+git
WARNING: preferred version 2.35 of glibc-locale not available (for item glibc-locale)
WARNING: versions of glibc-locale available: 2.31 2.39+git
ERROR: Nothing PROVIDES 'virtual/x86_64-fslbsp-linux-gcc-crosssdk' (but /path/reproduce-for-forum/fsl-auto-yocto-bsp/sources/meta-alb/meta-alb-sdk/recipes-devtools/binutils2.34/binutils-cross-canadian_2.34.bb DEPENDS on or otherwise requires it). Close matches:
virtual/x86_64-fslbsp-linux-g++
virtual/x86_64-fslbsp-linux-gcc
virtual/x86_64-fslbsp-linux-go
NOTE: Runtime target 'binutils-cross-canadian-aarch64' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['binutils-cross-canadian-aarch64', 'virtual/x86_64-fslbsp-linux-gcc-crosssdk']
NOTE: Runtime target 'packagegroup-cross-canadian-s32g274ardb2' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-cross-canadian-s32g274ardb2', 'binutils-cross-canadian-aarch64', 'virtual/x86_64-fslbsp-linux-gcc-crosssdk']
ERROR: Required build target 'fsl-image-ubuntu-base' has no buildable providers.
Missing or unbuildable dependency chain was: ['fsl-image-ubuntu-base', 'packagegroup-cross-canadian-s32g274ardb2', 'binutils-cross-canadian-aarch64', 'virtual/x86_64-fslbsp-linux-gcc-crosssdk']
Summary: There were 46 WARNING messages.
Summary: There were 10 ERROR messages, returning a non-zero exit code.
こんにちは、 @sid_rotor
投稿ありがとうございます。
S32Gプロセッサで動作するUbuntuイメージのビルディングはBSP44リリースには含まれていません。BSPのUMが正しく更新されていないのは残念です。UMの関連章は無視することをお勧めします。
BR
チェイン
こんにちは、 @sid_rotor
ご返信ありがとうございます。
私の知る限り、44以前のBSPバージョン(43以前)はUbuntuビルドを正しくサポートできたはずです。これらのバージョンを仕事で試してみるのも良いでしょう。
BR
チェイン