Re: [OE-core] [PATCH 1/1] sstate.bbclass: remove previous version's stamp

2014-01-20 Thread Robert Yang
On 01/17/2014 08:17 PM, Richard Purdie wrote: On Fri, 2014-01-17 at 19:01 +0800, Robert Yang wrote: On 01/17/2014 06:36 PM, Richard Purdie wrote: On Fri, 2014-01-17 at 14:43 +0800, Robert Yang wrote: +# Keep the sigdata +if not re.match(re_sigdata, stfile): +

[OE-core] [PATCH 1/1] sstate.bbclass: remove previous version's stamp

2014-01-20 Thread Robert Yang
There is a potential problem if we don't remove the previous version's stamp, for example: The depend chain is: libtool-native - autoconf-native - m4-native We have two m4-native: 1.4.9 and 1.4.7 1) Clean all of them to make a fresh build so that we can reproduce the problem $ bitbake

Re: [OE-core] [PATCH 1/1] sstate.bbclass: remove previous version's stamp

2014-01-17 Thread Richard Purdie
On Fri, 2014-01-17 at 14:43 +0800, Robert Yang wrote: There is a potential problem if we don't remove the previous version's stamp, for example: The depend chain is: libtool-native - autoconf-native - m4-native We have two m4-native: 1.4.9 and 1.4.7 1) Clean all of them to make a fresh

Re: [OE-core] [PATCH 1/1] sstate.bbclass: remove previous version's stamp

2014-01-17 Thread Robert Yang
On 01/17/2014 06:36 PM, Richard Purdie wrote: On Fri, 2014-01-17 at 14:43 +0800, Robert Yang wrote: +# Keep the sigdata +if not re.match(re_sigdata, stfile): +oe.path.remove(stfile) I'm not sure its worth the overhead of using regexps here. Can we not do

Re: [OE-core] [PATCH 1/1] sstate.bbclass: remove previous version's stamp

2014-01-17 Thread Richard Purdie
On Fri, 2014-01-17 at 19:01 +0800, Robert Yang wrote: On 01/17/2014 06:36 PM, Richard Purdie wrote: On Fri, 2014-01-17 at 14:43 +0800, Robert Yang wrote: +# Keep the sigdata +if not re.match(re_sigdata, stfile): +oe.path.remove(stfile) I'm not sure its

[OE-core] [PATCH 1/1] sstate.bbclass: remove previous version's stamp

2014-01-16 Thread Robert Yang
There is a potential problem if we don't remove the previous version's stamp, for example: The depend chain is: libtool-native - autoconf-native - m4-native We have two m4-native: 1.4.9 and 1.4.7 1) Clean all of them to make a fresh build so that we can reproduce the problem $ bitbake

Re: [OE-core] [PATCH 1/1] sstate.bbclass: remove previous version's stamp

2014-01-15 Thread Richard Purdie
On Wed, 2014-01-15 at 15:09 +0800, Robert Yang wrote: There is a potential problem if we don't remove the previous version's stamp, for example: The depend chain is: libtool-native - autoconf-native - m4-native We have two m4-native: 1.4.9 and 1.4.7 1) Clean all of them to make a fresh

[OE-core] [PATCH 1/1] sstate.bbclass: remove previous version's stamp

2014-01-14 Thread Robert Yang
There is a potential problem if we don't remove the previous version's stamp, for example: The depend chain is: libtool-native - autoconf-native - m4-native We have two m4-native: 1.4.9 and 1.4.7 1) Clean all of them to make a fresh build so that we can reproduce the problem $ bitbake