Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: akuster808 <akuster808@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH 1/2] log4c: fix expat rdepends issue
Date: Tue, 06 Jan 2015 18:25:45 -0800	[thread overview]
Message-ID: <54AC9929.8090702@gmail.com> (raw)
In-Reply-To: <20150106162809.GB12498@jama>



On 01/06/2015 08:28 AM, Martin Jansa wrote:
> On Tue, Jan 06, 2015 at 08:01:06AM -0800, Armin Kuster wrote:
>> add --without-expat
>>
>> Signed-off-by: Armin Kuster <akuster808@gmail.com>
>> ---
>>   meta-oe/recipes-support/log4c/log4c_1.2.4.bb | 4 +++-
>>   1 file changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/meta-oe/recipes-support/log4c/log4c_1.2.4.bb b/meta-oe/recipes-support/log4c/log4c_1.2.4.bb
>> index 43e0746..0e58db7 100644
>> --- a/meta-oe/recipes-support/log4c/log4c_1.2.4.bb
>> +++ b/meta-oe/recipes-support/log4c/log4c_1.2.4.bb
>> @@ -12,5 +12,7 @@ S = "${WORKDIR}/${PN}-${PV}"
>>
>>   EXTRA_OECONF = "--prefix=/usr"
>>
>> -inherit autotools
>> +PACKAGECONFIG ??=""
>> +PACKAGECONFIG[expat] = ", --without-expat, expat, expat"
>
> Is explicit expat runtime dependency needed when enabled?

Yep, need both. rdepends by itself did not fix the compile issue I saw.

 
/home/akuster/oss/mywork/poky/build/tmp/work/core2-64-poky-linux/log4c/1.2.4-r0/log4c-1.2.4/src/sd/domnode-expat.c:51:19: 
fatal error: expat.h: No such file or directory
|  #include <expat.h>
|                    ^
| compilation terminated.
| make[4]: *** [domnode-expat.lo] Error 1


- armin
>
> It was detected by dependency test so I don't think so (so it's
> correctly added by shlibs providers when enabled/detected).
>
>> +inherit autotools
>> --
>> 1.9.1
>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
>
>


  parent reply	other threads:[~2015-01-07  2:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-06 16:01 [meta-oe][PATCH 1/2] log4c: fix expat rdepends issue Armin Kuster
2015-01-06 16:01 ` [meta-oe][PATCH 2/2] libssh: fix krb5 " Armin Kuster
2015-01-06 16:30   ` Martin Jansa
2015-01-07  1:52     ` akuster808
2015-01-06 16:28 ` [meta-oe][PATCH 1/2] log4c: fix expat " Martin Jansa
2015-01-07  1:42   ` akuster808
2015-01-07  2:25   ` akuster808 [this message]
2015-01-07  9:08     ` Martin Jansa

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=54AC9929.8090702@gmail.com \
    --to=akuster808@gmail.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