Fixed
Created: Mar 3, 2015
Updated: Sep 8, 2018
Resolved Date: Mar 3, 2015
Found In Version: 7.0
Fix Version: 7.0.0.3
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Build & Config
Build project with cloned bsp and get failure bellow:
ERROR: Function failed: do_patch (log file is located at /buildarea1/Workspace/RCPL0003_LX02/LIN7-2756/prj01/bitbake_build/tmp/work/common_pc_64-wrs-linux/linux-windriver/3.14-r0/temp/do_patch/log.do_patch.22071)
ERROR: Logfile of failure stored in: /buildarea1/Workspace/RCPL0003_LX02/LIN7-2756/prj01/bitbake_build/tmp/work/common_pc_64-wrs-linux/linux-windriver/3.14-r0/temp/do_patch/log.do_patch.22071
Log data follows:
| DEBUG: Executing shell function do_patch
| Deleted branch meta-temp (was b7855f3).
| ERROR: could not find file bsp/intel-x86-64/intel-x86-64-standard.scc, included from /buildarea1/Workspace/RCPL0003_LX02/LIN7-2756/prj01/bitbake_build/tmp/work/common_pc_64-wrs-linux/linux-windriver/3.14-r0/linux/.meta/cfg/scratch/obj/buildarea1/Workspace/RCPL0003_LX02/LIN7-2756/my-bsps/common-pc-64/recipes-kernel/linux/files/common-pc-64-standard.scc
| ERROR: could not process input files: /buildarea1/Workspace/RCPL0003_LX02/LIN7-2756/prj01/bitbake_build/tmp/work/common_pc_64-wrs-linux/linux-windriver/3.14-r0/linux/.meta/cfg/scratch/obj/buildarea1/Workspace/RCPL0003_LX02/LIN7-2756/my-bsps/common-pc-64/recipes-kernel/linux/files/common-pc-64-standard.scc /buildarea1/Workspace/RCPL0003_LX02/LIN7-2756/prj01/bitbake_build/tmp/work/common_pc_64-wrs-linux/linux-windriver/3.14-r0/linux/.meta/cfg/kernel-cache/cfg/systemd.scc
| ERROR. A meta series could not be created for /buildarea1/Workspace/RCPL0003_LX02/LIN7-2756/prj01/bitbake_build/tmp/work/common_pc_64-wrs-linux/linux-windriver/3.14-r0/linux/.meta/cfg/scratch/obj/buildarea1/Workspace/RCPL0003_LX02/LIN7-2756/my-bsps/common-pc-64/recipes-kernel/linux/files/common-pc-64-standard.scc
| ERROR. Could not locate meta series for common-pc-64
| ERROR. Could not apply patches for common-pc-64.
| Patch failures can be resolved in the devshell (bitbake -c devshell linux-windriver)
| WARNING: /buildarea1/Workspace/RCPL0003_LX02/LIN7-2756/prj01/bitbake_build/tmp/work/common_pc_64-wrs-linux/linux-windriver/3.14-r0/temp/do_patch/run.do_patch.22071:176 exit 1 from
| exit 1
| ERROR: Function failed: do_patch (log file is located at /buildarea1/Workspace/RCPL0003_LX02/LIN7-2756/prj01/bitbake_build/tmp/work/common_pc_64-wrs-linux/linux-windriver/3.14-r0/temp/do_patch/log.do_patch.22071)
ERROR: Task 107 (/buildarea1/Workspace/RCPL0003_LX02/LIN7-2756/prj01/layers/wr-kernel/recipes-kernel/linux/linux-windriver_3.14.bb, do_patch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 897 tasks of which 417 didn't need to be rerun and 1 failed.
1, clone bsp
<installdir>/wrlinux-7/scripts/clone_bsp.sh -f EXPORT -s intel-x86-64 -x my-bsps -n common-pc-64
2, configure/build project with cloned bsp
<installdir>/wrlinux-7/wrlinux/configure --enable-board=common-pc-64 --enable-build=production --enable-kernel=standard --enable-rootfs=glibc-std+debug --enable-parallel-pkgbuilds=8 --enable-jobs=8 --enable-reconfig --enable-rm-oldimgs=yes --with-layer=/buildarea1/Workspace/RCPL0003_LX02/LIN7-2756/my-bsps/common-pc-64 --with-sstate-dir=/buildarea1/Workspace/RCPL0003_LX02/SSTATE --enable-patchresolve=noop; make fs