Openembedded Core Discussions
 help / color / mirror / Atom feed
* Re: [oe-commits] Robert Yang : dbus-native: dbus-native: do_compile failed on selinux.c on CentOS 5.10
       [not found] <20140617075959.D3DE350478@opal.openembedded.org>
@ 2014-06-18  8:03 ` Martin Jansa
  2014-06-18  8:28   ` Robert Yang
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Jansa @ 2014-06-18  8:03 UTC (permalink / raw)
  To: openembedded-core, Robert Yang; +Cc: openembedded-commits

[-- Attachment #1: Type: text/plain, Size: 4589 bytes --]

On Tue, Jun 17, 2014 at 07:59:59AM +0000, git@git.openembedded.org wrote:
> Module: openembedded-core.git
> Branch: master
> Commit: 7a2d2d81d8694806060f7bccfbdba42dc356d477
> URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=7a2d2d81d8694806060f7bccfbdba42dc356d477
> 
> Author: Robert Yang <liezhi.yang@windriver.com>
> Date:   Mon May 26 21:39:46 2014 -0400
> 
> dbus-native: dbus-native: do_compile failed on selinux.c on CentOS 5.10
> 
> Found this error on CentOS 5.10, other distros may also has this
> problem, I think that we can disable the selinux for dbus-native:
> 
> bus/selinux.c:327: error: array type has incomplete element type

This actually breaks dbus-native compilation for others, because it enables docs

| xmlto: xmllint validation tool not found or not executable.
| xmlto: Skipping validation...  Please make sure xmllint is installed.
| xmlto: Can't continue, xsltproc tool not found or not executable.
| make[2]: *** [dbus-monitor.1] Error 3
| make[2]: *** Waiting for unfinished jobs....
| xmlto: xmllint validation tool not found or not executable.
| xmlto: Skipping validation...  Please make sure xmllint is installed.
| xmlto: xmllint validation tool not found or not executable.
| xmlto: Skipping validation...  Please make sure xmllint is installed.
| xmlto: xmllint validation tool not found or not executable.
| xmlto: Skipping validation...  Please make sure xmllint is installed.
| xmlto: Can't continue, xsltproc tool not found or not executable.
| xmlto: Can't continue, xsltproc tool not found or not executable.
| xmlto: Can't continue, xsltproc tool not found or not executable.
| xmlto: xmllint validation tool not found or not executable.
| xmlto: Skipping validation...  Please make sure xmllint is installed.
| xmlto: xmllint validation tool not found or not executable.
| xmlto: Skipping validation...  Please make sure xmllint is installed.
| xmlto: Can't continue, xsltproc tool not found or not executable.
| make[2]: *** [dbus-faq.html] Error 3
| make[2]: *** [dbus-uuidgen.1] Error 3
| xmlto: xmllint validation tool not found or not executable.
| xmlto: Skipping validation...  Please make sure xmllint is installed.
| xmlto: Can't continue, xsltproc tool not found or not executable.
| make[2]: *** [dbus-daemon.1] Error 3
| make[2]: *** [dbus-launch.1] Error 3
| make[2]: *** [dbus-send.1] Error 3
| xmlto: Can't continue, xsltproc tool not found or not executable.
| xmlto: xmllint validation tool not found or not executable.
| xmlto: Skipping validation...  Please make sure xmllint is installed.
| xmlto: Can't continue, xsltproc tool not found or not executable.
| make[2]: *** [dbus-cleanup-sockets.1] Error 3
| make[2]: *** [dbus-run-session.1] Error 3
| make[2]: Leaving directory `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/x86_64-linux/dbus-native/1.8.2-r0/build/doc'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/x86_64-linux/dbus-native/1.8.2-r0/build'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/x86_64-linux/dbus-native/1.8.2-r0/temp/log.do_compile.2550)
NOTE: recipe dbus-native-1.8.2-r0: task do_compile: Failed


> 
> [YOCTO #6374]
> 
> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> 
> ---
> 
>  meta/recipes-core/dbus/dbus.inc | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
> index 5b2a056..01108c9 100644
> --- a/meta/recipes-core/dbus/dbus.inc
> +++ b/meta/recipes-core/dbus/dbus.inc
> @@ -86,6 +86,8 @@ EXTRA_OECONF = "--disable-tests \
>                  --disable-systemd \
>                  --without-dbus-glib"
>  
> +EXTRA_OECONF_class-native = "--disable-selinux"
> +
>  PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
>                     ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
>  PACKAGECONFIG_class-native = ""
> 
> -- 
> _______________________________________________
> Openembedded-commits mailing list
> Openembedded-commits@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-commits

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [oe-commits] Robert Yang : dbus-native: dbus-native: do_compile failed on selinux.c on CentOS 5.10
  2014-06-18  8:03 ` [oe-commits] Robert Yang : dbus-native: dbus-native: do_compile failed on selinux.c on CentOS 5.10 Martin Jansa
@ 2014-06-18  8:28   ` Robert Yang
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Yang @ 2014-06-18  8:28 UTC (permalink / raw)
  To: Martin Jansa, openembedded-core; +Cc: openembedded-commits


Sorry, I sent another patch to fix it.

// Robert

On 06/18/2014 04:03 PM, Martin Jansa wrote:
> On Tue, Jun 17, 2014 at 07:59:59AM +0000, git@git.openembedded.org wrote:
>> Module: openembedded-core.git
>> Branch: master
>> Commit: 7a2d2d81d8694806060f7bccfbdba42dc356d477
>> URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=7a2d2d81d8694806060f7bccfbdba42dc356d477
>>
>> Author: Robert Yang <liezhi.yang@windriver.com>
>> Date:   Mon May 26 21:39:46 2014 -0400
>>
>> dbus-native: dbus-native: do_compile failed on selinux.c on CentOS 5.10
>>
>> Found this error on CentOS 5.10, other distros may also has this
>> problem, I think that we can disable the selinux for dbus-native:
>>
>> bus/selinux.c:327: error: array type has incomplete element type
>
> This actually breaks dbus-native compilation for others, because it enables docs
>
> | xmlto: xmllint validation tool not found or not executable.
> | xmlto: Skipping validation...  Please make sure xmllint is installed.
> | xmlto: Can't continue, xsltproc tool not found or not executable.
> | make[2]: *** [dbus-monitor.1] Error 3
> | make[2]: *** Waiting for unfinished jobs....
> | xmlto: xmllint validation tool not found or not executable.
> | xmlto: Skipping validation...  Please make sure xmllint is installed.
> | xmlto: xmllint validation tool not found or not executable.
> | xmlto: Skipping validation...  Please make sure xmllint is installed.
> | xmlto: xmllint validation tool not found or not executable.
> | xmlto: Skipping validation...  Please make sure xmllint is installed.
> | xmlto: Can't continue, xsltproc tool not found or not executable.
> | xmlto: Can't continue, xsltproc tool not found or not executable.
> | xmlto: Can't continue, xsltproc tool not found or not executable.
> | xmlto: xmllint validation tool not found or not executable.
> | xmlto: Skipping validation...  Please make sure xmllint is installed.
> | xmlto: xmllint validation tool not found or not executable.
> | xmlto: Skipping validation...  Please make sure xmllint is installed.
> | xmlto: Can't continue, xsltproc tool not found or not executable.
> | make[2]: *** [dbus-faq.html] Error 3
> | make[2]: *** [dbus-uuidgen.1] Error 3
> | xmlto: xmllint validation tool not found or not executable.
> | xmlto: Skipping validation...  Please make sure xmllint is installed.
> | xmlto: Can't continue, xsltproc tool not found or not executable.
> | make[2]: *** [dbus-daemon.1] Error 3
> | make[2]: *** [dbus-launch.1] Error 3
> | make[2]: *** [dbus-send.1] Error 3
> | xmlto: Can't continue, xsltproc tool not found or not executable.
> | xmlto: xmllint validation tool not found or not executable.
> | xmlto: Skipping validation...  Please make sure xmllint is installed.
> | xmlto: Can't continue, xsltproc tool not found or not executable.
> | make[2]: *** [dbus-cleanup-sockets.1] Error 3
> | make[2]: *** [dbus-run-session.1] Error 3
> | make[2]: Leaving directory `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/x86_64-linux/dbus-native/1.8.2-r0/build/doc'
> | make[1]: *** [all-recursive] Error 1
> | make[1]: Leaving directory `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/x86_64-linux/dbus-native/1.8.2-r0/build'
> | make: *** [all] Error 2
> | ERROR: oe_runmake failed
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_compile (log file is located at /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/x86_64-linux/dbus-native/1.8.2-r0/temp/log.do_compile.2550)
> NOTE: recipe dbus-native-1.8.2-r0: task do_compile: Failed
>
>
>>
>> [YOCTO #6374]
>>
>> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
>> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>>
>> ---
>>
>>   meta/recipes-core/dbus/dbus.inc | 2 ++
>>   1 file changed, 2 insertions(+)
>>
>> diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
>> index 5b2a056..01108c9 100644
>> --- a/meta/recipes-core/dbus/dbus.inc
>> +++ b/meta/recipes-core/dbus/dbus.inc
>> @@ -86,6 +86,8 @@ EXTRA_OECONF = "--disable-tests \
>>                   --disable-systemd \
>>                   --without-dbus-glib"
>>
>> +EXTRA_OECONF_class-native = "--disable-selinux"
>> +
>>   PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
>>                      ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
>>   PACKAGECONFIG_class-native = ""
>>
>> --
>> _______________________________________________
>> Openembedded-commits mailing list
>> Openembedded-commits@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-commits
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-18  8:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20140617075959.D3DE350478@opal.openembedded.org>
2014-06-18  8:03 ` [oe-commits] Robert Yang : dbus-native: dbus-native: do_compile failed on selinux.c on CentOS 5.10 Martin Jansa
2014-06-18  8:28   ` Robert Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox