log4c: fix expat rdepends issue
PATCH 1/2 log4c: fix expat rdepends issue
add --without-expat
--- meta-oe/recipes-support/log4c/log4c_1.2.4.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-support/log4c/log4c_1.2.4.bb +3 -1
@@ -12,5 +12,7 @@ S = "${WORKDIR}/${PN}-${PV}" EXTRA_OECONF = "--prefix=/usr" -inherit autotools +PACKAGECONFIG ??="" +PACKAGECONFIG[expat] = ", --without-expat, expat, expat" +inherit autotools
Signature · 1 line
1.9.1
PATCH 2/2 libssh: fix krb5 rdepends issue
the default is to build with GSSAPI enable so we need krb5 support.
--- meta-oe/recipes-support/libssh/libssh_0.6.3.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-oe/recipes-support/libssh/libssh_0.6.3.bb +3 -0
@@ -27,3 +27,6 @@ do_configure_prepend () { } FILES_${PN}-dev += "${libdir}/cmake" + +# This builds with GSSAPI enabled as default +RDEPENDS_${PN} = "krb5"
Signature · 1 line
1.9.1
Re: [meta-oe][PATCH 2/2] libssh: fix krb5 rdepends issue
Quoted 2 lines · Armin Kuster
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
Quoted 25 lines
Signed-off-by Armin Kuster <[email protected]>--- meta-oe/recipes-support/libssh/libssh_0.6.3.bb | 3 +++ 1 file changed, 3 insertions(+)meta-oe/recipes-support/libssh/libssh_0.6.3.bb +3
-0@@ -27,3 +27,6 @@ do_configure_prepend () { } FILES_${PN}-dev += "${libdir}/cmake" + +# This builds with GSSAPI enabled as default +RDEPENDS_${PN} = "krb5"Signature · 7 lines
1.9.1 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Re: [meta-oe][PATCH 2/2] libssh: fix krb5 rdepends issue
Quoted 6 lines · Martin Jansa
Quoted 2 lines · Armin Kuster
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_configureto detect it.
k.
Quoted 2 lines
Also I don't see 0.6.3 version in current master:
hmm, Monday...
- Armin
Quoted 34 lines
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
Quoted 25 lines
Signed-off-by Armin Kuster <[email protected]>--- meta-oe/recipes-support/libssh/libssh_0.6.3.bb | 3 +++ 1 file changed, 3 insertions(+)meta-oe/recipes-support/libssh/libssh_0.6.3.bb +3
-1@@ -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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 12 lines · Armin Kuster
add --without-expat
Signed-off-by Armin Kuster <[email protected]>--- meta-oe/recipes-support/log4c/log4c_1.2.4.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)meta-oe/recipes-support/log4c/log4c_1.2.4.bb +0
-0
meta-oe/recipes-support/log4c/log4c_1.2.4.bb S = "${WORKDIR}/${PN}-${PV}" · line 16
Quoted 6 lines
meta-oe/recipes-support/log4c/log4c_1.2.4.bb +2
-1@@ -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).
Quoted 9 lines
meta-oe/recipes-support/log4c/log4c_1.2.4.bb +1
-0+inherit autotoolsSignature · 7 lines
1.9.1 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 14 lines · Martin Jansa
Quoted 13 lines · Armin Kuster
add --without-expat
Signed-off-by Armin Kuster <[email protected]>--- meta-oe/recipes-support/log4c/log4c_1.2.4.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)meta-oe/recipes-support/log4c/log4c_1.2.4.bb +0
-0@@ -12,5 +12,7 @@ S = "${WORKDIR}/${PN}-${PV}"
Quoted 7 lines
meta-oe/recipes-support/log4c/log4c_1.2.4.bb S = "${WORKDIR}/${PN}-${PV}" · line 16
Quoted 5 lines
meta-oe/recipes-support/log4c/log4c_1.2.4.bb +2
-1EXTRA_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.
Quoted 4 lines
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
Quoted 12 lines
Quoted 9 lines
meta-oe/recipes-support/log4c/log4c_1.2.4.bb +1
-1+inherit autotools --1.9.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 14 lines · Martin Jansa
Quoted 13 lines · Armin Kuster
add --without-expat
Signed-off-by Armin Kuster <[email protected]>--- meta-oe/recipes-support/log4c/log4c_1.2.4.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)meta-oe/recipes-support/log4c/log4c_1.2.4.bb +0
-0@@ -12,5 +12,7 @@ S = "${WORKDIR}/${PN}-${PV}"
Quoted 7 lines
meta-oe/recipes-support/log4c/log4c_1.2.4.bb S = "${WORKDIR}/${PN}-${PV}" · line 16
Quoted 5 lines
meta-oe/recipes-support/log4c/log4c_1.2.4.bb +2
-1EXTRA_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
Quoted 16 lines
It was detected by dependency test so I don't think so (so it's correctly added by shlibs providers when enabled/detected).
Quoted 9 lines
meta-oe/recipes-support/log4c/log4c_1.2.4.bb +1
-1+inherit autotools --1.9.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 19 lines · On Tue, Jan 06, 2015 at 06:25:45PM -0800, akuster808 wrote:
Quoted 16 lines · Martin Jansa
Quoted 15 lines · Armin Kuster
add --without-expat
Signed-off-by Armin Kuster <[email protected]>--- meta-oe/recipes-support/log4c/log4c_1.2.4.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)meta-oe/recipes-support/log4c/log4c_1.2.4.bb +0
-0@@ -12,5 +12,7 @@ S = "${WORKDIR}/${PN}-${PV}" EXTRA_OECONF = "--prefix=/usr"
Quoted 7 lines
Quoted 5 lines
meta-oe/recipes-support/log4c/log4c_1.2.4.bb S = "${WORKDIR}/${PN}-${PV}" · line 16
Quoted 3 lines
meta-oe/recipes-support/log4c/log4c_1.2.4.bb +2
-1-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)
Quoted 31 lines
/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
Quoted 16 lines
It was detected by dependency test so I don't think so (so it's correctly added by shlibs providers when enabled/detected).
Quoted 9 lines
meta-oe/recipes-support/log4c/log4c_1.2.4.bb +1
-1+inherit autotools --1.9.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-develSignature · 4 lines
_______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]