Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] cpan-base: Don't use immediate expansion
@ 2013-08-05 14:25 Tyler Hall
  2013-08-05 21:19 ` Saul Wold
  0 siblings, 1 reply; 3+ messages in thread
From: Tyler Hall @ 2013-08-05 14:25 UTC (permalink / raw)
  To: openembedded-core

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 <tylerwhall@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 \
-- 
1.8.3.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-06 14:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-05 14:25 [PATCH] cpan-base: Don't use immediate expansion Tyler Hall
2013-08-05 21:19 ` Saul Wold
2013-08-06 14:04   ` Tyler Hall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox