This service is available only in Japanese-language.

ROS2ユーザアプリのクロスコンパイル環境の構築

こんにちは。

Advantech社製エッジコンピュータEPC-R3720にて参考URL①を参考にし、Yocto+ROS2(Foxy)の環境を作成しました。
Linux自体のビルドは成功してSDカードにも書込め、ターゲットでの起動にも成功しました。
また、参考URL②を参考にしてツールチェーンの作成を行いました。

ただ、ROS2のユーザアプリ(node?)をクロスコンパイルする環境の作成方法がわからず困っています。
Ubuntu20.04(ROS2 Foxy インストール済み)にて参考URL②で作成したツールチェーンを使用して参考URL③のチュートリアルを行ったのですが、下記のエラーになってしまいます。

ーここからーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
$ source /opt/imx-robot-xwayland/1.0/environment-setup-aarch64-poky-linux
$ source /opt/ros/foxy/setup.bash
$ mkdir -p ~/ros2_ws/src
$ cd ~/ros2_ws/src
$ git clone https://github.com/ros/ros_tutorials.git -b foxy-devel
Cloning into 'ros_tutorials'...
remote: Enumerating objects: 3159, done.
remote: Counting objects: 100% (479/479), done.
remote: Compressing objects: 100% (201/201), done.
remote: Total 3159 (delta 313), reused 419 (delta 271), pack-reused 2680 (from 1)
Receiving objects: 100% (3159/3159), 718.13 KiB | 251.00 KiB/s, done.
Resolving deltas: 100% (1930/1930), done.
$ cd ..
$ rosdep install -i --from-path src --rosdistro foxy -y
#All required rosdeps installed successfully
$ colcon build
[0.653s] WARNING:colcon.colcon_core.package_selection:Some selected packages are already built in one or more underlay workspaces:
'turtlesim' is in: /opt/ros/foxy
If a package in a merged underlay workspace is overridden and it installs headers, then all packages in the overlay must sort their include directories by workspace order. Failure to do so may result in build failures or undefined behavior at run time.
If the overridden package is used by another package in any underlay, then the overriding package in the overlay must be API and ABI compatible or undefined behavior at run time may occur.

If you understand the risks and want to override a package anyways, add the following to the command line:
--allow-overriding turtlesim

This may be promoted to an error in a future release of colcon-override-check.
Starting >>> turtlesim
--- stderr: turtlesim
CMake Error at CMakeLists.txt:12 (find_package):
By not providing "Findament_cmake.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"ament_cmake", but CMake did not find one.

Could not find a package configuration file provided by "ament_cmake" with
any of the following names:

ament_cmakeConfig.cmake
ament_cmake-config.cmake

Add the installation prefix of "ament_cmake" to CMAKE_PREFIX_PATH or set
"ament_cmake_DIR" to a directory containing one of the above files. If
"ament_cmake" provides a separate development package or SDK, be sure it
has been installed.

---
Failed <<< turtlesim [0.86s, exited with code 1]

Summary: 0 packages finished [1.21s]
1 package failed: turtlesim
1 package had stderr output: turtlesim
ーここまでーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
※/opt/imx-robot-xwayland/1.0/environment-setup-aarch64-poky-linux は、ツールチェーンのための環境設定

上記のYocto+ROS2(Foxy)上で動作するアプリをクロスコンパイルする環境の作成方法について何かアドバイスいただくことは可能でしょうか?

こちらで質問する内容なのか不明なのですが、商社を経由して製造メーカに質問したところ、こちらのサイトに誘導されましたのでトピックを作成した次第です。

参考URL①:https://forum.aim-linux.advantech.com/t/how-to-article-get-started-with-...
参考URL②:https://ess-wiki.advantech.com.tw/view/IoTGateway/BSP/Linux/iMX8/Yocto_L...
参考URL③:https://docs.ros.org/en/foxy/Tutorials/Beginner-Client-Libraries/Creatin...

ROSに関して専門外となります。
エラーの内容としてはROS2のパッケージが見つからないというもののようです。

下記のケースではSDK構築時にROS関連のパッケージの追加が必要とのことで、今回のケースにも該当する可能性があります。
https://community.nxp.com/t5/i-MX-Processors/ros2-foxy-cross-compile-err...

ご確認ください。

ご返信ありがとうございます。
URLの内容を確認してみます。

ROSに関しては専門外ですが、Yoctoの観点から改めて調査いたしました。

■ツールチェーンの作成方法について

まず、ツールチェーンの作成方法ですが、参考URL②の手順で作成されたとのことです。

---
$ bitbake meta-toolchain
---

こちらで作成されたSDKは、カーネルやブートローダの開発者向けに最小限のライブラリやヘッダしかsysrootに含まれないものとなっています。

そのため、ROS2のnodeを開発するには適さないかと存じます。ビルドしているイメージのレシピ名がわからないため、曖昧な案内となりますが、下記のようにしてSDKを作成する方が良いかと考えます。

---
$ bitbake <イメージ名> -c populate_sdk
---

作成されたSDKの使用方法 meta-toolchainで作成されたものと同じとなります。

■エラーメッセージについて

本題となります下記のエラーについてです。

Could not find a package configuration file provided by "ament_cmake" with
any of the following names:

ament_cmakeConfig.cmake
ament_cmake-config.cmake

SDKのsysrootにROS2のビルドシステムであるamentの関連のライブラリが含まれていないために発生しています。
SDKを作成する際に「local.conf」に以下の内容を追加することで、ROS2関連のエラーに関しては回避できるようになるかと存じます。

---
TOOLCHAIN_TARGET_TASK_append = " \
ament-cmake \
ament-cmake-auto \
ament-cmake-core \
ament-cmake-export-definitions \
ament-cmake-export-dependencies \
ament-cmake-export-include-directories \
ament-cmake-export-interfaces \
ament-cmake-export-libraries \
ament-cmake-export-link-flags \
ament-cmake-export-targets \
ament-cmake-gmock \
ament-cmake-google-benchmark \
ament-cmake-gtest \
ament-cmake-include-directories \
ament-cmake-libraries \
ament-cmake-nose \
ament-cmake-pytest \
ament-cmake-python \
ament-cmake-ros \
ament-cmake-target-dependencies \
ament-cmake-test \
ament-cmake-version \
ament-lint-auto \
foonathan-memory-staticdev \
"

TOOLCHAIN_HOST_TASK_append = " \
nativesdk-ament-package \
"
---

ただし、今回の手順でビルドしようとしているのが、「turtlesim」かと見受けられます。
turtlesimはQt5などの巨大なライブラリが別途必要となるため、こちらで問題を回避しても別のエラーが発生する可能性があります。

https://zenn.dev/uchidaryo/articles/ros2-programming-2

まずは、こちらのURLにあるような簡単なプログラムで環境を確認するのが良いかと存じます。

以上、よろしくお願いいたします。

みつきん様
追加の調査ありがとうございます。

> $ bitbake <イメージ名> -c populate_sdk
を行ったのですが下記のエラーになってしまいました。
---
WARNING: No recipes available for:
/home/adv/adv-release-bsp/sources/meta-advantech/meta-fsl-imx/recipes-bsp/firmware-imx/firmware-imx_8.1.bbappend
/home/adv/adv-release-bsp/sources/meta-advantech/meta-fsl-imx/recipes-kernel/linux-firmware/linux-firmware_git.bbappend
/home/adv/adv-release-bsp/sources/meta-advantech/meta-WISE-PaaS/recipes-core/images/arago-base-tisdk-image.bbappend
/home/adv/adv-release-bsp/sources/meta-advantech/meta-WISE-PaaS/recipes-core/images/rpb-desktop-image.bbappend
/home/adv/adv-release-bsp/sources/meta-advantech/meta-WISE-PaaS/recipes-core/images/tisdk-rootfs-image.bbappend
/home/adv/adv-release-bsp/sources/meta-advantech/meta-WISE-PaaS/recipes-ota/images/arago-base-tisdk-image.bbappend
/home/adv/adv-release-bsp/sources/meta-advantech/meta-WISE-PaaS/recipes-ota/images/rpb-desktop-image.bbappend
/home/adv/adv-release-bsp/sources/meta-advantech/meta-WISE-PaaS/recipes-ota/images/tisdk-rootfs-image.bbappend
/home/adv/adv-release-bsp/sources/meta-advantech/meta-WISE-PaaS/recipes-support/openssl/openssl_1.0.%.bbappend
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.44.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mprsb3720a1"
DISTRO = "imx-robot-xwayland"
DISTRO_VERSION = "1.0"
TUNE_FEATURES = "aarch64 cortexa53 crc crypto"
TARGET_FPU = ""
DISTRO_NAME = "i.MX Robot platform distribution"
ROS_DISTRO = "foxy"
ROS_VERSION = "2"
ROS_PYTHON_VERSION = "3"
meta
meta-poky = "HEAD:d88d62c20d7d8da85f02edb170dae0280624ad7e"
meta-oe
meta-multimedia
meta-python = "HEAD:2b5dd1eb81cd08bc065bc76125f2856e9383e98b"
meta-freescale = "HEAD:14f1a630a47375432f93c556927b879b51d84c4e"
meta-freescale-3rdparty = "HEAD:dbcc686f52c3c84db8cb86aa8973a4e373651b98"
meta-freescale-distro = "HEAD:ca27d12e4964d1336e662bcc60184bbff526c857"
meta-bsp
meta-sdk
meta-ml = "HEAD:63665ab70ca609451533101cded2a620b340768c"
meta-nxp-demo-experience = "HEAD:03904c493469907a2829cf29df7ab060f9c664a6"
meta-browser = "HEAD:ee3be3b5986a4aa0e73df2204a625ae1fe5df37e"
meta-rust = "HEAD:53bfa324891966a2daf5d36dc13d4a43725aebed"
meta-clang = "HEAD:711e593d5984aad3bf35c51b7ac4482982bc16c7"
meta-gnome
meta-networking
meta-filesystems
meta-initramfs = "HEAD:2b5dd1eb81cd08bc065bc76125f2856e9383e98b"
meta-qt5 = "HEAD:21ce4c124d9a972d9122f87c64ac2773bf04c284"
meta-python2 = "HEAD:4400f9155ec193d028208cf0c66aeed2ba2b00ab"
meta-fsl-imx
meta-tools
meta-WISE-PaaS = "HEAD:b201bf2fb04d713de15e7e8d3f54b5e03dc24f38"
meta-ros2-foxy
meta-ros2
meta-ros-common
meta-robot = "HEAD:01c713426e39cc3172f70c57c923234169c89987"

Sstate summary: Wanted 0 Found 0 Missed 0 Current 2865 (0% match, 100% complete)
NOTE: Executing Tasks
NOTE: Setscene tasks completed
NOTE: Running task 9815 of 9815 (/home/adv/adv-release-bsp/sources/meta-robot-platform/imx/meta-robot/recipes-core/images/imx-robot-system.bb:do_populate_sdk)
NOTE: recipe imx-robot-system-1.0-r0: task do_populate_sdk: Started
ERROR: imx-robot-system-1.0-r0 do_populate_sdk: Could not invoke dnf. Command '/home/adv/adv-release-bsp/imx8mprsb3720a1-robot-foxy/tmp/work/imx8mprsb3720a1-poky-linux/imx-robot-system/1.0-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /home/adv/adv-release-bsp/imx8mprsb3720a1-robot-foxy/tmp/work/imx8mprsb3720a1-poky-linux/imx-robot-system/1.0-r0/sdk/image/opt/imx-robot-xwayland/1.0/sysroots/aarch64-poky-linux/etc/dnf/dnf.conf --setopt=reposdir=/home/adv/adv-release-bsp/imx8mprsb3720a1-robot-foxy/tmp/work/imx8mprsb3720a1-poky-linux/imx-robot-system/1.0-r0/sdk/image/opt/imx-robot-xwayland/1.0/sysroots/aarch64-poky-linux/etc/yum.repos.d --installroot=/home/adv/adv-release-bsp/imx8mprsb3720a1-robot-foxy/tmp/work/imx8mprsb3720a1-poky-linux/imx-robot-system/1.0-r0/sdk/image/opt/imx-robot-xwayland/1.0/sysroots/aarch64-poky-linux --setopt=logdir=/home/adv/adv-release-bsp/imx8mprsb3720a1-robot-foxy/tmp/work/imx8mprsb3720a1-poky-linux/imx-robot-system/1.0-r0/temp --repofrompath=oe-repo,/home/adv/adv-release-bsp/imx8mprsb3720a1-robot-foxy/tmp/work/imx8mprsb3720a1-poky-linux/imx-robot-system/1.0-r0/oe-sdk-repo --skip-broken --nogpgcheck install acl-dbg acl-dev acl-src action-msgs-dbg action-msgs-dev action-msgs-src actionlib-msgs-dbg actionlib-msgs-dev actionlib-msgs-src alsa-plugins-dbg alsa-plugins-dev alsa-plugins-src alsa-state-dbg alsa-state-dev alsa-tools-dbg alsa-tools-dev alsa-tools-src alsa-utils-dbg alsa-utils-dev alsa-utils-src ament-cmake-dbg ament-cmake-dev ament-index-cpp-dbg ament-index-cpp-dev ament-index-cpp-src ament-index-python-dbg ament-index-python-dev armnn-dbg armnn-dev armnn-src at-dbg at-dev at-src attr-dbg attr-dev attr-src autoconf-dbg autoconf-dev automake-dbg automake-dev avahi-dbg avahi-dev avahi-src babeltrace-dbg babeltrace-dev babeltrace-src base-files-dbg base-files-dev base-passwd-dbg base-passwd-dev base-passwd-src bash-completion-dbg bc-dbg bc-dev bc-src binutils-dbg binutils-dev binutils-src blktrace-dbg blktrace-dev blktrace-src bluez5-dbg bluez5-dev bluez5-src boost-dbg boost-dev boost-src builtin-interfaces-dbg builtin-interfaces-dev builtin-interfaces-src bullet-dbg bullet-dev bullet-src bzip2-dbg bzip2-src ca-certificates-dbg ca-certificates-dev can-utils-dbg can-utils-dev can-utils-src ccache-dbg ccache-dev ccache-src class-loader-dbg class-loader-dev class-loader-src clblast-dbg clblast-dev clblast-src cogl-1.0-dbg cogl-1.0-dev cogl-1.0-src common-interfaces-dbg common-interfaces-dev compiler-rt-dbg composition-interfaces-dbg composition-interfaces-dev composition-interfaces-src console-bridge-vendor-dbg console-bridge-vendor-dev consolekit-dbg consolekit-dev consolekit-src cpio-dbg cpio-dev cpio-src cpufrequtils-dbg cpufrequtils-dev cpufrequtils-src cracklib-dbg cracklib-src cronie-dbg cronie-dev cronie-src cryptodev-linux-dbg cryptodev-module-dbg cryptodev-module-dev cryptodev-tests-dbg cryptodev-tests-dev cryptodev-tests-src curl-dbg curl-dev db-dbg db-dev db-src dbus-dbg dbus-dev dbus-src devil-dbg devil-dev devil-src diagnostic-msgs-dbg diagnostic-msgs-dev diagnostic-msgs-src diffstat-dbg diffstat-dev diffstat-src diffutils-dbg diffutils-dev diffutils-src dosfstools-dbg dosfstools-dev dosfstools-src dropbear-dbg dropbear-dev dropbear-src e2fsprogs-dbg e2fsprogs-dev e2fsprogs-src ed-dbg ed-dev ed-src elfutils-dbg elfutils-dev elfutils-src ethtool-dbg ethtool-dev ethtool-src evtest-dbg evtest-dev evtest-src fbset-dbg fbset-dev fbset-modes-dbg fbset-modes-dev file-dbg file-dev file-src findutils-dbg findutils-dev findutils-src firmware-imx-dbg firmware-imx-dev flac-dbg flac-dev flac-src flatbuffers-dbg flatbuffers-src flex-dbg flex-src foonathan-memory-vendor-dbg foonathan-memory-vendor-dev fsl-rc-local-dbg fsl-rc-local-dev gawk-dbg gawk-dev gawk-src gcc-dbg gcc-dev gcc-runtime-dbg gcc-sanitizers-dbg gcc-src geometry-msgs-dbg geometry-msgs-dev geometry-msgs-src geometry2-dbg geometry2-dev gettext-dbg gettext-src gli-dbg gli-dev glib-networking-dbg glib-networking-dev glib-networking-src glibc-locale-dbg glibc-src glm-dbg glm-dev glmark2-dbg glmark2-dev glmark2-src gmssl-dbg gmssl-dev gnome-themes-standard-dbg gnome-themes-standard-dev gnome-themes-standard-src gobject-introspection-dbg gobject-introspection-dev gobject-introspection-src googletest-dbg googletest-dev gputop-src grep-dbg grep-dev grep-src gstreamer1.0-dbg gstreamer1.0-dev gstreamer1.0-plugins-bad-dbg gstreamer1.0-plugins-bad-dev gstreamer1.0-plugins-bad-src gstreamer1.0-plugins-base-dbg gstreamer1.0-plugins-base-dev gstreamer1.0-plugins-base-src gstreamer1.0-plugins-good-dbg gstreamer1.0-plugins-good-dev gstreamer1.0-plugins-good-src gstreamer1.0-rtsp-server-dbg gstreamer1.0-rtsp-server-dev gstreamer1.0-rtsp-server-src gstreamer1.0-src gtk+-dbg gtk+-dev gtk+-src gtk+3-dbg gtk+3-dev gtk+3-src gtkperf-dbg gtkperf-dev gzip-dbg gzip-dev gzip-src half-dbg half-dev hicolor-icon-theme-dbg hicolor-icon-theme-dev hostapd-dbg hostapd-dev hostapd-src i2c-tools-dbg i2c-tools-dev i2c-tools-src icu-dbg icu-dev icu-src imx-alsa-plugins-dbg imx-alsa-plugins-dev imx-alsa-plugins-src imx-codec-dbg imx-codec-dev imx-dspc-asrc-dbg imx-dspc-asrc-dev imx-gpu-apitrace-dbg imx-gpu-apitrace-dev imx-gpu-apitrace-src imx-gpu-sdk-dbg imx-gpu-sdk-dev imx-gpu-viv-dbg imx-gst1.0-plugin-dbg imx-gst1.0-plugin-dev imx-gst1.0-plugin-src imx-kobs-dbg imx-kobs-dev imx-kobs-src imx-m7-demos-dbg imx-m7-demos-dev imx-parser-dbg imx-parser-dev imx-test-dbg imx-test-dev imx-vpu-hantro-dbg imx-vpu-hantro-dev imx-vpu-hantro-src initscripts-dbg initscripts-dev intltool-dbg intltool-dev iproute2-dbg iproute2-dev iproute2-src iptables-dbg iptables-dev iptables-src iputils-dbg iputils-dev iputils-src isp-imx-dbg isp-imx-dev isp-imx-src iw-dbg iw-dev iw-src kbd-dbg kbd-dev kbd-src kdl-parser-dbg kdl-parser-dev kdl-parser-src kernel-pcitest-dbg kernel-pcitest-dev kernel-pcitest-src kmod-dbg kmod-dev kmod-src kmscube-dbg kmscube-dev kmscube-src lame-dbg lame-src launch-dbg launch-dev launch-ros-dbg launch-ros-dev launch-testing-dbg launch-testing-dev launch-testing-ros-dbg launch-testing-ros-dev launch-xml-dbg launch-xml-dev launch-yaml-dbg launch-yaml-dev lcms-dbg lcms-dev lcms-src less-dbg less-dev less-src libaio-dbg libaio-dev libaio-src libasound-dbg libasound-dev libasound-src libassimp-dbg libassimp-dev libassimp-src libatk-1.0-dbg libatk-1.0-dev libatk-1.0-src libcairo-dbg libcairo-dev libcairo-src libcap-dbg libcap-dev libcap-ng-dbg libcap-ng-src libcap-src libclc-imx-dev libclutter-1.0-dbg libclutter-1.0-dev libclutter-1.0-src libconsole-bridge-dbg libconsole-bridge-dev libconsole-bridge-src libcroco-dbg libcroco-src libcrypt-dbg libcrypt-src libcxx-dbg libdaa3840-30mc-dbg libdaemon-dbg libdaemon-dev libdaemon-src libdbus-glib-1-dbg libdbus-glib-1-dev libdbus-glib-1-src libdrm-dbg libdrm-src libegl-imx-dev libeigen-dbg libeigen-dev libell-dbg libell-dev libell-src libepoxy-dbg libepoxy-dev libepoxy-src libevdev-dbg libevdev-dev libevdev-src libevent-dbg libevent-dev libevent-src libexif-dbg libexif-dev libexif-src libexpat-dbg libexpat-src libfastcdr-dbg libfastcdr-dev libfastcdr-src libfastrtps-dbg libfastrtps-dev libfastrtps-src libffi-dbg libffi-src libfmt-dbg libfmt-dev libfmt-src libfontconfig-dbg libfontconfig-dev libfontconfig-src libfontenc-dbg libfontenc-dev libfontenc-src libfreetype-dbg libfreetype-dev libfreetype-src libfribidi-dbg libfribidi-dev libfribidi-src libfslvpuwrap-dbg libfslvpuwrap-dev libfslvpuwrap-src libg2d-dbg libg2d-dev libgbm-imx-dev libgcc-s-dbg libgcc-s-src libgcrypt-dbg libgcrypt-dev libgcrypt-src libgdbm-dbg libgdbm-src libgdk-pixbuf-2.0-dbg libgdk-pixbuf-2.0-dev libgdk-pixbuf-2.0-src libgl-imx-dev libglapi-dev libgles1-imx-dev libgles2-imx-dev libglew-dbg libglew-dev libglew-src libglib-2.0-dbg libglib-2.0-src libglu-dbg libglu-dev libglu-src libglut-dbg libglut-dev libglut-src libgmp-dbg libgmp-dev libgmp-src libgnutls-dbg libgnutls-dev libgnutls-src libgpg-error-dbg libgpg-error-dev libgpg-error-src libgphoto2-dbg libgphoto2-dev libgphoto2-src libgpuperfcnt-dbg libgpuperfcnt-dev libgudev-1.0-dbg libgudev-1.0-dev libgudev-1.0-src libhantro-vc8000e-dbg libhantro-vc8000e-dev libharfbuzz-dbg libharfbuzz-dev libharfbuzz-src libical-dbg libical-dev libical-src libice-dbg libice-dev libice-src libidn2-dbg libidn2-dev libidn2-src libimxswpdm-dbg libimxswpdm-dev libinput-dbg libinput-dev libinput-src libjpeg-dbg libjpeg-dev libjpeg-src libjson-c-dbg libjson-c-dev libjson-c-src libjson-glib-1.0-dbg libjson-glib-1.0-dev libjson-glib-1.0-src liblsan-dev liblzo2-dbg liblzo2-dev liblzo2-src libmnl-dbg libmnl-dev libmnl-src libmp3lame-dev libmpc-dbg libmpc-dev libmpc-src libmpfr-dbg libmpfr-dev libmpfr-src libnl-3-dbg libnl-3-dev libnl-3-src libnsl-dbg libnsl-src libnss-mdns-dbg libnss-mdns-dev libnss-mdns-src libogg-dbg libogg-dev libogg-src libopenblas0 libopencv-aruco-dev libopencv-bgsegm-dev libopencv-bioinspired-dev libopencv-calib3d-dev libopencv-ccalib-dev libopencv-core-dev libopencv-datasets-dev libopencv-dnn-dev libopencv-dnn-objdetect-dev libopencv-dnn-superres-dev libopencv-dpm-dev libopencv-face-dev libopencv-features2d-dev libopencv-flann-dev libopencv-fuzzy-dev libopencv-gapi-dev libopencv-hfs-dev libopencv-highgui-dev libopencv-img-hash-dev libopencv-imgcodecs-dev libopencv-imgproc-dev libopencv-intensity-transform-dev libopencv-line-descriptor-dev libopencv-ml-dev libopencv-objdetect-dev libopencv-optflow-dev libopencv-phase-unwrapping-dev libopencv-photo-dev libopencv-plot-dev libopencv-quality-dev libopencv-rapid-dev libopencv-reg-dev libopencv-rgbd-dev libopencv-saliency-dev libopencv-shape-dev libopencv-stereo-dev libopencv-stitching-dev libopencv-structured-light-dev libopencv-superres-dev libopencv-surface-matching-dev libopencv-text-dev libopencv-tracking-dev libopencv-video-dev libopencv-videoio-dev libopencv-videostab-dev libopencv-xfeatures2d-dev libopencv-ximgproc-dev libopencv-xobjdetect-dev libopencv-xphoto-dev libopenvg-dev liborocos-kdl-dbg liborocos-kdl-dev liborocos-kdl-src libosmesa-dev libpam-dbg libpam-src libpcap-dbg libpcap-dev libpcap-src libpciaccess-dbg libpciaccess-src libpcre-dbg libpcre-src libpixman-1-dbg libpixman-1-dev libpixman-1-src libpng16-dbg libpng16-dev libpng16-src libpopt-dbg libpopt-dev libpopt-src libprotobuf-dbg libprotobuf-dev libprotobuf-src libpsl-dbg libpsl-dev libpsl-src libreadline-dbg libreadline-src librsvg-2-dbg librsvg-2-dev librsvg-2-src libsamplerate0-dbg libsamplerate0-dev libsamplerate0-src libsbc-dbg libsbc-dev libsbc-src libsm-dbg libsm-dev libsm-src libsndfile-dbg libsndfile-dev libsndfile-src libsoup-2.4-dbg libsoup-2.4-dev libsoup-2.4-src libspeex-dbg libspeex-dev libspeex-src libspeexdsp-dbg libspeexdsp-dev libspeexdsp-src libstatistics-collector-dbg libstatistics-collector-dev libstatistics-collector-src libtag-dbg libtag-dev libtag-src libtheora-dbg libtheora-dev libtheora-src libtiff-dbg libtiff-dev libtiff-src libtinyxml-dbg libtinyxml-dev libtinyxml-src libtinyxml2-dbg libtinyxml2-dev libtinyxml2-src libtirpc-dbg libtirpc-src libtool-dbg libtool-dev libtool-src libtsan-dev libunistring-dbg libunistring-dev libunistring-src libunwind-dbg libunwind-dev libunwind-src liburcu-dbg liburcu-dev liburcu-src libusb-1.0-dbg libusb-1.0-dev libusb-1.0-src libv4l-dev libvdk-dev libvorbis-dbg libvorbis-dev libvorbis-src libvulkan-dbg libvulkan-dev libvulkan-src libwaffle-1-dbg libwaffle-1-dev libwaffle-1-src libwebp-dbg libwebp-dev libwebp-src libwrap-dev libx11-dbg libx11-src libxau-dbg libxau-src libxaw-dbg libxaw-dev libxaw-src libxcb-dbg libxcb-keysyms-dbg libxcb-keysyms-dev libxcb-keysyms-src libxcb-src libxcomposite-dbg libxcomposite-dev libxcomposite-src libxcursor-dbg libxcursor-dev libxcursor-src libxdamage-dbg libxdamage-src libxdmcp-dbg libxdmcp-src libxext-dbg libxext-src libxfixes-dbg libxfixes-src libxfont2-dbg libxfont2-dev libxfont2-src libxft-dbg libxft-dev libxft-src libxi-dbg libxi-dev libxi-src libxinerama-dbg libxinerama-dev libxinerama-src libxkbcommon-dbg libxkbcommon-dev libxkbcommon-src libxkbfile-dbg libxkbfile-dev libxkbfile-src libxml2-dbg libxml2-src libxmu-dbg libxmu-dev libxmu-src libxpm-dbg libxpm-dev libxpm-src libxrandr-dbg libxrandr-src libxrender-dbg libxrender-src libxshmfence-dbg libxshmfence-src libxslt-dbg libxslt-dev libxslt-src libxt-dbg libxt-dev libxt-src libxtst-dbg libxtst-dev libxtst-src libxv-dbg libxv-dev libxv-src libxxf86vm-dbg libxxf86vm-src libyaml-cpp-dbg libyaml-cpp-dev libyaml-cpp-src libyaml-vendor-dbg libyaml-vendor-dev libyaml-vendor-src libz-dbg libz-src lifecycle-msgs-dbg lifecycle-msgs-dev lifecycle-msgs-src linux-firmware-dbg linux-firmware-dev linuxptp-dbg linuxptp-dev linuxptp-src logrotate-dbg logrotate-dev logrotate-src lrzsz-dbg lrzsz-dev lrzsz-src lttng-modules-dbg lttng-modules-dev lttng-tools-dbg lttng-tools-dev lttng-tools-src lttng-ust-dbg lttng-ust-dev lttng-ust-src m4-dbg m4-src make-dbg make-dev make-src makedevs-dbg makedevs-dev makedevs-src mc-dbg mc-dev mc-src memtester-dbg memtester-dev memtester-src mesa-dbg mesa-demos-dbg mesa-demos-dev mesa-demos-src mesa-src message-filters-dbg message-filters-dev message-filters-src minicom-dbg minicom-dev minicom-src mmc-utils-dbg mmc-utils-dev mmc-utils-src mobile-broadband-provider-info-dbg mobile-broadband-provider-info-dev mpg123-dbg mpg123-dev mpg123-src mtd-utils-dbg mtd-utils-dev mtd-utils-src mtdev-dbg mtdev-dev mtdev-src nano-dbg nano-dev nano-src nav-msgs-dbg nav-msgs-dev nav-msgs-src ncurses-dbg ncurses-src neard-dbg neard-dev neard-src net-tools-dbg net-tools-dev net-tools-src netbase-dbg netbase-dev nettle-dbg nettle-dev nettle-src nfs-utils-dbg nfs-utils-dev nfs-utils-src nn-imx-dbg nn-imx-src ntp-dbg ntp-dev ntp-src nxp-wlan-sdk-dbg nxp-wlan-sdk-dev ofono-dbg ofono-dev ofono-src onnxruntime-dbg onnxruntime-dev onnxruntime-src openblas-dbg openblas-src opencv-dbg opencv-dev opencv-src openjpeg-dbg openjpeg-dev openjpeg-src openssl-dbg openssl-src opkg-utils-dbg optee-client-dbg optee-client-dev optee-client-src optee-os-dbg optee-os-dev optee-test-dbg optee-test-dev optee-test-src orc-dbg orc-dev orc-src os-release-dbg os-release-dev osrf-pycommon-dbg osrf-pycommon-dev packagegroup-base-3g-dbg packagegroup-base-3g-dev packagegroup-base-alsa-dbg packagegroup-base-alsa-dev packagegroup-base-bluetooth-dbg packagegroup-base-bluetooth-dev packagegroup-base-dbg packagegroup-base-dev packagegroup-base-extended-dbg packagegroup-base-extended-dev packagegroup-base-ipv6-dbg packagegroup-base-ipv6-dev packagegroup-base-nfc-dbg packagegroup-base-nfc-dev packagegroup-base-nfs-dbg packagegroup-base-nfs-dev packagegroup-base-pci-dbg packagegroup-base-pci-dev packagegroup-base-usbgadget-dbg packagegroup-base-usbgadget-dev packagegroup-base-usbhost-dbg packagegroup-base-usbhost-dev packagegroup-base-wifi-dbg packagegroup-base-wifi-dev packagegroup-base-zeroconf-dbg packagegroup-base-zeroconf-dev packagegroup-core-boot-dbg packagegroup-core-boot-dev packagegroup-core-buildessential-dbg packagegroup-core-buildessential-dev packagegroup-core-full-cmdline-dbg packagegroup-core-full-cmdline-dev packagegroup-core-full-cmdline-dev-utils-dbg packagegroup-core-full-cmdline-dev-utils-dev packagegroup-core-full-cmdline-extended-dbg packagegroup-core-full-cmdline-extended-dev packagegroup-core-full-cmdline-initscripts-dbg packagegroup-core-full-cmdline-initscripts-dev packagegroup-core-full-cmdline-libs-dbg packagegroup-core-full-cmdline-libs-dev packagegroup-core-full-cmdline-multiuser-dbg packagegroup-core-full-cmdline-multiuser-dev packagegroup-core-full-cmdline-sys-services-dbg packagegroup-core-full-cmdline-sys-services-dev packagegroup-core-full-cmdline-utils-dbg packagegroup-core-full-cmdline-utils-dev packagegroup-core-nfs-server-dbg packagegroup-core-nfs-server-dev packagegroup-core-sdk-dbg packagegroup-core-sdk-dev packagegroup-core-ssh-dropbear-dbg packagegroup-core-ssh-dropbear-dev packagegroup-core-standalone-sdk-target-dbg packagegroup-core-standalone-sdk-target-dev packagegroup-core-tools-profile-dbg packagegroup-core-tools-profile-dev packagegroup-distro-base-dbg packagegroup-distro-base-dev packagegroup-fsl-gstreamer1.0-audio-dbg packagegroup-fsl-gstreamer1.0-audio-dev packagegroup-fsl-gstreamer1.0-base-dbg packagegroup-fsl-gstreamer1.0-base-dev packagegroup-fsl-gstreamer1.0-dbg packagegroup-fsl-gstreamer1.0-debug-dbg packagegroup-fsl-gstreamer1.0-debug-dev packagegroup-fsl-gstreamer1.0-dev packagegroup-fsl-gstreamer1.0-full-dbg packagegroup-fsl-gstreamer1.0-full-dev packagegroup-fsl-gstreamer1.0-network-base-dbg packagegroup-fsl-gstreamer1.0-network-base-dev packagegroup-fsl-gstreamer1.0-video-dbg packagegroup-fsl-gstreamer1.0-video-dev packagegroup-fsl-optee-imx-dbg packagegroup-fsl-optee-imx-dev packagegroup-fsl-tools-audio-dbg packagegroup-fsl-tools-audio-dev packagegroup-fsl-tools-gpu-dbg packagegroup-fsl-tools-gpu-dev packagegroup-fsl-tools-gpu-external-dbg packagegroup-fsl-tools-gpu-external-dev packagegroup-fsl-tools-testapps-dbg packagegroup-fsl-tools-testapps-dev packagegroup-fsl-tools-testapps-fslcodec-testapps-dbg packagegroup-fsl-tools-testapps-fslcodec-testapps-dev packagegroup-imx-isp-dbg packagegroup-imx-isp-dev packagegroup-imx-robot-ml-dbg packagegroup-imx-robot-ml-dev packagegroup-machine-base-dbg packagegroup-machine-base-dev packagegroup-tools-bluetooth-dbg packagegroup-tools-bluetooth-dev pango-dbg pango-dev pango-src patch-dbg patch-dev patch-src pciutils-dbg pciutils-dev pciutils-src perf-dbg perf-dev perl-dbg perl-dev perl-src pluginlib-dbg pluginlib-dev powertop-dbg powertop-dev powertop-src procps-dbg procps-dev procps-src psmisc-dbg psmisc-dev psmisc-src psplash-dbg psplash-dev psplash-src ptpd-dbg ptpd-dev ptpd-src pulseaudio-dbg pulseaudio-dev pulseaudio-src pyarmnn-dbg pyarmnn-dev python-cmake-module-dbg python-cmake-module-dev python-dbg python-dev python-pip-dbg python-pip-dev python-setuptools-dbg python-setuptools-dev python-src python3-asn1crypto-dbg python3-asn1crypto-dev python3-attrs-dbg python3-attrs-dev python3-catkin-pkg-dbg python3-catkin-pkg-dev python3-certifi-dbg python3-certifi-dev python3-cffi-dbg python3-cffi-dev python3-cffi-src python3-chardet-dbg python3-chardet-dev python3-cmd2-dbg python3-cmd2-dev python3-colorama-dbg python3-colorama-dev python3-cryptography-dbg python3-cryptography-dev python3-cryptography-src python3-dateutil-dbg python3-dateutil-dev python3-dbg python3-dbus-dbg python3-dbus-dev python3-dbus-src python3-docutils-dbg python3-docutils-dev python3-empy-dbg python3-empy-dev python3-future-dbg python3-future-dev python3-idna-dbg python3-idna-dev python3-ifcfg-dbg python3-ifcfg-dev python3-lark-parser-dbg python3-lark-parser-dev python3-lxml-dbg python3-lxml-dev python3-lxml-src python3-mccabe-dbg python3-mccabe-dev python3-mock-dbg python3-mock-dev python3-ndg-httpsclient-dbg python3-ndg-httpsclient-dev python3-netifaces-dbg python3-netifaces-dev python3-netifaces-src python3-nose-dbg python3-numpy-dbg python3-numpy-src python3-packaging-dbg python3-packaging-dev python3-pep8-dbg python3-pep8-dev python3-pillow-dbg python3-pillow-dev python3-pillow-src python3-pip-dbg python3-pip-dev python3-ply-dbg python3-ply-dev python3-prettytable-dbg python3-prettytable-dev python3-pyasn1-dbg python3-pyasn1-dev python3-pycairo-dbg python3-pycairo-dev python3-pycairo-src python3-pycparser-dbg python3-pycparser-dev python3-pyflakes-dbg python3-pyflakes-dev python3-pygobject-dbg python3-pygobject-dev python3-pygobject-src python3-pyopenssl-dbg python3-pyopenssl-dev python3-pyparsing-dbg python3-pyparsing-dev python3-pyperclip-dbg python3-pyperclip-dev python3-pysocks-dbg python3-pysocks-dev python3-pyyaml-dbg python3-pyyaml-dev python3-pyyaml-src python3-requests-dbg python3-requests-dev python3-rosdistro-dbg python3-rosdistro-dev python3-setuptools-dbg python3-setuptools-dev python3-six-dbg python3-six-dev python3-src python3-urllib3-dbg python3-urllib3-dev python3-wcwidth-dbg python3-wcwidth-dev pytorch-dbg pytorch-dev quilt-dbg quilt-dev rapidjson-dbg rapidjson-dev rapidopencl-dbg rapidopencl-dev rapidopenvx-dbg rapidopenvx-dev rapidvulkan-dbg rapidvulkan-dev rcl-action-dbg rcl-action-dev rcl-action-src rcl-dbg rcl-dev rcl-interfaces-dbg rcl-interfaces-dev rcl-interfaces-src rcl-lifecycle-dbg rcl-lifecycle-dev rcl-lifecycle-src rcl-logging-spdlog-dbg rcl-logging-spdlog-dev rcl-logging-spdlog-src rcl-src rcl-yaml-param-parser-dbg rcl-yaml-param-parser-dev rcl-yaml-param-parser-src rclcpp-action-dbg rclcpp-action-dev rclcpp-action-src rclcpp-components-dbg rclcpp-components-dev rclcpp-components-src rclcpp-dbg rclcpp-dev rclcpp-lifecycle-dbg rclcpp-lifecycle-dev rclcpp-lifecycle-src rclcpp-src rclpy-dbg rclpy-dev rclpy-src rcpputils-dbg rcpputils-dev rcpputils-src rcutils-dbg rcutils-dev rcutils-src renderdoc-dbg renderdoc-dev renderdoc-src rgb-dbg rgb-dev rgb-src rmw-dbg rmw-dds-common-dbg rmw-dds-common-dev rmw-dds-common-src rmw-dev rmw-fastrtps-cpp-dbg rmw-fastrtps-cpp-dev rmw-fastrtps-cpp-src rmw-fastrtps-shared-cpp-dbg rmw-fastrtps-shared-cpp-dev rmw-fastrtps-shared-cpp-src rmw-implementation-cmake-dbg rmw-implementation-cmake-dev rmw-implementation-dbg rmw-implementation-dev rmw-implementation-src rmw-src robot-state-publisher-dbg robot-state-publisher-dev robot-state-publisher-src ros-base-dbg ros-base-dev ros-core-dbg ros-core-dev ros-environment-dbg ros-environment-dev ros-workspace-dbg ros-workspace-dev ros2action-dbg ros2action-dev ros2bag-dbg ros2bag-dev ros2cli-dbg ros2cli-dev ros2component-dbg ros2component-dev ros2doctor-dbg ros2doctor-dev ros2interface-dbg ros2interface-dev ros2launch-dbg ros2launch-dev ros2lifecycle-dbg ros2lifecycle-dev ros2multicast-dbg ros2multicast-dev ros2node-dbg ros2node-dev ros2param-dbg ros2param-dev ros2pkg-dbg ros2pkg-dev ros2run-dbg ros2run-dev ros2service-dbg ros2service-dev ros2topic-dbg ros2topic-dev rosbag2-compression-dbg rosbag2-compression-dev rosbag2-compression-src rosbag2-converter-default-plugins-dbg rosbag2-converter-default-plugins-dev rosbag2-converter-default-plugins-src rosbag2-cpp-dbg rosbag2-cpp-dev rosbag2-cpp-src rosbag2-dbg rosbag2-dev rosbag2-storage-dbg rosbag2-storage-default-plugins-dbg rosbag2-storage-default-plugins-dev rosbag2-storage-default-plugins-src rosbag2-storage-dev rosbag2-storage-src rosbag2-transport-dbg rosbag2-transport-dev rosbag2-transport-src rosgraph-msgs-dbg rosgraph-msgs-dev rosgraph-msgs-src rosidl-adapter-dbg rosidl-adapter-dev rosidl-cmake-dbg rosidl-cmake-dev rosidl-default-runtime-dbg rosidl-default-runtime-dev rosidl-generator-c-dbg rosidl-generator-c-dev rosidl-generator-cpp-dbg rosidl-generator-cpp-dev rosidl-generator-py-dbg rosidl-generator-py-dev rosidl-parser-dbg rosidl-parser-dev rosidl-runtime-c-dbg rosidl-runtime-c-dev rosidl-runtime-c-src rosidl-runtime-cpp-dbg rosidl-runtime-cpp-dev rosidl-runtime-py-dbg rosidl-runtime-py-dev rosidl-typesupport-c-dbg rosidl-typesupport-c-dev rosidl-typesupport-c-src rosidl-typesupport-cpp-dbg rosidl-typesupport-cpp-dev rosidl-typesupport-cpp-src rosidl-typesupport-fastrtps-c-dbg rosidl-typesupport-fastrtps-c-dev rosidl-typesupport-fastrtps-c-src rosidl-typesupport-fastrtps-cpp-dbg rosidl-typesupport-fastrtps-cpp-dev rosidl-typesupport-fastrtps-cpp-src rosidl-typesupport-interface-dbg rosidl-typesupport-interface-dev rosidl-typesupport-introspection-c-dbg rosidl-typesupport-introspection-c-dev rosidl-typesupport-introspection-c-src rosidl-typesupport-introspection-cpp-dbg rosidl-typesupport-introspection-cpp-dev rosidl-typesupport-introspection-cpp-src rpcbind-dbg rpcbind-dev rpcbind-src rpyutils-dbg rpyutils-dev run-postinsts-dbg run-postinsts-dev screen-dbg screen-dev screen-src sed-dbg sed-dev sed-src sensor-msgs-dbg sensor-msgs-dev sensor-msgs-src shadow-dbg shadow-dev shadow-securetty-dbg shadow-securetty-dev shadow-src shape-msgs-dbg shape-msgs-dev shape-msgs-src shared-mime-info-dbg shared-mime-info-dev shared-mime-info-src shared-queues-vendor-dbg shared-queues-vendor-dev sigma-dut-dbg sigma-dut-dev sigma-dut-src slang-dbg slang-dev slang-src sof-imx-dbg sof-imx-dev spdlog-vendor-dbg spdlog-vendor-dev sqlite3-dbg sqlite3-src sqlite3-vendor-dbg sqlite3-vendor-dev sros2-cmake-dbg sros2-cmake-dev sros2-dbg sros2-dev statistics-msgs-dbg statistics-msgs-dev statistics-msgs-src stb-dbg stb-dev std-msgs-dbg std-msgs-dev std-msgs-src std-srvs-dbg std-srvs-dev std-srvs-src stereo-msgs-dbg stereo-msgs-dev stereo-msgs-src sudo-dbg sudo-dev sudo-src sysklogd-dbg sysklogd-dev sysklogd-src systemd-compat-units-dbg systemd-compat-units-dev systemd-conf-dbg systemd-conf-dev systemd-dbg systemd-dev systemd-gpuconfig-dbg systemd-gpuconfig-dev systemd-serialgetty-dbg systemd-serialgetty-dev systemd-src systemtap-dbg systemtap-dev systemtap-src tar-dbg tar-dev tar-src target-sdk-provides-dummy-dbg target-sdk-provides-dummy-dev tbb-dbg tbb-dev tbb-src tcl-dbg tcl-dev tcl-src tcp-wrappers-dbg tcp-wrappers-src tensorflow-lite-dbg tf2-bullet-dbg tf2-bullet-dev tf2-dbg tf2-dev tf2-eigen-dbg tf2-eigen-dev tf2-geometry-msgs-dbg tf2-geometry-msgs-dev tf2-kdl-dbg tf2-kdl-dev tf2-msgs-dbg tf2-msgs-dev tf2-msgs-src tf2-py-dbg tf2-py-dev tf2-py-src tf2-ros-dbg tf2-ros-dev tf2-ros-src tf2-sensor-msgs-dbg tf2-sensor-msgs-dev tf2-src tf2-tools-dbg tf2-tools-dev time-dbg time-dev time-src tinycompress-dbg tinycompress-dev tinycompress-src tinyxml-vendor-dbg tinyxml-vendor-dev tinyxml2-vendor-dbg tinyxml2-vendor-dev tk-dbg tk-dev tk-src tmux-dbg tmux-dev tmux-src torchvision-dbg torchvision-dev tracetools-dbg tracetools-dev tracetools-src trajectory-msgs-dbg trajectory-msgs-dev trajectory-msgs-src udev-extraconf-dbg udev-extraconf-dev udev-rules-imx-dbg udev-rules-imx-dev unique-identifier-msgs-dbg unique-identifier-msgs-dev unique-identifier-msgs-src update-rc.d-dbg update-rc.d-dev urdf-dbg urdf-dev urdf-src urdfdom-dbg urdfdom-dev urdfdom-headers-dbg urdfdom-headers-dev urdfdom-src usbutils-dbg usbutils-dev usbutils-src util-linux-dbg util-linux-src v4l-utils-dbg v4l-utils-dev v4l-utils-src valgrind-dbg valgrind-src visualization-msgs-dbg visualization-msgs-dev visualization-msgs-src vkmark-dbg vkmark-dev vkmark-src vlan-dbg vlan-dev vlan-src volatile-binds-dbg volatile-binds-dev vulkan-headers-dbg vulkan-headers-dev vulkan-tools-dbg vulkan-tools-dev vulkan-tools-src vulkan-validationlayers-dbg vulkan-validationlayers-dev vulkan-validationlayers-src wayland-dbg wayland-src weston-dbg weston-dev weston-init-dbg weston-init-dev weston-src wireless-tools-dbg wireless-tools-src wpa-supplicant-dbg wpa-supplicant-dev wpa-supplicant-src xf86-input-libinput-dbg xf86-input-libinput-dev xf86-input-libinput-src xkbcomp-dbg xkbcomp-dev xkbcomp-src xkeyboard-config-dbg xkeyboard-config-dev xrandr-dbg xrandr-src xserver-xf86-config-dbg xserver-xf86-config-dev xserver-xorg-dbg xserver-xorg-dev xserver-xorg-src xterm-dbg xterm-dev xterm-src xz-dbg xz-src yaml-cpp-vendor-dbg yaml-cpp-vendor-dev' returned 1:
DNF version: 4.2.2
cachedir: /home/adv/adv-release-bsp/imx8mprsb3720a1-robot-foxy/tmp/work/imx8mprsb3720a1-poky-linux/imx-robot-system/1.0-r0/sdk/image/opt/imx-robot-xwayland/1.0/sysroots/aarch64-poky-linux/var/cache/dnf
Added oe-repo repo from /home/adv/adv-release-bsp/imx8mprsb3720a1-robot-foxy/tmp/work/imx8mprsb3720a1-poky-linux/imx-robot-system/1.0-r0/oe-sdk-repo
repo: using cache for: oe-repo
not found other for:
not found modules for:
not found deltainfo for:
not found updateinfo for:
oe-repo: using metadata from Mon 30 Sep 2024 01:03:40 AM UTC.
Last metadata expiration check: 0:04:06 ago on Mon 30 Sep 2024 01:03:44 AM UTC.
No module defaults found
Package libopenblas0-0.3.9-r0.aarch64 is already installed.
Package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target is already installed.
Package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target is already installed.
--> Starting dependency resolution
---> Package acl-dbg.aarch64 2.2.52-r0 will be installed
---> Package acl-dev.aarch64 2.2.52-r0 will be installed
---> Package acl-src.aarch64 2.2.52-r0 will be installed
~~~中略~~~
---> Package xz-src.aarch64 5.2.4-r0 will be installed
---> Package yaml-cpp-vendor-dbg.aarch64 7.0.2+1-r0 will be installed
---> Package yaml-cpp-vendor-dev.aarch64 7.0.2+1-r0 will be installed
--> Finished dependency resolution
Dependencies resolved.
================================================================================
Package ArchVersion Repo Size
================================================================================
Installing:
acl-dbg aarch642.2.52-r0 oe-repo 89 k
acl-dev aarch642.2.52-r0 oe-repo 9.2 k
acl-src aarch642.2.52-r0 oe-repo 46 k
~~~中略~~~
spirv-tools-dev aarch64git-r0 oe-repo 91 k
tesseract-dev aarch643.05.01+git0+215866151e-r0 oe-repo 76 k
tesseract-lang-eng noarch4.0.0-r0 oe-repo 7.8 M

Transaction Summary
================================================================================
Install 1780 Packages

Total size: 1.6 G
Installed size: 9.6 G
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Error: Transaction check error:
file /usr/lib/libtinyxml2.so from install of libtinyxml2-dev-7.1.0-r0.aarch64 conflicts with file from package isp-imx-4.2.2.6.0-r0.aarch64_mx8mp
file /usr/lib/pkgconfig/openssl.pc from install of gmssl-dev-1.0-r0.aarch64 conflicts with file from package openssl-dev-1.1.1caam-r0.aarch64
file /usr/lib/engines-1.1/.debug/capi.so conflicts between attempted installs of gmssl-dbg-1.0-r0.aarch64 and openssl-dbg-1.1.1caam-r0.aarch64
file /usr/lib/engines-1.1/.debug/padlock.so conflicts between attempted installs of gmssl-dbg-1.0-r0.aarch64 and openssl-dbg-1.1.1caam-r0.aarch64

Error Summary
-------------

ERROR: Logfile of failure stored in: /home/adv/adv-release-bsp/imx8mprsb3720a1-robot-foxy/tmp/work/imx8mprsb3720a1-poky-linux/imx-robot-system/1.0-r0/temp/log.do_populate_sdk.430
NOTE: recipe imx-robot-system-1.0-r0: task do_populate_sdk: Failed
ERROR: Task (/home/adv/adv-release-bsp/sources/meta-robot-platform/imx/meta-robot/recipes-core/images/imx-robot-system.bb:do_populate_sdk) failed with exit code '1'
NOTE: Tasks Summary: Attempted 9815 tasks of which 9814 didn't need to be rerun and 1 failed.
---
上記ログにてログ出力が膨大で3600行以上あるため途中を省略したのですが、全て張り付けた方が良いでしょうか?

