[oe] [meta-python][PATCH] python-m2crypto: Move swig fix to configure task

Ian Coolidge ian at boundarydevices.com
Fri Aug 10 20:51:56 UTC 2018


Thanks for this, this fixes that recipe.

On Tue, Aug 7, 2018 at 4:01 PM, Alex Kiernan <alex.kiernan at gmail.com> wrote:

> From: Alex Kiernan <alex.kiernan at hivehome.com>
>
> Fixes:
>
> | DEBUG: Executing shell function do_configure
> ...
> | SWIG/_m2crypto.i:10: Error: Unable to find 'gcc_macros.h'
> | error: command 'swig' failed with exit status 1
>
> Signed-off-by: Alex Kiernan <alex.kiernan at gmail.com>
> ---
>
>  meta-python/recipes-devtools/python/python-m2crypto_0.26.4.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-python/recipes-devtools/python/python-m2crypto_0.26.4.bb
> b/meta-python/recipes-devtools/python/python-m2crypto_0.26.4.bb
> index 272c76c..7e22163 100644
> --- a/meta-python/recipes-devtools/python/python-m2crypto_0.26.4.bb
> +++ b/meta-python/recipes-devtools/python/python-m2crypto_0.26.4.bb
> @@ -27,7 +27,7 @@ export SWIG_FEATURES
>  # Get around a problem with swig, but only if the
>  # multilib header file exists.
>  #
> -do_compile_prepend() {
> +do_configure_prepend() {
>      ${CPP} -dM - < /dev/null | grep -v __STDC__ | grep -v
> __REGISTER_PREFIX__ | grep -v __GNUC__ \
>         | sed 's/^\(#define \([^ ]*\) .*\)$/#undef \2\n\1/' >
> SWIG/gcc_macros.h
>      if [ "${SITEINFO_BITS}" = "64" ];then
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>



More information about the Openembedded-devel mailing list