[oe] [PATCH 8/8] spice: Drop broken native

Martin Jansa martin.jansa at gmail.com
Thu Sep 26 16:24:28 UTC 2019


I assume it was failing for you with:

cc1: error: -Werror=address-of-packed-member: no option
-Waddress-of-packed-member

I'll send revert of this change and new change to
append -Wno-error=address-of-packed-member only for target:
CFLAGS_append_class-target = " -Wno-error=address-of-packed-member"

Please test it and report back if it works for you.

On Thu, Sep 26, 2019 at 5:44 PM Martin Jansa <martin.jansa at gmail.com> wrote:

> Can you check config.log to see what is broken on your native compiler?
>
> It was building fine for me and it's dependency of qemu-native when spice
> PACKAGECONFIG is enabled, so I would say it's still useful.
>
> Maybe your host has really old gcc or something?
>
> On Wed, Sep 25, 2019 at 11:36 AM Robert Yang <liezhi.yang at windriver.com>
> wrote:
>
>> $ bitbake spice-native
>> checking whether the C compiler works... no
>> configure: error: in
>> `/path/to/spice-native/0.14.2+gitAUTOINC+7cbd70b931_4fc4c2db36-r0/build':
>> configure: error: C compiler cannot create executables
>>
>> It's a broken native recipe which means no ones need it any more, so
>> remove it.
>>
>> Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
>> ---
>>  meta-networking/recipes-support/spice/spice_git.bb | 3 +--
>>  1 file changed, 1 insertion(+), 2 deletions(-)
>>
>> diff --git a/meta-networking/recipes-support/spice/spice_git.bb
>> b/meta-networking/recipes-support/spice/spice_git.bb
>> index 552f81d..30e939a 100644
>> --- a/meta-networking/recipes-support/spice/spice_git.bb
>> +++ b/meta-networking/recipes-support/spice/spice_git.bb
>> @@ -39,7 +39,6 @@ export
>> PYTHONPATH="${PKG_CONFIG_SYSROOT_DIR}${libdir}/python2.7/site-packages"
>>
>>  CFLAGS_append = " -Wno-error=address-of-packed-member"
>>
>> -PACKAGECONFIG_class-native = ""
>>  PACKAGECONFIG_class-nativesdk = ""
>>  PACKAGECONFIG ?= "sasl"
>>
>> @@ -54,6 +53,6 @@ PACKAGECONFIG[xinerama] =
>> "--enable-xinerama,--disable-xinerama,libxinerama,"
>>
>>  COMPATIBLE_HOST = '(x86_64|i.86).*-linux'
>>
>> -BBCLASSEXTEND = "native nativesdk"
>> +BBCLASSEXTEND = "nativesdk"
>>
>>  EXTRA_OECONF_append_toolchain-clang = " --disable-werror"
>> --
>> 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