[oe] [PATCH V2] Fix "failed sanity test tmpdir" for libnice and update PNBLACKLIST.

Noor, Ahsan noor_ahsan at mentor.com
Fri May 6 10:05:54 UTC 2016


From: Noor Ahsan <noor_ahsan at mentor.com>

* Update do_compile_append where it was updating *.pc from ${S} and
  removing staging dir folder. Now we have seperate build folder
  where packages got build. We have to search pc in ${B} not in ${S}.
  After updating the tmp dir path is removed from nice.pc file.
* Remove PNBLACKLIST for libnice and farsight recipes.

Signed-off-by: Noor Ahsan <noor_ahsan at mentor.com>
---
 meta-oe/recipes-support/farsight/farsight2_0.0.22.bb | 1 -
 meta-oe/recipes-support/farsight/libnice_0.0.13.bb   | 3 +--
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta-oe/recipes-support/farsight/farsight2_0.0.22.bb b/meta-oe/recipes-support/farsight/farsight2_0.0.22.bb
index ffb222b..beb6108 100644
--- a/meta-oe/recipes-support/farsight/farsight2_0.0.22.bb
+++ b/meta-oe/recipes-support/farsight/farsight2_0.0.22.bb
@@ -29,4 +29,3 @@ FILES_${PN}-dbg += "${libdir}/*/.debug"
 SRC_URI[md5sum] = "e1f540cf3ebab06c3d7db1f46b44ac88"
 SRC_URI[sha256sum] = "3ae59aa61a8071c9fad111e5fd606aabc27961eb4192f8729987a27dae6b3974"
 
-PNBLACKLIST[farsight2] ?= "Depends on broken libnice"
diff --git a/meta-oe/recipes-support/farsight/libnice_0.0.13.bb b/meta-oe/recipes-support/farsight/libnice_0.0.13.bb
index a9081dc..3d99622 100644
--- a/meta-oe/recipes-support/farsight/libnice_0.0.13.bb
+++ b/meta-oe/recipes-support/farsight/libnice_0.0.13.bb
@@ -28,7 +28,7 @@ do_configure_prepend() {
 }
 
 do_compile_append() {
-    for i in $(find ${S} -name "*.pc") ; do
+    for i in $(find ${B} -name "*.pc") ; do
         sed -i -e s:${STAGING_DIR_TARGET}::g \
                -e s:/${TARGET_SYS}::g \
                   $i
@@ -39,4 +39,3 @@ do_compile_append() {
 SRC_URI[md5sum] = "e5b9f799a57cb939ea2658ec35253ab9"
 SRC_URI[sha256sum] = "d8dd260c486a470a6052a5323920878a084e44a19df09b15728b85c9e3d6edf0"
 
-PNBLACKLIST[libnice] ?= "BROKEN: QA Issue: nice.pc failed sanity test (tmpdir)"
-- 
2.8.1




More information about the Openembedded-devel mailing list