Robert Yang : dbus-native: dbus-native: do_compile failed on selinux.c on CentOS 5.10
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 8 lines · On Tue, Jun 17, 2014 at 07:59:59AM +0000, [email protected] wrote:
Module: openembedded-core.git Branch: master Commit: 7a2d2d81d8694806060f7bccfbdba42dc356d477 URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=7a2d2d81d8694806060f7bccfbdba42dc356d477Author: Robert Yang <[email protected]> Date: Mon May 26 21:39:46 2014 -0400
Quoted 6 lines
dbus-native: dbus-native:
do_compilefailed onselinux.con CentOS 5.10Found 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
Quoted 30 lines
[YOCTO #6374]
Signed-off-by Robert Yang <[email protected]>Signed-off-by Richard Purdie <[email protected]>---
meta/recipes-core/dbus/dbus.inc | 2 ++ 1 file changed, 2 insertions(+)meta/recipes-core/dbus/dbus.inc +2
-0@@ -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 = ""Signature · 5 lines
-- _______________________________________________ Openembedded-commits mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-commits
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Sorry, I sent another patch to fix it.
// Robert
Quoted 92 lines · Martin Jansa
Quoted 8 lines · On Tue, Jun 17, 2014 at 07:59:59AM +0000, [email protected] wrote:
Module: openembedded-core.git Branch: master Commit: 7a2d2d81d8694806060f7bccfbdba42dc356d477 URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=7a2d2d81d8694806060f7bccfbdba42dc356d477Author: Robert Yang <[email protected]> Date: Mon May 26 21:39:46 2014 -0400Quoted 6 lines
dbus-native: dbus-native:
do_compilefailed onselinux.con CentOS 5.10Found 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 typeThis 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: FailedQuoted 30 lines
[YOCTO #6374]
Signed-off-by Robert Yang <[email protected]>Signed-off-by Richard Purdie <[email protected]>---
meta/recipes-core/dbus/dbus.inc | 2 ++ 1 file changed, 2 insertions(+)meta/recipes-core/dbus/dbus.inc +2
-1@@ -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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-commits