Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Chen Qi <Qi.Chen@windriver.com>
To: <Joe_MacDonald@mentor.com>, <openembedded-devel@lists.openembedded.org>
Subject: [meta-networking][PATCH] curlpp: fix QA issue for cav-octeon3
Date: Tue, 19 Jul 2016 16:22:44 +0800	[thread overview]
Message-ID: <20160719082244.17103-1-Qi.Chen@windriver.com> (raw)

Modify the curlpp.pc file in do_install_append to avoid the following QA error.

  ERROR: QA Issue: curlpp.pc failed sanity test (tmpdir)

The problem occurs only for tunes which set baselib to 'lib32', and in OE,
we only have two tunes which set such value.

  BASE_LIB_tune-octeon2 = "lib32"
  BASE_LIB_tune-octeon3 = "lib32"

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb b/meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb
index 78b9432..bbba576 100644
--- a/meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb
+++ b/meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb
@@ -20,6 +20,10 @@ inherit autotools-brokensep pkgconfig binconfig
 # deprecated auto_ptr.  For now, ignore the issue.
 CXXFLAGS += "-Wno-error=deprecated-declarations"
 
+do_install_append () {
+    sed -i 's,${STAGING_DIR_TARGET},,g' ${D}${libdir}/pkgconfig/curlpp.pc
+}
+
 PACKAGES =+ "libcurlpp libcurlpp-dev libcurlpp-staticdev"
 
 FILES_lib${BPN} = "${libdir}/lib*.so.* \
-- 
2.8.3



                 reply	other threads:[~2016-07-19  8:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160719082244.17103-1-Qi.Chen@windriver.com \
    --to=qi.chen@windriver.com \
    --cc=Joe_MacDonald@mentor.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox