Openembedded Core Discussions
 help / color / mirror / Atom feed
* Failure
@ 2013-09-02  2:08 Otavio Salvador
  2013-09-02  2:44 ` Failure ChenQi
  0 siblings, 1 reply; 4+ messages in thread
From: Otavio Salvador @ 2013-09-02  2:08 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

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,

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Failure
  2013-09-02  2:08 Failure Otavio Salvador
@ 2013-09-02  2:44 ` ChenQi
  2013-09-02  9:57   ` Failure Richard Purdie
  0 siblings, 1 reply; 4+ messages in thread
From: ChenQi @ 2013-09-02  2:44 UTC (permalink / raw)
  To: openembedded-core

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.

Regards,
Chen Qi


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Failure
  2013-09-02  2:44 ` Failure ChenQi
@ 2013-09-02  9:57   ` Richard Purdie
  2013-09-02 10:25     ` Failure Richard Purdie
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2013-09-02  9:57 UTC (permalink / raw)
  To: ChenQi; +Cc: openembedded-core

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






^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Failure
  2013-09-02  9:57   ` Failure Richard Purdie
@ 2013-09-02 10:25     ` Richard Purdie
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2013-09-02 10:25 UTC (permalink / raw)
  To: ChenQi; +Cc: openembedded-core

On Mon, 2013-09-02 at 10:57 +0100, Richard Purdie wrote:
> 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.

It turned out to be due to patching of generated files. I've sent out a
patch to remove the patches we don't need.

Cheers,

Richard



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-09-02 10:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-02  2:08 Failure Otavio Salvador
2013-09-02  2:44 ` Failure ChenQi
2013-09-02  9:57   ` Failure Richard Purdie
2013-09-02 10:25     ` Failure Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox