All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH 1/2] log4c: fix expat rdepends issue
@ 2015-01-06 16:01 Armin Kuster
  2015-01-06 16:01 ` [meta-oe][PATCH 2/2] libssh: fix krb5 " Armin Kuster
  2015-01-06 16:28 ` [meta-oe][PATCH 1/2] log4c: fix expat " Martin Jansa
  0 siblings, 2 replies; 8+ messages in thread
From: Armin Kuster @ 2015-01-06 16:01 UTC (permalink / raw)
  To: openembedded-devel

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"
 
+inherit autotools
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [meta-oe][PATCH 2/2] libssh: fix krb5 rdepends issue
  2015-01-06 16:01 [meta-oe][PATCH 1/2] log4c: fix expat rdepends issue Armin Kuster
@ 2015-01-06 16:01 ` Armin Kuster
  2015-01-06 16:30   ` Martin Jansa
  2015-01-06 16:28 ` [meta-oe][PATCH 1/2] log4c: fix expat " Martin Jansa
  1 sibling, 1 reply; 8+ messages in thread
From: Armin Kuster @ 2015-01-06 16:01 UTC (permalink / raw)
  To: openembedded-devel

the default is to build with GSSAPI enable so we need
krb5 support.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 meta-oe/recipes-support/libssh/libssh_0.6.3.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-support/libssh/libssh_0.6.3.bb b/meta-oe/recipes-support/libssh/libssh_0.6.3.bb
index 771a47a..9c5ebf5 100644
--- a/meta-oe/recipes-support/libssh/libssh_0.6.3.bb
+++ b/meta-oe/recipes-support/libssh/libssh_0.6.3.bb
@@ -27,3 +27,6 @@ do_configure_prepend () {
 }
 
 FILES_${PN}-dev += "${libdir}/cmake"
+
+# This builds with GSSAPI enabled as default
+RDEPENDS_${PN} = "krb5"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [meta-oe][PATCH 1/2] log4c: fix expat rdepends issue
  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:28 ` Martin Jansa
  2015-01-07  1:42   ` akuster808
  2015-01-07  2:25   ` akuster808
  1 sibling, 2 replies; 8+ messages in thread
From: Martin Jansa @ 2015-01-06 16:28 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1218 bytes --]

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?

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

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [meta-oe][PATCH 2/2] libssh: fix krb5 rdepends issue
  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
  0 siblings, 1 reply; 8+ messages in thread
From: Martin Jansa @ 2015-01-06 16:30 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1398 bytes --]

On Tue, Jan 06, 2015 at 08:01:07AM -0800, Armin Kuster wrote:
> the default is to build with GSSAPI enable so we need
> krb5 support.

shouldn't it be in DEPENDS then? RDEPENDS could be too late for
do_configure to detect it.

Also I don't see 0.6.3 version in current master:
OE @ ~/meta-openembedded $ find . -name libssh\*
./meta-oe/recipes-support/libssh2
./meta-oe/recipes-support/libssh2/libssh2_1.4.3.bb
./meta-oe/recipes-support/libssh
./meta-oe/recipes-support/libssh/libssh_git.bb

> 
> Signed-off-by: Armin Kuster <akuster808@gmail.com>
> ---
>  meta-oe/recipes-support/libssh/libssh_0.6.3.bb | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/meta-oe/recipes-support/libssh/libssh_0.6.3.bb b/meta-oe/recipes-support/libssh/libssh_0.6.3.bb
> index 771a47a..9c5ebf5 100644
> --- a/meta-oe/recipes-support/libssh/libssh_0.6.3.bb
> +++ b/meta-oe/recipes-support/libssh/libssh_0.6.3.bb
> @@ -27,3 +27,6 @@ do_configure_prepend () {
>  }
>  
>  FILES_${PN}-dev += "${libdir}/cmake"
> +
> +# This builds with GSSAPI enabled as default
> +RDEPENDS_${PN} = "krb5"
> -- 
> 1.9.1
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [meta-oe][PATCH 1/2] log4c: fix expat rdepends issue
  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
  1 sibling, 0 replies; 8+ messages in thread
From: akuster808 @ 2015-01-07  1:42 UTC (permalink / raw)
  To: openembedded-devel



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?

This package actual failed to build for me. RDEPENDS by itself did not 
fix the issue, adding DEPENDS did. or at least this is what I remember.. 
wouldn't bet on it thou.

>
> It was detected by dependency test so I don't think so (so it's
> correctly added by shlibs providers when enabled/detected).
>

I will double check.

- armin

>> +inherit autotools
>> --
>> 1.9.1
>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
>
>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [meta-oe][PATCH 2/2] libssh: fix krb5 rdepends issue
  2015-01-06 16:30   ` Martin Jansa
@ 2015-01-07  1:52     ` akuster808
  0 siblings, 0 replies; 8+ messages in thread
From: akuster808 @ 2015-01-07  1:52 UTC (permalink / raw)
  To: openembedded-devel



On 01/06/2015 08:30 AM, Martin Jansa wrote:
> On Tue, Jan 06, 2015 at 08:01:07AM -0800, Armin Kuster wrote:
>> the default is to build with GSSAPI enable so we need
>> krb5 support.
>
> shouldn't it be in DEPENDS then? RDEPENDS could be too late for
> do_configure to detect it.
k.

>
> Also I don't see 0.6.3 version in current master:

hmm, Monday...

- Armin

> OE @ ~/meta-openembedded $ find . -name libssh\*
> ./meta-oe/recipes-support/libssh2
> ./meta-oe/recipes-support/libssh2/libssh2_1.4.3.bb
> ./meta-oe/recipes-support/libssh
> ./meta-oe/recipes-support/libssh/libssh_git.bb
>
>>
>> Signed-off-by: Armin Kuster <akuster808@gmail.com>
>> ---
>>   meta-oe/recipes-support/libssh/libssh_0.6.3.bb | 3 +++
>>   1 file changed, 3 insertions(+)
>>
>> diff --git a/meta-oe/recipes-support/libssh/libssh_0.6.3.bb b/meta-oe/recipes-support/libssh/libssh_0.6.3.bb
>> index 771a47a..9c5ebf5 100644
>> --- a/meta-oe/recipes-support/libssh/libssh_0.6.3.bb
>> +++ b/meta-oe/recipes-support/libssh/libssh_0.6.3.bb
>> @@ -27,3 +27,6 @@ do_configure_prepend () {
>>   }
>>
>>   FILES_${PN}-dev += "${libdir}/cmake"
>> +
>> +# This builds with GSSAPI enabled as default
>> +RDEPENDS_${PN} = "krb5"
>> --
>> 1.9.1
>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
>
>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [meta-oe][PATCH 1/2] log4c: fix expat rdepends issue
  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
  2015-01-07  9:08     ` Martin Jansa
  1 sibling, 1 reply; 8+ messages in thread
From: akuster808 @ 2015-01-07  2:25 UTC (permalink / raw)
  To: openembedded-devel



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
>
>
>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [meta-oe][PATCH 1/2] log4c: fix expat rdepends issue
  2015-01-07  2:25   ` akuster808
@ 2015-01-07  9:08     ` Martin Jansa
  0 siblings, 0 replies; 8+ messages in thread
From: Martin Jansa @ 2015-01-07  9:08 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2174 bytes --]

On Tue, Jan 06, 2015 at 06:25:45PM -0800, akuster808 wrote:
> 
> 
> 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.

I'm not suggesting dumping rdepends, I meant that depends should be
enough (rdepends is set automatically)

>  
> /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
> >
> >
> >
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-01-07  9:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2015-01-07  9:08     ` Martin Jansa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.