Bug 3948 - linux-yocto-dev: do_patch fails with: base.scc: line 5: force: command not found
Summary: linux-yocto-dev: do_patch fails with: base.scc: line 5: force: command not found
Status: RESOLVED FIXED
Alias: None
Product: Kernel
Classification: Yocto Project Subprojects
Component: kernel-tooling (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.4 M5
Assignee: Bruce Ashfield
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks: 3931
  Show dependency tree
 
Reported: 2013-02-27 17:26 UTC by Nitin Kamble
Modified: 2013-03-04 15:27 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nitin Kamble 2013-02-27 17:26:25 UTC
This is happening for all the emgd based BSPs with with the linux-yocto-dev kernel.

DEBUG: Executing shell function do_patch
Deleted branch meta-temp (was 630b61b).
NOTE: feature features/kprobes/kprobes.scc is included multiple times (/srv/home/nitin/build-test-bsps/build-emenlow/tmp/work/emenlow-poky-linux/linux-yocto-dev/3.8++gitAUTOINC+fe20c99783387dab779472ff50a88666da1c6391_60536206ad300ccf5b2be2c2d449f4ab27170238-r0/linux/meta/cfg/kernel-cache/features/systemtap)
NOTE: feature ipsec.scc is included multiple times (/srv/home/nitin/build-test-bsps/build-emenlow/tmp/work/emenlow-poky-linux/linux-yocto-dev/3.8++gitAUTOINC+fe20c99783387dab779472ff50a88666da1c6391_60536206ad300ccf5b2be2c2d449f4ab27170238-r0/linux/meta/cfg/kernel-cache/cfg/net)
/srv/home/nitin/build-test-bsps/build-emenlow/tmp/work/emenlow-poky-linux/linux-yocto-dev/3.8++gitAUTOINC+fe20c99783387dab779472ff50a88666da1c6391_60536206ad300ccf5b2be2c2d449f4ab27170238-r0/linux/meta/cfg/kernel-cache/ktypes/base/base.scc: line 5: force: command not found
 feature file /srv/home/nitin/build-test-bsps/build-emenlow/tmp/work/emenlow-poky-linux/linux-yocto-dev/3.8++gitAUTOINC+fe20c99783387dab779472ff50a88666da1c6391_60536206ad300ccf5b2be2c2d449f4ab27170238-r0/linux/meta/cfg/kernel-cache/ktypes/base/base.scc contains an error ... aborting
ERROR. A meta series could not be created for branch standard/emenlow
ERROR. Could not locate meta series for emenlow
ERROR. Could not apply patches for emenlow.
       Patch failures can be resolved in the devshell (bitbake -c devshell linux-yocto-dev)
ERROR: Function failed: do_patch (see /srv/home/nitin/build-test-bsps/build-emenlow/tmp/work/emenlow-poky-linux/linux-yocto-dev/3.8++gitAUTOINC+fe20c99783387dab779472ff50a88666da1c6391_60536206ad300ccf5b2be2c2d449f4ab27170238-r0/temp/log.do_patch.58605 for further information





I looked at the base.scc file in the build area, and found this in it.

$ cat meta/cfg/kernel-cache/ktypes/base/base.scc
define KERNEL_VERSION 3.8

# Force the base configuration

force kconf non-hardware base.cfg





And I do not see any this kind of text anywhere in the meta branch. I wonder where is these lines in the base.scc are coming from.
Comment 1 Bruce Ashfield 2013-02-27 17:29:11 UTC
This must be your kern-tools SRCREV. This is patch 5/8 of my recent series. Which
should appear before any 3.8 based kernel is used via the ordering of the series.

SRCREV = "7f91d198d32fc90260e52724ef4aac0b997c1e8b"
Comment 2 Nitin Kamble 2013-02-27 17:41:10 UTC
As per Bruce he has a fix for kern-tools-native pending for oecore upstreaming to handle this.
Comment 3 Nitin Kamble 2013-02-27 17:42:13 UTC
I am testing out the Bruce's pending commit now.
Comment 4 Bruce Ashfield 2013-03-04 15:27:43 UTC
The kern-tools updates have been merged to oe-core master.