[poky] perl binary hard-code path hurts sstate

Tian, Kevin kevin.tian at intel.com
Tue Dec 21 03:43:14 PST 2010


>From: Richard Purdie [mailto:richard.purdie at linuxfoundation.org]
>Sent: Friday, December 17, 2010 9:59 PM
>
>On Fri, 2010-12-17 at 06:49 -0700, Chris Larson wrote:
>> These sorts of issues aren't new, or fun, sadly.  We've run into many
>> like this using packaged staging.  We had to use the variable to
>> disable packaged-staging for exactly this reason, so something similar
>> for sstate would indeed be useful for this.
>
>In cases like this I'd suggest adding the encoded path into the checksum
>via vardeps. This means the sstate package will be reused when the path
>matches but not otherwise.
>
>We can then work on removing the dependencies which I agree is the goal
>but we should get them identified first.
>

with RP's new fix, I can verify this issue at least solved for now. I'll think about
how to improve it later.

BTW, with this change, now there're 10 native recipes requiring rebuild consequently:

perl-native -> openssl-native -> git-native -> pseudo-native -> libtool-cross
                                 |              |> prelink-native
                                 |              |> kern-tools-native
                                 |> python-native -> libxml2-native ->libxslt-native

Thanks
Kevin



More information about the poky mailing list