[oe] [meta-networking][PATCH 8/9] spice: fix nativesdk build with security-flags included

Martin Jansa martin.jansa at gmail.com
Fri May 11 21:27:20 UTC 2018


On Fri, May 11, 2018 at 07:21:44PM +0000, Martin Jansa wrote:
> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

this isn't working (and isn't needed) with latest glibc changes from:
http://lists.openembedded.org/pipermail/openembedded-core/2018-May/150436.html

please drop this one from the series


Instead of this I had to add:
# git/server/event-loop.c:146:42: error: cast between incompatible function types from 'gboolean (*)(GIOChannel *, GIOCondition,  void *)' {aka 'int (*)(struct _GIOChannel *, enum <anonymous>,  void *)'} to 'gboolean (*)(void *)' {aka 'int (*)(void *)'} [-Werror=cast-function-type]
EXTRA_OECONF_append_class-nativesdk = " --disable-werror"

as temporary work around to test nativesdk-spice with gcc-8.1.

> ---
>  meta-networking/recipes-support/spice/spice_git.bb | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/meta-networking/recipes-support/spice/spice_git.bb b/meta-networking/recipes-support/spice/spice_git.bb
> index 1b65d6fd72..257159f374 100644
> --- a/meta-networking/recipes-support/spice/spice_git.bb
> +++ b/meta-networking/recipes-support/spice/spice_git.bb
> @@ -35,6 +35,10 @@ inherit autotools gettext pythonnative python-dir pkgconfig
>  DEPENDS += "spice-protocol jpeg pixman alsa-lib glib-2.0 python-pyparsing-native python-six-native glib-2.0-native"
>  DEPENDS_append_class-nativesdk = "nativesdk-openssl"
>  
> +# Otherwise nativesdk-spice fails like this:
> +# http://errors.yoctoproject.org/Errors/Details/164866/
> +LDFLAGS_append_class-nativesdk = " -lssp"
> +
>  export PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python"
>  export PYTHONPATH="${PKG_CONFIG_SYSROOT_DIR}${libdir}/python2.7/site-packages"
>  
> -- 
> 2.17.0
> 

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20180511/ca07e61b/attachment-0002.sig>


More information about the Openembedded-devel mailing list