[oe-commits] Kang Kai : perl: update dependencies among modules

git at git.openembedded.org git at git.openembedded.org
Wed Oct 24 11:51:50 UTC 2012


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

Author: Kang Kai <kai.kang at windriver.com>
Date:   Wed Oct 24 14:09:51 2012 +0800

perl: 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.

This is similar with 51cbb5ae76a22d465e2f6c5ef923ec2682624e3b.

Bump up PR.

Signed-off-by: Kang Kai <kai.kang at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../recipes-devtools/perl/perl-rdepends_5.14.2.inc |  436 ++++++++++---------
 meta/recipes-devtools/perl/perl_5.14.2.bb          |    2 +-
 2 files changed, 230 insertions(+), 208 deletions(-)

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




More information about the Openembedded-commits mailing list