It is worth to give a try to add PSEUDO_UNLOAD=1 sync before tar. The issue 
doesn't appear on my CentOS 5.9 after doing that. 


Best Regards,

Zhenhua


> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of
> Rongqing Li
> Sent: Thursday, October 17, 2013 10:02 AM
> To: Richard Purdie
> Cc: Otavio Salvador; Patches and discussions about the oe-core layer
> Subject: Re: [OE-core] [PATCH] populate_sdk_base: repeat to tar archive
> file five time
> 
> 
> 
> On 10/16/2013 08:12 PM, Richard Purdie wrote:
> > On Wed, 2013-10-16 at 14:34 +0800, Rongqing Li wrote:
> >>
> >> On 10/16/2013 02:24 PM, Otavio Salvador wrote:
> >>> On Wed, Oct 16, 2013 at 2:53 AM,  <[email protected]> wrote:
> >>>> From: Roy Li <[email protected]>
> >>>>
> >>>> [YOCTO #5287]
> >>>>
> >>>> tar failed and reported that file changed as we read it, now we
> >>>> workaround it
> >>>>
> >>>> Signed-off-by: Roy Li <[email protected]>
> >>>
> >>> You must be kidding right?! loop 5 times?!? why not fix the root
> >>> cause of the change?
> >>>
> >>
> >> Sorry, I do not know the root cause, and I see many people spent lots
> >> of efforts to investigate, but do not find the root cause, sometime
> >> we suspect it is the building servers kernel issue, if it is true, we
> >> can not fix the building servers, we only workaround the code.
> >
> > This workaround is not going into master, its horrid. Do we know which
> > versions of the kernel on the server have the issue. I'd much rather
> > tell people to fix their broken filesystems for example and refuse to
> > run on them.
> >
> 
> I saw it happened on CentOS 5.9 and RedHat 5.5, and We deployed lots of
> them, it is hard to replace them.
> 
> The bug did not happen everytime, only intermittently, this workaround is
> ugly, but it is better than fixing the servers, or declaring them as
> unsupported server.
> 
> 
> -Roy
> 
> 
> 
> > Cheers,
> >
> > Richard
> >
> >
> >
> 
> --
> Best Reagrds,
> Roy | RongQing Li
> _______________________________________________
> Openembedded-core mailing list
> [email protected]
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to