[OE-core] Failure

Richard Purdie richard.purdie at linuxfoundation.org
Mon Sep 2 09:57:11 UTC 2013


On Mon, 2013-09-02 at 10:44 +0800, ChenQi wrote:
> On 09/02/2013 10:08 AM, Otavio Salvador wrote:
> > Hello,
> >
> > I got this build failure today; I am about to leave so I removed the
> > tmpdir and will let it running during night. I post more info if/when
> > I reproduce it again:
> >
> > Patch redhat-portability.diff does not apply (enforce with -f)
> > ERROR: Function failed: patch_do_patch
> > ERROR: Logfile of failure stored in:
> > /home/otavio/hacking/freescale/fsl-community-bsp-mx6/build/tmp/work/x86_64-linux/elfutils-native/0.155-r0/temp/log.do_patch.20173
> > ERROR: Task 662
> > (virtual:native:/home/otavio/hacking/freescale/fsl-community-bsp-mx6/sources/poky/meta/recipes-devtools/elfutils/elfutils_0.155.bb,
> > do_patch) failed with exit code '1'
> >
> > Regards,
> >
> 
> I got the same error now and then when building native-elfutils. Every 
> time the error appears, I have to clean the sstate cache for elfutils.

No, you don't, you need to *clean* elfutils, sstate is just fine.

I suspect the issue is that there is some patch to the source code and
then further modifications happen at do_configure/do_compile time. If we
try and rerun do_patch (due to the patch.bbclass change recently), it
can no longer unapply the patch and things fail.

Cheers,

Richard







More information about the Openembedded-core mailing list