System-Electronics / meta-sysele-nxp-5.15.71

MIT License
1 stars 2 forks source link

Problems following ASTRIAL-YOCTO-INSTALL.md #4

Open STaliani opened 2 weeks ago

STaliani commented 2 weeks ago

Hello, I need to update the Astrial board I'm working with. It is the first time I have tried to flash a system of this type and I'm encountering some problems.

Following https://github.com/System-Electronics/meta-sysele-nxp-5.15.71/blob/main/ASTRIAL-YOCTO-INSTALL.md I set up my Ubuntu 22.04 system. I reached the section Build full rootfs image and at this stage, it doesn't seem everything went fine running the command

bitbake system-astrial-image
I obtained the following log: ```bash staliani@iiticb002lw023u:~/yocto-astrial/build$ bitbake system-astrial-image NOTE: Your conf/bblayers.conf has been automatically updated. Loading cache: 100% | | ETA: --:--:-- Loaded 0 entries from dependency cache. Parsing recipes: 100% |#######################################################################################################| Time: 0:00:14 Parsing of 3212 .bb files complete (0 cached, 3212 parsed). 4760 targets, 284 skipped, 3 masked, 0 errors. WARNING: No recipes in default available for: /home/staliani/yocto-astrial/sources-extra/meta-intel-realsense/recipes-kernel/linux/linux-intel-rt_5.10.bbappend /home/staliani/yocto-astrial/sources-extra/meta-intel-realsense/recipes-kernel/linux/linux-intel-rt_5.15.bbappend /home/staliani/yocto-astrial/sources-extra/meta-intel-realsense/recipes-kernel/linux/linux-intel_5.10.bbappend /home/staliani/yocto-astrial/sources-extra/meta-intel-realsense/recipes-kernel/linux/linux-intel_5.15.bbappend NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "2.0.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "ubuntu-22.04" TARGET_SYS = "aarch64-poky-linux" MACHINE = "astrial-imx8mp" DISTRO = "fsl-imx-xwayland" DISTRO_VERSION = "5.15-kirkstone" TUNE_FEATURES = "aarch64 armv8a crc crypto" TARGET_FPU = "" meta meta-poky = "HEAD:24a3f7b3648185e33133f5d96b184a6cb6524f3d" meta-oe meta-multimedia meta-python = "HEAD:744a4b6eda88b9a9ca1cf0df6e18be384d9054e3" meta-freescale = "HEAD:c82d4634e7aba8bc0de73ce1dfc997b630051571" meta-freescale-3rdparty = "HEAD:5977197340c7a7db17fe3e02a4e014ad997565ae" meta-freescale-distro = "HEAD:d5bbb487b2816dfc74984a78b67f7361ce404253" meta-bsp meta-sdk meta-ml meta-v2x = "HEAD:9174c61f4dc80b14e0bfdaec9200ed58fb41615f" meta-nxp-demo-experience = "HEAD:52eaf8bf42f8eda2917a1c8c046003c8c2c8f629" meta-chromium = "HEAD:e232c2e21b96dc092d9af8bea4b3a528e7a46dd6" meta-clang = "HEAD:c728c3f9168c8a4ed05163a51dd48ca1ad8ac21d" meta-gnome meta-networking meta-filesystems = "HEAD:744a4b6eda88b9a9ca1cf0df6e18be384d9054e3" meta-qt6 = "HEAD:ed785a25d12e365d1054700d4fc94a053176eb14" meta-virtualization = "HEAD:9482648daf0bb42ff3475e7892542cf99f3b8d48" meta-intel-realsense = "HEAD:54da57efcedcadb73339e741404f28257796c52d" meta-hailo-accelerator meta-hailo-libhailort meta-hailo-tappas = "HEAD:d5002048611ecdba71147d057d63481e78bba29e" meta-imx8mp-isp-imx219 = "HEAD:37d5c57391c622f544d318ad714bf24b8f51cbc7" meta-sysele-nxp-5.15.71 = "HEAD:43c3c3aa998f97933b65c0a45773d2dbb3bb2ece" NOTE: Fetching uninative binary shim http://downloads.yoctoproject.org/releases/uninative/3.7/x86_64-nativesdk-libc-3.7.tar.xz;sha256sum=b110bf2e10fe420f5ca2f3ec55f048ee5f0a54c7e34856a3594e51eb2aea0570 (will check PREMIRRORS first) Initialising tasks: 100% |####################################################################################################| Time: 0:00:06 Sstate summary: Wanted 4927 Local 0 Mirrors 0 Missed 4927 Current 0 (0% match, 0% complete) NOTE: Executing Tasks WARNING: cracklib-2.9.8-r0 do_fetch: Failed to fetch URL git://github.com/cracklib/cracklib;protocol=https;branch=master, attempting MIRRORS if available WARNING: qtlanguageserver-native-6.3.2-r0 do_populate_lic: QA Issue: qtlanguageserver-native: No generic license file exists for: The-Qt-Company-GPL-Exception-1.0 in any provider [license-exists] WARNING: qtlanguageserver-native-6.3.2-r0 do_populate_lic: QA Issue: qtlanguageserver-native: No generic license file exists for: The-Qt-Company-Commercial in any provider [license-exists] WARNING: qtshadertools-native-6.3.2-r0 do_populate_lic: QA Issue: qtshadertools-native: No generic license file exists for: The-Qt-Company-GPL-Exception-1.0 in any provider [license-exists] WARNING: qtshadertools-native-6.3.2-r0 do_populate_lic: QA Issue: qtshadertools-native: No generic license file exists for: The-Qt-Company-Commercial in any provider [license-exists] WARNING: qtshadertools-6.3.2-r0 do_populate_lic: QA Issue: qtshadertools: No generic license file exists for: The-Qt-Company-GPL-Exception-1.0 in any provider [license-exists] WARNING: qtshadertools-6.3.2-r0 do_populate_lic: QA Issue: qtshadertools: No generic license file exists for: The-Qt-Company-Commercial in any provider [license-exists] WARNING: qtlanguageserver-6.3.2-r0 do_populate_lic: QA Issue: qtlanguageserver: No generic license file exists for: The-Qt-Company-GPL-Exception-1.0 in any provider [license-exists] WARNING: qtlanguageserver-6.3.2-r0 do_populate_lic: QA Issue: qtlanguageserver: No generic license file exists for: The-Qt-Company-Commercial in any provider [license-exists] ERROR: cracklib-2.9.8-r0 do_fetch: Fetcher failure: Unable to find revision d9e8f9f47718539aeba80f90f4e072549926dc9c in branch master even from upstream ERROR: cracklib-2.9.8-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/cracklib/cracklib;protocol=https;branch=master') ERROR: Logfile of failure stored in: /home/staliani/yocto-astrial/build/tmp/work/armv8a-poky-linux/cracklib/2.9.8-r0/temp/log.do_fetch.267886 ERROR: Task (/home/staliani/yocto-astrial/sources/poky/meta/recipes-extended/cracklib/cracklib_2.9.8.bb:do_fetch) failed with exit code '1' WARNING: cracklib-native-2.9.8-r0 do_fetch: Failed to fetch URL git://github.com/cracklib/cracklib;protocol=https;branch=master, attempting MIRRORS if available ERROR: cracklib-native-2.9.8-r0 do_fetch: Fetcher failure: Unable to find revision d9e8f9f47718539aeba80f90f4e072549926dc9c in branch master even from upstream ERROR: cracklib-native-2.9.8-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/cracklib/cracklib;protocol=https;branch=master') ERROR: Logfile of failure stored in: /home/staliani/yocto-astrial/build/tmp/work/x86_64-linux/cracklib-native/2.9.8-r0/temp/log.do_fetch.268505 ERROR: Task (virtual:native:/home/staliani/yocto-astrial/sources/poky/meta/recipes-extended/cracklib/cracklib_2.9.8.bb:do_fetch) failed with exit code '1' NOTE: Tasks Summary: Attempted 1493 tasks of which 0 didn't need to be rerun and 2 failed. Summary: 2 tasks failed: /home/staliani/yocto-astrial/sources/poky/meta/recipes-extended/cracklib/cracklib_2.9.8.bb:do_fetch virtual:native:/home/staliani/yocto-astrial/sources/poky/meta/recipes-extended/cracklib/cracklib_2.9.8.bb:do_fetch Summary: There were 11 WARNING messages. Summary: There were 4 ERROR messages, returning a non-zero exit code. ```

