I've just cloned poky master repo on my Ubuntu 24.04 machine, all produced successfully. 1. Try removing meta-micro layer that you have 2. Use poky master without any modification (in my case the commit hash was1f6cda305..) 3. Be sure that your host machine is supported by yocto and has enough ram and disk space.
~/development/yocto-risc-sdk-test/build$ bitbake -c populate_sdk core-image-minimal Loading cache: 100% |###################################################################################################################################################################################| Time: 0:00:00 Loaded 1873 entries from dependency cache. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "2.9.1" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "riscv64-poky-linux" MACHINE = "qemuriscv64" DISTRO = "poky" DISTRO_VERSION = "5.1" TUNE_FEATURES = "riscv64" meta meta-poky meta-yocto-bsp = "master:1f6cda30547a78a5e8c839890fd4f2aacf13bfda" Sstate summary: Wanted 1117 Local 0 Mirrors 0 Missed 1117 Current 1785 (0% match, 61% complete)####################################################################################### | ETA: 0:00:00 Initialising tasks: 100% |##############################################################################################################################################################################| Time: 0:00:03 NOTE: Executing Tasks NOTE: Tasks Summary: Attempted 6250 tasks of which 4123 didn't need to be rerun and all succeeded. On Tue, Jan 7, 2025 at 8:12 AM pratikfarkase94 via lists.yoctoproject.org <pratikfarkase94=gmail....@lists.yoctoproject.org> wrote: > Hi, > I am trying to build the SDK for qemuriscv64 machine. I am using the > master branch of poky. The build fails at do_compile while populating the > SDK using the command "bitbake -c populate_sdk core-image-minimal" > > The build configuration looks like the following : > > ~/riscv-yocto/build$ bitbake -c populate_sdk core-image-minimal > Loading cache: 100% > |########################################################################################################| > Time: 0:00:00 > Loaded 1879 entries from dependency cache. > NOTE: Resolving any missing task queue dependencies > Build Configuration: > BB_VERSION = "2.9.1" > BUILD_SYS = "x86_64-linux" > NATIVELSBSTRING = "universal" > TARGET_SYS = "riscv64-poky-linux" > MACHINE = "qemuriscv64" > DISTRO = "poky" > DISTRO_VERSION = "5.1" > TUNE_FEATURES = "riscv64" > meta > meta-poky > meta-yocto-bsp = "work:3de3bda4c4b72ca21ad91c81db57bf07760e0a3b" > meta-micro = "main:91d5ff6138bc0f630c864543a40fc4e34b6fea40" > WARNING: > /home/pratik/riscv-yocto/poky/meta/recipes-kernel/linux/linux-yocto_6.10.bb:do_compile > is tainted from a forced run | ETA: 0:00:00 > Sstate summary: Wanted 24 Local 0 Mirrors 0 Missed 24 Current 2878 (0% > match, 99% complete)####################### | ETA: 0:00:00 > Initialising tasks: 100% > |###################################################################################################| > Time: 0:00:02 > NOTE: Executing Tasks > ERROR: gcc-cross-canadian-riscv64-14.2.0-r0 do_compile: oe_runmake failed > ERROR: gcc-cross-canadian-riscv64-14.2.0-r0 do_compile: Execution of > '/home/pratik/riscv-yocto/build/tmp/work/x86_64-nativesdk-pokysdk-linux/gcc-cross-canadian-riscv64/14.2.0/temp/run.do_compile.323463' > failed with exit code 1 > ERROR: Logfile of failure stored in: > /home/pratik/riscv-yocto/build/tmp/work/x86_64-nativesdk-pokysdk-linux/gcc-cross-canadian-riscv64/14.2.0/temp/log.do_compile.323463 > > Full log in the attached file : > > > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#64506): https://lists.yoctoproject.org/g/yocto/message/64506 Mute This Topic: https://lists.yoctoproject.org/mt/110473646/21656 Mute #sdk:https://lists.yoctoproject.org/g/yocto/mutehashtag/sdk Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-