Closed kanakshilledar closed 1 week ago
meta-yocto-bsp = "scarthgap:cd44e6bd40b0c1f498b3feaeb5e9b72f8bf32d41" meta-riscv = "master:e875ec652fecdfd3ae485d1226d29fbbcac33362"
@kanakshilledar how did you setup your project ? it seems base project is using scarthgap
release but meta-riscv
is at tip of master
branch. I would suggest to use same branch for all the repos. If you want to stay with scarthgap then use scarthgap for meta-riscv as well
Hi @kraj sorry for the delay in response. I tried to move both of them to master and now I am getting stuck at QA
bitbake core-image-minimal
Loading cache: 100% |#################################################################| Time: 0:00:00
Loaded 1912 entries from dependency cache.
Parsing recipes: 100% |###############################################################| Time: 0:00:02
Parsing of 952 .bb files complete (951 cached, 1 parsed). 1913 targets, 106 skipped, 0 masked, 0 errors.
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 = "beaglev-ahead"
DISTRO = "poky"
DISTRO_VERSION = "5.1"
TUNE_FEATURES = "riscv64"
meta
meta-poky
meta-yocto-bsp = "master:c68ef7b4b7c732feb2d5f25aefd2c40ecf56e1a7"
meta-riscv = "master:e875ec652fecdfd3ae485d1226d29fbbcac33362"
Sstate summary: Wanted 821 Local 0 Mirrors 0 Missed 821 Current 931 (0% match, 53% complete) 0:00:00
Initialising tasks: 100% |############################################################| Time: 0:00:01
NOTE: Executing Tasks
ERROR: linux-beaglev-dev-6.9.0+git-r0 do_patch: QA Issue: Missing Upstream-Status in patch
/home/kanak/yocto/sources/meta-riscv/recipes-kernel/linux/linux-beaglev-dev/0001-dt-bindings-reset-Document-th1520-reset-control.patch
Please add according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status . [patch-status]
ERROR: linux-beaglev-dev-6.9.0+git-r0 do_patch: QA Issue: Missing Upstream-Status in patch
/home/kanak/yocto/sources/meta-riscv/recipes-kernel/linux/linux-beaglev-dev/0002-reset-Add-th1520-reset-driver-support.patch
Please add according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status . [patch-status]
ERROR: linux-beaglev-dev-6.9.0+git-r0 do_patch: QA Issue: Missing Upstream-Status in patch
/home/kanak/yocto/sources/meta-riscv/recipes-kernel/linux/linux-beaglev-dev/0003-WIP-on-th_net-d3e1832c7d2d-riscv-mm-update-T-Head-me.patch
Please add according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status . [patch-status]
ERROR: linux-beaglev-dev-6.9.0+git-r0 do_patch: QA Issue: Missing Upstream-Status in patch
/home/kanak/yocto/sources/meta-riscv/recipes-kernel/linux/linux-beaglev-dev/0004-dt-binding-riscv-add-T-HEAD-CPU-reset.patch
Please add according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status . [patch-status]
ERROR: linux-beaglev-dev-6.9.0+git-r0 do_patch: QA Issue: Missing Upstream-Status in patch
/home/kanak/yocto/sources/meta-riscv/recipes-kernel/linux/linux-beaglev-dev/0005-th1520-add-cpu-reset-node.patch
Please add according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status . [patch-status]
ERROR: linux-beaglev-dev-6.9.0+git-r0 do_patch: QA Issue: Missing Upstream-Status in patch
/home/kanak/yocto/sources/meta-riscv/recipes-kernel/linux/linux-beaglev-dev/0006-th1520-beaglev-ahead.dts-enable-ethernet0.patch
Please add according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status . [patch-status]
ERROR: linux-beaglev-dev-6.9.0+git-r0 do_patch: QA Issue: Missing Upstream-Status in patch
/home/kanak/yocto/sources/meta-riscv/recipes-kernel/linux/linux-beaglev-dev/0007-v6.8-rc3-fix-reset-th1520.c-build.patch
Please add according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status . [patch-status]
ERROR: linux-beaglev-dev-6.9.0+git-r0 do_patch: Fatal QA errors were found, failing task.
ERROR: Logfile of failure stored in: /home/kanak/yocto/buildtead/tmp/work/beaglev_ahead-poky-linux/linux-beaglev-dev/6.9.0+git/temp/log.do_patch.912973
ERROR: Task (/home/kanak/yocto/sources/meta-riscv/recipes-kernel/linux/linux-beaglev-dev.bb:do_patch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2093 tasks of which 2087 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/kanak/yocto/sources/meta-riscv/recipes-kernel/linux/linux-beaglev-dev.bb:do_patch
log: /home/kanak/yocto/buildtead/tmp/work/beaglev_ahead-poky-linux/linux-beaglev-dev/6.9.0+git/temp/log.do_patch.912973
Summary: There were 8 ERROR messages, returning a non-zero exit code.
The full log can be found here: https://pastebin.com/Y4esM14d
Shall I add the Upstream-Status: Pending
in these patches?
As per this documentation: https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status
Thanks!
Hi @kraj sorry for the delay in response. I tried to move both of them to master and now I am getting stuck at QA
bitbake core-image-minimal Loading cache: 100% |#################################################################| Time: 0:00:00 Loaded 1912 entries from dependency cache. Parsing recipes: 100% |###############################################################| Time: 0:00:02 Parsing of 952 .bb files complete (951 cached, 1 parsed). 1913 targets, 106 skipped, 0 masked, 0 errors. 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 = "beaglev-ahead" DISTRO = "poky" DISTRO_VERSION = "5.1" TUNE_FEATURES = "riscv64" meta meta-poky meta-yocto-bsp = "master:c68ef7b4b7c732feb2d5f25aefd2c40ecf56e1a7" meta-riscv = "master:e875ec652fecdfd3ae485d1226d29fbbcac33362" Sstate summary: Wanted 821 Local 0 Mirrors 0 Missed 821 Current 931 (0% match, 53% complete) 0:00:00 Initialising tasks: 100% |############################################################| Time: 0:00:01 NOTE: Executing Tasks ERROR: linux-beaglev-dev-6.9.0+git-r0 do_patch: QA Issue: Missing Upstream-Status in patch /home/kanak/yocto/sources/meta-riscv/recipes-kernel/linux/linux-beaglev-dev/0001-dt-bindings-reset-Document-th1520-reset-control.patch Please add according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status . [patch-status] ERROR: linux-beaglev-dev-6.9.0+git-r0 do_patch: QA Issue: Missing Upstream-Status in patch /home/kanak/yocto/sources/meta-riscv/recipes-kernel/linux/linux-beaglev-dev/0002-reset-Add-th1520-reset-driver-support.patch Please add according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status . [patch-status] ERROR: linux-beaglev-dev-6.9.0+git-r0 do_patch: QA Issue: Missing Upstream-Status in patch /home/kanak/yocto/sources/meta-riscv/recipes-kernel/linux/linux-beaglev-dev/0003-WIP-on-th_net-d3e1832c7d2d-riscv-mm-update-T-Head-me.patch Please add according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status . [patch-status] ERROR: linux-beaglev-dev-6.9.0+git-r0 do_patch: QA Issue: Missing Upstream-Status in patch /home/kanak/yocto/sources/meta-riscv/recipes-kernel/linux/linux-beaglev-dev/0004-dt-binding-riscv-add-T-HEAD-CPU-reset.patch Please add according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status . [patch-status] ERROR: linux-beaglev-dev-6.9.0+git-r0 do_patch: QA Issue: Missing Upstream-Status in patch /home/kanak/yocto/sources/meta-riscv/recipes-kernel/linux/linux-beaglev-dev/0005-th1520-add-cpu-reset-node.patch Please add according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status . [patch-status] ERROR: linux-beaglev-dev-6.9.0+git-r0 do_patch: QA Issue: Missing Upstream-Status in patch /home/kanak/yocto/sources/meta-riscv/recipes-kernel/linux/linux-beaglev-dev/0006-th1520-beaglev-ahead.dts-enable-ethernet0.patch Please add according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status . [patch-status] ERROR: linux-beaglev-dev-6.9.0+git-r0 do_patch: QA Issue: Missing Upstream-Status in patch /home/kanak/yocto/sources/meta-riscv/recipes-kernel/linux/linux-beaglev-dev/0007-v6.8-rc3-fix-reset-th1520.c-build.patch Please add according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status . [patch-status] ERROR: linux-beaglev-dev-6.9.0+git-r0 do_patch: Fatal QA errors were found, failing task. ERROR: Logfile of failure stored in: /home/kanak/yocto/buildtead/tmp/work/beaglev_ahead-poky-linux/linux-beaglev-dev/6.9.0+git/temp/log.do_patch.912973 ERROR: Task (/home/kanak/yocto/sources/meta-riscv/recipes-kernel/linux/linux-beaglev-dev.bb:do_patch) failed with exit code '1' NOTE: Tasks Summary: Attempted 2093 tasks of which 2087 didn't need to be rerun and 1 failed. Summary: 1 task failed: /home/kanak/yocto/sources/meta-riscv/recipes-kernel/linux/linux-beaglev-dev.bb:do_patch log: /home/kanak/yocto/buildtead/tmp/work/beaglev_ahead-poky-linux/linux-beaglev-dev/6.9.0+git/temp/log.do_patch.912973 Summary: There were 8 ERROR messages, returning a non-zero exit code.
The full log can be found here: https://pastebin.com/Y4esM14d
Shall I add the
Upstream-Status: Pending
in these patches? As per this documentation: https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-statusThanks!
that a problem in meta-riscv, and yes adding Upstream-Status is needed. Something like https://github.com/riscv/meta-riscv/pull/496
Thanks I will try to add these and try to create a PR for unfixed parts. Can I get this issue assigned to me?
I am getting similar error in u-boot-beaglev-ahead
ERROR: u-boot-beaglev-ahead-1_1.0-r0 do_patch: QA Issue: Missing Upstream-Status in patch
/home/kanak/yocto/sources/meta-riscv/recipes-bsp/u-boot/u-boot-beaglev-ahead/0001-Set-sec_library-path-to-source-location.patch
Please add according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status . [patch-status]
ERROR: u-boot-beaglev-ahead-1_1.0-r0 do_patch: QA Issue: Missing Upstream-Status in patch
/home/kanak/yocto/sources/meta-riscv/recipes-bsp/u-boot/u-boot-beaglev-ahead/0002-Fix-errors-for-GCC-14-compatibility.patch
Please add according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status . [patch-status]
ERROR: u-boot-beaglev-ahead-1_1.0-r0 do_patch: Fatal QA errors were found, failing task.
ERROR: Logfile of failure stored in: /home/kanak/yocto/buildtead/tmp/work/beaglev_ahead-poky-linux/u-boot-beaglev-ahead/1.0/temp/log.do_patch.2994457
ERROR: Task (/home/kanak/yocto/sources/meta-riscv/recipes-bsp/u-boot/u-boot-beaglev-ahead.bb:do_patch) failed with exit code '1'
@kanakshilledar please go ahead and send a PR
Description I am trying to build for yocto for BeagleV Ahead board and I am getting stuck on the following error.
I am currently on Ubuntu 22.04 and using Yocto Scarthgap and master branch of meta-riscv. I have set
MACHINE=beaglev-ahead
.Steps to reproduce the issue:
bitbake core-image-minimal
Describe the results you received: The build will fail on
u-boot-beaglev-ahead.bb
recipe.The full log of u-boot-beaglev-ahead is here: https://pastebin.com/dvVLadun
Describe the results you expected: The build should pass
Additional information you deem important (e.g. issue happens only occasionally): I tried doing
-c clean
and-c cleansstate
and still this issue is there. Thanks!