How can I solve this problem?

If I try to enter tmp/deploy/images/astrial-imx8mp I see that the directory is not present, it makes me think that the previous step failed due to the errors reported in the log.

Moreover, since I have to reset the hardware I was trying to follow at Reset the board to USB-OTG programming mode however it is not clear to me how to perform those steps. In fact, if I try to perform them from the astrial terminal with no success. Can you please give me further information on the reset process?

koansoftware commented 2 weeks ago

@STaliani The repo of the package cracklib no longer uses branch=master You need to update the manifest to get the new commits for meta/recipes-extended/cracklib/cracklib_2.9.8.bb

-SRC_URI = "git://github.com/cracklib/cracklib;protocol=https;branch=master \
+SRC_URI = "git://github.com/cracklib/cracklib;protocol=https;branch=main \

-- Marco Cavallini - KOAN Bergamo - Italia

STaliani commented 2 weeks ago

Thank you for your fast reply! I deleted everything to start from scratch. As suggested I modified the manifest in /home/staliani/yocto-astrial/sources/poky/meta/recipes-extended/cracklib/cracklib_2.9.8.bb writing:

git://github.com/cracklib/cracklib;protocol=https;branch=main \

Executing bitbake system-astrial-image

I obtain different errors:

Log: ```bash staliani@iiticb002lw023u:~/yocto-astrial/build$ bitbake system-astrial-image NOTE: Your conf/bblayers.conf has been automatically updated. Loading cache: 100% | | ETA: --:--:-- Loaded 0 entries from dependency cache. Parsing recipes: 100% |#############################################################################################################################################################################| Time: 0:00:14 Parsing of 3212 .bb files complete (0 cached, 3212 parsed). 4760 targets, 284 skipped, 3 masked, 0 errors. WARNING: No recipes in default available for: /home/staliani/yocto-astrial/sources-extra/meta-intel-realsense/recipes-kernel/linux/linux-intel-rt_5.10.bbappend /home/staliani/yocto-astrial/sources-extra/meta-intel-realsense/recipes-kernel/linux/linux-intel-rt_5.15.bbappend /home/staliani/yocto-astrial/sources-extra/meta-intel-realsense/recipes-kernel/linux/linux-intel_5.10.bbappend /home/staliani/yocto-astrial/sources-extra/meta-intel-realsense/recipes-kernel/linux/linux-intel_5.15.bbappend NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "2.0.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "ubuntu-22.04" TARGET_SYS = "aarch64-poky-linux" MACHINE = "astrial-imx8mp" DISTRO = "fsl-imx-xwayland" DISTRO_VERSION = "5.15-kirkstone" TUNE_FEATURES = "aarch64 armv8a crc crypto" TARGET_FPU = "" meta meta-poky = "HEAD:24a3f7b3648185e33133f5d96b184a6cb6524f3d" meta-oe meta-multimedia meta-python = "HEAD:744a4b6eda88b9a9ca1cf0df6e18be384d9054e3" meta-freescale = "HEAD:c82d4634e7aba8bc0de73ce1dfc997b630051571" meta-freescale-3rdparty = "HEAD:5977197340c7a7db17fe3e02a4e014ad997565ae" meta-freescale-distro = "HEAD:d5bbb487b2816dfc74984a78b67f7361ce404253" meta-bsp meta-sdk meta-ml meta-v2x = "HEAD:9174c61f4dc80b14e0bfdaec9200ed58fb41615f" meta-nxp-demo-experience = "HEAD:52eaf8bf42f8eda2917a1c8c046003c8c2c8f629" meta-chromium = "HEAD:e232c2e21b96dc092d9af8bea4b3a528e7a46dd6" meta-clang = "HEAD:c728c3f9168c8a4ed05163a51dd48ca1ad8ac21d" meta-gnome meta-networking meta-filesystems = "HEAD:744a4b6eda88b9a9ca1cf0df6e18be384d9054e3" meta-qt6 = "HEAD:ed785a25d12e365d1054700d4fc94a053176eb14" meta-virtualization = "HEAD:9482648daf0bb42ff3475e7892542cf99f3b8d48" meta-intel-realsense = "HEAD:54da57efcedcadb73339e741404f28257796c52d" meta-hailo-accelerator meta-hailo-libhailort meta-hailo-tappas = "HEAD:d5002048611ecdba71147d057d63481e78bba29e" meta-imx8mp-isp-imx219 = "HEAD:37d5c57391c622f544d318ad714bf24b8f51cbc7" meta-sysele-nxp-5.15.71 = "HEAD:43c3c3aa998f97933b65c0a45773d2dbb3bb2ece" NOTE: Fetching uninative binary shim http://downloads.yoctoproject.org/releases/uninative/3.7/x86_64-nativesdk-libc-3.7.tar.xz;sha256sum=b110bf2e10fe420f5ca2f3ec55f048ee5f0a54c7e34856a3594e51eb2aea0570 (will check PREMIRRORS first) WARNING: Failed to fetch URL http://downloads.yoctoproject.org/releases/uninative/3.7/x86_64-nativesdk-libc-3.7.tar.xz;sha256sum=b110bf2e10fe420f5ca2f3ec55f048ee5f0a54c7e34856a3594e51eb2aea0570, attempting MIRRORS if available Initialising tasks: 100% |##########################################################################################################################################################################| Time: 0:00:07 Sstate summary: Wanted 4927 Local 0 Mirrors 0 Missed 4927 Current 0 (0% match, 0% complete) NOTE: Executing Tasks WARNING: qtshadertools-native-6.3.2-r0 do_populate_lic: QA Issue: qtshadertools-native: No generic license file exists for: The-Qt-Company-GPL-Exception-1.0 in any provider [license-exists] WARNING: qtshadertools-native-6.3.2-r0 do_populate_lic: QA Issue: qtshadertools-native: No generic license file exists for: The-Qt-Company-Commercial in any provider [license-exists] WARNING: qtlanguageserver-native-6.3.2-r0 do_populate_lic: QA Issue: qtlanguageserver-native: No generic license file exists for: The-Qt-Company-GPL-Exception-1.0 in any provider [license-exists] WARNING: qtlanguageserver-native-6.3.2-r0 do_populate_lic: QA Issue: qtlanguageserver-native: No generic license file exists for: The-Qt-Company-Commercial in any provider [license-exists] WARNING: qtlanguageserver-6.3.2-r0 do_populate_lic: QA Issue: qtlanguageserver: No generic license file exists for: The-Qt-Company-GPL-Exception-1.0 in any provider [license-exists] WARNING: qtlanguageserver-6.3.2-r0 do_populate_lic: QA Issue: qtlanguageserver: No generic license file exists for: The-Qt-Company-Commercial in any provider [license-exists] WARNING: qtshadertools-6.3.2-r0 do_populate_lic: QA Issue: qtshadertools: No generic license file exists for: The-Qt-Company-GPL-Exception-1.0 in any provider [license-exists] WARNING: qtshadertools-6.3.2-r0 do_populate_lic: QA Issue: qtshadertools: No generic license file exists for: The-Qt-Company-Commercial in any provider [license-exists] WARNING: qtquicktimeline-6.3.2-r0 do_populate_lic: QA Issue: qtquicktimeline: No generic license file exists for: The-Qt-Company-GPL-Exception-1.0 in any provider [license-exists] WARNING: qtquicktimeline-6.3.2-r0 do_populate_lic: QA Issue: qtquicktimeline: No generic license file exists for: The-Qt-Company-Commercial in any provider [license-exists] WARNING: qtsvg-6.3.2-r0 do_populate_lic: QA Issue: qtsvg: No generic license file exists for: The-Qt-Company-GPL-Exception-1.0 in any provider [license-exists] WARNING: qtsvg-6.3.2-r0 do_populate_lic: QA Issue: qtsvg: No generic license file exists for: The-Qt-Company-Commercial in any provider [license-exists] WARNING: xtl-0.7.3-r0 do_fetch: URL: git://github.com/xtensor-stack/xtl.git;name=xtl uses git protocol which is no longer supported by github. Please change to ;protocol=https in the url. WARNING: xtl-0.7.3-r0 do_fetch: URL: git://github.com/xtensor-stack/xtl.git;name=xtl does not set any branch parameter. The future default branch used by tools and repositories is uncertain and we will therefore soon require this is set in all git urls. WARNING: xtl-0.7.3-r0 do_unpack: URL: git://github.com/xtensor-stack/xtl.git;name=xtl uses git protocol which is no longer supported by github. Please change to ;protocol=https in the url. WARNING: xtl-0.7.3-r0 do_unpack: URL: git://github.com/xtensor-stack/xtl.git;name=xtl does not set any branch parameter. The future default branch used by tools and repositories is uncertain and we will therefore soon require this is set in all git urls. WARNING: xtl-0.7.3-r0 do_patch: URL: git://github.com/xtensor-stack/xtl.git;name=xtl uses git protocol which is no longer supported by github. Please change to ;protocol=https in the url. WARNING: xtl-0.7.3-r0 do_patch: URL: git://github.com/xtensor-stack/xtl.git;name=xtl does not set any branch parameter. The future default branch used by tools and repositories is uncertain and we will therefore soon require this is set in all git urls. WARNING: busybox-1.35.0-r0 do_fetch: Failed to fetch URL https://busybox.net/downloads/busybox-1.35.0.tar.bz2;name=tarball, attempting MIRRORS if available WARNING: spirv-headers-1_1.3.204.1-r0 do_fetch: Failed to fetch URL git://github.com/KhronosGroup/SPIRV-Headers;protocol=https;branch=master, attempting MIRRORS if available WARNING: vulkan-loader-1.2.182.0-r0 do_fetch: Failed to fetch URL git://github.com/KhronosGroup/Vulkan-Loader.git;protocol=https;branch=master, attempting MIRRORS if available WARNING: qtwayland-6.3.2-r0 do_populate_lic: QA Issue: qtwayland: No generic license file exists for: The-Qt-Company-GPL-Exception-1.0 in any provider [license-exists] WARNING: qtwayland-6.3.2-r0 do_populate_lic: QA Issue: qtwayland: No generic license file exists for: The-Qt-Company-Commercial in any provider [license-exists] WARNING: qtwayland-native-6.3.2-r0 do_populate_lic: QA Issue: qtwayland-native: No generic license file exists for: The-Qt-Company-GPL-Exception-1.0 in any provider [license-exists] WARNING: qtwayland-native-6.3.2-r0 do_populate_lic: QA Issue: qtwayland-native: No generic license file exists for: The-Qt-Company-Commercial in any provider [license-exists] WARNING: qtdeclarative-6.3.2-r0 do_populate_lic: QA Issue: qtdeclarative: No generic license file exists for: The-Qt-Company-GPL-Exception-1.0 in any provider [license-exists] WARNING: qtdeclarative-6.3.2-r0 do_populate_lic: QA Issue: qtdeclarative: No generic license file exists for: The-Qt-Company-Commercial in any provider [license-exists] WARNING: qt5compat-6.3.2-r0 do_populate_lic: QA Issue: qt5compat: No generic license file exists for: The-Qt-Company-GPL-Exception-1.0 in any provider [license-exists] WARNING: qt5compat-6.3.2-r0 do_populate_lic: QA Issue: qt5compat: No generic license file exists for: The-Qt-Company-Commercial in any provider [license-exists] WARNING: qtdeclarative-native-6.3.2-r0 do_populate_lic: QA Issue: qtdeclarative-native: No generic license file exists for: The-Qt-Company-GPL-Exception-1.0 in any provider [license-exists] WARNING: qtdeclarative-native-6.3.2-r0 do_populate_lic: QA Issue: qtdeclarative-native: No generic license file exists for: The-Qt-Company-Commercial in any provider [license-exists] ERROR: spirv-headers-1_1.3.204.1-r0 do_fetch: Fetcher failure: Unable to find revision b42ba6d92faf6b4938e6f22ddd186dbdacc98d78 in branch master even from upstream ERROR: spirv-headers-1_1.3.204.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/KhronosGroup/SPIRV-Headers;protocol=https;branch=master') ERROR: Logfile of failure stored in: /home/staliani/yocto-astrial/build/tmp/work/armv8a-poky-linux/spirv-headers/1_1.3.204.1-r0/temp/log.do_fetch.1761176 ERROR: Task (/home/staliani/yocto-astrial/sources/poky/meta/recipes-graphics/spir/spirv-headers_1.3.204.1.bb:do_fetch) failed with exit code '1' WARNING: vim-native-9.0.0598-r0 do_fetch: Failed to fetch URL git://github.com/vim/vim.git;branch=master;protocol=https, attempting MIRRORS if available WARNING: u-boot-imx-tools-native-2022.04-r0 do_fetch: Failed to fetch URL git://github.com/nxp-imx/uboot-imx.git;protocol=https;branch=lf_v2022.04, attempting MIRRORS if available WARNING: linux-imx-headers-5.15-r0 do_fetch: Failed to fetch URL git://github.com/nxp-imx/linux-imx.git;protocol=https;branch=lf-5.15.y, attempting MIRRORS if available WARNING: rapidjson-1.1.0+gitAUTOINC+0ccdbf364c-r0 do_fetch: Failed to fetch URL git://github.com/miloyip/rapidjson.git;nobranch=1;protocol=https, attempting MIRRORS if available ERROR: u-boot-imx-tools-native-2022.04-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1001/bus"; export PATH="/home/staliani/yocto-astrial/sources/poky/scripts/native-intercept:/home/staliani/yocto-astrial/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/staliani/yocto-astrial/sources/poky/scripts:/home/staliani/yocto-astrial/build/tmp/work/x86_64-linux/u-boot-imx-tools-native/2022.04-r0/recipe-sysroot-native/usr/bin/x86_64-linux:/home/staliani/yocto-astrial/build/tmp/work/x86_64-linux/u-boot-imx-tools-native/2022.04-r0/recipe-sysroot-native/usr/bin:/home/staliani/yocto-astrial/build/tmp/work/x86_64-linux/u-boot-imx-tools-native/2022.04-r0/recipe-sysroot-native/usr/sbin:/home/staliani/yocto-astrial/build/tmp/work/x86_64-linux/u-boot-imx-tools-native/2022.04-r0/recipe-sysroot-native/usr/bin:/home/staliani/yocto-astrial/build/tmp/work/x86_64-linux/u-boot-imx-tools-native/2022.04-r0/recipe-sysroot-native/sbin:/home/staliani/yocto-astrial/build/tmp/work/x86_64-linux/u-boot-imx-tools-native/2022.04-r0/recipe-sysroot-native/bin:/home/staliani/yocto-astrial/sources/poky/bitbake/bin:/home/staliani/yocto-astrial/build/tmp/hosttools"; export HOME="/home/staliani"; LANG=C git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat clone --bare --mirror https://github.com/nxp-imx/uboot-imx.git /home/staliani/yocto-astrial/downloads//git2/github.com.nxp-imx.uboot-imx.git --progress failed with exit code 128, no output ERROR: u-boot-imx-tools-native-2022.04-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/nxp-imx/uboot-imx.git;protocol=https;branch=lf_v2022.04') ERROR: Logfile of failure stored in: /home/staliani/yocto-astrial/build/tmp/work/x86_64-linux/u-boot-imx-tools-native/2022.04-r0/temp/log.do_fetch.1730738 ERROR: Task (virtual:native:/home/staliani/yocto-astrial/sources/meta-imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx-tools_2022.04.bb:do_fetch) failed with exit code '1' ERROR: linux-imx-headers-5.15-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1001/bus"; export PATH="/home/staliani/yocto-astrial/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/staliani/yocto-astrial/sources/poky/scripts:/home/staliani/yocto-astrial/build/tmp/work/armv8a-mx8mp-poky-linux/linux-imx-headers/5.15-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/staliani/yocto-astrial/build/tmp/work/armv8a-mx8mp-poky-linux/linux-imx-headers/5.15-r0/recipe-sysroot/usr/bin/crossscripts:/home/staliani/yocto-astrial/build/tmp/work/armv8a-mx8mp-poky-linux/linux-imx-headers/5.15-r0/recipe-sysroot-native/usr/sbin:/home/staliani/yocto-astrial/build/tmp/work/armv8a-mx8mp-poky-linux/linux-imx-headers/5.15-r0/recipe-sysroot-native/usr/bin:/home/staliani/yocto-astrial/build/tmp/work/armv8a-mx8mp-poky-linux/linux-imx-headers/5.15-r0/recipe-sysroot-native/sbin:/home/staliani/yocto-astrial/build/tmp/work/armv8a-mx8mp-poky-linux/linux-imx-headers/5.15-r0/recipe-sysroot-native/bin:/home/staliani/yocto-astrial/sources/poky/bitbake/bin:/home/staliani/yocto-astrial/build/tmp/hosttools"; export HOME="/home/staliani"; LANG=C git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat clone --bare --mirror https://github.com/nxp-imx/linux-imx.git /home/staliani/yocto-astrial/downloads//git2/github.com.nxp-imx.linux-imx.git --progress failed with exit code 128, no output ERROR: linux-imx-headers-5.15-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/nxp-imx/linux-imx.git;protocol=https;branch=lf-5.15.y') ERROR: Logfile of failure stored in: /home/staliani/yocto-astrial/build/tmp/work/armv8a-mx8mp-poky-linux/linux-imx-headers/5.15-r0/temp/log.do_fetch.1190140 ERROR: Task (/home/staliani/yocto-astrial/sources/meta-imx/meta-bsp/recipes-kernel/linux/linux-imx-headers_5.15.bb:do_fetch) failed with exit code '1' WARNING: opencv-4.6.0.imx-r0 do_fetch: Failed to fetch URL git://github.com/nxp-imx/opencv-imx.git;protocol=https;branch=4.6.0_imx;name=opencv;branch=4.6.0_imx;name=opencv, attempting MIRRORS if available WARNING: gstreamer1.0-plugins-bad-1.20.3.imx-r0 do_fetch: Failed to fetch URL gitsm://github.com/nxp-imx/gst-plugins-bad.git;protocol=https;branch=MM_04.07.02_2210_L5.15.y, attempting MIRRORS if available WARNING: tensorflow-lite-2.9.1-r0 do_fetch: Failed to fetch URL git://github.com/nxp-imx/tensorflow-imx.git;protocol=https;branch=lf-5.15.71_2.2.0;name=tf, attempting MIRRORS if available ERROR: gstreamer1.0-plugins-bad-1.20.3.imx-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1001/bus"; export PATH="/home/staliani/yocto-astrial/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/staliani/yocto-astrial/build/tmp/work/armv8a-mx8mp-poky-linux/gstreamer1.0-plugins-bad/1.20.3.imx-r0/recipe-sysroot-native/usr/bin/python3-native:/home/staliani/yocto-astrial/sources/poky/scripts:/home/staliani/yocto-astrial/build/tmp/work/armv8a-mx8mp-poky-linux/gstreamer1.0-plugins-bad/1.20.3.imx-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/staliani/yocto-astrial/build/tmp/work/armv8a-mx8mp-poky-linux/gstreamer1.0-plugins-bad/1.20.3.imx-r0/recipe-sysroot/usr/bin/crossscripts:/home/staliani/yocto-astrial/build/tmp/work/armv8a-mx8mp-poky-linux/gstreamer1.0-plugins-bad/1.20.3.imx-r0/recipe-sysroot-native/usr/sbin:/home/staliani/yocto-astrial/build/tmp/work/armv8a-mx8mp-poky-linux/gstreamer1.0-plugins-bad/1.20.3.imx-r0/recipe-sysroot-native/usr/bin:/home/staliani/yocto-astrial/build/tmp/work/armv8a-mx8mp-poky-linux/gstreamer1.0-plugins-bad/1.20.3.imx-r0/recipe-sysroot-native/sbin:/home/staliani/yocto-astrial/build/tmp/work/armv8a-mx8mp-poky-linux/gstreamer1.0-plugins-bad/1.20.3.imx-r0/recipe-sysroot-native/bin:/home/staliani/yocto-astrial/sources/poky/bitbake/bin:/home/staliani/yocto-astrial/build/tmp/hosttools"; export HOME="/home/staliani"; LANG=C git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat clone --bare --mirror https://github.com/nxp-imx/gst-plugins-bad.git /home/staliani/yocto-astrial/downloads//git2/github.com.nxp-imx.gst-plugins-bad.git --progress failed with exit code 128, no output ERROR: gstreamer1.0-plugins-bad-1.20.3.imx-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'gitsm://github.com/nxp-imx/gst-plugins-bad.git;protocol=https;branch=MM_04.07.02_2210_L5.15.y') ERROR: Logfile of failure stored in: /home/staliani/yocto-astrial/build/tmp/work/armv8a-mx8mp-poky-linux/gstreamer1.0-plugins-bad/1.20.3.imx-r0/temp/log.do_fetch.1827620 ERROR: Task (/home/staliani/yocto-astrial/sources/meta-imx/meta-bsp/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.20.3.imx.bb:do_fetch) failed with exit code '1' ERROR: tensorflow-lite-2.9.1-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1001/bus"; export PATH="/home/staliani/yocto-astrial/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/staliani/yocto-astrial/build/tmp/work/armv8a-poky-linux/tensorflow-lite/2.9.1-r0/recipe-sysroot-native/usr/bin/python3-native:/home/staliani/yocto-astrial/sources/poky/scripts:/home/staliani/yocto-astrial/build/tmp/work/armv8a-poky-linux/tensorflow-lite/2.9.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/staliani/yocto-astrial/build/tmp/work/armv8a-poky-linux/tensorflow-lite/2.9.1-r0/recipe-sysroot/usr/bin/crossscripts:/home/staliani/yocto-astrial/build/tmp/work/armv8a-poky-linux/tensorflow-lite/2.9.1-r0/recipe-sysroot-native/usr/sbin:/home/staliani/yocto-astrial/build/tmp/work/armv8a-poky-linux/tensorflow-lite/2.9.1-r0/recipe-sysroot-native/usr/bin:/home/staliani/yocto-astrial/build/tmp/work/armv8a-poky-linux/tensorflow-lite/2.9.1-r0/recipe-sysroot-native/sbin:/home/staliani/yocto-astrial/build/tmp/work/armv8a-poky-linux/tensorflow-lite/2.9.1-r0/recipe-sysroot-native/bin:/home/staliani/yocto-astrial/sources/poky/bitbake/bin:/home/staliani/yocto-astrial/build/tmp/hosttools"; export HOME="/home/staliani"; LANG=C git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat clone --bare --mirror https://github.com/nxp-imx/tensorflow-imx.git /home/staliani/yocto-astrial/downloads//git2/github.com.nxp-imx.tensorflow-imx.git --progress failed with exit code 128, no output ERROR: tensorflow-lite-2.9.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/nxp-imx/tensorflow-imx.git;protocol=https;branch=lf-5.15.71_2.2.0;name=tf') ERROR: Logfile of failure stored in: /home/staliani/yocto-astrial/build/tmp/work/armv8a-poky-linux/tensorflow-lite/2.9.1-r0/temp/log.do_fetch.1833267 ERROR: Task (/home/staliani/yocto-astrial/sources/meta-imx/meta-ml/recipes-libraries/tensorflow-lite/tensorflow-lite_2.9.1.bb:do_fetch) failed with exit code '1' WARNING: tensorflow-protobuf-3.9.2-r0 do_fetch: Failed to fetch URL git://github.com/google/protobuf.git;protocol=https;branch=3.9.x, attempting MIRRORS if available ERROR: vulkan-loader-1.2.182.0-r0 do_fetch: Fetcher failure: Unable to find revision 1896143df69d439b0933c1bb485f5a4587bdf2dc in branch master even from upstream ERROR: vulkan-loader-1.2.182.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/KhronosGroup/Vulkan-Loader.git;protocol=https;branch=master') ERROR: Logfile of failure stored in: /home/staliani/yocto-astrial/build/tmp/work/armv8a-mx8mp-poky-linux/vulkan-loader/1.2.182.0-r0/temp/log.do_fetch.1725065 ERROR: Task (/home/staliani/yocto-astrial/sources/meta-freescale/recipes-downgrade/vulkan/vulkan-loader_1.2.182.0.bb:do_fetch) failed with exit code '1' NOTE: Tasks Summary: Attempted 2753 tasks of which 0 didn't need to be rerun and 6 failed. Summary: 6 tasks failed: /home/staliani/yocto-astrial/sources/poky/meta/recipes-graphics/spir/spirv-headers_1.3.204.1.bb:do_fetch virtual:native:/home/staliani/yocto-astrial/sources/meta-imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx-tools_2022.04.bb:do_fetch /home/staliani/yocto-astrial/sources/meta-imx/meta-bsp/recipes-kernel/linux/linux-imx-headers_5.15.bb:do_fetch /home/staliani/yocto-astrial/sources/meta-imx/meta-bsp/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.20.3.imx.bb:do_fetch /home/staliani/yocto-astrial/sources/meta-imx/meta-ml/recipes-libraries/tensorflow-lite/tensorflow-lite_2.9.1.bb:do_fetch /home/staliani/yocto-astrial/sources/meta-freescale/recipes-downgrade/vulkan/vulkan-loader_1.2.182.0.bb:do_fetch Summary: There were 41 WARNING messages. Summary: There were 12 ERROR messages, returning a non-zero exit code. ```

