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)! Signed-off-by: Tyler Hall <[email protected]> --- 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 \ -- 1.8.3.4 _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
