[OE-core] [PATCH 24/42] python-native: Point to expat in native sysroot

Khem Raj raj.khem at gmail.com
Thu May 12 06:26:14 UTC 2016


Added missed dependency on expat-native as well is required pushed a v2 of this patch as well. It was saught during world build on musl


> On May 11, 2016, at 10:35 AM, Khem Raj <raj.khem at gmail.com> wrote:
> 
> This fixes inconsistency where expat dependency is
> then depending upon build host having it or not having it
> 
> Fixes errors like
> WARNING: renaming "pyexpat" since importing it failed: build/lib.linux-x86_64-2.7/pyexpat.so: undefined symbol: XML_SetCommentHandler
> 
> also reported here
> https://dev.openwrt.org/ticket/20087
> 
> This work due to the fact that we use -isystem pointing to native sysroot
> so the search order of native includedir is moved after buildhosts system
> includdirs. Moment we replace it with -I, build falls apart
> 
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> ---
> meta/recipes-devtools/python/python-native_2.7.11.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-devtools/python/python-native_2.7.11.bb b/meta/recipes-devtools/python/python-native_2.7.11.bb
> index 4c204a4..add8868 100644
> --- a/meta/recipes-devtools/python/python-native_2.7.11.bb
> +++ b/meta/recipes-devtools/python/python-native_2.7.11.bb
> @@ -27,7 +27,7 @@ inherit native
> 
> RPROVIDES += "python-distutils-native python-compression-native python-textutils-native python-codecs-native python-core-native python-unittest-native"
> 
> -EXTRA_OECONF_append = " --bindir=${bindir}/${PN}"
> +EXTRA_OECONF_append = " --bindir=${bindir}/${PN} --with-system-expat=${STAGING_DIR_HOST}"
> 
> EXTRA_OEMAKE = '\
>   BUILD_SYS="" \
> --
> 2.8.2
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160511/00e5e59d/attachment-0002.sig>


More information about the Openembedded-core mailing list