[oe-commits] Hongxu Jia : perl-rdepends_5.14.2.inc: update dependencies among modules

git at git.openembedded.org git at git.openembedded.org
Tue Apr 23 12:00:31 UTC 2013


Module: openembedded-core.git
Branch: danny
Commit: c1f5e07406df7ef1c7e960cf9ba9eb38f460f235
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c1f5e07406df7ef1c7e960cf9ba9eb38f460f235

Author: Hongxu Jia <hongxu.jia at windriver.com>
Date:   Mon Mar 11 14:16:44 2013 +0800

perl-rdepends_5.14.2.inc: update dependencies among modules

Run autoreconf fails because it uses several perl modules and they
requires other perl modules. So update these dependencies for:
perl-module-exporter
perl-module-file-glob
perl-module-file-path
perl-module-file-spec
perl-module-file-stat
perl-module-io-file
perl-module-io-handle
perl-module-io-seekable
perl-module-posix
And RDEPENDS rules in file perl-rdepends_5.14.2.inc don't work for
nativesdk perl module packages. Replace all "perl" with "${PN}" in the
file to fix that.

In nativesdk.bbclass it calls
oe.classextend.NativesdkClassExtender().map_packagevars() to map package
vars include var RDEPENDS. In map_packagevars():
	for pkg in (self.d.getVar("PACKAGES", True).split() + [""]):

the value of var "PACKAGES" may not be calculated correctly, so for
all the nativesdk packages created by
	  PACKAGES_DYNAMIC_virtclass-nativesdk += "^nativesdk-perl-module-.*"
dependencies are wrong.

Cherry-pick commit f816625bf21348c1b0d887d11a77e7f5010ce76d

Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>

---

 .../recipes-devtools/perl/perl-rdepends_5.14.2.inc |  436 ++++++++++---------
 1 files changed, 229 insertions(+), 207 deletions(-)

Diff:   http://git.openembedded.org/?p=openembedded-core.git/?a=commitdiff;h=c1f5e07406df7ef1c7e960cf9ba9eb38f460f235




More information about the Openembedded-commits mailing list