You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have bitbake error on zigbee-coordinator recipe.
Can you please help me to fix this issue?
The following is the log from bitbake zigbee-coordinator. The same error comes from bitbake imx-image-multimedia.
Hi iMX-Matter champ !
I have bitbake error on zigbee-coordinator recipe.
Can you please help me to fix this issue?
The following is the log from bitbake zigbee-coordinator. The same error comes from bitbake imx-image-multimedia.
$ ~/imx-matter14/bld-xwayland-imx93$ bitbake zigbee-coordinator
Loading cache: 100% |#####################################################################################################################################################################| Time: 0:00:01
Loaded 5745 entries from dependency cache.
Parsing recipes: 100% |###################################################################################################################################################################| Time: 0:00:00
Parsing of 3669 .bb files complete (3668 cached, 1 parsed). 5746 targets, 401 skipped, 4 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "2.8.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx93evk-iwxxx-matter"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "6.6-scarthgap"
TUNE_FEATURES = "aarch64 armv8a crc crypto"
TARGET_FPU = ""
meta
meta-poky = "HEAD:200d12b6a58ad961d60a7774ca0f7a9d29498724"
meta-oe
meta-multimedia
meta-python = "HEAD:72018ca1b1a471226917e8246e8bbf9a374ccf97"
meta-freescale = "HEAD:0627128b341cfb2bef7a0832ce8cac0ce1127f13"
meta-freescale-3rdparty = "HEAD:6c063450d464eb2f380443c7d9af1b94ce9b9d75"
meta-freescale-distro = "HEAD:b9d6a5d9931922558046d230c1f5f4ef6ee72345"
meta-imx-bsp
meta-imx-sdk
meta-imx-ml
meta-imx-v2x = "HEAD:219f6d04a4c339eb6f2dc626f944bbdf9a716ff5"
meta-nxp-demo-experience = "HEAD:e8e646e22b1f926aac83bb7ad522efa9cd8ccc45"
meta-arm
meta-arm-toolchain = "HEAD:950a4afce46a359def2958bd9ae33fc08ff9bb0d"
meta-clang = "HEAD:2b7433611d80f6d0ee1b04156fa91fc73d3c2665"
meta-gnome
meta-networking
meta-filesystems = "HEAD:72018ca1b1a471226917e8246e8bbf9a374ccf97"
meta-qt6 = "HEAD:586a6cb5aec755803a3be3cec359baafe89d6432"
meta-parsec
meta-tpm = "HEAD:459d837338ca230254baa2994f870bf6eb9d0139"
meta-virtualization = "HEAD:6f3c1d8f90947408a6587be222fec575a1ca5195"
meta-nxp-matter-baseline
meta-nxp-matter-advanced
meta-nxp-openthread
meta-nxp-otbr
meta-nxp-connectivity-examples
meta-nxp-zigbee-rcp = "HEAD:a64e9672995e6b0d7a0b82b391fa929f3c99631e"
Sstate summary: Wanted 11 Local 2 Mirrors 0 Missed 9 Current 394 (18% match, 97% complete)############################################################################### | ETA: 0:00:00
Initialising tasks: 100% |################################################################################################################################################################| Time: 0:00:01
NOTE: Executing Tasks
ERROR: zigbee-coordinator-coordinator-r0 do_configure: ExecutionError('/home/jack/imx-matter14/bld-xwayland-imx93/tmp/work/armv8a-poky-linux/zigbee-coordinator/coordinator/temp/run.do_configure.3782236', 1, None, None)
ERROR: Logfile of failure stored in: /home/jack/imx-matter14/bld-xwayland-imx93/tmp/work/armv8a-poky-linux/zigbee-coordinator/coordinator/temp/log.do_configure.3782236
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/home/jack/imx-matter14/sources/meta-openembedded/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.1.bb:do_populate_sysroot', '/home/jack/imx-matter14/sources/poky/meta/recipes-core/glibc/glibc_2.39.bb:do_populate_sysroot', '/home/jack/imx-matter14/sources/poky/meta/recipes-devtools/cmake/cmake-native_3.28.3.bb:do_populate_sysroot', '/home/jack/imx-matter14/sources/poky/meta/recipes-devtools/gcc/gcc-cross_13.3.bb:do_populate_sysroot', '/home/jack/imx-matter14/sources/poky/meta/recipes-devtools/gcc/gcc-runtime_13.3.bb:do_populate_sysroot', '/home/jack/imx-matter14/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', 'virtual:native:/home/jack/imx-matter14/sources/poky/meta/recipes-devtools/ninja/ninja_1.11.1.bb:do_populate_sysroot', 'virtual:native:/home/jack/imx-matter14/sources/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/home/jack/imx-matter14/sources/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['mbedtls', 'gettext-minimal-native', 'glibc', 'binutils-cross-aarch64', 'cmake-native', 'gcc-cross-aarch64', 'gcc-runtime', 'libgcc', 'libtool-native', 'm4-native', 'opkg-utils', 'quilt-native', 'texinfo-dummy-native', 'linux-libc-headers', 'openssl-native', 'ncurses-native', 'zlib-native', 'flex-native', 'gnu-config-native', 'make-native', 'ninja-native', 'patch-native', 'perl-native', 'pseudo-native', 'bzip2-native', 'xz-native', 'zstd-native', 'attr-native', 'gdbm-native', 'gmp-native', 'libmpc-native', 'mpfr-native', 're2c-native', 'sqlite3-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_configure
| -- The C compiler identification is GNU 13.3.0
| -- The CXX compiler identification is GNU 13.3.0
| -- Detecting C compiler ABI info
| -- Detecting C compiler ABI info - done
| -- Check for working C compiler: /home/jack/imx-matter14/bld-xwayland-imx93/tmp/work/armv8a-poky-linux/zigbee-coordinator/coordinator/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc - skipped
| -- Detecting C compile features
| -- Detecting C compile features - done
| -- Detecting CXX compiler ABI info
| -- Detecting CXX compiler ABI info - done
| -- Check for working CXX compiler: /home/jack/imx-matter14/bld-xwayland-imx93/tmp/work/armv8a-poky-linux/zigbee-coordinator/coordinator/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++ - skipped
| -- Detecting CXX compile features
| -- Detecting CXX compile features - done
| -- Populate mbedtls repository
| [ 11%] Creating directories for 'mbedtls_local-populate'
| [ 22%] Performing download step (git clone) for 'mbedtls_local-populate'
| Cloning into 'repo'...
| fatal: unable to access 'https://github.com/Mbed-TLS/mbedtls.git/': Could not resolve host: github.com
| Cloning into 'repo'...
| fatal: unable to access 'https://github.com/Mbed-TLS/mbedtls.git/': Could not resolve host: github.com
| Cloning into 'repo'...
| fatal: unable to access 'https://github.com/Mbed-TLS/mbedtls.git/': Could not resolve host: github.com
| -- Had to git clone more than once: 3 times.
| CMake Error at mbedtls_local-subbuild/mbedtls_local-populate-prefix/tmp/mbedtls_local-populate-gitclone.cmake:39 (message):
| Failed to clone repository: 'https://github.com/Mbed-TLS/mbedtls.git'
|
|
| make[2]: *** [CMakeFiles/mbedtls_local-populate.dir/build.make:102: mbedtls_local-populate-prefix/src/mbedtls_local-populate-stamp/mbedtls_local-populate-download] Error 1
| make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/mbedtls_local-populate.dir/all] Error 2
| make: *** [Makefile:91: all] Error 2
|
| CMake Error at /home/jack/imx-matter14/bld-xwayland-imx93/tmp/work/armv8a-poky-linux/zigbee-coordinator/coordinator/recipe-sysroot-native/usr/share/cmake-3.28/Modules/FetchContent.cmake:1679 (message):
| Build step for mbedtls_local failed: 2
| Call Stack (most recent call first):
| /home/jack/imx-matter14/bld-xwayland-imx93/tmp/work/armv8a-poky-linux/zigbee-coordinator/coordinator/recipe-sysroot-native/usr/share/cmake-3.28/Modules/FetchContent.cmake:1819:EVAL:2 (__FetchContent_directPopulate)
| /home/jack/imx-matter14/bld-xwayland-imx93/tmp/work/armv8a-poky-linux/zigbee-coordinator/coordinator/recipe-sysroot-native/usr/share/cmake-3.28/Modules/FetchContent.cmake:1819 (cmake_language)
| /home/jack/imx-matter14/bld-xwayland-imx93/tmp/work/armv8a-poky-linux/zigbee-coordinator/coordinator/recipe-sysroot-native/usr/share/cmake-3.28/Modules/FetchContent.cmake:2033 (FetchContent_Populate)
| /home/jack/imx-matter14/bld-xwayland-imx93/tmp/work/armv8a-poky-linux/zigbee-coordinator/coordinator/git/platform/NCP_HOST/third_party/mbedtls/mbedtls.cmake:28 (FetchContent_MakeAvailable)
| /home/jack/imx-matter14/bld-xwayland-imx93/tmp/work/armv8a-poky-linux/zigbee-coordinator/coordinator/git/platform/NCP_HOST/cmake/NxpZbNcpHostConfig.cmake:55 (include)
| CMakeLists.txt:32 (include)
|
|
| -- Configuring incomplete, errors occurred!
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/jack/imx-matter14/sources/meta-nxp-connectivity/meta-nxp-connectivity-examples/recipes-zbcoord/zbcoord/zigbee_coordinator.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1206 tasks of which 1197 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/jack/imx-matter14/sources/meta-nxp-connectivity/meta-nxp-connectivity-examples/recipes-zbcoord/zbcoord/zigbee_coordinator.bb:do_configure
Summary: There was 1 ERROR message, returning a non-zero exit code.
$ ~/imx-matter14/bld-xwayland-imx93$
FYI,
The setup instructions are below.
Setup Ubuntu 22.04 LTS
sudo apt-get update; sudo apt-get upgrade
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib
build-essential chrpath socat cpio python3 python3-pip python3-pexpect
xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev
pylint xterm npm zstd build-essential libpython3-dev libdbus-1-dev python3.10-venv lz4
git gcc g++ pkg-config libssl-dev libglib2.0-dev libavahi-client-dev ninja-build
python3-venv python3-dev unzip libgirepository1.0-dev libcairo2-dev libreadline-dev
mkdir ~/bin
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x
/bin/repo/binexport PATH=${PATH}:
mkdir
/imx_matter14/imx_matter14export MY_YOCTO=
cd $MY_YOCTO
repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-scarthgap -m imx-6.6.52-2.2.0.xml
repo sync
cd $MY_YOCTO/sources/meta-nxp-connectivity
git remote update
git checkout imx_matter_2024_q4
cd $MY_YOCTO
MACHINE=imx93evk-iwxxx-matter DISTRO=fsl-imx-xwayland source sources/meta-nxp-connectivity/tools/imx-matter-setup.sh bld-xwayland-imx93
Bitbake imx-image-multimedia
The text was updated successfully, but these errors were encountered: