| Summary: | bitbake linux-yocto failed with "do_patch" after applied a kern-tool patch | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | YONG LI <sdliyong> | ||||
| Component: | Scripts and Tools | Assignee: | YONG LI <sdliyong> | ||||
| Status: | VERIFIED NOTABUG | QA Contact: | Bogdan Alexandru Voiculescu <bogdanx.a.voiculescu> | ||||
| Severity: | normal | ||||||
| Priority: | Medium | CC: | bogdanx.a.voiculescu, bruce.ashfield, ross.burton | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 2.1 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | Don't know | |||||
| Attachments: |
|
||||||
|
Description
YONG LI
2015-09-25 01:26:29 UTC
Below is the error message:
(1/3) 0001-staging-iio-hmc5843-Set-iio-name-property-in-sysfs.patch
[INFO]: check of .kernel-meta/patches/standard/beaglebone/links/linux-yocto/0001-staging-iio-hmc5843-Set-iio-name-property-in-sysfs.patch with "git am" did not pass, trying reduced context.
[INFO]: Context reduced git-am of .kernel-meta/patches/standard/beaglebone/links/linux-yocto/0001-staging-iio-hmc5843-Set-iio-name-property-in-sysfs.patch with "git am" did not work, trying "apply".
error: patch failed: drivers/staging/iio/magnetometer/hmc5843_core.c:592
error: drivers/staging/iio/magnetometer/hmc5843_core.c: patch does not apply
[ERROR]: Application of .kernel-meta/patches/standard/beaglebone/links/linux-yocto/0001-staging-iio-hmc5843-Set-iio-name-property-in-sysfs.patch failed.
Patch needs to be refreshed. Sample resolution script:
.git/rebase-apply/resolve_rejects
ERROR. could not update git tree
(In reply to comment #1) > Below is the error message: > (1/3) 0001-staging-iio-hmc5843-Set-iio-name-property-in-sysfs.patch > [INFO]: check of > .kernel-meta/patches/standard/beaglebone/links/linux-yocto/0001-staging-iio- > hmc5843-Set-iio-name-property-in-sysfs.patch with "git am" did not pass, > trying reduced context. > [INFO]: Context reduced git-am of > .kernel-meta/patches/standard/beaglebone/links/linux-yocto/0001-staging-iio- > hmc5843-Set-iio-name-property-in-sysfs.patch with "git am" did not work, > trying "apply". > error: patch failed: drivers/staging/iio/magnetometer/hmc5843_core.c:592 > error: drivers/staging/iio/magnetometer/hmc5843_core.c: patch does not apply > [ERROR]: Application of > .kernel-meta/patches/standard/beaglebone/links/linux-yocto/0001-staging-iio- > hmc5843-Set-iio-name-property-in-sysfs.paotch failed. > Patch needs to be refreshed. Sample resolution script: > .git/rebase-apply/resolve_rejects > ERROR. could not update git tree I don't see a problem. That patch is being rejected by git .. it *won't* apply to the tree. If this was working previously, it was somehow either being skipped, or working by luck. The change that I made has nothing to do with the actual application of the patch, it simply shortcuts already integrated patches. What kernel tree are you trying to apply this to ? Without that information, I can't say more at the moment. I cannot reproduce this issue now. We can close it verified as not a bug |