[OE-core] [PATCH] cpan-base: Don't use immediate expansion
Saul Wold
sgw at linux.intel.com
Mon Aug 5 21:19:59 UTC 2013
On 08/05/2013 07:25 AM, Tyler Hall wrote:
> PERLVERSION is derived from installed output in the sysroot, so it
> should not be evaluated at parse time.
>
> In an new workspace, the sequence
>
> $ bitbake -S libxml-sax-perl
> $ bitbake perl
> $ bitbake -S libxml-sax-perl
>
> generates different task hashes for libxml-sax-perl, and the error
>
> ERROR: Bitbake's cached basehash does not match the one we just
> generated (/bonus/scratch/tylerh/oe-core/meta/recipes-extended/perl/libxml-sax-perl_0.99.bb.do_package)!
>
I could not replicate this, can you provide more details about how you
setup the failure, was it from a clean sstate?
Are you working with master or 1.4 or something else?
Thanks
Sau!
> Signed-off-by: Tyler Hall <tylerwhall at gmail.com>
> ---
> meta/classes/cpan-base.bbclass | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes/cpan-base.bbclass b/meta/classes/cpan-base.bbclass
> index 7e1e8d0..d05863e 100644
> --- a/meta/classes/cpan-base.bbclass
> +++ b/meta/classes/cpan-base.bbclass
> @@ -40,7 +40,7 @@ def is_target(d):
> return "no"
>
> PERLLIBDIRS := "${@perl_get_libdirs(d)}"
> -PERLVERSION := "${@get_perl_version(d)}"
> +PERLVERSION = "${@get_perl_version(d)}"
>
> FILES_${PN}-dbg += "${PERLLIBDIRS}/auto/*/.debug \
> ${PERLLIBDIRS}/auto/*/*/.debug \
>
More information about the Openembedded-core
mailing list