Skip to contentSkip to conversation

Error patching gcc-4.8.2

poky Elvis Dowson 2 participants 3 messages May 2, 2014 – May 3, 2014

lore
Share & tools
lore
#0 lore raw

Hi Khem,

I’m getting an error with poky master branch, when it attempts to patch gcc-cross-4.8.2.

Have you seen this happen earlier at your end?

Build Configuration:

BB_VERSION        = "1.23.1"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.10"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "zc702-zynq7"
DISTRO            = "poky"
DISTRO_VERSION    = "1.6+snapshot-20140502"
TUNE_FEATURES     = " arm armv7a vfp neon zynq"
TARGET_FPU        = "vfp-neon"

meta
meta-yocto
meta-yocto-bsp = "master:f7bbe9ce7679714c3dc464d0c382ef9ee2d7ce77"
meta-xilinx = "master:869cba51d3db7909077ad0f066b784ebfd3b092d"
meta-xilinx-community = "master:44187a45f0f0c904fc385f12347ae01c669ba7f2"

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Command Error: exit status: 1 Output:
File series fully applied, ends at patch 0031-Disable-sdt.patch
ERROR: Function failed: patch_do_patch
ERROR: Logfile of failure stored in: /tool/yocto/build/zc702/tmp/work-shared/gcc-4.8.2-r0/temp/log.do_patch.20954
ERROR: Task 424 (/tool/yocto/poky/meta/recipes-devtools/gcc/gcc-cross_4.8.bb, do_patch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 692 tasks of which 3 didn't need to be rerun and 1 failed. Waiting for 0 running tasks to finish:

Summary: 1 task failed:
/tool/yocto/poky/meta/recipes-devtools/gcc/gcc-cross_4.8.bb, do_patch
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

real 2m18.089s
user 11m16.352s
sys 1m20.140s

Regards,

Elvis Dowson

#1 lore raw

Elvis

Quoted 1 line · Elvis Dowson

Have you seen this happen earlier at your end?

I am subsumed with gcc 4.9 work however haven't seen this happening so far. may be you should clean the build tree and retry

#2 lore raw

Hi Khem,

Quoted 2 lines · Khem Raj

I am subsumed with gcc 4.9 work however haven't seen this happening so far. may be you should clean the build tree and retry

This was with a clean build.

There are a bunch of changes to the gcc recipes done by Richard Purdie
starting with this one, which appears to have triggered the build failure with the gcc-4.8.2 recipe

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=03a0f8e8b4e286bfcc0076e7380ce26d1b1b106a

Reverting to commit 17daa2ba6280304771c5fe52b94eb56f0c087490 for poky master branch helps complete the build. This was a commit from 3 days ago

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=17daa2ba6280304771c5fe52b94eb56f0c087490

Regards,

Elvis Dowson