> SDKを作成する際に「local.conf」に以下の内容を追加することで、ROS2関連のエラーに関しては回避できるようになるかと存じます。
下記のエラー(2つ)が出ましたので、ひとまず「ament-cmake-google-benchmark」と「TOOLCHAIN_HOST_TASK_append」の行を削除してツールチェーンを作成してみました。
---
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'ament-cmake-google-benchmark'
NOTE: Runtime target 'ament-cmake-google-benchmark' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['ament-cmake-google-benchmark']
ERROR: Required build target 'meta-toolchain' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-toolchain', 'ament-cmake-google-benchmark']
---
---
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'nativesdk-ament-package'
NOTE: Runtime target 'nativesdk-ament-package' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['nativesdk-ament-package']
ERROR: Required build target 'meta-toolchain' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-toolchain', 'nativesdk-ament-package']
---

> まずは、こちらのURLにあるような簡単なプログラムで環境を確認するのが良いかと存じます。
上記で作成したツールチェーンを使用し、教えていただいたURLにて単純なhello worldパッケージのビルドを試してみましたが、下記のエラーになってしまいました。

ーーー
$ mkdir -p ~/dev_ws/src
$ cd ~/dev_ws/src/
$ ros2 pkg create --build-type ament_cmake my_first_package
going to create a new package
package name: my_first_package
destination directory: /home/ubuntu/dev_ws/src
package format: 3
version: 0.0.0
description: TODO: Package description
maintainer: ['ubuntu <ubuntu@todo.todo>']
licenses: ['TODO: License declaration']
build type: ament_cmake
dependencies: []
creating folder ./my_first_package
creating ./my_first_package/package.xml
creating source and include folder
creating folder ./my_first_package/src
creating folder ./my_first_package/include/my_first_package
creating ./my_first_package/CMakeLists.txt
$ (cd ~/dev_ws/ && colcon build)
Starting >>> my_first_package
[0.5s] [0/1 complete] [my_first_package:cmake - 0.3s]
--- stderr: my_first_package
Traceback (most recent call last):
File "/opt/imx-robot-xwayland/1.0/sysroots/aarch64-poky-linux/usr/share/ament_cmake_core/cmake/core/package_xml_2_cmake.py", line 21, in <module>
from catkin_pkg.package import parse_package_string
ModuleNotFoundError: No module named 'catkin_pkg'
CMake Error at /opt/imx-robot-xwayland/1.0/sysroots/aarch64-poky-linux/usr/share/ament_cmake_core/cmake/core/ament_package_xml.cmake:94 (message):

execute_process(/opt/imx-robot-xwayland/1.0/sysroots/x86_64-pokysdk-linux/usr/bin/python3
/opt/imx-robot-xwayland/1.0/sysroots/aarch64-poky-linux/usr/share/ament_cmake_core/cmake/core/package_xml_2_cmake.py
/home/ubuntu/dev_ws/src/my_first_package/package.xml
/home/ubuntu/dev_ws/build/my_first_package/ament_cmake_core/package.cmake)
returned error code 1
Call Stack (most recent call first):
/opt/imx-robot-xwayland/1.0/sysroots/aarch64-poky-linux/usr/share/ament_cmake_core/cmake/core/ament_package_xml.cmake:49 (_ament_package_xml)
/opt/imx-robot-xwayland/1.0/sysroots/aarch64-poky-linux/usr/share/ament_lint_auto/cmake/ament_lint_auto_find_test_dependencies.cmake:31 (ament_package_xml)
CMakeLists.txt:32 (ament_lint_auto_find_test_dependencies)

---
Failed <<< my_first_package [0.38s, exited with code 1]

Summary: 0 packages finished [0.57s]
1 package failed: my_first_package
1 package had stderr output: my_first_package
ーーー

回答します。

Advantechのボード向けのBSP環境で、ROS2ノード向けのSDKを作成するという作業においては、エラーが2種類在るかと存じます。

1. Advantech環境固有のエラー
2. meta-rosの使い方によるエラー

Advantech環境固有のエラーも含まれているように見えます。
再現環境の構築、デバッグが必要な特定環境での問題の解決につきましては、ここでは取り扱いができません。

meta-rosの問題につきましては問題を一般化して、調査した内容を下記のブログにて紹介しております。
ROSの問題に関してはこちらをもって回答とさせてください。
https://mickey-happygolucky.hatenablog.com/entry/2024/09/30/024202

環境固有の問題の解決につきまして、こちらでの調査をご希望の場合には、リネオソリューションズが提供する有償のLinuxサポートをご検討ください。
ご依頼される場合はお手数をおかけしますが、下記のお問合せフォームまでご連絡をお願い出来ればと存じます。
https://www.lineo.co.jp/contact/

> ROSの問題に関してはこちらをもって回答とさせてください。
承知いたしました。
ご助力いただき、ありがとうございました。