Beside the line suggested by you in the previous comment I did not modify anything else and I'm not trying to insert any custom thing.

koansoftware commented 2 weeks ago

@STaliani the manifest is another file, not the recipe you modified. However looks like the whole Astrial repo is broken. Ask @System-Electronics for support.

System-Electronics commented 1 week ago

Hi @STaliani and thanks for your feedback.

this errors occur because the nxp imx-manifest used for this build is no longer supported and out-of-date. 

Here the reference site: https://github.com/nxp-imx/imx-manifest/tree/imx-linux-kirkstone

We will release a patch as soon as possible. 

Meanwhile, I restarted the build from scratch. Here a list of packages causing errors and how to solve them.

Branch problem

Change the branch form branch=master to branch=main in the following recipes:

cracklib_2.9.8.bb
vulkan_loader_1.2.182.0.bb
spirv_headers_1.3.204.1.bb
glslang_1.3.204.1.bb
bmap_tools_git.bb

Fetch problem

Found a fetch problem with linux_imx_header_5.15.bb

 Open the recipe and edit it adding at the end of the file the following two lines:

do_configure[network] = "1"
do_compile[network] = "1"
koansoftware commented 1 week ago

Hi @STaliani and thanks for your feedback.

.snip.

Change the branch form branch=master to branch=main in the following manifests:

cracklib_2.9.8.bb
vulkan_loader_1.2.182.0.bb
spirv_headers_1.3.204.1.bb
glslang_1.3.204.1.bb
bmap_tools_git.bb

Just a technical clarification: the files above are not manifests, but are named recipes.

@System-Electronics you should consider to implement the correspondent .bbappend file for each of those files into meta-sysele-nxp-5.15.71 instead of modifying the existing recipes. This is the Yocto Project best practice.

Just my two cents ;-)

-- Marco

System-Electronics commented 1 week ago

Hi Marco, hope to find you well :)

You right! My fix proposal has to be considered only as a temporary solution to help @STaliani until a patch is released.

Thank you for the suggestion.