[oe-commits] Kang Kai : perl: fix installed but not shipped issue

git at git.openembedded.org git at git.openembedded.org
Wed Jan 16 11:57:52 UTC 2013


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

Author: Kang Kai <kai.kang at windriver.com>
Date:   Wed Jan 16 17:54:42 2013 +0800

perl: fix installed but not shipped issue

It shows warning when bitbake perl:
WARNING: QA Issue: perl: Files/directories were installed but not
shipped
  /usr/lib/perl/5.14.2/auto/XS/Typemap

That because file Typemap.so is not install correctly. Fix it.

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

---

 meta/recipes-devtools/perl/perl-tests.inc |    1 +
 meta/recipes-devtools/perl/perl_5.14.2.bb |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-devtools/perl/perl-tests.inc b/meta/recipes-devtools/perl/perl-tests.inc
index e6de088..b97b467 100644
--- a/meta/recipes-devtools/perl/perl-tests.inc
+++ b/meta/recipes-devtools/perl/perl-tests.inc
@@ -25,6 +25,7 @@ do_install_append () {
 	cp -pv lib/XS/Typemap.pm ${D}${libdir}/perl/${PV}/XS/
 	mkdir -p ${D}${libdir}/perl/${PV}/auto/XS/APItest
 	cp -pv lib/auto/XS/APItest/APItest.so ${D}${libdir}/perl/${PV}/auto/XS/APItest/
+	mkdir -p ${D}${libdir}/perl/${PV}/auto/XS/Typemap
 	cp -pv lib/auto/XS/Typemap/Typemap.so ${D}${libdir}/perl/${PV}/auto/XS/Typemap/
 	cp -pv cpan/Digest-MD5/README ${D}${PERL_TEST_DIR}/cpan/Digest-MD5/
 	cp -pv cpan/Digest-MD5/MD5.xs ${D}${PERL_TEST_DIR}/cpan/Digest-MD5/
diff --git a/meta/recipes-devtools/perl/perl_5.14.2.bb b/meta/recipes-devtools/perl/perl_5.14.2.bb
index e62e8ec..f924ebd 100644
--- a/meta/recipes-devtools/perl/perl_5.14.2.bb
+++ b/meta/recipes-devtools/perl/perl_5.14.2.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
 # We need gnugrep (for -I)
 DEPENDS = "virtual/db grep-native"
 DEPENDS += "gdbm zlib"
-PR = "r17"
+PR = "r18"
 
 # 5.10.1 has Module::Build built-in
 PROVIDES += "libmodule-build-perl"





More information about the Openembedded-commits mailing list