Get started with Yocto Linux on Qemu
richardh538 opened this issue · 2 comments
| /home/huberz/repos/poky/build-qemu-arm64/tmp/work/x86_64-linux/libdnf-native/0.66.0-r0/git/libdnf/repo/../conf/ConfigRepo.hpp:91:45: error: template argument 1 is invalid
| 91 | OptionChild<OptionNumberstd::uint32_t > & deltarpm_percentage();
| | ^
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.
ERROR: Task (virtual:native:/home/huberz/repos/poky/meta/recipes-devtools/libdnf/libdnf_0.66.0.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2175 tasks of which 0 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
virtual:native:/home/huberz/repos/poky/meta/recipes-devtools/libdnf/libdnf_0.66.0.bb:do_compile
Summary: There were 4 WARNING messages.
Summary: There was 1 ERROR message, returning a non-zero exit code.
Broken.
Hi @richardh538
I wasn't able to reproduce your error. I followed the instructions at https://learn.arm.com/learning-paths/embedded-systems/yocto_qemu/yocto_build/ and completed the steps as written.
Can you share your output from the bitbake core-image-minimal
command, which shows the Build Configuration?
Loading cache: 100% | | ETA: --:--:--
Loaded 0 entries from dependency cache.
Parsing recipes: 100% |######################################################################################################################################################################| Time: 0:00:43
Parsing of 882 .bb files complete (0 cached, 882 parsed). 1641 targets, 55 skipped, 0 masked, 0 errors.
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 = "qemuarm64"
DISTRO = "poky"
DISTRO_VERSION = "4.0.6"
TUNE_FEATURES = "aarch64 armv8a crc cortexa57"
TARGET_FPU = ""
meta
meta-poky
meta-yocto-bsp = "yocto-4.0.6-local:c4e08719a782fd4119eaf643907b80cebf57f88f"
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:01
Sstate summary: Wanted 1195 Local 0 Mirrors 0 Missed 1195 Current 0 (0% match, 0% complete)
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 3152 tasks of which 0 didn't need to be rerun and all succeeded.
@richardh538 I'm going to close this issue. The instructions have been reviewed, some minor updates were made on the website, but nothing significant was changed. The build is challenging in terms of disk space, processing performance, and memory.