Open STaliani opened 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
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:
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.
@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.
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"
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
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.
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 commandI 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?