[OE-core] [oe-commits] Robert Yang : dbus-native: dbus-native: do_compile failed on selinux.c on CentOS 5.10

Martin Jansa martin.jansa at gmail.com
Wed Jun 18 08:03:42 UTC 2014


On Tue, Jun 17, 2014 at 07:59:59AM +0000, git at 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 at 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 at windriver.com>
> Signed-off-by: Richard Purdie <richard.purdie at 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 at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-commits

-- 
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: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140618/a7c3d0e9/attachment-0002.sig>


More information about the Openembedded-core mailing list