| Summary: |
quilt missing in recipe-sysroot-native for build with slightly older bitbake revision |
| Product: |
[Build System, Metadata & Runtime] OE-Core
|
Reporter: |
Martin Jansa <Martin.Jansa> |
| Component: |
core | Assignee: |
Richard Purdie <richard.purdie> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
Undecided
|
CC: |
meta.mr.watcher, meta.watcher, ross.burton
|
| Version: |
unspecified | |
|
| Target Milestone: |
--- | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
No (bug/feature does not impact docs)
|
Long story short: And the root cause of this is slightly older revision of bitbake (both oe-core and bitbake are from master branch). So I belive that bitbake version should be bumped and oe-core should require this newer bitbake to prevent random errors like this. Bitbake revision where it was failing like this: 518b901 cookerdata: Convert multiconfig to use BB_CURRENT_MC Long version: Latest bitbake world build on jenkins failed for all recipes which have some .patch files in SRC_URI with error like this: NOTE: Applying patch '0001-PATCH-Disable-the-test-to-convert-euc-jp.patch' (openembedded-core/meta/recipes-core/gettext/gettext-minimal-0.19.8.1/0001-PATCH-Disable-the-test-to-convert-euc-jp.patch) ERROR: Command Error: 'quilt --quiltrc /home/jenkins/oe/world/shr-core/tmp-glibc/work/x86_64-linux/gettext-minimal-native/0.19.8.1-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output: /bin/sh: 1: quilt: not found DEBUG: Python function patch_do_patch finished The quilt-native was correctly built before gettext-minimal-native do_patch was started and it's staged in sysroot-components: OE qemux86@ ~/oe/world/shr-core $ find tmp-glibc/ -name quilt tmp-glibc/sysroots-components/x86_64/quilt-native/etc/bash_completion.d/quilt tmp-glibc/sysroots-components/x86_64/quilt-native/usr/bin/quilt tmp-glibc/sysroots-components/x86_64/quilt-native/usr/share/quilt tmp-glibc/work/x86_64-linux/quilt-native/0.65-r0/sysroot-destdir/home/jenkins/oe/world/shr-core/tmp-glibc/work/x86_64-linux/quilt-native/0.65-r0/recipe-sysroot-native/usr/share/quilt tmp-glibc/work/x86_64-linux/quilt-native/0.65-r0/sysroot-destdir/home/jenkins/oe/world/shr-core/tmp-glibc/work/x86_64-linux/quilt-native/0.65-r0/recipe-sysroot-native/usr/bin/quilt tmp-glibc/work/x86_64-linux/quilt-native/0.65-r0/sysroot-destdir/home/jenkins/oe/world/shr-core/tmp-glibc/work/x86_64-linux/quilt-native/0.65-r0/recipe-sysroot-native/etc/bash_completion.d/quilt But recipe-sysroot and recipe-sysroot-native are empty in gettext-minimal-native: OE qemux86@ ~/oe/world/shr-core $ find /home/jenkins/oe/world/shr-core/tmp-glibc/work/x86_64-linux/gettext-minimal-native/0.19.8.1-r0/recipe-sysroot* /home/jenkins/oe/world/shr-core/tmp-glibc/work/x86_64-linux/gettext-minimal-native/0.19.8.1-r0/recipe-sysroot /home/jenkins/oe/world/shr-core/tmp-glibc/work/x86_64-linux/gettext-minimal-native/0.19.8.1-r0/recipe-sysroot-native /home/jenkins/oe/world/shr-core/tmp-glibc/work/x86_64-linux/gettext-minimal-native/0.19.8.1-r0/recipe-sysroot-native/installeddeps quilt-native is also shown correctly in bitbake -e gettext-minimal-native: # # $PATCHDEPENDENCY # set /home/jenkins/oe/world/shr-core/openembedded-core/meta/classes/patch.bbclass:6 # "${PATCHTOOL}-native:do_populate_sysroot" PATCHDEPENDENCY="quilt-native:do_populate_sysroot" /oe/world/shr-core/tmp-glibc/work/x86_64-linux/gettext-minimal-native/0.19.8.1-r0/temp/log.do_prepare_recipe_sysroot shows only this: DEBUG: Executing python function do_prepare_recipe_sysroot DEBUG: Executing python function extend_recipe_sysroot NOTE: Direct dependencies are [] DEBUG: Python function extend_recipe_sysroot finished DEBUG: Python function do_prepare_recipe_sysroot finished And in the build where this works fine I see: OE qemux86@ ~/build/oe-core $ find tmp-glibc/ -name quilt tmp-glibc/work/x86_64-linux/quilt-native/0.65-r0/sysroot-destdir/OE/build/oe-core/tmp-glibc/work/x86_64-linux/quilt-native/0.65-r0/recipe-sysroot-native/usr/share/quilt tmp-glibc/work/x86_64-linux/quilt-native/0.65-r0/sysroot-destdir/OE/build/oe-core/tmp-glibc/work/x86_64-linux/quilt-native/0.65-r0/recipe-sysroot-native/usr/bin/quilt tmp-glibc/work/x86_64-linux/quilt-native/0.65-r0/sysroot-destdir/OE/build/oe-core/tmp-glibc/work/x86_64-linux/quilt-native/0.65-r0/recipe-sysroot-native/etc/bash_completion.d/quilt tmp-glibc/work/x86_64-linux/gettext-minimal-native/0.19.8.1-r0/recipe-sysroot-native/etc/bash_completion.d/quilt tmp-glibc/work/x86_64-linux/gettext-minimal-native/0.19.8.1-r0/recipe-sysroot-native/usr/bin/quilt tmp-glibc/work/x86_64-linux/gettext-minimal-native/0.19.8.1-r0/recipe-sysroot-native/usr/share/quilt tmp-glibc/work/sysroots-components/x86_64/quilt-native/etc/bash_completion.d/quilt tmp-glibc/work/sysroots-components/x86_64/quilt-native/usr/bin/quilt tmp-glibc/work/sysroots-components/x86_64/quilt-native/usr/share/quilt There is no temp/log.do_prepare_recipe_sysroot, but at the begining of temp/log.do_patch I see: DEBUG: Executing python function extend_recipe_sysroot NOTE: Direct dependencies are ['/OE/build/oe-core/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot'] NOTE: sed -e 's:^[^/]*/:/OE/build/oe-core/tmp-glibc/work/x86_64-linux/gettext-minimal-native/0.19.8.1-r0/recipe-sysroot-native/:g' /OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/quilt-native/fixmepath | xargs sed -i -e 's:FIXMESTAGINGDIRTARGET:/OE/build/oe-core/tmp-glibc/work/x86_64-linux/gettext-minimal-native/0.19.8.1-r0/recipe-sysroot:g; s:FIXMESTAGINGDIRHOST:/OE/build/oe-core/tmp-glibc/work/x86_64-linux/gettext-minimal-native/0.19.8.1-r0/recipe-sysroot-native:g' -e 's:FIXME_PKGDATA_DIR:/OE/build/oe-core/tmp-glibc/pkgdata/qemux86:g' DEBUG: Python function extend_recipe_sysroot finished