Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Nathan Harris <nharris@eoimaging.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: QA issues with libvmime
Date: Mon, 28 Feb 2011 15:48:21 -0500	[thread overview]
Message-ID: <4D6C0A15.1040406@eoimaging.com> (raw)
In-Reply-To: <4D6BEEDA.3000203@mentor.com>

On 2/28/2011 1:52 PM, Tom Rini wrote:
> On 02/28/2011 07:17 AM, Nathan Harris wrote:
>> I am working on a recipe for the VMime library (http://www.vmime.org/).
>> My target environment is the Overo (Gumstix). Currently, bitbake is
>> failing during the final QA. My recipe, patch and bitbake output are
>> below. Hopefully, this error is familiar to someone. Thanks!
> [snip]
>> inherit scons
> [snip]
>> ERROR: QA Issue with staging: vmime.pc failed sanity test (tmpdir) in
>> path
>> /home/ppeimany/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/pkgconfig 
>>
>
> So, what this means it that vmime.pc wasn't properly cleaned.  If you 
> add pkgconfig to the inherit list (which brings in 
> classes/pkgconfig.bbclass, take a peek at what it's doing) this will 
> go away.
>
> Arguably we should make the error clearer and say, like the gettext 
> one something about missing inherit pkgconfig in the recipe.
>
Thanks for the help.  Looking at the vmime.pc file, I can see that the 
paths are wrong.

Unfortunately, when I added pkgconfg to my inherit list, cleaned the 
package and then re-bitbaked, I still get the same error message.  I 
verified that vmime.pc is removed during the clean process (along with 
the other temp files).

I changed the inherit line of my recipe to read:
inherit scons pkgconfig

Here's what my vmime.pc file looks like after bitbake:

prefix=/home/ppeimany/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libvmime-0.9.1-r1/image/usr
exec_prefix=/home/ppeimany/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libvmime-0.9.1-r1/image/usr
libdir=/home/ppeimany/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libvmime-0.9.1-r1/image/usr/lib
includedir=/home/ppeimany/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libvmime-0.9.1-r1/image/usr/include

Name: VMime Library
Description: VMime C++ Mail Library (http://www.vmime.org)
Version: 0.9.1
Requires: libgsasl
Libs: -L${libdir} -lvmime -lgsasl
Cflags: -I${includedir}/





  reply	other threads:[~2011-02-28 20:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-28 14:17 QA issues with libvmime Nathan Harris
2011-02-28 18:52 ` Tom Rini
2011-02-28 20:48   ` Nathan Harris [this message]
2011-02-28 22:24     ` Khem Raj
2011-03-01 13:51       ` Nathan Harris
2011-03-01 18:59         ` Khem Raj
2011-03-01 19:43           ` Nathan Harris

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=4D6C0A15.1040406@eoimaging.com \
    --to=nharris@eoimaging.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