* [meta-cgl][PATCH] cluster-glue: upgrade 1.0.5 -> 1.0.12
@ 2015-08-19 2:37 Li xin
2015-08-19 3:16 ` Jagadeesh Krishnanjanappa
0 siblings, 1 reply; 11+ messages in thread
From: Li xin @ 2015-08-19 2:37 UTC (permalink / raw)
To: yocto
* Add patch to aviod build Error and Warning.
--0001-don-t-compile-doc-and-Error-Fix.patch
--0001-ribcl.py.in-Warning-Fix.patch
* Dropped backported patch:
--fix-const-cast.patch
--glue-remove-getpid-check.patch
--glue-repair-deprecated-glib-support.patch
--glue-repair-libxml-support.patch
Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
---
.../0001-don-t-compile-doc-and-Error-Fix.patch | 50 ++++++++++
.../0001-ribcl.py.in-Warning-Fix.patch | 34 +++++++
.../cluster-glue/cluster-glue/fix-const-cast.patch | 103 ---------------------
.../cluster-glue/glue-remove-getpid-check.patch | 31 -------
.../glue-repair-deprecated-glib-support.patch | 12 ---
.../cluster-glue/glue-repair-libxml-support.patch | 14 ---
...luster-glue_1.0.5.bb => cluster-glue_1.0.12.bb} | 26 ++++--
7 files changed, 100 insertions(+), 170 deletions(-)
create mode 100644 meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-compile-doc-and-Error-Fix.patch
create mode 100644 meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.py.in-Warning-Fix.patch
delete mode 100644 meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast.patch
delete mode 100644 meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-getpid-check.patch
delete mode 100644 meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-deprecated-glib-support.patch
delete mode 100644 meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-libxml-support.patch
rename meta-cgl-common/recipes-cgl/cluster-glue/{cluster-glue_1.0.5.bb => cluster-glue_1.0.12.bb} (83%)
diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-compile-doc-and-Error-Fix.patch b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-compile-doc-and-Error-Fix.patch
new file mode 100644
index 0000000..471b1e4
--- /dev/null
+++ b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-compile-doc-and-Error-Fix.patch
@@ -0,0 +1,50 @@
+From b64b676f7abf896ca714341eb330099f2ff04213 Mon Sep 17 00:00:00 2001
+From: Li xin <lixin.fnst@cn.fujitsu.com>
+Date: Tue, 18 Aug 2015 17:43:29 +0900
+Subject: [PATCH] don't compile doc and Error Fix
+
+| help2man: can't get `--help' info from ../../lrm/admin/lrmadmin
+| make[2]: *** [lrmadmin.8] Error 1
+
+| make[2]: a2x: Command not found
+| /usr/bin/xsltproc \
+| --xinclude \
+| http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl ha_logd.xml
+| make[2]: *** [hb_report.8] Error 127
+
+Upstream-Status: pending
+
+Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
+---
+ Makefile.am | 2 +-
+ configure.ac | 6 ++++++
+ lrm/admin/Makefile.am | 2 +-
+ 3 files changed, 8 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 93dbaf6..2f4d03b 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -23,7 +23,7 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure DRF/config-h.in \
+ DRF/stamp-h.in libtool.m4 ltdl.m4 libltdl.tar
+
+ SUBDIRS = include $(LIBLTDL_DIR) replace lib lrm logd \
+- hb_report doc config
++ hb_report config
+
+ install-exec-local:
+ $(INSTALL) -d $(DESTDIR)/$(HA_COREDIR)
+diff --git a/lrm/admin/Makefile.am b/lrm/admin/Makefile.am
+index a92cd72..ed938e0 100644
+--- a/lrm/admin/Makefile.am
++++ b/lrm/admin/Makefile.am
+@@ -36,5 +36,5 @@ man8_MANS = $(sbin_PROGRAMS:%=%.8)
+ %.8: %
+ echo Creating $@
+ chmod a+x $<
+- help2man --output $@ --no-info --section 8 --name "Part of the Linux-HA project" $(top_builddir)/lrm/admin/$<
++ help2man --output $@ --no-info --section 8 --name "Part of the Linux-HA project" /usr/sbin/$<
+ endif
+--
+1.8.4.2
+
diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.py.in-Warning-Fix.patch b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.py.in-Warning-Fix.patch
new file mode 100644
index 0000000..31010d4
--- /dev/null
+++ b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.py.in-Warning-Fix.patch
@@ -0,0 +1,34 @@
+From a2c66927b75547cee1db1340a67449ded0812df3 Mon Sep 17 00:00:00 2001
+From: Li xin <lixin.fnst@cn.fujitsu.com>
+Date: Wed, 19 Aug 2015 11:13:46 +0900
+Subject: [PATCH] ribcl.py.in: Warning Fix
+
+WARNING: QA Issue: /usr/lib/stonith/plugins/stonith2/ribcl.py_cluster-glue-plugin-stonith2-ribcl
+contained in package cluster-glue-plugin-stonith2-ribcl requires /usr/local/bin/python,
+but no providers found in its RDEPENDS [file-rdeps]
+
+Add target python handling
+Allow the build to specify a path for the python instead of reusing
+the PYTHON variable which can lead to inconsistencies if we are cross
+compiling.
+
+Upstream-Status: pending
+
+Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
+---
+ lib/plugins/stonith/ribcl.py.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/plugins/stonith/ribcl.py.in b/lib/plugins/stonith/ribcl.py.in
+index 14e070c..01205e3 100644
+--- a/lib/plugins/stonith/ribcl.py.in
++++ b/lib/plugins/stonith/ribcl.py.in
+@@ -1,4 +1,4 @@
+-#!@PYTHON@
++#!@TRAGET_PYTHON@
+
+
+ #
+--
+1.8.4.2
+
diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast.patch b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast.patch
deleted file mode 100644
index 6de65bf..0000000
--- a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast.patch
+++ /dev/null
@@ -1,103 +0,0 @@
-This patch gets rid of new warning introduced with gcc 4.5
-Warning is explained here
-http://gcc.gnu.org/viewcvs/trunk/gcc/doc/invoke.texi?r1=148037&r2=148053&diff_format=h
-
--Khem
--updated by Alexandru Vaduva - patch needed redone
-
-diff -Naur a/lib/plugins/stonith/apcsmart.c b/lib/plugins/stonith/apcsmart.c
---- a/lib/plugins/stonith/apcsmart.c 2014-07-09 17:14:24.492455034 +0200
-+++ b/lib/plugins/stonith/apcsmart.c 2014-07-09 17:15:03.386817399 +0200
-@@ -719,7 +719,7 @@
- }
- ERRIFNOTCONFIGED(s,NULL);
-
-- return OurImports->CopyHostList((const char **)ad->hostlist);
-+ return OurImports->CopyHostList(CONST_CAST(ad->hostlist));
- }
-
- static gboolean
-diff -Naur a/lib/plugins/stonith/external.c b/lib/plugins/stonith/external.c
---- a/lib/plugins/stonith/external.c 2014-07-09 17:15:28.661753145 +0200
-+++ b/lib/plugins/stonith/external.c 2014-07-09 17:17:03.873743634 +0200
-@@ -540,7 +540,7 @@
- sd->confignames[dircount] = NULL;
- }
-
-- return (const char **)sd->confignames;
-+ return CONST_CAST(sd->confignames);
- }
-
- /*
-diff -Naur a/lib/plugins/stonith/meatware.c b/lib/plugins/stonith/meatware.c
---- a/lib/plugins/stonith/meatware.c 2014-07-09 17:18:47.597375001 +0200
-+++ b/lib/plugins/stonith/meatware.c 2014-07-09 17:19:35.943338541 +0200
-@@ -136,7 +136,7 @@
- return(NULL);
- }
-
-- return OurImports->CopyHostList((const char **)nd->hostlist);
-+ return OurImports->CopyHostList(CONST_CAST(nd->hostlist));
- }
-
- /*
-diff -Naur a/lib/plugins/stonith/null.c b/lib/plugins/stonith/null.c
---- a/lib/plugins/stonith/null.c 2014-07-09 17:20:12.389803230 +0200
-+++ b/lib/plugins/stonith/null.c 2014-07-09 17:20:55.156001606 +0200
-@@ -126,7 +126,7 @@
- struct pluginDevice* nd = (struct pluginDevice*)s;
-
- ERRIFWRONGDEV(s, NULL);
-- return OurImports->CopyHostList((const char**)nd->hostlist);
-+ return OurImports->CopyHostList(CONST_CAST(nd->hostlist));
- }
-
-
-diff -Naur a/lib/plugins/stonith/rcd_serial.c b/lib/plugins/stonith/rcd_serial.c
---- a/lib/plugins/stonith/rcd_serial.c 2014-07-09 17:21:12.603266573 +0200
-+++ b/lib/plugins/stonith/rcd_serial.c 2014-07-09 17:21:56.341423862 +0200
-@@ -347,7 +347,7 @@
- return(NULL);
- }
-
-- return OurImports->CopyHostList((const char **)rcd->hostlist);
-+ return OurImports->CopyHostList(CONST_CAST(rcd->hostlist));
- }
-
- /*
-diff -Naur a/lib/plugins/stonith/rhcs.c b/lib/plugins/stonith/rhcs.c
---- a/lib/plugins/stonith/rhcs.c 2014-07-09 17:17:27.652742171 +0200
-+++ b/lib/plugins/stonith/rhcs.c 2014-07-09 17:18:18.562597957 +0200
-@@ -703,7 +703,7 @@
- sd->confignames[dircount] = NULL;
- }
-
-- return (const char **)sd->confignames;
-+ return CONST_CAST(sd->confignames);
- }
-
- /*
-diff -Naur a/lib/plugins/stonith/ssh.c b/lib/plugins/stonith/ssh.c
---- a/lib/plugins/stonith/ssh.c 2014-07-09 17:22:15.320624229 +0200
-+++ b/lib/plugins/stonith/ssh.c 2014-07-09 17:22:53.499015642 +0200
-@@ -161,7 +161,7 @@
- return(NULL);
- }
-
-- return OurImports->CopyHostList((const char **)sd->hostlist);
-+ return OurImports->CopyHostList(CONST_CAST(sd->hostlist));
- }
-
-
-diff -Naur a/lib/plugins/stonith/stonith_plugin_common.h b/lib/plugins/stonith/stonith_plugin_common.h
---- a/lib/plugins/stonith/stonith_plugin_common.h 2014-07-09 17:23:16.954027367 +0200
-+++ b/lib/plugins/stonith/stonith_plugin_common.h 2014-07-09 17:24:38.538609129 +0200
-@@ -123,5 +123,8 @@
- return; \
- }
-
-+#define CONST_CAST(s) \
-+ (__extension__(union {char ** a; const char** b;})(s)).b
-+
- #endif
-
diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-getpid-check.patch b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-getpid-check.patch
deleted file mode 100644
index 30f422c..0000000
--- a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-getpid-check.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-diff -Naur a/configure.ac b/configure.ac
---- a/configure.ac 2014-07-09 17:05:51.602037193 +0200
-+++ b/configure.ac 2014-07-09 17:08:44.566761961 +0200
-@@ -441,24 +441,9 @@
- AC_MSG_RESULT($BUILD_VERSION)
- AC_SUBST(BUILD_VERSION)
-
--
--dnl check if there are getpid() inconsistency
--dnl Note: reduce LIBS; in particular, ltdl can cause confusion.
--dnl Possibly better: move 'LIBS="$LIBS -lltdl"' from above to beyond here.
--dnl
--AC_MSG_CHECKING(for getpid() consistency in multi-process/threads program)
--ac_save_LIBS=$LIBS
--LIBS="-lpthread"
--AC_TRY_RUN(`cat $srcdir/config/pidtest.c`,
--AC_MSG_RESULT(ok),
--[AC_MSG_RESULT(fail); AC_DEFINE(GETPID_INCONSISTENT, 1 , [pid inconsistent])],)
--LIBS=$ac_save_LIBS
--
--dnl check byte order
--AC_MSG_CHECKING(for byteorder)
--AC_TRY_RUN(`cat $srcdir/config/byteorder_test.c`,
--[AC_MSG_RESULT(little-endian); AC_DEFINE(CONFIG_LITTLE_ENDIAN, 1, [little-endian])],
--[AC_MSG_RESULT(big-endian); AC_DEFINE(CONFIG_BIG_ENDIAN, 1, [big-endian])],)
-+AC_C_BIGENDIAN(
-+ [AC_DEFINE(CONFIG_BIG_ENDIAN, 1, [big])],
-+ [AC_DEFINE(CONFIG_LITTLE_ENDIAN, 1, [little])])
-
-
- dnl ===============================================
diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-deprecated-glib-support.patch b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-deprecated-glib-support.patch
deleted file mode 100644
index 16fc679..0000000
--- a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-deprecated-glib-support.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur a/include/clplumbing/cl_uuid.h b/include/clplumbing/cl_uuid.h
---- a/include/clplumbing/cl_uuid.h 2014-07-14 14:25:24.127378762 +0200
-+++ b/include/clplumbing/cl_uuid.h 2014-07-14 14:23:32.120193782 +0200
-@@ -16,7 +16,7 @@
-
- #ifndef _CL_UUID_H_
- #define _CL_UUID_H_
--#include <glib/gtypes.h>
-+#include <glib.h>
-
- typedef struct cl_uuid_s{
- unsigned char uuid[16];
diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-libxml-support.patch b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-libxml-support.patch
deleted file mode 100644
index a436575..0000000
--- a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-libxml-support.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -Naur a/configure.ac b/configure.ac
---- a/configure.ac 2014-07-14 13:02:42.016652860 +0200
-+++ b/configure.ac 2014-07-14 13:03:59.585322332 +0200
-@@ -679,8 +679,8 @@
-
- CPPFLAGS="$CPPFLAGS $XML2HEAD"
-
--AC_CHECK_HEADERS(libxml/xpath.h)
--if test "$ac_cv_header_libxml_xpath_h" != "yes"; then
-+AC_CHECK_HEADERS(libxml2/libxml/xpath.h)
-+if test x"$ac_cv_header_libxml2_libxml_xpath_h" != x"yes"; then
- AC_MSG_ERROR(The libxml developement headers were not found)
- fi
-
diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.5.bb b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb
similarity index 83%
rename from meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.5.bb
rename to meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb
index f1b4a78..50dfded 100644
--- a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.5.bb
+++ b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb
@@ -7,21 +7,20 @@ LICENSE = "GPLv2"
DEPENDS = "libxml2 libtool glib-2.0 bzip2 util-linux net-snmp openhpi"
SRC_URI = " \
- http://hg.linux-ha.org/glue/archive/glue-${PV}.tar.bz2 \
- file://glue-repair-libxml-support.patch \
- file://glue-repair-deprecated-glib-support.patch \
- file://glue-remove-getpid-check.patch \
- file://fix-const-cast.patch \
+ http://hg.linux-ha.org/glue/archive/glue-${PV}.tar.bz2 \
+ file://0001-don-t-compile-doc-and-Error-Fix.patch \
+ file://0001-ribcl.py.in-Warning-Fix.patch \
file://volatiles \
file://tmpfiles \
- "
+"
SRC_URI_append_libc-uclibc = " file://kill-stack-protector.patch"
-SRC_URI[md5sum] = "d2b6f798e58ef2497526e404b8ad640a"
-SRC_URI[sha256sum] = "0e1922373aba1c3811f6ef61559a9c407c0bec71d2ebc451a4db5b940ded8ec0"
+
+SRC_URI[md5sum] = "ec620466d6f23affa3b074b72bca7870"
+SRC_URI[sha256sum] = "feba102fa1e24b6be2005089ebe362b82d6567af60005cf371679b1b44ec503f"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.GPLv2;md5=751419260aa954499f7abaabaa882bbe"
-inherit autotools useradd
+inherit autotools useradd pkgconfig
S = "${WORKDIR}/Reusable-Cluster-Components-glue--glue-${PV}"
@@ -70,6 +69,9 @@ PACKAGES += "\
${PN}-plugin-interfacemgr-dbg \
${PN}-plugin-interfacemgr-staticdev \
${PN}-lrmtest \
+ ${PN}-plugin-compress \
+ ${PN}-plugin-compress-dbg \
+ ${PN}-plugin-compress-staticdev \
"
FILES_${PN} = "/etc/ /var /usr/lib/lib*.so.* /usr/sbin /usr/share/cluster-glue/*sh /usr/share/cluster-glue/*pl\
@@ -83,7 +85,11 @@ FILES_${PN} = "/etc/ /var /usr/lib/lib*.so.* /usr/sbin /usr/share/cluster-glue/*
/usr/lib/heartbeat/lrmd \
"
-FILES_${PN}-dbg += "/usr/lib/heartbeat/.debug/"
+FILES_${PN}-dbg += "/usr/lib/heartbeat/.debug/ \
+ "
+FILES_${PN}-plugin-compress = "/usr/lib/heartbeat/plugins/compress/*.so"
+FILES_${PN}-plugin-compress-staticdev = "/usr/lib/heartbeat/plugins/compress/*.*a"
+FILES_${PN}-plugin-compress-dbg = "/usr/lib/heartbeat/plugins/compress/.debug/"
FILES_${PN}-plugin-test = "/usr/lib/heartbeat/plugins/test/test.so"
FILES_${PN}-plugin-test-staticdev = "/usr/lib/heartbeat/plugins/test/test.*a"
--
1.8.4.2
^ permalink raw reply related [flat|nested] 11+ messages in thread* Re: [meta-cgl][PATCH] cluster-glue: upgrade 1.0.5 -> 1.0.12 2015-08-19 2:37 [meta-cgl][PATCH] cluster-glue: upgrade 1.0.5 -> 1.0.12 Li xin @ 2015-08-19 3:16 ` Jagadeesh Krishnanjanappa 2015-08-19 3:29 ` Li, Xin 0 siblings, 1 reply; 11+ messages in thread From: Jagadeesh Krishnanjanappa @ 2015-08-19 3:16 UTC (permalink / raw) To: Li xin; +Cc: yocto [-- Attachment #1: Type: text/plain, Size: 2096 bytes --] Hi Li, -FILES_${PN}-dbg += "/usr/lib/heartbeat/.debug/" > +FILES_${PN}-dbg += "/usr/lib/heartbeat/.debug/ \ > + " > +FILES_${PN}-plugin-compress = "/usr/lib/heartbeat/plugins/compress/*.so" > +FILES_${PN}-plugin-compress-staticdev = > "/usr/lib/heartbeat/plugins/compress/*.*a" > +FILES_${PN}-plugin-compress-dbg = > "/usr/lib/heartbeat/plugins/compress/.debug/" > > FILES_${PN}-plugin-test = "/usr/lib/heartbeat/plugins/test/test.so" > FILES_${PN}-plugin-test-staticdev = > "/usr/lib/heartbeat/plugins/test/test.*a" > It would be useful to replace the hardcoded strings such as "/usr/lib" to ${libdir} , in order to avoid QA warnings/errors which arise while buidling cluster-glue for multilib or if BASELIB is set to other than "lib" Example: -- snip -- ERROR: QA Issue: cluster-glue: Files/directories were installed but not shipped in any package: /usr/lib64/libstonith.so.1.0.0 /usr/lib64/libplumb.so.2 /usr/lib64/libpils.so.2 /usr/lib64/libplumb.so.2.0.0 /usr/lib64/libpils.so.2.0.0 /usr/lib64/liblrm.so.2 /usr/lib64/libstonith.so.1 /usr/lib64/libplumbgpl.so.2 /usr/lib64/libplumbgpl.so.2.0.0 /usr/lib64/liblrm.so.2.0.0 -- CUT -- Also, If bitbake fails to find these files not being provided by any RPMs/DPKs, then we get below error during do_rootfs; -- snip -- ERROR: Unable to install packages. Command '/opt/poky/build/tmp/sysroots/x86_64-linux/usr/bin/smart --log-level=warning --data-dir=/opt/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs/var/lib/smart install -y cluster-glue@core2_64 run-postinsts@all packagegroup-core-boot@qemux86_64' returned 1: Loading cache... Updating cache... ######################################## [100%] Computing transaction...error: Can't install cluster-glue-1.0.5-r0@core2_64: no package provides libstonith.so.1()(64bit) -- CUT -- Regards, Jagadeesh _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > [-- Attachment #2: Type: text/html, Size: 3140 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [meta-cgl][PATCH] cluster-glue: upgrade 1.0.5 -> 1.0.12 2015-08-19 3:16 ` Jagadeesh Krishnanjanappa @ 2015-08-19 3:29 ` Li, Xin 2015-08-19 5:03 ` [meta-cgl][PATCH v2] " Li xin 0 siblings, 1 reply; 11+ messages in thread From: Li, Xin @ 2015-08-19 3:29 UTC (permalink / raw) To: Jagadeesh Krishnanjanappa; +Cc: yocto@yoctoproject.org [-- Attachment #1: Type: text/plain, Size: 2439 bytes --] Hi,Jagadeesh, Thanks a lot. Patch V2 will be sent. Regards, Li From: Jagadeesh Krishnanjanappa [mailto:jkrishnanjanappa@mvista.com] Sent: Wednesday, August 19, 2015 11:16 AM To: Li, Xin/李 欣 Cc: yocto@yoctoproject.org Subject: Re: [yocto] [meta-cgl][PATCH] cluster-glue: upgrade 1.0.5 -> 1.0.12 Hi Li, -FILES_${PN}-dbg += "/usr/lib/heartbeat/.debug/" +FILES_${PN}-dbg += "/usr/lib/heartbeat/.debug/ \ + " +FILES_${PN}-plugin-compress = "/usr/lib/heartbeat/plugins/compress/*.so" +FILES_${PN}-plugin-compress-staticdev = "/usr/lib/heartbeat/plugins/compress/*.*a" +FILES_${PN}-plugin-compress-dbg = "/usr/lib/heartbeat/plugins/compress/.debug/" FILES_${PN}-plugin-test = "/usr/lib/heartbeat/plugins/test/test.so" FILES_${PN}-plugin-test-staticdev = "/usr/lib/heartbeat/plugins/test/test.*a" It would be useful to replace the hardcoded strings such as "/usr/lib" to ${libdir} , in order to avoid QA warnings/errors which arise while buidling cluster-glue for multilib or if BASELIB is set to other than "lib" Example: -- snip -- ERROR: QA Issue: cluster-glue: Files/directories were installed but not shipped in any package: /usr/lib64/libstonith.so.1.0.0 /usr/lib64/libplumb.so.2 /usr/lib64/libpils.so.2 /usr/lib64/libplumb.so.2.0.0 /usr/lib64/libpils.so.2.0.0 /usr/lib64/liblrm.so.2 /usr/lib64/libstonith.so.1 /usr/lib64/libplumbgpl.so.2 /usr/lib64/libplumbgpl.so.2.0.0 /usr/lib64/liblrm.so.2.0.0 -- CUT -- Also, If bitbake fails to find these files not being provided by any RPMs/DPKs, then we get below error during do_rootfs; -- snip -- ERROR: Unable to install packages. Command '/opt/poky/build/tmp/sysroots/x86_64-linux/usr/bin/smart --log-level=warning --data-dir=/opt/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs/var/lib/smart install -y cluster-glue@core2_64 run-postinsts@all packagegroup-core-boot@qemux86_64' returned 1: Loading cache... Updating cache... ######################################## [100%] Computing transaction...error: Can't install cluster-glue-1.0.5-r0@core2_64<mailto:cluster-glue-1.0.5-r0@core2_64>: no package provides libstonith.so.1()(64bit) -- CUT -- Regards, Jagadeesh _______________________________________________ yocto mailing list yocto@yoctoproject.org<mailto:yocto@yoctoproject.org> https://lists.yoctoproject.org/listinfo/yocto [-- Attachment #2: Type: text/html, Size: 9838 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* [meta-cgl][PATCH v2] cluster-glue: upgrade 1.0.5 -> 1.0.12 2015-08-19 3:29 ` Li, Xin @ 2015-08-19 5:03 ` Li xin 2015-08-20 14:50 ` Alexandru Vaduva 0 siblings, 1 reply; 11+ messages in thread From: Li xin @ 2015-08-19 5:03 UTC (permalink / raw) To: yocto * Add patch to aviod build Error and Warning. --0001-don-t-compile-doc-and-Error-Fix.patch --0001-ribcl.py.in-Warning-Fix.patch * Dropped backported patch: --fix-const-cast.patch --glue-remove-getpid-check.patch --glue-repair-deprecated-glib-support.patch --glue-repair-libxml-support.patch * Replace the hardcoded strings "/usr/lib" "/etc/" "/usr/sbin" "/usr/share" Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> --- .../0001-don-t-compile-doc-and-Error-Fix.patch | 50 ++++++++++ .../0001-ribcl.py.in-Warning-Fix.patch | 34 +++++++ .../cluster-glue/cluster-glue/fix-const-cast.patch | 103 --------------------- .../cluster-glue/glue-remove-getpid-check.patch | 31 ------- .../glue-repair-deprecated-glib-support.patch | 12 --- .../cluster-glue/glue-repair-libxml-support.patch | 14 --- ...luster-glue_1.0.5.bb => cluster-glue_1.0.12.bb} | 76 ++++++++------- 7 files changed, 125 insertions(+), 195 deletions(-) create mode 100644 meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-compile-doc-and-Error-Fix.patch create mode 100644 meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.py.in-Warning-Fix.patch delete mode 100644 meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast.patch delete mode 100644 meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-getpid-check.patch delete mode 100644 meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-deprecated-glib-support.patch delete mode 100644 meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-libxml-support.patch rename meta-cgl-common/recipes-cgl/cluster-glue/{cluster-glue_1.0.5.bb => cluster-glue_1.0.12.bb} (49%) diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-compile-doc-and-Error-Fix.patch b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-compile-doc-and-Error-Fix.patch new file mode 100644 index 0000000..471b1e4 --- /dev/null +++ b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-compile-doc-and-Error-Fix.patch @@ -0,0 +1,50 @@ +From b64b676f7abf896ca714341eb330099f2ff04213 Mon Sep 17 00:00:00 2001 +From: Li xin <lixin.fnst@cn.fujitsu.com> +Date: Tue, 18 Aug 2015 17:43:29 +0900 +Subject: [PATCH] don't compile doc and Error Fix + +| help2man: can't get `--help' info from ../../lrm/admin/lrmadmin +| make[2]: *** [lrmadmin.8] Error 1 + +| make[2]: a2x: Command not found +| /usr/bin/xsltproc \ +| --xinclude \ +| http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl ha_logd.xml +| make[2]: *** [hb_report.8] Error 127 + +Upstream-Status: pending + +Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> +--- + Makefile.am | 2 +- + configure.ac | 6 ++++++ + lrm/admin/Makefile.am | 2 +- + 3 files changed, 8 insertions(+), 2 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index 93dbaf6..2f4d03b 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -23,7 +23,7 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure DRF/config-h.in \ + DRF/stamp-h.in libtool.m4 ltdl.m4 libltdl.tar + + SUBDIRS = include $(LIBLTDL_DIR) replace lib lrm logd \ +- hb_report doc config ++ hb_report config + + install-exec-local: + $(INSTALL) -d $(DESTDIR)/$(HA_COREDIR) +diff --git a/lrm/admin/Makefile.am b/lrm/admin/Makefile.am +index a92cd72..ed938e0 100644 +--- a/lrm/admin/Makefile.am ++++ b/lrm/admin/Makefile.am +@@ -36,5 +36,5 @@ man8_MANS = $(sbin_PROGRAMS:%=%.8) + %.8: % + echo Creating $@ + chmod a+x $< +- help2man --output $@ --no-info --section 8 --name "Part of the Linux-HA project" $(top_builddir)/lrm/admin/$< ++ help2man --output $@ --no-info --section 8 --name "Part of the Linux-HA project" /usr/sbin/$< + endif +-- +1.8.4.2 + diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.py.in-Warning-Fix.patch b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.py.in-Warning-Fix.patch new file mode 100644 index 0000000..31010d4 --- /dev/null +++ b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.py.in-Warning-Fix.patch @@ -0,0 +1,34 @@ +From a2c66927b75547cee1db1340a67449ded0812df3 Mon Sep 17 00:00:00 2001 +From: Li xin <lixin.fnst@cn.fujitsu.com> +Date: Wed, 19 Aug 2015 11:13:46 +0900 +Subject: [PATCH] ribcl.py.in: Warning Fix + +WARNING: QA Issue: /usr/lib/stonith/plugins/stonith2/ribcl.py_cluster-glue-plugin-stonith2-ribcl +contained in package cluster-glue-plugin-stonith2-ribcl requires /usr/local/bin/python, +but no providers found in its RDEPENDS [file-rdeps] + +Add target python handling +Allow the build to specify a path for the python instead of reusing +the PYTHON variable which can lead to inconsistencies if we are cross +compiling. + +Upstream-Status: pending + +Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> +--- + lib/plugins/stonith/ribcl.py.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/plugins/stonith/ribcl.py.in b/lib/plugins/stonith/ribcl.py.in +index 14e070c..01205e3 100644 +--- a/lib/plugins/stonith/ribcl.py.in ++++ b/lib/plugins/stonith/ribcl.py.in +@@ -1,4 +1,4 @@ +-#!@PYTHON@ ++#!@TRAGET_PYTHON@ + + + # +-- +1.8.4.2 + diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast.patch b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast.patch deleted file mode 100644 index 6de65bf..0000000 --- a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast.patch +++ /dev/null @@ -1,103 +0,0 @@ -This patch gets rid of new warning introduced with gcc 4.5 -Warning is explained here -http://gcc.gnu.org/viewcvs/trunk/gcc/doc/invoke.texi?r1=148037&r2=148053&diff_format=h - --Khem --updated by Alexandru Vaduva - patch needed redone - -diff -Naur a/lib/plugins/stonith/apcsmart.c b/lib/plugins/stonith/apcsmart.c ---- a/lib/plugins/stonith/apcsmart.c 2014-07-09 17:14:24.492455034 +0200 -+++ b/lib/plugins/stonith/apcsmart.c 2014-07-09 17:15:03.386817399 +0200 -@@ -719,7 +719,7 @@ - } - ERRIFNOTCONFIGED(s,NULL); - -- return OurImports->CopyHostList((const char **)ad->hostlist); -+ return OurImports->CopyHostList(CONST_CAST(ad->hostlist)); - } - - static gboolean -diff -Naur a/lib/plugins/stonith/external.c b/lib/plugins/stonith/external.c ---- a/lib/plugins/stonith/external.c 2014-07-09 17:15:28.661753145 +0200 -+++ b/lib/plugins/stonith/external.c 2014-07-09 17:17:03.873743634 +0200 -@@ -540,7 +540,7 @@ - sd->confignames[dircount] = NULL; - } - -- return (const char **)sd->confignames; -+ return CONST_CAST(sd->confignames); - } - - /* -diff -Naur a/lib/plugins/stonith/meatware.c b/lib/plugins/stonith/meatware.c ---- a/lib/plugins/stonith/meatware.c 2014-07-09 17:18:47.597375001 +0200 -+++ b/lib/plugins/stonith/meatware.c 2014-07-09 17:19:35.943338541 +0200 -@@ -136,7 +136,7 @@ - return(NULL); - } - -- return OurImports->CopyHostList((const char **)nd->hostlist); -+ return OurImports->CopyHostList(CONST_CAST(nd->hostlist)); - } - - /* -diff -Naur a/lib/plugins/stonith/null.c b/lib/plugins/stonith/null.c ---- a/lib/plugins/stonith/null.c 2014-07-09 17:20:12.389803230 +0200 -+++ b/lib/plugins/stonith/null.c 2014-07-09 17:20:55.156001606 +0200 -@@ -126,7 +126,7 @@ - struct pluginDevice* nd = (struct pluginDevice*)s; - - ERRIFWRONGDEV(s, NULL); -- return OurImports->CopyHostList((const char**)nd->hostlist); -+ return OurImports->CopyHostList(CONST_CAST(nd->hostlist)); - } - - -diff -Naur a/lib/plugins/stonith/rcd_serial.c b/lib/plugins/stonith/rcd_serial.c ---- a/lib/plugins/stonith/rcd_serial.c 2014-07-09 17:21:12.603266573 +0200 -+++ b/lib/plugins/stonith/rcd_serial.c 2014-07-09 17:21:56.341423862 +0200 -@@ -347,7 +347,7 @@ - return(NULL); - } - -- return OurImports->CopyHostList((const char **)rcd->hostlist); -+ return OurImports->CopyHostList(CONST_CAST(rcd->hostlist)); - } - - /* -diff -Naur a/lib/plugins/stonith/rhcs.c b/lib/plugins/stonith/rhcs.c ---- a/lib/plugins/stonith/rhcs.c 2014-07-09 17:17:27.652742171 +0200 -+++ b/lib/plugins/stonith/rhcs.c 2014-07-09 17:18:18.562597957 +0200 -@@ -703,7 +703,7 @@ - sd->confignames[dircount] = NULL; - } - -- return (const char **)sd->confignames; -+ return CONST_CAST(sd->confignames); - } - - /* -diff -Naur a/lib/plugins/stonith/ssh.c b/lib/plugins/stonith/ssh.c ---- a/lib/plugins/stonith/ssh.c 2014-07-09 17:22:15.320624229 +0200 -+++ b/lib/plugins/stonith/ssh.c 2014-07-09 17:22:53.499015642 +0200 -@@ -161,7 +161,7 @@ - return(NULL); - } - -- return OurImports->CopyHostList((const char **)sd->hostlist); -+ return OurImports->CopyHostList(CONST_CAST(sd->hostlist)); - } - - -diff -Naur a/lib/plugins/stonith/stonith_plugin_common.h b/lib/plugins/stonith/stonith_plugin_common.h ---- a/lib/plugins/stonith/stonith_plugin_common.h 2014-07-09 17:23:16.954027367 +0200 -+++ b/lib/plugins/stonith/stonith_plugin_common.h 2014-07-09 17:24:38.538609129 +0200 -@@ -123,5 +123,8 @@ - return; \ - } - -+#define CONST_CAST(s) \ -+ (__extension__(union {char ** a; const char** b;})(s)).b -+ - #endif - diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-getpid-check.patch b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-getpid-check.patch deleted file mode 100644 index 30f422c..0000000 --- a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-getpid-check.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff -Naur a/configure.ac b/configure.ac ---- a/configure.ac 2014-07-09 17:05:51.602037193 +0200 -+++ b/configure.ac 2014-07-09 17:08:44.566761961 +0200 -@@ -441,24 +441,9 @@ - AC_MSG_RESULT($BUILD_VERSION) - AC_SUBST(BUILD_VERSION) - -- --dnl check if there are getpid() inconsistency --dnl Note: reduce LIBS; in particular, ltdl can cause confusion. --dnl Possibly better: move 'LIBS="$LIBS -lltdl"' from above to beyond here. --dnl --AC_MSG_CHECKING(for getpid() consistency in multi-process/threads program) --ac_save_LIBS=$LIBS --LIBS="-lpthread" --AC_TRY_RUN(`cat $srcdir/config/pidtest.c`, --AC_MSG_RESULT(ok), --[AC_MSG_RESULT(fail); AC_DEFINE(GETPID_INCONSISTENT, 1 , [pid inconsistent])],) --LIBS=$ac_save_LIBS -- --dnl check byte order --AC_MSG_CHECKING(for byteorder) --AC_TRY_RUN(`cat $srcdir/config/byteorder_test.c`, --[AC_MSG_RESULT(little-endian); AC_DEFINE(CONFIG_LITTLE_ENDIAN, 1, [little-endian])], --[AC_MSG_RESULT(big-endian); AC_DEFINE(CONFIG_BIG_ENDIAN, 1, [big-endian])],) -+AC_C_BIGENDIAN( -+ [AC_DEFINE(CONFIG_BIG_ENDIAN, 1, [big])], -+ [AC_DEFINE(CONFIG_LITTLE_ENDIAN, 1, [little])]) - - - dnl =============================================== diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-deprecated-glib-support.patch b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-deprecated-glib-support.patch deleted file mode 100644 index 16fc679..0000000 --- a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-deprecated-glib-support.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur a/include/clplumbing/cl_uuid.h b/include/clplumbing/cl_uuid.h ---- a/include/clplumbing/cl_uuid.h 2014-07-14 14:25:24.127378762 +0200 -+++ b/include/clplumbing/cl_uuid.h 2014-07-14 14:23:32.120193782 +0200 -@@ -16,7 +16,7 @@ - - #ifndef _CL_UUID_H_ - #define _CL_UUID_H_ --#include <glib/gtypes.h> -+#include <glib.h> - - typedef struct cl_uuid_s{ - unsigned char uuid[16]; diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-libxml-support.patch b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-libxml-support.patch deleted file mode 100644 index a436575..0000000 --- a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-libxml-support.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -Naur a/configure.ac b/configure.ac ---- a/configure.ac 2014-07-14 13:02:42.016652860 +0200 -+++ b/configure.ac 2014-07-14 13:03:59.585322332 +0200 -@@ -679,8 +679,8 @@ - - CPPFLAGS="$CPPFLAGS $XML2HEAD" - --AC_CHECK_HEADERS(libxml/xpath.h) --if test "$ac_cv_header_libxml_xpath_h" != "yes"; then -+AC_CHECK_HEADERS(libxml2/libxml/xpath.h) -+if test x"$ac_cv_header_libxml2_libxml_xpath_h" != x"yes"; then - AC_MSG_ERROR(The libxml developement headers were not found) - fi - diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.5.bb b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb similarity index 49% rename from meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.5.bb rename to meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb index f1b4a78..be04469 100644 --- a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.5.bb +++ b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb @@ -7,21 +7,20 @@ LICENSE = "GPLv2" DEPENDS = "libxml2 libtool glib-2.0 bzip2 util-linux net-snmp openhpi" SRC_URI = " \ - http://hg.linux-ha.org/glue/archive/glue-${PV}.tar.bz2 \ - file://glue-repair-libxml-support.patch \ - file://glue-repair-deprecated-glib-support.patch \ - file://glue-remove-getpid-check.patch \ - file://fix-const-cast.patch \ + http://hg.linux-ha.org/glue/archive/glue-${PV}.tar.bz2 \ + file://0001-don-t-compile-doc-and-Error-Fix.patch \ + file://0001-ribcl.py.in-Warning-Fix.patch \ file://volatiles \ file://tmpfiles \ - " +" SRC_URI_append_libc-uclibc = " file://kill-stack-protector.patch" -SRC_URI[md5sum] = "d2b6f798e58ef2497526e404b8ad640a" -SRC_URI[sha256sum] = "0e1922373aba1c3811f6ef61559a9c407c0bec71d2ebc451a4db5b940ded8ec0" + +SRC_URI[md5sum] = "ec620466d6f23affa3b074b72bca7870" +SRC_URI[sha256sum] = "feba102fa1e24b6be2005089ebe362b82d6567af60005cf371679b1b44ec503f" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.GPLv2;md5=751419260aa954499f7abaabaa882bbe" -inherit autotools useradd +inherit autotools useradd pkgconfig S = "${WORKDIR}/Reusable-Cluster-Components-glue--glue-${PV}" @@ -70,43 +69,50 @@ PACKAGES += "\ ${PN}-plugin-interfacemgr-dbg \ ${PN}-plugin-interfacemgr-staticdev \ ${PN}-lrmtest \ + ${PN}-plugin-compress \ + ${PN}-plugin-compress-dbg \ + ${PN}-plugin-compress-staticdev \ " -FILES_${PN} = "/etc/ /var /usr/lib/lib*.so.* /usr/sbin /usr/share/cluster-glue/*sh /usr/share/cluster-glue/*pl\ - /usr/lib/heartbeat/transient-test.sh \ - /usr/lib/heartbeat/logtest \ - /usr/lib/heartbeat/ipctransientserver \ - /usr/lib/heartbeat/base64_md5_test \ - /usr/lib/heartbeat/ipctest \ - /usr/lib/heartbeat/ipctransientclient \ - /usr/lib/heartbeat/ha_logd \ - /usr/lib/heartbeat/lrmd \ +FILES_${PN} = "${sysconfdir} /var ${libdir}/lib*.so.* ${sbindir} ${datadir}/cluster-glue/*sh ${datadir}/cluster-glue/*pl\ + ${libdir}/heartbeat/transient-test.sh \ + ${libdir}/heartbeat/logtest \ + ${libdir}/heartbeat/ipctransientserver \ + ${libdir}/heartbeat/base64_md5_test \ + ${libdir}/heartbeat/ipctest \ + ${libdir}/heartbeat/ipctransientclient \ + ${libdir}/heartbeat/ha_logd \ + ${libdir}/heartbeat/lrmd \ " -FILES_${PN}-dbg += "/usr/lib/heartbeat/.debug/" +FILES_${PN}-dbg += "${libdir}/heartbeat/.debug/ \ + " +FILES_${PN}-plugin-compress = "${libdir}/heartbeat/plugins/compress/*.so" +FILES_${PN}-plugin-compress-staticdev = "${libdir}/heartbeat/plugins/compress/*.*a" +FILES_${PN}-plugin-compress-dbg = "${libdir}/heartbeat/plugins/compress/.debug/" -FILES_${PN}-plugin-test = "/usr/lib/heartbeat/plugins/test/test.so" -FILES_${PN}-plugin-test-staticdev = "/usr/lib/heartbeat/plugins/test/test.*a" -FILES_${PN}-plugin-test-dbg = "/usr/lib/heartbeat/plugins/test/.debug/" +FILES_${PN}-plugin-test = "${libdir}/heartbeat/plugins/test/test.so" +FILES_${PN}-plugin-test-staticdev = "${libdir}/heartbeat/plugins/test/test.*a" +FILES_${PN}-plugin-test-dbg = "${libdir}/heartbeat/plugins/test/.debug/" FILES_${PN}-plugin-stonith2 = " \ - /usr/lib/stonith/plugins/xen0-ha-dom0-stonith-helper \ - /usr/lib/stonith/plugins/stonith2/*.so \ + ${libdir}/stonith/plugins/xen0-ha-dom0-stonith-helper \ + ${libdir}/stonith/plugins/stonith2/*.so \ " -FILES_${PN}-plugin-stonith2-ribcl = "/usr/lib/stonith/plugins/stonith2/ribcl.py" +FILES_${PN}-plugin-stonith2-ribcl = "${libdir}/stonith/plugins/stonith2/ribcl.py" -FILES_${PN}-plugin-stonith2-dbg = "/usr/lib/stonith/plugins/stonith2/.debug/" -FILES_${PN}-plugin-stonith2-staticdev = "/usr/lib/stonith/plugins/stonith2/*.*a" +FILES_${PN}-plugin-stonith2-dbg = "${libdir}/stonith/plugins/stonith2/.debug/" +FILES_${PN}-plugin-stonith2-staticdev = "${libdir}/stonith/plugins/stonith2/*.*a" -FILES_${PN}-plugin-stonith-external = "/usr/lib/stonith/plugins/external/" -FILES_${PN}-plugin-raexec = "/usr/lib/heartbeat/plugins/RAExec/*.so" -FILES_${PN}-plugin-raexec-staticdev = "/usr/lib/heartbeat/plugins/RAExec/*.*a" -FILES_${PN}-plugin-raexec-dbg = "/usr/lib/heartbeat/plugins/RAExec/.debug/" +FILES_${PN}-plugin-stonith-external = "${libdir}/stonith/plugins/external/" +FILES_${PN}-plugin-raexec = "${libdir}/heartbeat/plugins/RAExec/*.so" +FILES_${PN}-plugin-raexec-staticdev = "${libdir}/heartbeat/plugins/RAExec/*.*a" +FILES_${PN}-plugin-raexec-dbg = "${libdir}/heartbeat/plugins/RAExec/.debug/" -FILES_${PN}-plugin-interfacemgr = "/usr/lib/heartbeat/plugins/InterfaceMgr/generic.so" -FILES_${PN}-plugin-interfacemgr-staticdev = "/usr/lib/heartbeat/plugins/InterfaceMgr/generic.*a" -FILES_${PN}-plugin-interfacemgr-dbg = "/usr/lib/heartbeat/plugins/InterfaceMgr/.debug/" +FILES_${PN}-plugin-interfacemgr = "${libdir}/heartbeat/plugins/InterfaceMgr/generic.so" +FILES_${PN}-plugin-interfacemgr-staticdev = "${libdir}/heartbeat/plugins/InterfaceMgr/generic.*a" +FILES_${PN}-plugin-interfacemgr-dbg = "${libdir}/heartbeat/plugins/InterfaceMgr/.debug/" -FILES_${PN}-lrmtest = "/usr/share/cluster-glue/lrmtest/" +FILES_${PN}-lrmtest = "${datadir}/cluster-glue/lrmtest/" RDEPENDS_${PN} += "perl" RDEPENDS_${PN}-plugin-stonith2 += "bash" -- 1.8.4.2 ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [meta-cgl][PATCH v2] cluster-glue: upgrade 1.0.5 -> 1.0.12 2015-08-19 5:03 ` [meta-cgl][PATCH v2] " Li xin @ 2015-08-20 14:50 ` Alexandru Vaduva 2015-08-21 2:50 ` Li, Xin 0 siblings, 1 reply; 11+ messages in thread From: Alexandru Vaduva @ 2015-08-20 14:50 UTC (permalink / raw) To: Li xin, yocto@yoctoproject.org Hello, Could you please take one more look on this since for me the build is failing in the do_compile stage. Due to this error I was not able to build the other two patches heardbleat and pacemaker. :D Alex V. -----Original Message----- From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Li xin Sent: Wednesday, August 19, 2015 8:04 AM To: yocto@yoctoproject.org Subject: [yocto] [meta-cgl][PATCH v2] cluster-glue: upgrade 1.0.5 -> 1.0.12 * Add patch to aviod build Error and Warning. --0001-don-t-compile-doc-and-Error-Fix.patch --0001-ribcl.py.in-Warning-Fix.patch * Dropped backported patch: --fix-const-cast.patch --glue-remove-getpid-check.patch --glue-repair-deprecated-glib-support.patch --glue-repair-libxml-support.patch * Replace the hardcoded strings "/usr/lib" "/etc/" "/usr/sbin" "/usr/share" Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> --- .../0001-don-t-compile-doc-and-Error-Fix.patch | 50 ++++++++++ .../0001-ribcl.py.in-Warning-Fix.patch | 34 +++++++ .../cluster-glue/cluster-glue/fix-const-cast.patch | 103 --------------------- .../cluster-glue/glue-remove-getpid-check.patch | 31 ------- .../glue-repair-deprecated-glib-support.patch | 12 --- .../cluster-glue/glue-repair-libxml-support.patch | 14 --- ...luster-glue_1.0.5.bb => cluster-glue_1.0.12.bb} | 76 ++++++++------- 7 files changed, 125 insertions(+), 195 deletions(-) create mode 100644 meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-compile-doc-and-Error-Fix.patch create mode 100644 meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.py.in-Warning-Fix.patch delete mode 100644 meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast.patch delete mode 100644 meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-getpid-check.patch delete mode 100644 meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-deprecated-glib-support.patch delete mode 100644 meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-libxml-support.patch rename meta-cgl-common/recipes-cgl/cluster-glue/{cluster-glue_1.0.5.bb => cluster-glue_1.0.12.bb} (49%) diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-compile-doc-and-Error-Fix.patch b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-compile-doc-and-Error-Fix.patch new file mode 100644 index 0000000..471b1e4 --- /dev/null +++ b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-c +++ ompile-doc-and-Error-Fix.patch @@ -0,0 +1,50 @@ +From b64b676f7abf896ca714341eb330099f2ff04213 Mon Sep 17 00:00:00 2001 +From: Li xin <lixin.fnst@cn.fujitsu.com> +Date: Tue, 18 Aug 2015 17:43:29 +0900 +Subject: [PATCH] don't compile doc and Error Fix + +| help2man: can't get `--help' info from ../../lrm/admin/lrmadmin +| make[2]: *** [lrmadmin.8] Error 1 + +| make[2]: a2x: Command not found +| /usr/bin/xsltproc \ +| --xinclude \ +| +| http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.x +| sl ha_logd.xml +| make[2]: *** [hb_report.8] Error 127 + +Upstream-Status: pending + +Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> +--- + Makefile.am | 2 +- + configure.ac | 6 ++++++ + lrm/admin/Makefile.am | 2 +- + 3 files changed, 8 insertions(+), 2 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index 93dbaf6..2f4d03b 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -23,7 +23,7 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure DRF/config-h.in \ + DRF/stamp-h.in libtool.m4 ltdl.m4 libltdl.tar + + SUBDIRS = include $(LIBLTDL_DIR) replace lib lrm logd \ +- hb_report doc config ++ hb_report config + + install-exec-local: + $(INSTALL) -d $(DESTDIR)/$(HA_COREDIR) diff --git +a/lrm/admin/Makefile.am b/lrm/admin/Makefile.am index a92cd72..ed938e0 +100644 +--- a/lrm/admin/Makefile.am ++++ b/lrm/admin/Makefile.am +@@ -36,5 +36,5 @@ man8_MANS = $(sbin_PROGRAMS:%=%.8) + %.8: % + echo Creating $@ + chmod a+x $< +- help2man --output $@ --no-info --section 8 --name "Part of the Linux-HA project" $(top_builddir)/lrm/admin/$< ++ help2man --output $@ --no-info --section 8 --name "Part of the ++Linux-HA project" /usr/sbin/$< + endif +-- +1.8.4.2 + diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.py.in-Warning-Fix.patch b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.py.in-Warning-Fix.patch new file mode 100644 index 0000000..31010d4 --- /dev/null +++ b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.p +++ y.in-Warning-Fix.patch @@ -0,0 +1,34 @@ +From a2c66927b75547cee1db1340a67449ded0812df3 Mon Sep 17 00:00:00 2001 +From: Li xin <lixin.fnst@cn.fujitsu.com> +Date: Wed, 19 Aug 2015 11:13:46 +0900 +Subject: [PATCH] ribcl.py.in: Warning Fix + +WARNING: QA Issue: +/usr/lib/stonith/plugins/stonith2/ribcl.py_cluster-glue-plugin-stonith2 +-ribcl contained in package cluster-glue-plugin-stonith2-ribcl requires +/usr/local/bin/python, but no providers found in its RDEPENDS +[file-rdeps] + +Add target python handling +Allow the build to specify a path for the python instead of reusing the +PYTHON variable which can lead to inconsistencies if we are cross +compiling. + +Upstream-Status: pending + +Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> +--- + lib/plugins/stonith/ribcl.py.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/plugins/stonith/ribcl.py.in +b/lib/plugins/stonith/ribcl.py.in index 14e070c..01205e3 100644 +--- a/lib/plugins/stonith/ribcl.py.in ++++ b/lib/plugins/stonith/ribcl.py.in +@@ -1,4 +1,4 @@ +-#!@PYTHON@ ++#!@TRAGET_PYTHON@ + + + # +-- +1.8.4.2 + diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast.patch b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast.patch deleted file mode 100644 index 6de65bf..0000000 --- a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast.patch +++ /dev/null @@ -1,103 +0,0 @@ -This patch gets rid of new warning introduced with gcc 4.5 -Warning is explained here -http://gcc.gnu.org/viewcvs/trunk/gcc/doc/invoke.texi?r1=148037&r2=148053&diff_format=h - --Khem --updated by Alexandru Vaduva - patch needed redone - -diff -Naur a/lib/plugins/stonith/apcsmart.c b/lib/plugins/stonith/apcsmart.c ---- a/lib/plugins/stonith/apcsmart.c 2014-07-09 17:14:24.492455034 +0200 -+++ b/lib/plugins/stonith/apcsmart.c 2014-07-09 17:15:03.386817399 +0200 -@@ -719,7 +719,7 @@ - } - ERRIFNOTCONFIGED(s,NULL); - -- return OurImports->CopyHostList((const char **)ad->hostlist); -+ return OurImports->CopyHostList(CONST_CAST(ad->hostlist)); - } - - static gboolean -diff -Naur a/lib/plugins/stonith/external.c b/lib/plugins/stonith/external.c ---- a/lib/plugins/stonith/external.c 2014-07-09 17:15:28.661753145 +0200 -+++ b/lib/plugins/stonith/external.c 2014-07-09 17:17:03.873743634 +0200 -@@ -540,7 +540,7 @@ - sd->confignames[dircount] = NULL; - } - -- return (const char **)sd->confignames; -+ return CONST_CAST(sd->confignames); - } - - /* -diff -Naur a/lib/plugins/stonith/meatware.c b/lib/plugins/stonith/meatware.c ---- a/lib/plugins/stonith/meatware.c 2014-07-09 17:18:47.597375001 +0200 -+++ b/lib/plugins/stonith/meatware.c 2014-07-09 17:19:35.943338541 +0200 -@@ -136,7 +136,7 @@ - return(NULL); - } - -- return OurImports->CopyHostList((const char **)nd->hostlist); -+ return OurImports->CopyHostList(CONST_CAST(nd->hostlist)); - } - - /* -diff -Naur a/lib/plugins/stonith/null.c b/lib/plugins/stonith/null.c ---- a/lib/plugins/stonith/null.c 2014-07-09 17:20:12.389803230 +0200 -+++ b/lib/plugins/stonith/null.c 2014-07-09 17:20:55.156001606 +0200 -@@ -126,7 +126,7 @@ - struct pluginDevice* nd = (struct pluginDevice*)s; - - ERRIFWRONGDEV(s, NULL); -- return OurImports->CopyHostList((const char**)nd->hostlist); -+ return OurImports->CopyHostList(CONST_CAST(nd->hostlist)); - } - - -diff -Naur a/lib/plugins/stonith/rcd_serial.c b/lib/plugins/stonith/rcd_serial.c ---- a/lib/plugins/stonith/rcd_serial.c 2014-07-09 17:21:12.603266573 +0200 -+++ b/lib/plugins/stonith/rcd_serial.c 2014-07-09 17:21:56.341423862 +0200 -@@ -347,7 +347,7 @@ - return(NULL); - } - -- return OurImports->CopyHostList((const char **)rcd->hostlist); -+ return OurImports->CopyHostList(CONST_CAST(rcd->hostlist)); - } - - /* -diff -Naur a/lib/plugins/stonith/rhcs.c b/lib/plugins/stonith/rhcs.c ---- a/lib/plugins/stonith/rhcs.c 2014-07-09 17:17:27.652742171 +0200 -+++ b/lib/plugins/stonith/rhcs.c 2014-07-09 17:18:18.562597957 +0200 -@@ -703,7 +703,7 @@ - sd->confignames[dircount] = NULL; - } - -- return (const char **)sd->confignames; -+ return CONST_CAST(sd->confignames); - } - - /* -diff -Naur a/lib/plugins/stonith/ssh.c b/lib/plugins/stonith/ssh.c ---- a/lib/plugins/stonith/ssh.c 2014-07-09 17:22:15.320624229 +0200 -+++ b/lib/plugins/stonith/ssh.c 2014-07-09 17:22:53.499015642 +0200 -@@ -161,7 +161,7 @@ - return(NULL); - } - -- return OurImports->CopyHostList((const char **)sd->hostlist); -+ return OurImports->CopyHostList(CONST_CAST(sd->hostlist)); - } - - -diff -Naur a/lib/plugins/stonith/stonith_plugin_common.h b/lib/plugins/stonith/stonith_plugin_common.h ---- a/lib/plugins/stonith/stonith_plugin_common.h 2014-07-09 17:23:16.954027367 +0200 -+++ b/lib/plugins/stonith/stonith_plugin_common.h 2014-07-09 17:24:38.538609129 +0200 -@@ -123,5 +123,8 @@ - return; \ - } - -+#define CONST_CAST(s) \ -+ (__extension__(union {char ** a; const char** b;})(s)).b -+ - #endif - diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-getpid-check.patch b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-getpid-check.patch deleted file mode 100644 index 30f422c..0000000 --- a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-getpid-check.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff -Naur a/configure.ac b/configure.ac ---- a/configure.ac 2014-07-09 17:05:51.602037193 +0200 -+++ b/configure.ac 2014-07-09 17:08:44.566761961 +0200 -@@ -441,24 +441,9 @@ - AC_MSG_RESULT($BUILD_VERSION) - AC_SUBST(BUILD_VERSION) - -- --dnl check if there are getpid() inconsistency --dnl Note: reduce LIBS; in particular, ltdl can cause confusion. --dnl Possibly better: move 'LIBS="$LIBS -lltdl"' from above to beyond here. --dnl --AC_MSG_CHECKING(for getpid() consistency in multi-process/threads program) --ac_save_LIBS=$LIBS --LIBS="-lpthread" --AC_TRY_RUN(`cat $srcdir/config/pidtest.c`, --AC_MSG_RESULT(ok), --[AC_MSG_RESULT(fail); AC_DEFINE(GETPID_INCONSISTENT, 1 , [pid inconsistent])],) --LIBS=$ac_save_LIBS -- --dnl check byte order --AC_MSG_CHECKING(for byteorder) --AC_TRY_RUN(`cat $srcdir/config/byteorder_test.c`, --[AC_MSG_RESULT(little-endian); AC_DEFINE(CONFIG_LITTLE_ENDIAN, 1, [little-endian])], --[AC_MSG_RESULT(big-endian); AC_DEFINE(CONFIG_BIG_ENDIAN, 1, [big-endian])],) -+AC_C_BIGENDIAN( -+ [AC_DEFINE(CONFIG_BIG_ENDIAN, 1, [big])], -+ [AC_DEFINE(CONFIG_LITTLE_ENDIAN, 1, [little])]) - - - dnl =============================================== diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-deprecated-glib-support.patch b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-deprecated-glib-support.patch deleted file mode 100644 index 16fc679..0000000 --- a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-deprecated-glib-support.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur a/include/clplumbing/cl_uuid.h b/include/clplumbing/cl_uuid.h ---- a/include/clplumbing/cl_uuid.h 2014-07-14 14:25:24.127378762 +0200 -+++ b/include/clplumbing/cl_uuid.h 2014-07-14 14:23:32.120193782 +0200 -@@ -16,7 +16,7 @@ - - #ifndef _CL_UUID_H_ - #define _CL_UUID_H_ --#include <glib/gtypes.h> -+#include <glib.h> - - typedef struct cl_uuid_s{ - unsigned char uuid[16]; diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-libxml-support.patch b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-libxml-support.patch deleted file mode 100644 index a436575..0000000 --- a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-libxml-support.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -Naur a/configure.ac b/configure.ac ---- a/configure.ac 2014-07-14 13:02:42.016652860 +0200 -+++ b/configure.ac 2014-07-14 13:03:59.585322332 +0200 -@@ -679,8 +679,8 @@ - - CPPFLAGS="$CPPFLAGS $XML2HEAD" - --AC_CHECK_HEADERS(libxml/xpath.h) --if test "$ac_cv_header_libxml_xpath_h" != "yes"; then -+AC_CHECK_HEADERS(libxml2/libxml/xpath.h) -+if test x"$ac_cv_header_libxml2_libxml_xpath_h" != x"yes"; then - AC_MSG_ERROR(The libxml developement headers were not found) - fi - diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.5.bb b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb similarity index 49% rename from meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.5.bb rename to meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb index f1b4a78..be04469 100644 --- a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.5.bb +++ b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb @@ -7,21 +7,20 @@ LICENSE = "GPLv2" DEPENDS = "libxml2 libtool glib-2.0 bzip2 util-linux net-snmp openhpi" SRC_URI = " \ - http://hg.linux-ha.org/glue/archive/glue-${PV}.tar.bz2 \ - file://glue-repair-libxml-support.patch \ - file://glue-repair-deprecated-glib-support.patch \ - file://glue-remove-getpid-check.patch \ - file://fix-const-cast.patch \ + http://hg.linux-ha.org/glue/archive/glue-${PV}.tar.bz2 \ + file://0001-don-t-compile-doc-and-Error-Fix.patch \ + file://0001-ribcl.py.in-Warning-Fix.patch \ file://volatiles \ file://tmpfiles \ - " +" SRC_URI_append_libc-uclibc = " file://kill-stack-protector.patch" -SRC_URI[md5sum] = "d2b6f798e58ef2497526e404b8ad640a" -SRC_URI[sha256sum] = "0e1922373aba1c3811f6ef61559a9c407c0bec71d2ebc451a4db5b940ded8ec0" + +SRC_URI[md5sum] = "ec620466d6f23affa3b074b72bca7870" +SRC_URI[sha256sum] = "feba102fa1e24b6be2005089ebe362b82d6567af60005cf371679b1b44ec503f" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.GPLv2;md5=751419260aa954499f7abaabaa882bbe" -inherit autotools useradd +inherit autotools useradd pkgconfig S = "${WORKDIR}/Reusable-Cluster-Components-glue--glue-${PV}" @@ -70,43 +69,50 @@ PACKAGES += "\ ${PN}-plugin-interfacemgr-dbg \ ${PN}-plugin-interfacemgr-staticdev \ ${PN}-lrmtest \ + ${PN}-plugin-compress \ + ${PN}-plugin-compress-dbg \ + ${PN}-plugin-compress-staticdev \ " -FILES_${PN} = "/etc/ /var /usr/lib/lib*.so.* /usr/sbin /usr/share/cluster-glue/*sh /usr/share/cluster-glue/*pl\ - /usr/lib/heartbeat/transient-test.sh \ - /usr/lib/heartbeat/logtest \ - /usr/lib/heartbeat/ipctransientserver \ - /usr/lib/heartbeat/base64_md5_test \ - /usr/lib/heartbeat/ipctest \ - /usr/lib/heartbeat/ipctransientclient \ - /usr/lib/heartbeat/ha_logd \ - /usr/lib/heartbeat/lrmd \ +FILES_${PN} = "${sysconfdir} /var ${libdir}/lib*.so.* ${sbindir} ${datadir}/cluster-glue/*sh ${datadir}/cluster-glue/*pl\ + ${libdir}/heartbeat/transient-test.sh \ + ${libdir}/heartbeat/logtest \ + ${libdir}/heartbeat/ipctransientserver \ + ${libdir}/heartbeat/base64_md5_test \ + ${libdir}/heartbeat/ipctest \ + ${libdir}/heartbeat/ipctransientclient \ + ${libdir}/heartbeat/ha_logd \ + ${libdir}/heartbeat/lrmd \ " -FILES_${PN}-dbg += "/usr/lib/heartbeat/.debug/" +FILES_${PN}-dbg += "${libdir}/heartbeat/.debug/ \ + " +FILES_${PN}-plugin-compress = "${libdir}/heartbeat/plugins/compress/*.so" +FILES_${PN}-plugin-compress-staticdev = "${libdir}/heartbeat/plugins/compress/*.*a" +FILES_${PN}-plugin-compress-dbg = "${libdir}/heartbeat/plugins/compress/.debug/" -FILES_${PN}-plugin-test = "/usr/lib/heartbeat/plugins/test/test.so" -FILES_${PN}-plugin-test-staticdev = "/usr/lib/heartbeat/plugins/test/test.*a" -FILES_${PN}-plugin-test-dbg = "/usr/lib/heartbeat/plugins/test/.debug/" +FILES_${PN}-plugin-test = "${libdir}/heartbeat/plugins/test/test.so" +FILES_${PN}-plugin-test-staticdev = "${libdir}/heartbeat/plugins/test/test.*a" +FILES_${PN}-plugin-test-dbg = "${libdir}/heartbeat/plugins/test/.debug/" FILES_${PN}-plugin-stonith2 = " \ - /usr/lib/stonith/plugins/xen0-ha-dom0-stonith-helper \ - /usr/lib/stonith/plugins/stonith2/*.so \ + ${libdir}/stonith/plugins/xen0-ha-dom0-stonith-helper \ + ${libdir}/stonith/plugins/stonith2/*.so \ " -FILES_${PN}-plugin-stonith2-ribcl = "/usr/lib/stonith/plugins/stonith2/ribcl.py" +FILES_${PN}-plugin-stonith2-ribcl = "${libdir}/stonith/plugins/stonith2/ribcl.py" -FILES_${PN}-plugin-stonith2-dbg = "/usr/lib/stonith/plugins/stonith2/.debug/" -FILES_${PN}-plugin-stonith2-staticdev = "/usr/lib/stonith/plugins/stonith2/*.*a" +FILES_${PN}-plugin-stonith2-dbg = "${libdir}/stonith/plugins/stonith2/.debug/" +FILES_${PN}-plugin-stonith2-staticdev = "${libdir}/stonith/plugins/stonith2/*.*a" -FILES_${PN}-plugin-stonith-external = "/usr/lib/stonith/plugins/external/" -FILES_${PN}-plugin-raexec = "/usr/lib/heartbeat/plugins/RAExec/*.so" -FILES_${PN}-plugin-raexec-staticdev = "/usr/lib/heartbeat/plugins/RAExec/*.*a" -FILES_${PN}-plugin-raexec-dbg = "/usr/lib/heartbeat/plugins/RAExec/.debug/" +FILES_${PN}-plugin-stonith-external = "${libdir}/stonith/plugins/external/" +FILES_${PN}-plugin-raexec = "${libdir}/heartbeat/plugins/RAExec/*.so" +FILES_${PN}-plugin-raexec-staticdev = "${libdir}/heartbeat/plugins/RAExec/*.*a" +FILES_${PN}-plugin-raexec-dbg = "${libdir}/heartbeat/plugins/RAExec/.debug/" -FILES_${PN}-plugin-interfacemgr = "/usr/lib/heartbeat/plugins/InterfaceMgr/generic.so" -FILES_${PN}-plugin-interfacemgr-staticdev = "/usr/lib/heartbeat/plugins/InterfaceMgr/generic.*a" -FILES_${PN}-plugin-interfacemgr-dbg = "/usr/lib/heartbeat/plugins/InterfaceMgr/.debug/" +FILES_${PN}-plugin-interfacemgr = "${libdir}/heartbeat/plugins/InterfaceMgr/generic.so" +FILES_${PN}-plugin-interfacemgr-staticdev = "${libdir}/heartbeat/plugins/InterfaceMgr/generic.*a" +FILES_${PN}-plugin-interfacemgr-dbg = "${libdir}/heartbeat/plugins/InterfaceMgr/.debug/" -FILES_${PN}-lrmtest = "/usr/share/cluster-glue/lrmtest/" +FILES_${PN}-lrmtest = "${datadir}/cluster-glue/lrmtest/" RDEPENDS_${PN} += "perl" RDEPENDS_${PN}-plugin-stonith2 += "bash" -- 1.8.4.2 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [meta-cgl][PATCH v2] cluster-glue: upgrade 1.0.5 -> 1.0.12 2015-08-20 14:50 ` Alexandru Vaduva @ 2015-08-21 2:50 ` Li, Xin 2015-08-24 6:43 ` Li, Xin 0 siblings, 1 reply; 11+ messages in thread From: Li, Xin @ 2015-08-21 2:50 UTC (permalink / raw) To: Alexandru Vaduva, yocto@yoctoproject.org Hi, Alex V. Thanks a lot. Indeed, the error does not occur on my system. I will do some extra test, and resend the patch. Regards, Li >-----Original Message----- >From: Alexandru Vaduva [mailto:Alexandru.Vaduva@enea.com] >Sent: Thursday, August 20, 2015 10:51 PM >To: Li, Xin/李 欣; yocto@yoctoproject.org >Subject: RE: [yocto] [meta-cgl][PATCH v2] cluster-glue: upgrade 1.0.5 -> 1.0.12 > >Hello, > >Could you please take one more look on this since for me the build is failing in the >do_compile stage. >Due to this error I was not able to build the other two patches heardbleat and >pacemaker. :D > >Alex V. > >-----Original Message----- >From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] >On Behalf Of Li xin >Sent: Wednesday, August 19, 2015 8:04 AM >To: yocto@yoctoproject.org >Subject: [yocto] [meta-cgl][PATCH v2] cluster-glue: upgrade 1.0.5 -> 1.0.12 > >* Add patch to aviod build Error and Warning. > --0001-don-t-compile-doc-and-Error-Fix.patch > --0001-ribcl.py.in-Warning-Fix.patch > >* Dropped backported patch: > --fix-const-cast.patch > --glue-remove-getpid-check.patch > --glue-repair-deprecated-glib-support.patch > --glue-repair-libxml-support.patch > >* Replace the hardcoded strings "/usr/lib" "/etc/" "/usr/sbin" "/usr/share" > >Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> >--- > .../0001-don-t-compile-doc-and-Error-Fix.patch | 50 ++++++++++ > .../0001-ribcl.py.in-Warning-Fix.patch | 34 +++++++ > .../cluster-glue/cluster-glue/fix-const-cast.patch | 103 --------------------- > .../cluster-glue/glue-remove-getpid-check.patch | 31 ------- > .../glue-repair-deprecated-glib-support.patch | 12 --- > .../cluster-glue/glue-repair-libxml-support.patch | 14 >--- ...luster-glue_1.0.5.bb => cluster-glue_1.0.12.bb} | 76 ++++++++------- > 7 files changed, 125 insertions(+), 195 deletions(-) create mode 100644 >meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-compile-doc-and >-Error-Fix.patch > create mode 100644 >meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.py.in-Warning-Fix. >patch > delete mode 100644 >meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast.patch > delete mode 100644 >meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-getpid-check.p >atch > delete mode 100644 >meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-deprecated-glib- >support.patch > delete mode 100644 >meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-libxml-support.p >atch > rename meta-cgl-common/recipes-cgl/cluster-glue/{cluster-glue_1.0.5.bb => >cluster-glue_1.0.12.bb} (49%) > >diff --git >a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-compile-doc-a >nd-Error-Fix.patch >b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-compile-doc-a >nd-Error-Fix.patch >new file mode 100644 >index 0000000..471b1e4 >--- /dev/null >+++ b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-c >+++ ompile-doc-and-Error-Fix.patch >@@ -0,0 +1,50 @@ >+From b64b676f7abf896ca714341eb330099f2ff04213 Mon Sep 17 00:00:00 2001 >+From: Li xin <lixin.fnst@cn.fujitsu.com> >+Date: Tue, 18 Aug 2015 17:43:29 +0900 >+Subject: [PATCH] don't compile doc and Error Fix >+ >+| help2man: can't get `--help' info from ../../lrm/admin/lrmadmin >+| make[2]: *** [lrmadmin.8] Error 1 >+ >+| make[2]: a2x: Command not found >+| /usr/bin/xsltproc \ >+| --xinclude \ >+| >+| http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.x >+| sl ha_logd.xml >+| make[2]: *** [hb_report.8] Error 127 >+ >+Upstream-Status: pending >+ >+Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> >+--- >+ Makefile.am | 2 +- >+ configure.ac | 6 ++++++ >+ lrm/admin/Makefile.am | 2 +- >+ 3 files changed, 8 insertions(+), 2 deletions(-) >+ >+diff --git a/Makefile.am b/Makefile.am >+index 93dbaf6..2f4d03b 100644 >+--- a/Makefile.am >++++ b/Makefile.am >+@@ -23,7 +23,7 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure >DRF/config-h.in \ >+ DRF/stamp-h.in libtool.m4 ltdl.m4 libltdl.tar >+ >+ SUBDIRS = include $(LIBLTDL_DIR) replace lib lrm logd \ >+- hb_report doc config >++ hb_report config >+ >+ install-exec-local: >+ $(INSTALL) -d $(DESTDIR)/$(HA_COREDIR) diff --git >+a/lrm/admin/Makefile.am b/lrm/admin/Makefile.am index a92cd72..ed938e0 >+100644 >+--- a/lrm/admin/Makefile.am >++++ b/lrm/admin/Makefile.am >+@@ -36,5 +36,5 @@ man8_MANS = $(sbin_PROGRAMS:%=%.8) >+ %.8: % >+ echo Creating $@ >+ chmod a+x $< >+- help2man --output $@ --no-info --section 8 --name "Part of the Linux-HA >project" $(top_builddir)/lrm/admin/$< >++ help2man --output $@ --no-info --section 8 --name "Part of the >++Linux-HA project" /usr/sbin/$< >+ endif >+-- >+1.8.4.2 >+ >diff --git >a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.py.in-Warning-F >ix.patch >b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.py.in-Warning-F >ix.patch >new file mode 100644 >index 0000000..31010d4 >--- /dev/null >+++ b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.p >+++ y.in-Warning-Fix.patch >@@ -0,0 +1,34 @@ >+From a2c66927b75547cee1db1340a67449ded0812df3 Mon Sep 17 00:00:00 2001 >+From: Li xin <lixin.fnst@cn.fujitsu.com> >+Date: Wed, 19 Aug 2015 11:13:46 +0900 >+Subject: [PATCH] ribcl.py.in: Warning Fix >+ >+WARNING: QA Issue: >+/usr/lib/stonith/plugins/stonith2/ribcl.py_cluster-glue-plugin-stonith2 >+-ribcl contained in package cluster-glue-plugin-stonith2-ribcl requires >+/usr/local/bin/python, but no providers found in its RDEPENDS >+[file-rdeps] >+ >+Add target python handling >+Allow the build to specify a path for the python instead of reusing the >+PYTHON variable which can lead to inconsistencies if we are cross >+compiling. >+ >+Upstream-Status: pending >+ >+Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> >+--- >+ lib/plugins/stonith/ribcl.py.in | 2 +- >+ 1 file changed, 1 insertion(+), 1 deletion(-) >+ >+diff --git a/lib/plugins/stonith/ribcl.py.in >+b/lib/plugins/stonith/ribcl.py.in index 14e070c..01205e3 100644 >+--- a/lib/plugins/stonith/ribcl.py.in >++++ b/lib/plugins/stonith/ribcl.py.in >+@@ -1,4 +1,4 @@ >+-#!@PYTHON@ >++#!@TRAGET_PYTHON@ >+ >+ >+ # >+-- >+1.8.4.2 >+ >diff --git >a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast.patch >b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast.patch >deleted file mode 100644 >index 6de65bf..0000000 >--- a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast.patch >+++ /dev/null >@@ -1,103 +0,0 @@ >-This patch gets rid of new warning introduced with gcc 4.5 -Warning is explained >here >-http://gcc.gnu.org/viewcvs/trunk/gcc/doc/invoke.texi?r1=148037&r2=148053&diff >_format=h >- >--Khem >--updated by Alexandru Vaduva - patch needed redone >- >-diff -Naur a/lib/plugins/stonith/apcsmart.c b/lib/plugins/stonith/apcsmart.c >---- a/lib/plugins/stonith/apcsmart.c 2014-07-09 17:14:24.492455034 +0200 >-+++ b/lib/plugins/stonith/apcsmart.c 2014-07-09 17:15:03.386817399 +0200 >-@@ -719,7 +719,7 @@ >- } >- ERRIFNOTCONFIGED(s,NULL); >- >-- return OurImports->CopyHostList((const char **)ad->hostlist); >-+ return OurImports->CopyHostList(CONST_CAST(ad->hostlist)); >- } >- >- static gboolean >-diff -Naur a/lib/plugins/stonith/external.c b/lib/plugins/stonith/external.c >---- a/lib/plugins/stonith/external.c 2014-07-09 17:15:28.661753145 +0200 >-+++ b/lib/plugins/stonith/external.c 2014-07-09 17:17:03.873743634 +0200 >-@@ -540,7 +540,7 @@ >- sd->confignames[dircount] = NULL; >- } >- >-- return (const char **)sd->confignames; >-+ return CONST_CAST(sd->confignames); >- } >- >- /* >-diff -Naur a/lib/plugins/stonith/meatware.c b/lib/plugins/stonith/meatware.c >---- a/lib/plugins/stonith/meatware.c 2014-07-09 17:18:47.597375001 +0200 >-+++ b/lib/plugins/stonith/meatware.c 2014-07-09 17:19:35.943338541 +0200 >-@@ -136,7 +136,7 @@ >- return(NULL); >- } >- >-- return OurImports->CopyHostList((const char **)nd->hostlist); >-+ return OurImports->CopyHostList(CONST_CAST(nd->hostlist)); >- } >- >- /* >-diff -Naur a/lib/plugins/stonith/null.c b/lib/plugins/stonith/null.c >---- a/lib/plugins/stonith/null.c 2014-07-09 17:20:12.389803230 +0200 >-+++ b/lib/plugins/stonith/null.c 2014-07-09 17:20:55.156001606 +0200 >-@@ -126,7 +126,7 @@ >- struct pluginDevice* nd = (struct pluginDevice*)s; >- >- ERRIFWRONGDEV(s, NULL); >-- return OurImports->CopyHostList((const char**)nd->hostlist); >-+ return OurImports->CopyHostList(CONST_CAST(nd->hostlist)); >- } >- >- >-diff -Naur a/lib/plugins/stonith/rcd_serial.c b/lib/plugins/stonith/rcd_serial.c >---- a/lib/plugins/stonith/rcd_serial.c 2014-07-09 17:21:12.603266573 +0200 >-+++ b/lib/plugins/stonith/rcd_serial.c 2014-07-09 17:21:56.341423862 +0200 >-@@ -347,7 +347,7 @@ >- return(NULL); >- } >- >-- return OurImports->CopyHostList((const char **)rcd->hostlist); >-+ return OurImports->CopyHostList(CONST_CAST(rcd->hostlist)); >- } >- >- /* >-diff -Naur a/lib/plugins/stonith/rhcs.c b/lib/plugins/stonith/rhcs.c >---- a/lib/plugins/stonith/rhcs.c 2014-07-09 17:17:27.652742171 +0200 >-+++ b/lib/plugins/stonith/rhcs.c 2014-07-09 17:18:18.562597957 +0200 >-@@ -703,7 +703,7 @@ >- sd->confignames[dircount] = NULL; >- } >- >-- return (const char **)sd->confignames; >-+ return CONST_CAST(sd->confignames); >- } >- >- /* >-diff -Naur a/lib/plugins/stonith/ssh.c b/lib/plugins/stonith/ssh.c >---- a/lib/plugins/stonith/ssh.c 2014-07-09 17:22:15.320624229 +0200 >-+++ b/lib/plugins/stonith/ssh.c 2014-07-09 17:22:53.499015642 +0200 >-@@ -161,7 +161,7 @@ >- return(NULL); >- } >- >-- return OurImports->CopyHostList((const char **)sd->hostlist); >-+ return OurImports->CopyHostList(CONST_CAST(sd->hostlist)); >- } >- >- >-diff -Naur a/lib/plugins/stonith/stonith_plugin_common.h >b/lib/plugins/stonith/stonith_plugin_common.h >---- a/lib/plugins/stonith/stonith_plugin_common.h 2014-07-09 >17:23:16.954027367 +0200 >-+++ b/lib/plugins/stonith/stonith_plugin_common.h 2014-07-09 >17:24:38.538609129 +0200 >-@@ -123,5 +123,8 @@ >- return; \ >- } >- >-+#define CONST_CAST(s) \ >-+ (__extension__(union {char ** a; const char** b;})(s)).b >-+ >- #endif >- >diff --git >a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-getpid-check >.patch >b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-getpid-check >.patch >deleted file mode 100644 >index 30f422c..0000000 >--- >a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-getpid-check >.patch >+++ /dev/null >@@ -1,31 +0,0 @@ >-diff -Naur a/configure.ac b/configure.ac >---- a/configure.ac 2014-07-09 17:05:51.602037193 +0200 >-+++ b/configure.ac 2014-07-09 17:08:44.566761961 +0200 >-@@ -441,24 +441,9 @@ >- AC_MSG_RESULT($BUILD_VERSION) >- AC_SUBST(BUILD_VERSION) >- >-- >--dnl check if there are getpid() inconsistency >--dnl Note: reduce LIBS; in particular, ltdl can cause confusion. >--dnl Possibly better: move 'LIBS="$LIBS -lltdl"' from above to beyond here. >--dnl >--AC_MSG_CHECKING(for getpid() consistency in multi-process/threads program) >--ac_save_LIBS=$LIBS --LIBS="-lpthread" >--AC_TRY_RUN(`cat $srcdir/config/pidtest.c`, --AC_MSG_RESULT(ok), >--[AC_MSG_RESULT(fail); AC_DEFINE(GETPID_INCONSISTENT, 1 , [pid inconsistent])],) >--LIBS=$ac_save_LIBS >-- >--dnl check byte order >--AC_MSG_CHECKING(for byteorder) >--AC_TRY_RUN(`cat $srcdir/config/byteorder_test.c`, >--[AC_MSG_RESULT(little-endian); AC_DEFINE(CONFIG_LITTLE_ENDIAN, 1, >[little-endian])], --[AC_MSG_RESULT(big-endian); AC_DEFINE(CONFIG_BIG_ENDIAN, >1, [big-endian])],) >-+AC_C_BIGENDIAN( >-+ [AC_DEFINE(CONFIG_BIG_ENDIAN, 1, [big])], >-+ [AC_DEFINE(CONFIG_LITTLE_ENDIAN, 1, [little])]) >- >- >- dnl =============================================== >diff --git >a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-deprecated-gli >b-support.patch >b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-deprecated-gli >b-support.patch >deleted file mode 100644 >index 16fc679..0000000 >--- >a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-deprecated-gli >b-support.patch >+++ /dev/null >@@ -1,12 +0,0 @@ >-diff -Naur a/include/clplumbing/cl_uuid.h b/include/clplumbing/cl_uuid.h >---- a/include/clplumbing/cl_uuid.h 2014-07-14 14:25:24.127378762 +0200 >-+++ b/include/clplumbing/cl_uuid.h 2014-07-14 14:23:32.120193782 +0200 >-@@ -16,7 +16,7 @@ >- >- #ifndef _CL_UUID_H_ >- #define _CL_UUID_H_ >--#include <glib/gtypes.h> >-+#include <glib.h> >- >- typedef struct cl_uuid_s{ >- unsigned char uuid[16]; >diff --git >a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-libxml-support >.patch >b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-libxml-support >.patch >deleted file mode 100644 >index a436575..0000000 >--- >a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-libxml-support >.patch >+++ /dev/null >@@ -1,14 +0,0 @@ >-diff -Naur a/configure.ac b/configure.ac >---- a/configure.ac 2014-07-14 13:02:42.016652860 +0200 >-+++ b/configure.ac 2014-07-14 13:03:59.585322332 +0200 >-@@ -679,8 +679,8 @@ >- >- CPPFLAGS="$CPPFLAGS $XML2HEAD" >- >--AC_CHECK_HEADERS(libxml/xpath.h) >--if test "$ac_cv_header_libxml_xpath_h" != "yes"; then >-+AC_CHECK_HEADERS(libxml2/libxml/xpath.h) >-+if test x"$ac_cv_header_libxml2_libxml_xpath_h" != x"yes"; then >- AC_MSG_ERROR(The libxml developement headers were not found) >- fi >- >diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.5.bb >b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb >similarity index 49% >rename from meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.5.bb >rename to meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb >index f1b4a78..be04469 100644 >--- a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.5.bb >+++ b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb >@@ -7,21 +7,20 @@ LICENSE = "GPLv2" > DEPENDS = "libxml2 libtool glib-2.0 bzip2 util-linux net-snmp openhpi" > > SRC_URI = " \ >- http://hg.linux-ha.org/glue/archive/glue-${PV}.tar.bz2 \ >- file://glue-repair-libxml-support.patch \ >- file://glue-repair-deprecated-glib-support.patch \ >- file://glue-remove-getpid-check.patch \ >- file://fix-const-cast.patch \ >+ http://hg.linux-ha.org/glue/archive/glue-${PV}.tar.bz2 \ >+ file://0001-don-t-compile-doc-and-Error-Fix.patch \ >+ file://0001-ribcl.py.in-Warning-Fix.patch \ > file://volatiles \ > file://tmpfiles \ >- " >+" > SRC_URI_append_libc-uclibc = " file://kill-stack-protector.patch" >-SRC_URI[md5sum] = "d2b6f798e58ef2497526e404b8ad640a" >-SRC_URI[sha256sum] = >"0e1922373aba1c3811f6ef61559a9c407c0bec71d2ebc451a4db5b940ded8ec0" >+ >+SRC_URI[md5sum] = "ec620466d6f23affa3b074b72bca7870" >+SRC_URI[sha256sum] = >"feba102fa1e24b6be2005089ebe362b82d6567af60005cf371679b1b44ec503f" > > LIC_FILES_CHKSUM = >"file://${COREBASE}/meta/COPYING.GPLv2;md5=751419260aa954499f7abaabaa88 >2bbe" > >-inherit autotools useradd >+inherit autotools useradd pkgconfig > > S = "${WORKDIR}/Reusable-Cluster-Components-glue--glue-${PV}" > >@@ -70,43 +69,50 @@ PACKAGES += "\ > ${PN}-plugin-interfacemgr-dbg \ > ${PN}-plugin-interfacemgr-staticdev \ > ${PN}-lrmtest \ >+ ${PN}-plugin-compress \ >+ ${PN}-plugin-compress-dbg \ >+ ${PN}-plugin-compress-staticdev \ > " > >-FILES_${PN} = "/etc/ /var /usr/lib/lib*.so.* /usr/sbin /usr/share/cluster-glue/*sh >/usr/share/cluster-glue/*pl\ >- /usr/lib/heartbeat/transient-test.sh \ >- /usr/lib/heartbeat/logtest \ >- /usr/lib/heartbeat/ipctransientserver \ >- /usr/lib/heartbeat/base64_md5_test \ >- /usr/lib/heartbeat/ipctest \ >- /usr/lib/heartbeat/ipctransientclient \ >- /usr/lib/heartbeat/ha_logd \ >- /usr/lib/heartbeat/lrmd \ >+FILES_${PN} = "${sysconfdir} /var ${libdir}/lib*.so.* ${sbindir} >${datadir}/cluster-glue/*sh ${datadir}/cluster-glue/*pl\ >+ ${libdir}/heartbeat/transient-test.sh \ >+ ${libdir}/heartbeat/logtest \ >+ ${libdir}/heartbeat/ipctransientserver \ >+ ${libdir}/heartbeat/base64_md5_test \ >+ ${libdir}/heartbeat/ipctest \ >+ ${libdir}/heartbeat/ipctransientclient \ >+ ${libdir}/heartbeat/ha_logd \ >+ ${libdir}/heartbeat/lrmd \ > " > >-FILES_${PN}-dbg += "/usr/lib/heartbeat/.debug/" >+FILES_${PN}-dbg += "${libdir}/heartbeat/.debug/ \ >+ " >+FILES_${PN}-plugin-compress = "${libdir}/heartbeat/plugins/compress/*.so" >+FILES_${PN}-plugin-compress-staticdev = >"${libdir}/heartbeat/plugins/compress/*.*a" >+FILES_${PN}-plugin-compress-dbg = >"${libdir}/heartbeat/plugins/compress/.debug/" > >-FILES_${PN}-plugin-test = "/usr/lib/heartbeat/plugins/test/test.so" >-FILES_${PN}-plugin-test-staticdev = "/usr/lib/heartbeat/plugins/test/test.*a" >-FILES_${PN}-plugin-test-dbg = "/usr/lib/heartbeat/plugins/test/.debug/" >+FILES_${PN}-plugin-test = "${libdir}/heartbeat/plugins/test/test.so" >+FILES_${PN}-plugin-test-staticdev = "${libdir}/heartbeat/plugins/test/test.*a" >+FILES_${PN}-plugin-test-dbg = "${libdir}/heartbeat/plugins/test/.debug/" > FILES_${PN}-plugin-stonith2 = " \ >- /usr/lib/stonith/plugins/xen0-ha-dom0-stonith-helper \ >- /usr/lib/stonith/plugins/stonith2/*.so \ >+ ${libdir}/stonith/plugins/xen0-ha-dom0-stonith-helper \ >+ ${libdir}/stonith/plugins/stonith2/*.so \ > " >-FILES_${PN}-plugin-stonith2-ribcl = "/usr/lib/stonith/plugins/stonith2/ribcl.py" >+FILES_${PN}-plugin-stonith2-ribcl = "${libdir}/stonith/plugins/stonith2/ribcl.py" > >-FILES_${PN}-plugin-stonith2-dbg = "/usr/lib/stonith/plugins/stonith2/.debug/" >-FILES_${PN}-plugin-stonith2-staticdev = "/usr/lib/stonith/plugins/stonith2/*.*a" >+FILES_${PN}-plugin-stonith2-dbg = "${libdir}/stonith/plugins/stonith2/.debug/" >+FILES_${PN}-plugin-stonith2-staticdev = "${libdir}/stonith/plugins/stonith2/*.*a" > >-FILES_${PN}-plugin-stonith-external = "/usr/lib/stonith/plugins/external/" >-FILES_${PN}-plugin-raexec = "/usr/lib/heartbeat/plugins/RAExec/*.so" >-FILES_${PN}-plugin-raexec-staticdev = "/usr/lib/heartbeat/plugins/RAExec/*.*a" >-FILES_${PN}-plugin-raexec-dbg = "/usr/lib/heartbeat/plugins/RAExec/.debug/" >+FILES_${PN}-plugin-stonith-external = "${libdir}/stonith/plugins/external/" >+FILES_${PN}-plugin-raexec = "${libdir}/heartbeat/plugins/RAExec/*.so" >+FILES_${PN}-plugin-raexec-staticdev = "${libdir}/heartbeat/plugins/RAExec/*.*a" >+FILES_${PN}-plugin-raexec-dbg = "${libdir}/heartbeat/plugins/RAExec/.debug/" > >-FILES_${PN}-plugin-interfacemgr = >"/usr/lib/heartbeat/plugins/InterfaceMgr/generic.so" >-FILES_${PN}-plugin-interfacemgr-staticdev = >"/usr/lib/heartbeat/plugins/InterfaceMgr/generic.*a" >-FILES_${PN}-plugin-interfacemgr-dbg = >"/usr/lib/heartbeat/plugins/InterfaceMgr/.debug/" >+FILES_${PN}-plugin-interfacemgr = >"${libdir}/heartbeat/plugins/InterfaceMgr/generic.so" >+FILES_${PN}-plugin-interfacemgr-staticdev = >"${libdir}/heartbeat/plugins/InterfaceMgr/generic.*a" >+FILES_${PN}-plugin-interfacemgr-dbg = >"${libdir}/heartbeat/plugins/InterfaceMgr/.debug/" > >-FILES_${PN}-lrmtest = "/usr/share/cluster-glue/lrmtest/" >+FILES_${PN}-lrmtest = "${datadir}/cluster-glue/lrmtest/" > > RDEPENDS_${PN} += "perl" > RDEPENDS_${PN}-plugin-stonith2 += "bash" >-- >1.8.4.2 > >-- >_______________________________________________ >yocto mailing list >yocto@yoctoproject.org >https://lists.yoctoproject.org/listinfo/yocto ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [meta-cgl][PATCH v2] cluster-glue: upgrade 1.0.5 -> 1.0.12 2015-08-21 2:50 ` Li, Xin @ 2015-08-24 6:43 ` Li, Xin 2015-08-24 8:32 ` Siva Borra 2015-08-24 9:53 ` Alexandru Vaduva 0 siblings, 2 replies; 11+ messages in thread From: Li, Xin @ 2015-08-24 6:43 UTC (permalink / raw) To: Alexandru Vaduva, yocto@yoctoproject.org Hi, Alex V. I bitbake cluster-glue for x86, Arm, and Powerpc. But I can't produce the error. Would you mind providing the error message for me? Regards, Li >-----Original Message----- >From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] >On Behalf Of Li, Xin >Sent: Friday, August 21, 2015 10:51 AM >To: Alexandru Vaduva; yocto@yoctoproject.org >Subject: Re: [yocto] [meta-cgl][PATCH v2] cluster-glue: upgrade 1.0.5 -> 1.0.12 > >Hi, Alex V. > >Thanks a lot. > >Indeed, the error does not occur on my system. >I will do some extra test, and resend the patch. > >Regards, >Li > >>-----Original Message----- >>From: Alexandru Vaduva [mailto:Alexandru.Vaduva@enea.com] >>Sent: Thursday, August 20, 2015 10:51 PM >>To: Li, Xin/李 欣; yocto@yoctoproject.org >>Subject: RE: [yocto] [meta-cgl][PATCH v2] cluster-glue: upgrade 1.0.5 >>-> 1.0.12 >> >>Hello, >> >>Could you please take one more look on this since for me the build is >>failing in the do_compile stage. >>Due to this error I was not able to build the other two patches >>heardbleat and pacemaker. :D >> >>Alex V. >> >>-----Original Message----- >>From: yocto-bounces@yoctoproject.org >>[mailto:yocto-bounces@yoctoproject.org] >>On Behalf Of Li xin >>Sent: Wednesday, August 19, 2015 8:04 AM >>To: yocto@yoctoproject.org >>Subject: [yocto] [meta-cgl][PATCH v2] cluster-glue: upgrade 1.0.5 -> >>1.0.12 >> >>* Add patch to aviod build Error and Warning. >> --0001-don-t-compile-doc-and-Error-Fix.patch >> --0001-ribcl.py.in-Warning-Fix.patch >> >>* Dropped backported patch: >> --fix-const-cast.patch >> --glue-remove-getpid-check.patch >> --glue-repair-deprecated-glib-support.patch >> --glue-repair-libxml-support.patch >> >>* Replace the hardcoded strings "/usr/lib" "/etc/" "/usr/sbin" "/usr/share" >> >>Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> >>--- >> .../0001-don-t-compile-doc-and-Error-Fix.patch | 50 ++++++++++ >> .../0001-ribcl.py.in-Warning-Fix.patch | 34 +++++++ >> .../cluster-glue/cluster-glue/fix-const-cast.patch | 103 --------------------- >> .../cluster-glue/glue-remove-getpid-check.patch | 31 ------- >> .../glue-repair-deprecated-glib-support.patch | 12 --- >> .../cluster-glue/glue-repair-libxml-support.patch | 14 >>--- ...luster-glue_1.0.5.bb => cluster-glue_1.0.12.bb} | 76 >>++++++++------- >> 7 files changed, 125 insertions(+), 195 deletions(-) create mode >>100644 >>meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-compil >>e-doc-and >>-Error-Fix.patch >> create mode 100644 >>meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.py.in-Warning-Fi >x. >>patch >> delete mode 100644 >>meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast.pa >>tch >> delete mode 100644 >>meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-getpi >>d-check.p >>atch >> delete mode 100644 >>meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-depre >>cated-glib- >>support.patch >> delete mode 100644 >>meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-libxm >>l-support.p >>atch >> rename meta-cgl-common/recipes-cgl/cluster-glue/{cluster-glue_1.0.5.bb >>=> cluster-glue_1.0.12.bb} (49%) >> >>diff --git >>a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-comp >>ile-doc-a >>nd-Error-Fix.patch >>b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-comp >>ile-doc-a >>nd-Error-Fix.patch >>new file mode 100644 >>index 0000000..471b1e4 >>--- /dev/null >>+++ b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t- >>+++ c >>+++ ompile-doc-and-Error-Fix.patch >>@@ -0,0 +1,50 @@ >>+From b64b676f7abf896ca714341eb330099f2ff04213 Mon Sep 17 00:00:00 2001 >>+From: Li xin <lixin.fnst@cn.fujitsu.com> >>+Date: Tue, 18 Aug 2015 17:43:29 +0900 >>+Subject: [PATCH] don't compile doc and Error Fix >>+ >>+| help2man: can't get `--help' info from ../../lrm/admin/lrmadmin >>+| make[2]: *** [lrmadmin.8] Error 1 >>+ >>+| make[2]: a2x: Command not found >>+| /usr/bin/xsltproc \ >>+| --xinclude \ >>+| >>+| http://docbook.sourceforge.net/release/xsl/current/manpages/docbook. >>+| x >>+| sl ha_logd.xml >>+| make[2]: *** [hb_report.8] Error 127 >>+ >>+Upstream-Status: pending >>+ >>+Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> >>+--- >>+ Makefile.am | 2 +- >>+ configure.ac | 6 ++++++ >>+ lrm/admin/Makefile.am | 2 +- >>+ 3 files changed, 8 insertions(+), 2 deletions(-) >>+ >>+diff --git a/Makefile.am b/Makefile.am index 93dbaf6..2f4d03b 100644 >>+--- a/Makefile.am >>++++ b/Makefile.am >>+@@ -23,7 +23,7 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 >configure >>DRF/config-h.in \ >>+ DRF/stamp-h.in libtool.m4 ltdl.m4 libltdl.tar >>+ >>+ SUBDIRS = include $(LIBLTDL_DIR) replace lib lrm logd \ >>+- hb_report doc config >>++ hb_report config >>+ >>+ install-exec-local: >>+ $(INSTALL) -d $(DESTDIR)/$(HA_COREDIR) diff --git >>+a/lrm/admin/Makefile.am b/lrm/admin/Makefile.am index a92cd72..ed938e0 >>+100644 >>+--- a/lrm/admin/Makefile.am >>++++ b/lrm/admin/Makefile.am >>+@@ -36,5 +36,5 @@ man8_MANS = $(sbin_PROGRAMS:%=%.8) >>+ %.8: % >>+ echo Creating $@ >>+ chmod a+x $< >>+- help2man --output $@ --no-info --section 8 --name "Part of the Linux-HA >>project" $(top_builddir)/lrm/admin/$< >>++ help2man --output $@ --no-info --section 8 --name "Part of the >>++Linux-HA project" /usr/sbin/$< >>+ endif >>+-- >>+1.8.4.2 >>+ >>diff --git >>a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.py.i >>n-Warning-F >>ix.patch >>b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.py.i >>n-Warning-F >>ix.patch >>new file mode 100644 >>index 0000000..31010d4 >>--- /dev/null >>+++ b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl. >>+++ p >>+++ y.in-Warning-Fix.patch >>@@ -0,0 +1,34 @@ >>+From a2c66927b75547cee1db1340a67449ded0812df3 Mon Sep 17 00:00:00 2001 >>+From: Li xin <lixin.fnst@cn.fujitsu.com> >>+Date: Wed, 19 Aug 2015 11:13:46 +0900 >>+Subject: [PATCH] ribcl.py.in: Warning Fix >>+ >>+WARNING: QA Issue: >>+/usr/lib/stonith/plugins/stonith2/ribcl.py_cluster-glue-plugin-stonith >>+2 -ribcl contained in package cluster-glue-plugin-stonith2-ribcl >>+requires /usr/local/bin/python, but no providers found in its RDEPENDS >>+[file-rdeps] >>+ >>+Add target python handling >>+Allow the build to specify a path for the python instead of reusing >>+the PYTHON variable which can lead to inconsistencies if we are cross >>+compiling. >>+ >>+Upstream-Status: pending >>+ >>+Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> >>+--- >>+ lib/plugins/stonith/ribcl.py.in | 2 +- >>+ 1 file changed, 1 insertion(+), 1 deletion(-) >>+ >>+diff --git a/lib/plugins/stonith/ribcl.py.in >>+b/lib/plugins/stonith/ribcl.py.in index 14e070c..01205e3 100644 >>+--- a/lib/plugins/stonith/ribcl.py.in >>++++ b/lib/plugins/stonith/ribcl.py.in >>+@@ -1,4 +1,4 @@ >>+-#!@PYTHON@ >>++#!@TRAGET_PYTHON@ >>+ >>+ >>+ # >>+-- >>+1.8.4.2 >>+ >>diff --git >>a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast. >>patch >>b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast. >>patch >>deleted file mode 100644 >>index 6de65bf..0000000 >>--- >>a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast. >>patch >>+++ /dev/null >>@@ -1,103 +0,0 @@ >>-This patch gets rid of new warning introduced with gcc 4.5 -Warning is >>explained here >>-http://gcc.gnu.org/viewcvs/trunk/gcc/doc/invoke.texi?r1=148037&r2=1480 >>53&diff >>_format=h >>- >>--Khem >>--updated by Alexandru Vaduva - patch needed redone >>- >>-diff -Naur a/lib/plugins/stonith/apcsmart.c b/lib/plugins/stonith/apcsmart.c >>---- a/lib/plugins/stonith/apcsmart.c 2014-07-09 17:14:24.492455034 +0200 >>-+++ b/lib/plugins/stonith/apcsmart.c 2014-07-09 17:15:03.386817399 +0200 >>-@@ -719,7 +719,7 @@ >>- } >>- ERRIFNOTCONFIGED(s,NULL); >>- >>-- return OurImports->CopyHostList((const char **)ad->hostlist); >>-+ return OurImports->CopyHostList(CONST_CAST(ad->hostlist)); >>- } >>- >>- static gboolean >>-diff -Naur a/lib/plugins/stonith/external.c b/lib/plugins/stonith/external.c >>---- a/lib/plugins/stonith/external.c 2014-07-09 17:15:28.661753145 +0200 >>-+++ b/lib/plugins/stonith/external.c 2014-07-09 17:17:03.873743634 +0200 >>-@@ -540,7 +540,7 @@ >>- sd->confignames[dircount] = NULL; >>- } >>- >>-- return (const char **)sd->confignames; >>-+ return CONST_CAST(sd->confignames); >>- } >>- >>- /* >>-diff -Naur a/lib/plugins/stonith/meatware.c b/lib/plugins/stonith/meatware.c >>---- a/lib/plugins/stonith/meatware.c 2014-07-09 17:18:47.597375001 +0200 >>-+++ b/lib/plugins/stonith/meatware.c 2014-07-09 17:19:35.943338541 +0200 >>-@@ -136,7 +136,7 @@ >>- return(NULL); >>- } >>- >>-- return OurImports->CopyHostList((const char **)nd->hostlist); >>-+ return OurImports->CopyHostList(CONST_CAST(nd->hostlist)); >>- } >>- >>- /* >>-diff -Naur a/lib/plugins/stonith/null.c b/lib/plugins/stonith/null.c >>---- a/lib/plugins/stonith/null.c 2014-07-09 17:20:12.389803230 +0200 >>-+++ b/lib/plugins/stonith/null.c 2014-07-09 17:20:55.156001606 +0200 >>-@@ -126,7 +126,7 @@ >>- struct pluginDevice* nd = (struct pluginDevice*)s; >>- >>- ERRIFWRONGDEV(s, NULL); >>-- return OurImports->CopyHostList((const char**)nd->hostlist); >>-+ return OurImports->CopyHostList(CONST_CAST(nd->hostlist)); >>- } >>- >>- >>-diff -Naur a/lib/plugins/stonith/rcd_serial.c b/lib/plugins/stonith/rcd_serial.c >>---- a/lib/plugins/stonith/rcd_serial.c 2014-07-09 17:21:12.603266573 +0200 >>-+++ b/lib/plugins/stonith/rcd_serial.c 2014-07-09 17:21:56.341423862 +0200 >>-@@ -347,7 +347,7 @@ >>- return(NULL); >>- } >>- >>-- return OurImports->CopyHostList((const char **)rcd->hostlist); >>-+ return OurImports->CopyHostList(CONST_CAST(rcd->hostlist)); >>- } >>- >>- /* >>-diff -Naur a/lib/plugins/stonith/rhcs.c b/lib/plugins/stonith/rhcs.c >>---- a/lib/plugins/stonith/rhcs.c 2014-07-09 17:17:27.652742171 +0200 >>-+++ b/lib/plugins/stonith/rhcs.c 2014-07-09 17:18:18.562597957 +0200 >>-@@ -703,7 +703,7 @@ >>- sd->confignames[dircount] = NULL; >>- } >>- >>-- return (const char **)sd->confignames; >>-+ return CONST_CAST(sd->confignames); >>- } >>- >>- /* >>-diff -Naur a/lib/plugins/stonith/ssh.c b/lib/plugins/stonith/ssh.c >>---- a/lib/plugins/stonith/ssh.c 2014-07-09 17:22:15.320624229 +0200 >>-+++ b/lib/plugins/stonith/ssh.c 2014-07-09 17:22:53.499015642 +0200 >>-@@ -161,7 +161,7 @@ >>- return(NULL); >>- } >>- >>-- return OurImports->CopyHostList((const char **)sd->hostlist); >>-+ return OurImports->CopyHostList(CONST_CAST(sd->hostlist)); >>- } >>- >>- >>-diff -Naur a/lib/plugins/stonith/stonith_plugin_common.h >>b/lib/plugins/stonith/stonith_plugin_common.h >>---- a/lib/plugins/stonith/stonith_plugin_common.h 2014-07-09 >>17:23:16.954027367 +0200 >>-+++ b/lib/plugins/stonith/stonith_plugin_common.h 2014-07-09 >>17:24:38.538609129 +0200 >>-@@ -123,5 +123,8 @@ >>- return; \ >>- } >>- >>-+#define CONST_CAST(s) \ >>-+ (__extension__(union {char ** a; const char** b;})(s)).b >>-+ >>- #endif >>- >>diff --git >>a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-get >>pid-check >>.patch >>b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-get >>pid-check >>.patch >>deleted file mode 100644 >>index 30f422c..0000000 >>--- >>a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-get >>pid-check >>.patch >>+++ /dev/null >>@@ -1,31 +0,0 @@ >>-diff -Naur a/configure.ac b/configure.ac >>---- a/configure.ac 2014-07-09 17:05:51.602037193 +0200 >>-+++ b/configure.ac 2014-07-09 17:08:44.566761961 +0200 >>-@@ -441,24 +441,9 @@ >>- AC_MSG_RESULT($BUILD_VERSION) >>- AC_SUBST(BUILD_VERSION) >>- >>-- >>--dnl check if there are getpid() inconsistency >>--dnl Note: reduce LIBS; in particular, ltdl can cause confusion. >>--dnl Possibly better: move 'LIBS="$LIBS -lltdl"' from above to beyond here. >>--dnl >>--AC_MSG_CHECKING(for getpid() consistency in multi-process/threads >>program) --ac_save_LIBS=$LIBS --LIBS="-lpthread" >>--AC_TRY_RUN(`cat $srcdir/config/pidtest.c`, --AC_MSG_RESULT(ok), >>--[AC_MSG_RESULT(fail); AC_DEFINE(GETPID_INCONSISTENT, 1 , [pid >>inconsistent])],) --LIBS=$ac_save_LIBS >>-- >>--dnl check byte order >>--AC_MSG_CHECKING(for byteorder) >>--AC_TRY_RUN(`cat $srcdir/config/byteorder_test.c`, >>--[AC_MSG_RESULT(little-endian); AC_DEFINE(CONFIG_LITTLE_ENDIAN, 1, >>[little-endian])], --[AC_MSG_RESULT(big-endian); >>AC_DEFINE(CONFIG_BIG_ENDIAN, 1, [big-endian])],) >>-+AC_C_BIGENDIAN( >>-+ [AC_DEFINE(CONFIG_BIG_ENDIAN, 1, [big])], >>-+ [AC_DEFINE(CONFIG_LITTLE_ENDIAN, 1, [little])]) >>- >>- >>- dnl =============================================== >>diff --git >>a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-dep >>recated-gli >>b-support.patch >>b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-dep >>recated-gli >>b-support.patch >>deleted file mode 100644 >>index 16fc679..0000000 >>--- >>a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-dep >>recated-gli >>b-support.patch >>+++ /dev/null >>@@ -1,12 +0,0 @@ >>-diff -Naur a/include/clplumbing/cl_uuid.h b/include/clplumbing/cl_uuid.h >>---- a/include/clplumbing/cl_uuid.h 2014-07-14 14:25:24.127378762 +0200 >>-+++ b/include/clplumbing/cl_uuid.h 2014-07-14 14:23:32.120193782 +0200 >>-@@ -16,7 +16,7 @@ >>- >>- #ifndef _CL_UUID_H_ >>- #define _CL_UUID_H_ >>--#include <glib/gtypes.h> >>-+#include <glib.h> >>- >>- typedef struct cl_uuid_s{ >>- unsigned char uuid[16]; >>diff --git >>a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-lib >>xml-support >>.patch >>b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-lib >>xml-support >>.patch >>deleted file mode 100644 >>index a436575..0000000 >>--- >>a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-lib >>xml-support >>.patch >>+++ /dev/null >>@@ -1,14 +0,0 @@ >>-diff -Naur a/configure.ac b/configure.ac >>---- a/configure.ac 2014-07-14 13:02:42.016652860 +0200 >>-+++ b/configure.ac 2014-07-14 13:03:59.585322332 +0200 >>-@@ -679,8 +679,8 @@ >>- >>- CPPFLAGS="$CPPFLAGS $XML2HEAD" >>- >>--AC_CHECK_HEADERS(libxml/xpath.h) >>--if test "$ac_cv_header_libxml_xpath_h" != "yes"; then >>-+AC_CHECK_HEADERS(libxml2/libxml/xpath.h) >>-+if test x"$ac_cv_header_libxml2_libxml_xpath_h" != x"yes"; then >>- AC_MSG_ERROR(The libxml developement headers were not found) >>- fi >>- >>diff --git >>a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.5.bb >>b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb >>similarity index 49% >>rename from >>meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.5.bb >>rename to >>meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb >>index f1b4a78..be04469 100644 >>--- a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.5.bb >>+++ b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb >>@@ -7,21 +7,20 @@ LICENSE = "GPLv2" >> DEPENDS = "libxml2 libtool glib-2.0 bzip2 util-linux net-snmp openhpi" >> >> SRC_URI = " \ >>- http://hg.linux-ha.org/glue/archive/glue-${PV}.tar.bz2 \ >>- file://glue-repair-libxml-support.patch \ >>- file://glue-repair-deprecated-glib-support.patch \ >>- file://glue-remove-getpid-check.patch \ >>- file://fix-const-cast.patch \ >>+ http://hg.linux-ha.org/glue/archive/glue-${PV}.tar.bz2 \ >>+ file://0001-don-t-compile-doc-and-Error-Fix.patch \ >>+ file://0001-ribcl.py.in-Warning-Fix.patch \ >> file://volatiles \ >> file://tmpfiles \ >>- " >>+" >> SRC_URI_append_libc-uclibc = " file://kill-stack-protector.patch" >>-SRC_URI[md5sum] = "d2b6f798e58ef2497526e404b8ad640a" >>-SRC_URI[sha256sum] = >>"0e1922373aba1c3811f6ef61559a9c407c0bec71d2ebc451a4db5b940ded8ec0" >>+ >>+SRC_URI[md5sum] = "ec620466d6f23affa3b074b72bca7870" >>+SRC_URI[sha256sum] = >>"feba102fa1e24b6be2005089ebe362b82d6567af60005cf371679b1b44ec503f" >> >> LIC_FILES_CHKSUM = >>"file://${COREBASE}/meta/COPYING.GPLv2;md5=751419260aa954499f7abaabaa8 >8 >>2bbe" >> >>-inherit autotools useradd >>+inherit autotools useradd pkgconfig >> >> S = "${WORKDIR}/Reusable-Cluster-Components-glue--glue-${PV}" >> >>@@ -70,43 +69,50 @@ PACKAGES += "\ >> ${PN}-plugin-interfacemgr-dbg \ >> ${PN}-plugin-interfacemgr-staticdev \ >> ${PN}-lrmtest \ >>+ ${PN}-plugin-compress \ >>+ ${PN}-plugin-compress-dbg \ >>+ ${PN}-plugin-compress-staticdev \ >> " >> >>-FILES_${PN} = "/etc/ /var /usr/lib/lib*.so.* /usr/sbin >>/usr/share/cluster-glue/*sh /usr/share/cluster-glue/*pl\ >>- /usr/lib/heartbeat/transient-test.sh \ >>- /usr/lib/heartbeat/logtest \ >>- /usr/lib/heartbeat/ipctransientserver \ >>- /usr/lib/heartbeat/base64_md5_test \ >>- /usr/lib/heartbeat/ipctest \ >>- /usr/lib/heartbeat/ipctransientclient \ >>- /usr/lib/heartbeat/ha_logd \ >>- /usr/lib/heartbeat/lrmd \ >>+FILES_${PN} = "${sysconfdir} /var ${libdir}/lib*.so.* ${sbindir} >>${datadir}/cluster-glue/*sh ${datadir}/cluster-glue/*pl\ >>+ ${libdir}/heartbeat/transient-test.sh \ >>+ ${libdir}/heartbeat/logtest \ >>+ ${libdir}/heartbeat/ipctransientserver \ >>+ ${libdir}/heartbeat/base64_md5_test \ >>+ ${libdir}/heartbeat/ipctest \ >>+ ${libdir}/heartbeat/ipctransientclient \ >>+ ${libdir}/heartbeat/ha_logd \ >>+ ${libdir}/heartbeat/lrmd \ >> " >> >>-FILES_${PN}-dbg += "/usr/lib/heartbeat/.debug/" >>+FILES_${PN}-dbg += "${libdir}/heartbeat/.debug/ \ >>+ " >>+FILES_${PN}-plugin-compress = "${libdir}/heartbeat/plugins/compress/*.so" >>+FILES_${PN}-plugin-compress-staticdev = >>"${libdir}/heartbeat/plugins/compress/*.*a" >>+FILES_${PN}-plugin-compress-dbg = >>"${libdir}/heartbeat/plugins/compress/.debug/" >> >>-FILES_${PN}-plugin-test = "/usr/lib/heartbeat/plugins/test/test.so" >>-FILES_${PN}-plugin-test-staticdev = "/usr/lib/heartbeat/plugins/test/test.*a" >>-FILES_${PN}-plugin-test-dbg = "/usr/lib/heartbeat/plugins/test/.debug/" >>+FILES_${PN}-plugin-test = "${libdir}/heartbeat/plugins/test/test.so" >>+FILES_${PN}-plugin-test-staticdev = "${libdir}/heartbeat/plugins/test/test.*a" >>+FILES_${PN}-plugin-test-dbg = "${libdir}/heartbeat/plugins/test/.debug/" >> FILES_${PN}-plugin-stonith2 = " \ >>- /usr/lib/stonith/plugins/xen0-ha-dom0-stonith-helper \ >>- /usr/lib/stonith/plugins/stonith2/*.so \ >>+ ${libdir}/stonith/plugins/xen0-ha-dom0-stonith-helper \ >>+ ${libdir}/stonith/plugins/stonith2/*.so \ >> " >>-FILES_${PN}-plugin-stonith2-ribcl = "/usr/lib/stonith/plugins/stonith2/ribcl.py" >>+FILES_${PN}-plugin-stonith2-ribcl = "${libdir}/stonith/plugins/stonith2/ribcl.py" >> >>-FILES_${PN}-plugin-stonith2-dbg = "/usr/lib/stonith/plugins/stonith2/.debug/" >>-FILES_${PN}-plugin-stonith2-staticdev = "/usr/lib/stonith/plugins/stonith2/*.*a" >>+FILES_${PN}-plugin-stonith2-dbg = "${libdir}/stonith/plugins/stonith2/.debug/" >>+FILES_${PN}-plugin-stonith2-staticdev = "${libdir}/stonith/plugins/stonith2/*.*a" >> >>-FILES_${PN}-plugin-stonith-external = "/usr/lib/stonith/plugins/external/" >>-FILES_${PN}-plugin-raexec = "/usr/lib/heartbeat/plugins/RAExec/*.so" >>-FILES_${PN}-plugin-raexec-staticdev = "/usr/lib/heartbeat/plugins/RAExec/*.*a" >>-FILES_${PN}-plugin-raexec-dbg = "/usr/lib/heartbeat/plugins/RAExec/.debug/" >>+FILES_${PN}-plugin-stonith-external = "${libdir}/stonith/plugins/external/" >>+FILES_${PN}-plugin-raexec = "${libdir}/heartbeat/plugins/RAExec/*.so" >>+FILES_${PN}-plugin-raexec-staticdev = "${libdir}/heartbeat/plugins/RAExec/*.*a" >>+FILES_${PN}-plugin-raexec-dbg = "${libdir}/heartbeat/plugins/RAExec/.debug/" >> >>-FILES_${PN}-plugin-interfacemgr = >>"/usr/lib/heartbeat/plugins/InterfaceMgr/generic.so" >>-FILES_${PN}-plugin-interfacemgr-staticdev = >>"/usr/lib/heartbeat/plugins/InterfaceMgr/generic.*a" >>-FILES_${PN}-plugin-interfacemgr-dbg = >>"/usr/lib/heartbeat/plugins/InterfaceMgr/.debug/" >>+FILES_${PN}-plugin-interfacemgr = >>"${libdir}/heartbeat/plugins/InterfaceMgr/generic.so" >>+FILES_${PN}-plugin-interfacemgr-staticdev = >>"${libdir}/heartbeat/plugins/InterfaceMgr/generic.*a" >>+FILES_${PN}-plugin-interfacemgr-dbg = >>"${libdir}/heartbeat/plugins/InterfaceMgr/.debug/" >> >>-FILES_${PN}-lrmtest = "/usr/share/cluster-glue/lrmtest/" >>+FILES_${PN}-lrmtest = "${datadir}/cluster-glue/lrmtest/" >> >> RDEPENDS_${PN} += "perl" >> RDEPENDS_${PN}-plugin-stonith2 += "bash" >>-- >>1.8.4.2 >> >>-- >>_______________________________________________ >>yocto mailing list >>yocto@yoctoproject.org >>https://lists.yoctoproject.org/listinfo/yocto >-- >_______________________________________________ >yocto mailing list >yocto@yoctoproject.org >https://lists.yoctoproject.org/listinfo/yocto ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [meta-cgl][PATCH v2] cluster-glue: upgrade 1.0.5 -> 1.0.12 2015-08-24 6:43 ` Li, Xin @ 2015-08-24 8:32 ` Siva Borra 2015-08-24 9:54 ` Alexandru Vaduva 2015-08-24 9:53 ` Alexandru Vaduva 1 sibling, 1 reply; 11+ messages in thread From: Siva Borra @ 2015-08-24 8:32 UTC (permalink / raw) To: yocto Hi Li, The error reproducible on ppc32. Here are the error messages: make[2]: Entering directory `/media/data/fb/zsibo/CGL/P2041_RC/tmp/work/ppce500mc-enea-linux/cluster-glue/1.0.12-r0/build/lrm/admin' echo Creating lrmadmin.8 Creating lrmadmin.8 chmod a+x lrmadmin help2man --output lrmadmin.8 --no-info --section 8 --name "Part of the Linux-HA project" /usr/sbin/lrmadmin make[2]: *** [lrmadmin.8] Error 1 make[2]: Leaving directory `/media/data/fb/zsibo/CGL/P2041_RC/tmp/work/ppce500mc-enea-linux/cluster-glue/1.0.12-r0/build/lrm/admin' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/media/data/fb/zsibo/CGL/P2041_RC/tmp/work/ppce500mc-enea-linux/cluster-glue/1.0.12-r0/build/lrm' make: *** [all-recursive] Error 1 + die 'oe_runmake failed' + bbfatal 'oe_runmake failed' + echo 'ERROR: oe_runmake failed' ERROR: oe_runmake failed + exit 1 + bb_exit_handler + ret=1 + case $ret in + case $BASH_VERSION in + echo 'WARNING: /media/data/fb/zsibo/CGL/P2041_RC/tmp/work/ppce500mc-enea-linux/cluster-glue/1.0.12-r0/temp/run.do_compile.47522:1 exit 1 from exit' 1 WARNING: /media/data/fb/zsibo/CGL/P2041_RC/tmp/work/ppce500mc-enea-linux/cluster-glue/1.0.12-r0/temp/run.do_compile.47522:1 exit 1 from exit 1 + exit 1 for `all'. make[2]: Leaving directory `/media/data/fb/zsibo/CGL/P2041_RC/tmp/work/ppce500mc-enea-linux/cluster-glue/1.0.12-r0/build/lrm/lrmd' Making all in admin make[2]: Entering directory `/media/data/fb/zsibo/CGL/P2041_RC/tmp/work/ppce500mc-enea-linux/cluster-glue/1.0.12-r0/build/lrm/admin' echo Creating lrmadmin.8 Creating lrmadmin.8 chmod a+x lrmadmin help2man --output lrmadmin.8 --no-info --section 8 --name "Part of the Linux-HA project" /usr/sbin/lrmadmin make[2]: *** [lrmadmin.8] Error 1 make[2]: Leaving directory `/media/data/fb/zsibo/CGL/P2041_RC/tmp/work/ppce500mc-enea-linux/cluster-glue/1.0.12-r0/build/lrm/admin' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/media/data/fb/zsibo/CGL/P2041_RC/tmp/work/ppce500mc-enea-linux/cluster-glue/1.0.12-r0/build/lrm' make: *** [all-recursive] Error 1 Regards, Siva Borra. On 2015-08-24 08:43, Li, Xin wrote: > Hi, Alex V. > > I bitbake cluster-glue for x86, Arm, and Powerpc. But I can't produce the error. > Would you mind providing the error message for me? > > Regards, > Li > >> -----Original Message----- >> From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] >> On Behalf Of Li, Xin >> Sent: Friday, August 21, 2015 10:51 AM >> To: Alexandru Vaduva; yocto@yoctoproject.org >> Subject: Re: [yocto] [meta-cgl][PATCH v2] cluster-glue: upgrade 1.0.5 -> 1.0.12 >> >> Hi, Alex V. >> >> Thanks a lot. >> >> Indeed, the error does not occur on my system. >> I will do some extra test, and resend the patch. >> >> Regards, >> Li >> >>> -----Original Message----- >>> From: Alexandru Vaduva [mailto:Alexandru.Vaduva@enea.com] >>> Sent: Thursday, August 20, 2015 10:51 PM >>> To: Li, Xin/李 欣; yocto@yoctoproject.org >>> Subject: RE: [yocto] [meta-cgl][PATCH v2] cluster-glue: upgrade 1.0.5 >>> -> 1.0.12 >>> >>> Hello, >>> >>> Could you please take one more look on this since for me the build is >>> failing in the do_compile stage. >>> Due to this error I was not able to build the other two patches >>> heardbleat and pacemaker. :D >>> >>> Alex V. >>> >>> -----Original Message----- >>> From: yocto-bounces@yoctoproject.org >>> [mailto:yocto-bounces@yoctoproject.org] >>> On Behalf Of Li xin >>> Sent: Wednesday, August 19, 2015 8:04 AM >>> To: yocto@yoctoproject.org >>> Subject: [yocto] [meta-cgl][PATCH v2] cluster-glue: upgrade 1.0.5 -> >>> 1.0.12 >>> >>> * Add patch to aviod build Error and Warning. >>> --0001-don-t-compile-doc-and-Error-Fix.patch >>> --0001-ribcl.py.in-Warning-Fix.patch >>> >>> * Dropped backported patch: >>> --fix-const-cast.patch >>> --glue-remove-getpid-check.patch >>> --glue-repair-deprecated-glib-support.patch >>> --glue-repair-libxml-support.patch >>> >>> * Replace the hardcoded strings "/usr/lib" "/etc/" "/usr/sbin" "/usr/share" >>> >>> Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> >>> --- >>> .../0001-don-t-compile-doc-and-Error-Fix.patch | 50 ++++++++++ >>> .../0001-ribcl.py.in-Warning-Fix.patch | 34 +++++++ >>> .../cluster-glue/cluster-glue/fix-const-cast.patch | 103 --------------------- >>> .../cluster-glue/glue-remove-getpid-check.patch | 31 ------- >>> .../glue-repair-deprecated-glib-support.patch | 12 --- >>> .../cluster-glue/glue-repair-libxml-support.patch | 14 >>> --- ...luster-glue_1.0.5.bb => cluster-glue_1.0.12.bb} | 76 >>> ++++++++------- >>> 7 files changed, 125 insertions(+), 195 deletions(-) create mode >>> 100644 >>> meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-compil >>> e-doc-and >>> -Error-Fix.patch >>> create mode 100644 >>> meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.py.in-Warning-Fi >> x. >>> patch >>> delete mode 100644 >>> meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast.pa >>> tch >>> delete mode 100644 >>> meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-getpi >>> d-check.p >>> atch >>> delete mode 100644 >>> meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-depre >>> cated-glib- >>> support.patch >>> delete mode 100644 >>> meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-libxm >>> l-support.p >>> atch >>> rename meta-cgl-common/recipes-cgl/cluster-glue/{cluster-glue_1.0.5.bb >>> => cluster-glue_1.0.12.bb} (49%) >>> >>> diff --git >>> a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-comp >>> ile-doc-a >>> nd-Error-Fix.patch >>> b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-comp >>> ile-doc-a >>> nd-Error-Fix.patch >>> new file mode 100644 >>> index 0000000..471b1e4 >>> --- /dev/null >>> +++ b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t- >>> +++ c >>> +++ ompile-doc-and-Error-Fix.patch >>> @@ -0,0 +1,50 @@ >>> +From b64b676f7abf896ca714341eb330099f2ff04213 Mon Sep 17 00:00:00 2001 >>> +From: Li xin <lixin.fnst@cn.fujitsu.com> >>> +Date: Tue, 18 Aug 2015 17:43:29 +0900 >>> +Subject: [PATCH] don't compile doc and Error Fix >>> + >>> +| help2man: can't get `--help' info from ../../lrm/admin/lrmadmin >>> +| make[2]: *** [lrmadmin.8] Error 1 >>> + >>> +| make[2]: a2x: Command not found >>> +| /usr/bin/xsltproc \ >>> +| --xinclude \ >>> +| >>> +| http://docbook.sourceforge.net/release/xsl/current/manpages/docbook. >>> +| x >>> +| sl ha_logd.xml >>> +| make[2]: *** [hb_report.8] Error 127 >>> + >>> +Upstream-Status: pending >>> + >>> +Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> >>> +--- >>> + Makefile.am | 2 +- >>> + configure.ac | 6 ++++++ >>> + lrm/admin/Makefile.am | 2 +- >>> + 3 files changed, 8 insertions(+), 2 deletions(-) >>> + >>> +diff --git a/Makefile.am b/Makefile.am index 93dbaf6..2f4d03b 100644 >>> +--- a/Makefile.am >>> ++++ b/Makefile.am >>> +@@ -23,7 +23,7 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 >> configure >>> DRF/config-h.in \ >>> + DRF/stamp-h.in libtool.m4 ltdl.m4 libltdl.tar >>> + >>> + SUBDIRS = include $(LIBLTDL_DIR) replace lib lrm logd \ >>> +- hb_report doc config >>> ++ hb_report config >>> + >>> + install-exec-local: >>> + $(INSTALL) -d $(DESTDIR)/$(HA_COREDIR) diff --git >>> +a/lrm/admin/Makefile.am b/lrm/admin/Makefile.am index a92cd72..ed938e0 >>> +100644 >>> +--- a/lrm/admin/Makefile.am >>> ++++ b/lrm/admin/Makefile.am >>> +@@ -36,5 +36,5 @@ man8_MANS = $(sbin_PROGRAMS:%=%.8) >>> + %.8: % >>> + echo Creating $@ >>> + chmod a+x $< >>> +- help2man --output $@ --no-info --section 8 --name "Part of the Linux-HA >>> project" $(top_builddir)/lrm/admin/$< >>> ++ help2man --output $@ --no-info --section 8 --name "Part of the >>> ++Linux-HA project" /usr/sbin/$< >>> + endif >>> +-- >>> +1.8.4.2 >>> + >>> diff --git >>> a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.py.i >>> n-Warning-F >>> ix.patch >>> b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.py.i >>> n-Warning-F >>> ix.patch >>> new file mode 100644 >>> index 0000000..31010d4 >>> --- /dev/null >>> +++ b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl. >>> +++ p >>> +++ y.in-Warning-Fix.patch >>> @@ -0,0 +1,34 @@ >>> +From a2c66927b75547cee1db1340a67449ded0812df3 Mon Sep 17 00:00:00 2001 >>> +From: Li xin <lixin.fnst@cn.fujitsu.com> >>> +Date: Wed, 19 Aug 2015 11:13:46 +0900 >>> +Subject: [PATCH] ribcl.py.in: Warning Fix >>> + >>> +WARNING: QA Issue: >>> +/usr/lib/stonith/plugins/stonith2/ribcl.py_cluster-glue-plugin-stonith >>> +2 -ribcl contained in package cluster-glue-plugin-stonith2-ribcl >>> +requires /usr/local/bin/python, but no providers found in its RDEPENDS >>> +[file-rdeps] >>> + >>> +Add target python handling >>> +Allow the build to specify a path for the python instead of reusing >>> +the PYTHON variable which can lead to inconsistencies if we are cross >>> +compiling. >>> + >>> +Upstream-Status: pending >>> + >>> +Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> >>> +--- >>> + lib/plugins/stonith/ribcl.py.in | 2 +- >>> + 1 file changed, 1 insertion(+), 1 deletion(-) >>> + >>> +diff --git a/lib/plugins/stonith/ribcl.py.in >>> +b/lib/plugins/stonith/ribcl.py.in index 14e070c..01205e3 100644 >>> +--- a/lib/plugins/stonith/ribcl.py.in >>> ++++ b/lib/plugins/stonith/ribcl.py.in >>> +@@ -1,4 +1,4 @@ >>> +-#!@PYTHON@ >>> ++#!@TRAGET_PYTHON@ >>> + >>> + >>> + # >>> +-- >>> +1.8.4.2 >>> + >>> diff --git >>> a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast. >>> patch >>> b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast. >>> patch >>> deleted file mode 100644 >>> index 6de65bf..0000000 >>> --- >>> a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast. >>> patch >>> +++ /dev/null >>> @@ -1,103 +0,0 @@ >>> -This patch gets rid of new warning introduced with gcc 4.5 -Warning is >>> explained here >>> -http://gcc.gnu.org/viewcvs/trunk/gcc/doc/invoke.texi?r1=148037&r2=1480 >>> 53&diff >>> _format=h >>> - >>> --Khem >>> --updated by Alexandru Vaduva - patch needed redone >>> - >>> -diff -Naur a/lib/plugins/stonith/apcsmart.c b/lib/plugins/stonith/apcsmart.c >>> ---- a/lib/plugins/stonith/apcsmart.c 2014-07-09 17:14:24.492455034 +0200 >>> -+++ b/lib/plugins/stonith/apcsmart.c 2014-07-09 17:15:03.386817399 +0200 >>> -@@ -719,7 +719,7 @@ >>> - } >>> - ERRIFNOTCONFIGED(s,NULL); >>> - >>> -- return OurImports->CopyHostList((const char **)ad->hostlist); >>> -+ return OurImports->CopyHostList(CONST_CAST(ad->hostlist)); >>> - } >>> - >>> - static gboolean >>> -diff -Naur a/lib/plugins/stonith/external.c b/lib/plugins/stonith/external.c >>> ---- a/lib/plugins/stonith/external.c 2014-07-09 17:15:28.661753145 +0200 >>> -+++ b/lib/plugins/stonith/external.c 2014-07-09 17:17:03.873743634 +0200 >>> -@@ -540,7 +540,7 @@ >>> - sd->confignames[dircount] = NULL; >>> - } >>> - >>> -- return (const char **)sd->confignames; >>> -+ return CONST_CAST(sd->confignames); >>> - } >>> - >>> - /* >>> -diff -Naur a/lib/plugins/stonith/meatware.c b/lib/plugins/stonith/meatware.c >>> ---- a/lib/plugins/stonith/meatware.c 2014-07-09 17:18:47.597375001 +0200 >>> -+++ b/lib/plugins/stonith/meatware.c 2014-07-09 17:19:35.943338541 +0200 >>> -@@ -136,7 +136,7 @@ >>> - return(NULL); >>> - } >>> - >>> -- return OurImports->CopyHostList((const char **)nd->hostlist); >>> -+ return OurImports->CopyHostList(CONST_CAST(nd->hostlist)); >>> - } >>> - >>> - /* >>> -diff -Naur a/lib/plugins/stonith/null.c b/lib/plugins/stonith/null.c >>> ---- a/lib/plugins/stonith/null.c 2014-07-09 17:20:12.389803230 +0200 >>> -+++ b/lib/plugins/stonith/null.c 2014-07-09 17:20:55.156001606 +0200 >>> -@@ -126,7 +126,7 @@ >>> - struct pluginDevice* nd = (struct pluginDevice*)s; >>> - >>> - ERRIFWRONGDEV(s, NULL); >>> -- return OurImports->CopyHostList((const char**)nd->hostlist); >>> -+ return OurImports->CopyHostList(CONST_CAST(nd->hostlist)); >>> - } >>> - >>> - >>> -diff -Naur a/lib/plugins/stonith/rcd_serial.c b/lib/plugins/stonith/rcd_serial.c >>> ---- a/lib/plugins/stonith/rcd_serial.c 2014-07-09 17:21:12.603266573 +0200 >>> -+++ b/lib/plugins/stonith/rcd_serial.c 2014-07-09 17:21:56.341423862 +0200 >>> -@@ -347,7 +347,7 @@ >>> - return(NULL); >>> - } >>> - >>> -- return OurImports->CopyHostList((const char **)rcd->hostlist); >>> -+ return OurImports->CopyHostList(CONST_CAST(rcd->hostlist)); >>> - } >>> - >>> - /* >>> -diff -Naur a/lib/plugins/stonith/rhcs.c b/lib/plugins/stonith/rhcs.c >>> ---- a/lib/plugins/stonith/rhcs.c 2014-07-09 17:17:27.652742171 +0200 >>> -+++ b/lib/plugins/stonith/rhcs.c 2014-07-09 17:18:18.562597957 +0200 >>> -@@ -703,7 +703,7 @@ >>> - sd->confignames[dircount] = NULL; >>> - } >>> - >>> -- return (const char **)sd->confignames; >>> -+ return CONST_CAST(sd->confignames); >>> - } >>> - >>> - /* >>> -diff -Naur a/lib/plugins/stonith/ssh.c b/lib/plugins/stonith/ssh.c >>> ---- a/lib/plugins/stonith/ssh.c 2014-07-09 17:22:15.320624229 +0200 >>> -+++ b/lib/plugins/stonith/ssh.c 2014-07-09 17:22:53.499015642 +0200 >>> -@@ -161,7 +161,7 @@ >>> - return(NULL); >>> - } >>> - >>> -- return OurImports->CopyHostList((const char **)sd->hostlist); >>> -+ return OurImports->CopyHostList(CONST_CAST(sd->hostlist)); >>> - } >>> - >>> - >>> -diff -Naur a/lib/plugins/stonith/stonith_plugin_common.h >>> b/lib/plugins/stonith/stonith_plugin_common.h >>> ---- a/lib/plugins/stonith/stonith_plugin_common.h 2014-07-09 >>> 17:23:16.954027367 +0200 >>> -+++ b/lib/plugins/stonith/stonith_plugin_common.h 2014-07-09 >>> 17:24:38.538609129 +0200 >>> -@@ -123,5 +123,8 @@ >>> - return; \ >>> - } >>> - >>> -+#define CONST_CAST(s) \ >>> -+ (__extension__(union {char ** a; const char** b;})(s)).b >>> -+ >>> - #endif >>> - >>> diff --git >>> a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-get >>> pid-check >>> .patch >>> b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-get >>> pid-check >>> .patch >>> deleted file mode 100644 >>> index 30f422c..0000000 >>> --- >>> a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-get >>> pid-check >>> .patch >>> +++ /dev/null >>> @@ -1,31 +0,0 @@ >>> -diff -Naur a/configure.ac b/configure.ac >>> ---- a/configure.ac 2014-07-09 17:05:51.602037193 +0200 >>> -+++ b/configure.ac 2014-07-09 17:08:44.566761961 +0200 >>> -@@ -441,24 +441,9 @@ >>> - AC_MSG_RESULT($BUILD_VERSION) >>> - AC_SUBST(BUILD_VERSION) >>> - >>> -- >>> --dnl check if there are getpid() inconsistency >>> --dnl Note: reduce LIBS; in particular, ltdl can cause confusion. >>> --dnl Possibly better: move 'LIBS="$LIBS -lltdl"' from above to beyond here. >>> --dnl >>> --AC_MSG_CHECKING(for getpid() consistency in multi-process/threads >>> program) --ac_save_LIBS=$LIBS --LIBS="-lpthread" >>> --AC_TRY_RUN(`cat $srcdir/config/pidtest.c`, --AC_MSG_RESULT(ok), >>> --[AC_MSG_RESULT(fail); AC_DEFINE(GETPID_INCONSISTENT, 1 , [pid >>> inconsistent])],) --LIBS=$ac_save_LIBS >>> -- >>> --dnl check byte order >>> --AC_MSG_CHECKING(for byteorder) >>> --AC_TRY_RUN(`cat $srcdir/config/byteorder_test.c`, >>> --[AC_MSG_RESULT(little-endian); AC_DEFINE(CONFIG_LITTLE_ENDIAN, 1, >>> [little-endian])], --[AC_MSG_RESULT(big-endian); >>> AC_DEFINE(CONFIG_BIG_ENDIAN, 1, [big-endian])],) >>> -+AC_C_BIGENDIAN( >>> -+ [AC_DEFINE(CONFIG_BIG_ENDIAN, 1, [big])], >>> -+ [AC_DEFINE(CONFIG_LITTLE_ENDIAN, 1, [little])]) >>> - >>> - >>> - dnl =============================================== >>> diff --git >>> a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-dep >>> recated-gli >>> b-support.patch >>> b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-dep >>> recated-gli >>> b-support.patch >>> deleted file mode 100644 >>> index 16fc679..0000000 >>> --- >>> a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-dep >>> recated-gli >>> b-support.patch >>> +++ /dev/null >>> @@ -1,12 +0,0 @@ >>> -diff -Naur a/include/clplumbing/cl_uuid.h b/include/clplumbing/cl_uuid.h >>> ---- a/include/clplumbing/cl_uuid.h 2014-07-14 14:25:24.127378762 +0200 >>> -+++ b/include/clplumbing/cl_uuid.h 2014-07-14 14:23:32.120193782 +0200 >>> -@@ -16,7 +16,7 @@ >>> - >>> - #ifndef _CL_UUID_H_ >>> - #define _CL_UUID_H_ >>> --#include <glib/gtypes.h> >>> -+#include <glib.h> >>> - >>> - typedef struct cl_uuid_s{ >>> - unsigned char uuid[16]; >>> diff --git >>> a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-lib >>> xml-support >>> .patch >>> b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-lib >>> xml-support >>> .patch >>> deleted file mode 100644 >>> index a436575..0000000 >>> --- >>> a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-lib >>> xml-support >>> .patch >>> +++ /dev/null >>> @@ -1,14 +0,0 @@ >>> -diff -Naur a/configure.ac b/configure.ac >>> ---- a/configure.ac 2014-07-14 13:02:42.016652860 +0200 >>> -+++ b/configure.ac 2014-07-14 13:03:59.585322332 +0200 >>> -@@ -679,8 +679,8 @@ >>> - >>> - CPPFLAGS="$CPPFLAGS $XML2HEAD" >>> - >>> --AC_CHECK_HEADERS(libxml/xpath.h) >>> --if test "$ac_cv_header_libxml_xpath_h" != "yes"; then >>> -+AC_CHECK_HEADERS(libxml2/libxml/xpath.h) >>> -+if test x"$ac_cv_header_libxml2_libxml_xpath_h" != x"yes"; then >>> - AC_MSG_ERROR(The libxml developement headers were not found) >>> - fi >>> - >>> diff --git >>> a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.5.bb >>> b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb >>> similarity index 49% >>> rename from >>> meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.5.bb >>> rename to >>> meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb >>> index f1b4a78..be04469 100644 >>> --- a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.5.bb >>> +++ b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb >>> @@ -7,21 +7,20 @@ LICENSE = "GPLv2" >>> DEPENDS = "libxml2 libtool glib-2.0 bzip2 util-linux net-snmp openhpi" >>> >>> SRC_URI = " \ >>> - http://hg.linux-ha.org/glue/archive/glue-${PV}.tar.bz2 \ >>> - file://glue-repair-libxml-support.patch \ >>> - file://glue-repair-deprecated-glib-support.patch \ >>> - file://glue-remove-getpid-check.patch \ >>> - file://fix-const-cast.patch \ >>> + http://hg.linux-ha.org/glue/archive/glue-${PV}.tar.bz2 \ >>> + file://0001-don-t-compile-doc-and-Error-Fix.patch \ >>> + file://0001-ribcl.py.in-Warning-Fix.patch \ >>> file://volatiles \ >>> file://tmpfiles \ >>> - " >>> +" >>> SRC_URI_append_libc-uclibc = " file://kill-stack-protector.patch" >>> -SRC_URI[md5sum] = "d2b6f798e58ef2497526e404b8ad640a" >>> -SRC_URI[sha256sum] = >>> "0e1922373aba1c3811f6ef61559a9c407c0bec71d2ebc451a4db5b940ded8ec0" >>> + >>> +SRC_URI[md5sum] = "ec620466d6f23affa3b074b72bca7870" >>> +SRC_URI[sha256sum] = >>> "feba102fa1e24b6be2005089ebe362b82d6567af60005cf371679b1b44ec503f" >>> >>> LIC_FILES_CHKSUM = >>> "file://${COREBASE}/meta/COPYING.GPLv2;md5=751419260aa954499f7abaabaa8 >> 8 >>> 2bbe" >>> >>> -inherit autotools useradd >>> +inherit autotools useradd pkgconfig >>> >>> S = "${WORKDIR}/Reusable-Cluster-Components-glue--glue-${PV}" >>> >>> @@ -70,43 +69,50 @@ PACKAGES += "\ >>> ${PN}-plugin-interfacemgr-dbg \ >>> ${PN}-plugin-interfacemgr-staticdev \ >>> ${PN}-lrmtest \ >>> + ${PN}-plugin-compress \ >>> + ${PN}-plugin-compress-dbg \ >>> + ${PN}-plugin-compress-staticdev \ >>> " >>> >>> -FILES_${PN} = "/etc/ /var /usr/lib/lib*.so.* /usr/sbin >>> /usr/share/cluster-glue/*sh /usr/share/cluster-glue/*pl\ >>> - /usr/lib/heartbeat/transient-test.sh \ >>> - /usr/lib/heartbeat/logtest \ >>> - /usr/lib/heartbeat/ipctransientserver \ >>> - /usr/lib/heartbeat/base64_md5_test \ >>> - /usr/lib/heartbeat/ipctest \ >>> - /usr/lib/heartbeat/ipctransientclient \ >>> - /usr/lib/heartbeat/ha_logd \ >>> - /usr/lib/heartbeat/lrmd \ >>> +FILES_${PN} = "${sysconfdir} /var ${libdir}/lib*.so.* ${sbindir} >>> ${datadir}/cluster-glue/*sh ${datadir}/cluster-glue/*pl\ >>> + ${libdir}/heartbeat/transient-test.sh \ >>> + ${libdir}/heartbeat/logtest \ >>> + ${libdir}/heartbeat/ipctransientserver \ >>> + ${libdir}/heartbeat/base64_md5_test \ >>> + ${libdir}/heartbeat/ipctest \ >>> + ${libdir}/heartbeat/ipctransientclient \ >>> + ${libdir}/heartbeat/ha_logd \ >>> + ${libdir}/heartbeat/lrmd \ >>> " >>> >>> -FILES_${PN}-dbg += "/usr/lib/heartbeat/.debug/" >>> +FILES_${PN}-dbg += "${libdir}/heartbeat/.debug/ \ >>> + " >>> +FILES_${PN}-plugin-compress = "${libdir}/heartbeat/plugins/compress/*.so" >>> +FILES_${PN}-plugin-compress-staticdev = >>> "${libdir}/heartbeat/plugins/compress/*.*a" >>> +FILES_${PN}-plugin-compress-dbg = >>> "${libdir}/heartbeat/plugins/compress/.debug/" >>> >>> -FILES_${PN}-plugin-test = "/usr/lib/heartbeat/plugins/test/test.so" >>> -FILES_${PN}-plugin-test-staticdev = "/usr/lib/heartbeat/plugins/test/test.*a" >>> -FILES_${PN}-plugin-test-dbg = "/usr/lib/heartbeat/plugins/test/.debug/" >>> +FILES_${PN}-plugin-test = "${libdir}/heartbeat/plugins/test/test.so" >>> +FILES_${PN}-plugin-test-staticdev = "${libdir}/heartbeat/plugins/test/test.*a" >>> +FILES_${PN}-plugin-test-dbg = "${libdir}/heartbeat/plugins/test/.debug/" >>> FILES_${PN}-plugin-stonith2 = " \ >>> - /usr/lib/stonith/plugins/xen0-ha-dom0-stonith-helper \ >>> - /usr/lib/stonith/plugins/stonith2/*.so \ >>> + ${libdir}/stonith/plugins/xen0-ha-dom0-stonith-helper \ >>> + ${libdir}/stonith/plugins/stonith2/*.so \ >>> " >>> -FILES_${PN}-plugin-stonith2-ribcl = "/usr/lib/stonith/plugins/stonith2/ribcl.py" >>> +FILES_${PN}-plugin-stonith2-ribcl = "${libdir}/stonith/plugins/stonith2/ribcl.py" >>> >>> -FILES_${PN}-plugin-stonith2-dbg = "/usr/lib/stonith/plugins/stonith2/.debug/" >>> -FILES_${PN}-plugin-stonith2-staticdev = "/usr/lib/stonith/plugins/stonith2/*.*a" >>> +FILES_${PN}-plugin-stonith2-dbg = "${libdir}/stonith/plugins/stonith2/.debug/" >>> +FILES_${PN}-plugin-stonith2-staticdev = "${libdir}/stonith/plugins/stonith2/*.*a" >>> >>> -FILES_${PN}-plugin-stonith-external = "/usr/lib/stonith/plugins/external/" >>> -FILES_${PN}-plugin-raexec = "/usr/lib/heartbeat/plugins/RAExec/*.so" >>> -FILES_${PN}-plugin-raexec-staticdev = "/usr/lib/heartbeat/plugins/RAExec/*.*a" >>> -FILES_${PN}-plugin-raexec-dbg = "/usr/lib/heartbeat/plugins/RAExec/.debug/" >>> +FILES_${PN}-plugin-stonith-external = "${libdir}/stonith/plugins/external/" >>> +FILES_${PN}-plugin-raexec = "${libdir}/heartbeat/plugins/RAExec/*.so" >>> +FILES_${PN}-plugin-raexec-staticdev = "${libdir}/heartbeat/plugins/RAExec/*.*a" >>> +FILES_${PN}-plugin-raexec-dbg = "${libdir}/heartbeat/plugins/RAExec/.debug/" >>> >>> -FILES_${PN}-plugin-interfacemgr = >>> "/usr/lib/heartbeat/plugins/InterfaceMgr/generic.so" >>> -FILES_${PN}-plugin-interfacemgr-staticdev = >>> "/usr/lib/heartbeat/plugins/InterfaceMgr/generic.*a" >>> -FILES_${PN}-plugin-interfacemgr-dbg = >>> "/usr/lib/heartbeat/plugins/InterfaceMgr/.debug/" >>> +FILES_${PN}-plugin-interfacemgr = >>> "${libdir}/heartbeat/plugins/InterfaceMgr/generic.so" >>> +FILES_${PN}-plugin-interfacemgr-staticdev = >>> "${libdir}/heartbeat/plugins/InterfaceMgr/generic.*a" >>> +FILES_${PN}-plugin-interfacemgr-dbg = >>> "${libdir}/heartbeat/plugins/InterfaceMgr/.debug/" >>> >>> -FILES_${PN}-lrmtest = "/usr/share/cluster-glue/lrmtest/" >>> +FILES_${PN}-lrmtest = "${datadir}/cluster-glue/lrmtest/" >>> >>> RDEPENDS_${PN} += "perl" >>> RDEPENDS_${PN}-plugin-stonith2 += "bash" >>> -- >>> 1.8.4.2 >>> >>> -- >>> _______________________________________________ >>> yocto mailing list >>> yocto@yoctoproject.org >>> https://lists.yoctoproject.org/listinfo/yocto >> -- >> _______________________________________________ >> yocto mailing list >> yocto@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/yocto ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [meta-cgl][PATCH v2] cluster-glue: upgrade 1.0.5 -> 1.0.12 2015-08-24 8:32 ` Siva Borra @ 2015-08-24 9:54 ` Alexandru Vaduva 2015-08-24 10:34 ` Li xin 0 siblings, 1 reply; 11+ messages in thread From: Alexandru Vaduva @ 2015-08-24 9:54 UTC (permalink / raw) To: Siva Borra, yocto@yoctoproject.org Thanks Siva! -----Original Message----- From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Siva Borra Sent: Monday, August 24, 2015 11:33 AM To: yocto@yoctoproject.org Subject: Re: [yocto] [meta-cgl][PATCH v2] cluster-glue: upgrade 1.0.5 -> 1.0.12 Hi Li, The error reproducible on ppc32. Here are the error messages: make[2]: Entering directory `/media/data/fb/zsibo/CGL/P2041_RC/tmp/work/ppce500mc-enea-linux/cluster-glue/1.0.12-r0/build/lrm/admin' echo Creating lrmadmin.8 Creating lrmadmin.8 chmod a+x lrmadmin help2man --output lrmadmin.8 --no-info --section 8 --name "Part of the Linux-HA project" /usr/sbin/lrmadmin make[2]: *** [lrmadmin.8] Error 1 make[2]: Leaving directory `/media/data/fb/zsibo/CGL/P2041_RC/tmp/work/ppce500mc-enea-linux/cluster-glue/1.0.12-r0/build/lrm/admin' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/media/data/fb/zsibo/CGL/P2041_RC/tmp/work/ppce500mc-enea-linux/cluster-glue/1.0.12-r0/build/lrm' make: *** [all-recursive] Error 1 + die 'oe_runmake failed' + bbfatal 'oe_runmake failed' + echo 'ERROR: oe_runmake failed' ERROR: oe_runmake failed + exit 1 + bb_exit_handler + ret=1 + case $ret in + case $BASH_VERSION in + echo 'WARNING: /media/data/fb/zsibo/CGL/P2041_RC/tmp/work/ppce500mc-enea-linux/cluster-glue/1.0.12-r0/temp/run.do_compile.47522:1 exit 1 from exit' 1 WARNING: /media/data/fb/zsibo/CGL/P2041_RC/tmp/work/ppce500mc-enea-linux/cluster-glue/1.0.12-r0/temp/run.do_compile.47522:1 exit 1 from exit 1 + exit 1 for `all'. make[2]: Leaving directory `/media/data/fb/zsibo/CGL/P2041_RC/tmp/work/ppce500mc-enea-linux/cluster-glue/1.0.12-r0/build/lrm/lrmd' Making all in admin make[2]: Entering directory `/media/data/fb/zsibo/CGL/P2041_RC/tmp/work/ppce500mc-enea-linux/cluster-glue/1.0.12-r0/build/lrm/admin' echo Creating lrmadmin.8 Creating lrmadmin.8 chmod a+x lrmadmin help2man --output lrmadmin.8 --no-info --section 8 --name "Part of the Linux-HA project" /usr/sbin/lrmadmin make[2]: *** [lrmadmin.8] Error 1 make[2]: Leaving directory `/media/data/fb/zsibo/CGL/P2041_RC/tmp/work/ppce500mc-enea-linux/cluster-glue/1.0.12-r0/build/lrm/admin' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/media/data/fb/zsibo/CGL/P2041_RC/tmp/work/ppce500mc-enea-linux/cluster-glue/1.0.12-r0/build/lrm' make: *** [all-recursive] Error 1 Regards, Siva Borra. On 2015-08-24 08:43, Li, Xin wrote: > Hi, Alex V. > > I bitbake cluster-glue for x86, Arm, and Powerpc. But I can't produce the error. > Would you mind providing the error message for me? > > Regards, > Li > >> -----Original Message----- >> From: yocto-bounces@yoctoproject.org >> [mailto:yocto-bounces@yoctoproject.org] >> On Behalf Of Li, Xin >> Sent: Friday, August 21, 2015 10:51 AM >> To: Alexandru Vaduva; yocto@yoctoproject.org >> Subject: Re: [yocto] [meta-cgl][PATCH v2] cluster-glue: upgrade 1.0.5 >> -> 1.0.12 >> >> Hi, Alex V. >> >> Thanks a lot. >> >> Indeed, the error does not occur on my system. >> I will do some extra test, and resend the patch. >> >> Regards, >> Li >> >>> -----Original Message----- >>> From: Alexandru Vaduva [mailto:Alexandru.Vaduva@enea.com] >>> Sent: Thursday, August 20, 2015 10:51 PM >>> To: Li, Xin/李 欣; yocto@yoctoproject.org >>> Subject: RE: [yocto] [meta-cgl][PATCH v2] cluster-glue: upgrade >>> 1.0.5 >>> -> 1.0.12 >>> >>> Hello, >>> >>> Could you please take one more look on this since for me the build >>> is failing in the do_compile stage. >>> Due to this error I was not able to build the other two patches >>> heardbleat and pacemaker. :D >>> >>> Alex V. >>> >>> -----Original Message----- >>> From: yocto-bounces@yoctoproject.org >>> [mailto:yocto-bounces@yoctoproject.org] >>> On Behalf Of Li xin >>> Sent: Wednesday, August 19, 2015 8:04 AM >>> To: yocto@yoctoproject.org >>> Subject: [yocto] [meta-cgl][PATCH v2] cluster-glue: upgrade 1.0.5 -> >>> 1.0.12 >>> >>> * Add patch to aviod build Error and Warning. >>> --0001-don-t-compile-doc-and-Error-Fix.patch >>> --0001-ribcl.py.in-Warning-Fix.patch >>> >>> * Dropped backported patch: >>> --fix-const-cast.patch >>> --glue-remove-getpid-check.patch >>> --glue-repair-deprecated-glib-support.patch >>> --glue-repair-libxml-support.patch >>> >>> * Replace the hardcoded strings "/usr/lib" "/etc/" "/usr/sbin" "/usr/share" >>> >>> Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> >>> --- >>> .../0001-don-t-compile-doc-and-Error-Fix.patch | 50 ++++++++++ >>> .../0001-ribcl.py.in-Warning-Fix.patch | 34 +++++++ >>> .../cluster-glue/cluster-glue/fix-const-cast.patch | 103 --------------------- >>> .../cluster-glue/glue-remove-getpid-check.patch | 31 ------- >>> .../glue-repair-deprecated-glib-support.patch | 12 --- >>> .../cluster-glue/glue-repair-libxml-support.patch | 14 >>> --- ...luster-glue_1.0.5.bb => cluster-glue_1.0.12.bb} | 76 >>> ++++++++------- >>> 7 files changed, 125 insertions(+), 195 deletions(-) create mode >>> 100644 >>> meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-com >>> pil >>> e-doc-and >>> -Error-Fix.patch >>> create mode 100644 >>> meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.py. >>> in-Warning-Fi >> x. >>> patch >>> delete mode 100644 >>> meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast >>> .pa >>> tch >>> delete mode 100644 >>> meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-ge >>> tpi >>> d-check.p >>> atch >>> delete mode 100644 >>> meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-de >>> pre >>> cated-glib- >>> support.patch >>> delete mode 100644 >>> meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-li >>> bxm >>> l-support.p >>> atch >>> rename >>> meta-cgl-common/recipes-cgl/cluster-glue/{cluster-glue_1.0.5.bb >>> => cluster-glue_1.0.12.bb} (49%) >>> >>> diff --git >>> a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-c >>> omp >>> ile-doc-a >>> nd-Error-Fix.patch >>> b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-c >>> omp >>> ile-doc-a >>> nd-Error-Fix.patch >>> new file mode 100644 >>> index 0000000..471b1e4 >>> --- /dev/null >>> +++ b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don >>> +++ -t- >>> +++ c >>> +++ ompile-doc-and-Error-Fix.patch >>> @@ -0,0 +1,50 @@ >>> +From b64b676f7abf896ca714341eb330099f2ff04213 Mon Sep 17 00:00:00 >>> +2001 >>> +From: Li xin <lixin.fnst@cn.fujitsu.com> >>> +Date: Tue, 18 Aug 2015 17:43:29 +0900 >>> +Subject: [PATCH] don't compile doc and Error Fix >>> + >>> +| help2man: can't get `--help' info from ../../lrm/admin/lrmadmin >>> +| make[2]: *** [lrmadmin.8] Error 1 >>> + >>> +| make[2]: a2x: Command not found >>> +| /usr/bin/xsltproc \ >>> +| --xinclude \ >>> +| >>> +| http://docbook.sourceforge.net/release/xsl/current/manpages/docbook. >>> +| x >>> +| sl ha_logd.xml >>> +| make[2]: *** [hb_report.8] Error 127 >>> + >>> +Upstream-Status: pending >>> + >>> +Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> >>> +--- >>> + Makefile.am | 2 +- >>> + configure.ac | 6 ++++++ >>> + lrm/admin/Makefile.am | 2 +- >>> + 3 files changed, 8 insertions(+), 2 deletions(-) >>> + >>> +diff --git a/Makefile.am b/Makefile.am index 93dbaf6..2f4d03b >>> +100644 >>> +--- a/Makefile.am >>> ++++ b/Makefile.am >>> +@@ -23,7 +23,7 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 >> configure >>> DRF/config-h.in \ >>> + DRF/stamp-h.in libtool.m4 ltdl.m4 libltdl.tar >>> + >>> + SUBDIRS = include $(LIBLTDL_DIR) replace lib lrm logd \ >>> +- hb_report doc config >>> ++ hb_report config >>> + >>> + install-exec-local: >>> + $(INSTALL) -d $(DESTDIR)/$(HA_COREDIR) diff --git >>> +a/lrm/admin/Makefile.am b/lrm/admin/Makefile.am index >>> +a92cd72..ed938e0 >>> +100644 >>> +--- a/lrm/admin/Makefile.am >>> ++++ b/lrm/admin/Makefile.am >>> +@@ -36,5 +36,5 @@ man8_MANS = $(sbin_PROGRAMS:%=%.8) >>> + %.8: % >>> + echo Creating $@ >>> + chmod a+x $< >>> +- help2man --output $@ --no-info --section 8 --name "Part of the Linux-HA >>> project" $(top_builddir)/lrm/admin/$< >>> ++ help2man --output $@ --no-info --section 8 --name "Part of the >>> ++Linux-HA project" /usr/sbin/$< >>> + endif >>> +-- >>> +1.8.4.2 >>> + >>> diff --git >>> a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.p >>> y.i >>> n-Warning-F >>> ix.patch >>> b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.p >>> y.i >>> n-Warning-F >>> ix.patch >>> new file mode 100644 >>> index 0000000..31010d4 >>> --- /dev/null >>> +++ b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl. >>> +++ p >>> +++ y.in-Warning-Fix.patch >>> @@ -0,0 +1,34 @@ >>> +From a2c66927b75547cee1db1340a67449ded0812df3 Mon Sep 17 00:00:00 >>> +2001 >>> +From: Li xin <lixin.fnst@cn.fujitsu.com> >>> +Date: Wed, 19 Aug 2015 11:13:46 +0900 >>> +Subject: [PATCH] ribcl.py.in: Warning Fix >>> + >>> +WARNING: QA Issue: >>> +/usr/lib/stonith/plugins/stonith2/ribcl.py_cluster-glue-plugin-ston >>> +ith >>> +2 -ribcl contained in package cluster-glue-plugin-stonith2-ribcl >>> +requires /usr/local/bin/python, but no providers found in its >>> +RDEPENDS [file-rdeps] >>> + >>> +Add target python handling >>> +Allow the build to specify a path for the python instead of reusing >>> +the PYTHON variable which can lead to inconsistencies if we are >>> +cross compiling. >>> + >>> +Upstream-Status: pending >>> + >>> +Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> >>> +--- >>> + lib/plugins/stonith/ribcl.py.in | 2 +- >>> + 1 file changed, 1 insertion(+), 1 deletion(-) >>> + >>> +diff --git a/lib/plugins/stonith/ribcl.py.in >>> +b/lib/plugins/stonith/ribcl.py.in index 14e070c..01205e3 100644 >>> +--- a/lib/plugins/stonith/ribcl.py.in >>> ++++ b/lib/plugins/stonith/ribcl.py.in >>> +@@ -1,4 +1,4 @@ >>> +-#!@PYTHON@ >>> ++#!@TRAGET_PYTHON@ >>> + >>> + >>> + # >>> +-- >>> +1.8.4.2 >>> + >>> diff --git >>> a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast. >>> patch >>> b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast. >>> patch >>> deleted file mode 100644 >>> index 6de65bf..0000000 >>> --- >>> a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast. >>> patch >>> +++ /dev/null >>> @@ -1,103 +0,0 @@ >>> -This patch gets rid of new warning introduced with gcc 4.5 -Warning >>> is explained here >>> -http://gcc.gnu.org/viewcvs/trunk/gcc/doc/invoke.texi?r1=148037&r2=1 >>> 480 >>> 53&diff >>> _format=h >>> - >>> --Khem >>> --updated by Alexandru Vaduva - patch needed redone >>> - >>> -diff -Naur a/lib/plugins/stonith/apcsmart.c b/lib/plugins/stonith/apcsmart.c >>> ---- a/lib/plugins/stonith/apcsmart.c 2014-07-09 17:14:24.492455034 +0200 >>> -+++ b/lib/plugins/stonith/apcsmart.c 2014-07-09 17:15:03.386817399 +0200 >>> -@@ -719,7 +719,7 @@ >>> - } >>> - ERRIFNOTCONFIGED(s,NULL); >>> - >>> -- return OurImports->CopyHostList((const char **)ad->hostlist); >>> -+ return OurImports->CopyHostList(CONST_CAST(ad->hostlist)); >>> - } >>> - >>> - static gboolean >>> -diff -Naur a/lib/plugins/stonith/external.c b/lib/plugins/stonith/external.c >>> ---- a/lib/plugins/stonith/external.c 2014-07-09 17:15:28.661753145 +0200 >>> -+++ b/lib/plugins/stonith/external.c 2014-07-09 17:17:03.873743634 +0200 >>> -@@ -540,7 +540,7 @@ >>> - sd->confignames[dircount] = NULL; >>> - } >>> - >>> -- return (const char **)sd->confignames; >>> -+ return CONST_CAST(sd->confignames); >>> - } >>> - >>> - /* >>> -diff -Naur a/lib/plugins/stonith/meatware.c b/lib/plugins/stonith/meatware.c >>> ---- a/lib/plugins/stonith/meatware.c 2014-07-09 17:18:47.597375001 +0200 >>> -+++ b/lib/plugins/stonith/meatware.c 2014-07-09 17:19:35.943338541 +0200 >>> -@@ -136,7 +136,7 @@ >>> - return(NULL); >>> - } >>> - >>> -- return OurImports->CopyHostList((const char **)nd->hostlist); >>> -+ return OurImports->CopyHostList(CONST_CAST(nd->hostlist)); >>> - } >>> - >>> - /* >>> -diff -Naur a/lib/plugins/stonith/null.c b/lib/plugins/stonith/null.c >>> ---- a/lib/plugins/stonith/null.c 2014-07-09 17:20:12.389803230 +0200 >>> -+++ b/lib/plugins/stonith/null.c 2014-07-09 17:20:55.156001606 +0200 >>> -@@ -126,7 +126,7 @@ >>> - struct pluginDevice* nd = (struct pluginDevice*)s; >>> - >>> - ERRIFWRONGDEV(s, NULL); >>> -- return OurImports->CopyHostList((const char**)nd->hostlist); >>> -+ return OurImports->CopyHostList(CONST_CAST(nd->hostlist)); >>> - } >>> - >>> - >>> -diff -Naur a/lib/plugins/stonith/rcd_serial.c b/lib/plugins/stonith/rcd_serial.c >>> ---- a/lib/plugins/stonith/rcd_serial.c 2014-07-09 17:21:12.603266573 +0200 >>> -+++ b/lib/plugins/stonith/rcd_serial.c 2014-07-09 17:21:56.341423862 +0200 >>> -@@ -347,7 +347,7 @@ >>> - return(NULL); >>> - } >>> - >>> -- return OurImports->CopyHostList((const char **)rcd->hostlist); >>> -+ return OurImports->CopyHostList(CONST_CAST(rcd->hostlist)); >>> - } >>> - >>> - /* >>> -diff -Naur a/lib/plugins/stonith/rhcs.c b/lib/plugins/stonith/rhcs.c >>> ---- a/lib/plugins/stonith/rhcs.c 2014-07-09 17:17:27.652742171 +0200 >>> -+++ b/lib/plugins/stonith/rhcs.c 2014-07-09 17:18:18.562597957 +0200 >>> -@@ -703,7 +703,7 @@ >>> - sd->confignames[dircount] = NULL; >>> - } >>> - >>> -- return (const char **)sd->confignames; >>> -+ return CONST_CAST(sd->confignames); >>> - } >>> - >>> - /* >>> -diff -Naur a/lib/plugins/stonith/ssh.c b/lib/plugins/stonith/ssh.c >>> ---- a/lib/plugins/stonith/ssh.c 2014-07-09 17:22:15.320624229 +0200 >>> -+++ b/lib/plugins/stonith/ssh.c 2014-07-09 17:22:53.499015642 +0200 >>> -@@ -161,7 +161,7 @@ >>> - return(NULL); >>> - } >>> - >>> -- return OurImports->CopyHostList((const char **)sd->hostlist); >>> -+ return OurImports->CopyHostList(CONST_CAST(sd->hostlist)); >>> - } >>> - >>> - >>> -diff -Naur a/lib/plugins/stonith/stonith_plugin_common.h >>> b/lib/plugins/stonith/stonith_plugin_common.h >>> ---- a/lib/plugins/stonith/stonith_plugin_common.h 2014-07-09 >>> 17:23:16.954027367 +0200 >>> -+++ b/lib/plugins/stonith/stonith_plugin_common.h 2014-07-09 >>> 17:24:38.538609129 +0200 >>> -@@ -123,5 +123,8 @@ >>> - return; \ >>> - } >>> - >>> -+#define CONST_CAST(s) \ >>> -+ (__extension__(union {char ** a; const char** b;})(s)).b >>> -+ >>> - #endif >>> - >>> diff --git >>> a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove- >>> get >>> pid-check >>> .patch >>> b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove- >>> get >>> pid-check >>> .patch >>> deleted file mode 100644 >>> index 30f422c..0000000 >>> --- >>> a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove- >>> get >>> pid-check >>> .patch >>> +++ /dev/null >>> @@ -1,31 +0,0 @@ >>> -diff -Naur a/configure.ac b/configure.ac >>> ---- a/configure.ac 2014-07-09 17:05:51.602037193 +0200 >>> -+++ b/configure.ac 2014-07-09 17:08:44.566761961 +0200 >>> -@@ -441,24 +441,9 @@ >>> - AC_MSG_RESULT($BUILD_VERSION) >>> - AC_SUBST(BUILD_VERSION) >>> - >>> -- >>> --dnl check if there are getpid() inconsistency >>> --dnl Note: reduce LIBS; in particular, ltdl can cause confusion. >>> --dnl Possibly better: move 'LIBS="$LIBS -lltdl"' from above to beyond here. >>> --dnl >>> --AC_MSG_CHECKING(for getpid() consistency in multi-process/threads >>> program) --ac_save_LIBS=$LIBS --LIBS="-lpthread" >>> --AC_TRY_RUN(`cat $srcdir/config/pidtest.c`, --AC_MSG_RESULT(ok), >>> --[AC_MSG_RESULT(fail); AC_DEFINE(GETPID_INCONSISTENT, 1 , [pid >>> inconsistent])],) --LIBS=$ac_save_LIBS >>> -- >>> --dnl check byte order >>> --AC_MSG_CHECKING(for byteorder) >>> --AC_TRY_RUN(`cat $srcdir/config/byteorder_test.c`, >>> --[AC_MSG_RESULT(little-endian); AC_DEFINE(CONFIG_LITTLE_ENDIAN, 1, >>> [little-endian])], --[AC_MSG_RESULT(big-endian); >>> AC_DEFINE(CONFIG_BIG_ENDIAN, 1, [big-endian])],) >>> -+AC_C_BIGENDIAN( >>> -+ [AC_DEFINE(CONFIG_BIG_ENDIAN, 1, [big])], >>> -+ [AC_DEFINE(CONFIG_LITTLE_ENDIAN, 1, [little])]) >>> - >>> - >>> - dnl =============================================== >>> diff --git >>> a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair- >>> dep >>> recated-gli >>> b-support.patch >>> b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair- >>> dep >>> recated-gli >>> b-support.patch >>> deleted file mode 100644 >>> index 16fc679..0000000 >>> --- >>> a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair- >>> dep >>> recated-gli >>> b-support.patch >>> +++ /dev/null >>> @@ -1,12 +0,0 @@ >>> -diff -Naur a/include/clplumbing/cl_uuid.h b/include/clplumbing/cl_uuid.h >>> ---- a/include/clplumbing/cl_uuid.h 2014-07-14 14:25:24.127378762 +0200 >>> -+++ b/include/clplumbing/cl_uuid.h 2014-07-14 14:23:32.120193782 +0200 >>> -@@ -16,7 +16,7 @@ >>> - >>> - #ifndef _CL_UUID_H_ >>> - #define _CL_UUID_H_ >>> --#include <glib/gtypes.h> >>> -+#include <glib.h> >>> - >>> - typedef struct cl_uuid_s{ >>> - unsigned char uuid[16]; >>> diff --git >>> a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair- >>> lib >>> xml-support >>> .patch >>> b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair- >>> lib >>> xml-support >>> .patch >>> deleted file mode 100644 >>> index a436575..0000000 >>> --- >>> a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair- >>> lib >>> xml-support >>> .patch >>> +++ /dev/null >>> @@ -1,14 +0,0 @@ >>> -diff -Naur a/configure.ac b/configure.ac >>> ---- a/configure.ac 2014-07-14 13:02:42.016652860 +0200 >>> -+++ b/configure.ac 2014-07-14 13:03:59.585322332 +0200 >>> -@@ -679,8 +679,8 @@ >>> - >>> - CPPFLAGS="$CPPFLAGS $XML2HEAD" >>> - >>> --AC_CHECK_HEADERS(libxml/xpath.h) >>> --if test "$ac_cv_header_libxml_xpath_h" != "yes"; then >>> -+AC_CHECK_HEADERS(libxml2/libxml/xpath.h) >>> -+if test x"$ac_cv_header_libxml2_libxml_xpath_h" != x"yes"; then >>> - AC_MSG_ERROR(The libxml developement headers were not found) >>> - fi >>> - >>> diff --git >>> a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.5.bb >>> b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb >>> similarity index 49% >>> rename from >>> meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.5.bb >>> rename to >>> meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb >>> index f1b4a78..be04469 100644 >>> --- a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.5.bb >>> +++ b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.b >>> +++ b >>> @@ -7,21 +7,20 @@ LICENSE = "GPLv2" >>> DEPENDS = "libxml2 libtool glib-2.0 bzip2 util-linux net-snmp openhpi" >>> >>> SRC_URI = " \ >>> - http://hg.linux-ha.org/glue/archive/glue-${PV}.tar.bz2 \ >>> - file://glue-repair-libxml-support.patch \ >>> - file://glue-repair-deprecated-glib-support.patch \ >>> - file://glue-remove-getpid-check.patch \ >>> - file://fix-const-cast.patch \ >>> + http://hg.linux-ha.org/glue/archive/glue-${PV}.tar.bz2 \ >>> + file://0001-don-t-compile-doc-and-Error-Fix.patch \ >>> + file://0001-ribcl.py.in-Warning-Fix.patch \ >>> file://volatiles \ >>> file://tmpfiles \ >>> - " >>> +" >>> SRC_URI_append_libc-uclibc = " file://kill-stack-protector.patch" >>> -SRC_URI[md5sum] = "d2b6f798e58ef2497526e404b8ad640a" >>> -SRC_URI[sha256sum] = >>> "0e1922373aba1c3811f6ef61559a9c407c0bec71d2ebc451a4db5b940ded8ec0" >>> + >>> +SRC_URI[md5sum] = "ec620466d6f23affa3b074b72bca7870" >>> +SRC_URI[sha256sum] = >>> "feba102fa1e24b6be2005089ebe362b82d6567af60005cf371679b1b44ec503f" >>> >>> LIC_FILES_CHKSUM = >>> "file://${COREBASE}/meta/COPYING.GPLv2;md5=751419260aa954499f7abaaba >>> a8 >> 8 >>> 2bbe" >>> >>> -inherit autotools useradd >>> +inherit autotools useradd pkgconfig >>> >>> S = "${WORKDIR}/Reusable-Cluster-Components-glue--glue-${PV}" >>> >>> @@ -70,43 +69,50 @@ PACKAGES += "\ >>> ${PN}-plugin-interfacemgr-dbg \ >>> ${PN}-plugin-interfacemgr-staticdev \ >>> ${PN}-lrmtest \ >>> + ${PN}-plugin-compress \ >>> + ${PN}-plugin-compress-dbg \ >>> + ${PN}-plugin-compress-staticdev \ >>> " >>> >>> -FILES_${PN} = "/etc/ /var /usr/lib/lib*.so.* /usr/sbin >>> /usr/share/cluster-glue/*sh /usr/share/cluster-glue/*pl\ >>> - /usr/lib/heartbeat/transient-test.sh \ >>> - /usr/lib/heartbeat/logtest \ >>> - /usr/lib/heartbeat/ipctransientserver \ >>> - /usr/lib/heartbeat/base64_md5_test \ >>> - /usr/lib/heartbeat/ipctest \ >>> - /usr/lib/heartbeat/ipctransientclient \ >>> - /usr/lib/heartbeat/ha_logd \ >>> - /usr/lib/heartbeat/lrmd \ >>> +FILES_${PN} = "${sysconfdir} /var ${libdir}/lib*.so.* ${sbindir} >>> ${datadir}/cluster-glue/*sh ${datadir}/cluster-glue/*pl\ >>> + ${libdir}/heartbeat/transient-test.sh \ >>> + ${libdir}/heartbeat/logtest \ >>> + ${libdir}/heartbeat/ipctransientserver \ >>> + ${libdir}/heartbeat/base64_md5_test \ >>> + ${libdir}/heartbeat/ipctest \ >>> + ${libdir}/heartbeat/ipctransientclient \ >>> + ${libdir}/heartbeat/ha_logd \ >>> + ${libdir}/heartbeat/lrmd \ >>> " >>> >>> -FILES_${PN}-dbg += "/usr/lib/heartbeat/.debug/" >>> +FILES_${PN}-dbg += "${libdir}/heartbeat/.debug/ \ >>> + " >>> +FILES_${PN}-plugin-compress = "${libdir}/heartbeat/plugins/compress/*.so" >>> +FILES_${PN}-plugin-compress-staticdev = >>> "${libdir}/heartbeat/plugins/compress/*.*a" >>> +FILES_${PN}-plugin-compress-dbg = >>> "${libdir}/heartbeat/plugins/compress/.debug/" >>> >>> -FILES_${PN}-plugin-test = "/usr/lib/heartbeat/plugins/test/test.so" >>> -FILES_${PN}-plugin-test-staticdev = "/usr/lib/heartbeat/plugins/test/test.*a" >>> -FILES_${PN}-plugin-test-dbg = "/usr/lib/heartbeat/plugins/test/.debug/" >>> +FILES_${PN}-plugin-test = "${libdir}/heartbeat/plugins/test/test.so" >>> +FILES_${PN}-plugin-test-staticdev = "${libdir}/heartbeat/plugins/test/test.*a" >>> +FILES_${PN}-plugin-test-dbg = "${libdir}/heartbeat/plugins/test/.debug/" >>> FILES_${PN}-plugin-stonith2 = " \ >>> - /usr/lib/stonith/plugins/xen0-ha-dom0-stonith-helper \ >>> - /usr/lib/stonith/plugins/stonith2/*.so \ >>> + ${libdir}/stonith/plugins/xen0-ha-dom0-stonith-helper \ >>> + ${libdir}/stonith/plugins/stonith2/*.so \ >>> " >>> -FILES_${PN}-plugin-stonith2-ribcl = "/usr/lib/stonith/plugins/stonith2/ribcl.py" >>> +FILES_${PN}-plugin-stonith2-ribcl = "${libdir}/stonith/plugins/stonith2/ribcl.py" >>> >>> -FILES_${PN}-plugin-stonith2-dbg = "/usr/lib/stonith/plugins/stonith2/.debug/" >>> -FILES_${PN}-plugin-stonith2-staticdev = "/usr/lib/stonith/plugins/stonith2/*.*a" >>> +FILES_${PN}-plugin-stonith2-dbg = "${libdir}/stonith/plugins/stonith2/.debug/" >>> +FILES_${PN}-plugin-stonith2-staticdev = "${libdir}/stonith/plugins/stonith2/*.*a" >>> >>> -FILES_${PN}-plugin-stonith-external = "/usr/lib/stonith/plugins/external/" >>> -FILES_${PN}-plugin-raexec = "/usr/lib/heartbeat/plugins/RAExec/*.so" >>> -FILES_${PN}-plugin-raexec-staticdev = "/usr/lib/heartbeat/plugins/RAExec/*.*a" >>> -FILES_${PN}-plugin-raexec-dbg = "/usr/lib/heartbeat/plugins/RAExec/.debug/" >>> +FILES_${PN}-plugin-stonith-external = "${libdir}/stonith/plugins/external/" >>> +FILES_${PN}-plugin-raexec = "${libdir}/heartbeat/plugins/RAExec/*.so" >>> +FILES_${PN}-plugin-raexec-staticdev = "${libdir}/heartbeat/plugins/RAExec/*.*a" >>> +FILES_${PN}-plugin-raexec-dbg = "${libdir}/heartbeat/plugins/RAExec/.debug/" >>> >>> -FILES_${PN}-plugin-interfacemgr = >>> "/usr/lib/heartbeat/plugins/InterfaceMgr/generic.so" >>> -FILES_${PN}-plugin-interfacemgr-staticdev = >>> "/usr/lib/heartbeat/plugins/InterfaceMgr/generic.*a" >>> -FILES_${PN}-plugin-interfacemgr-dbg = >>> "/usr/lib/heartbeat/plugins/InterfaceMgr/.debug/" >>> +FILES_${PN}-plugin-interfacemgr = >>> "${libdir}/heartbeat/plugins/InterfaceMgr/generic.so" >>> +FILES_${PN}-plugin-interfacemgr-staticdev = >>> "${libdir}/heartbeat/plugins/InterfaceMgr/generic.*a" >>> +FILES_${PN}-plugin-interfacemgr-dbg = >>> "${libdir}/heartbeat/plugins/InterfaceMgr/.debug/" >>> >>> -FILES_${PN}-lrmtest = "/usr/share/cluster-glue/lrmtest/" >>> +FILES_${PN}-lrmtest = "${datadir}/cluster-glue/lrmtest/" >>> >>> RDEPENDS_${PN} += "perl" >>> RDEPENDS_${PN}-plugin-stonith2 += "bash" >>> -- >>> 1.8.4.2 >>> >>> -- >>> _______________________________________________ >>> yocto mailing list >>> yocto@yoctoproject.org >>> https://lists.yoctoproject.org/listinfo/yocto >> -- >> _______________________________________________ >> yocto mailing list >> yocto@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/yocto -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto ^ permalink raw reply [flat|nested] 11+ messages in thread
* [meta-cgl][PATCH v2] cluster-glue: upgrade 1.0.5 -> 1.0.12 2015-08-24 9:54 ` Alexandru Vaduva @ 2015-08-24 10:34 ` Li xin 0 siblings, 0 replies; 11+ messages in thread From: Li xin @ 2015-08-24 10:34 UTC (permalink / raw) To: yocto * Add patch to aviod build Error and Warning. --0001-don-t-compile-doc-and-Error-Fix.patch --0001-ribcl.py.in-Warning-Fix.patch * Dropped backported patch: --fix-const-cast.patch --glue-remove-getpid-check.patch --glue-repair-deprecated-glib-support.patch --glue-repair-libxml-support.patch * Replace the hardcoded strings "/usr/lib" "/etc/" "/usr/sbin" "/usr/share" Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> --- .../0001-don-t-compile-doc-and-Error-Fix.patch | 75 +++++++++++++++ .../0001-ribcl.py.in-Warning-Fix.patch | 34 +++++++ .../cluster-glue/cluster-glue/fix-const-cast.patch | 103 --------------------- .../cluster-glue/glue-remove-getpid-check.patch | 31 ------- .../glue-repair-deprecated-glib-support.patch | 12 --- .../cluster-glue/glue-repair-libxml-support.patch | 14 --- ...luster-glue_1.0.5.bb => cluster-glue_1.0.12.bb} | 76 ++++++++------- 7 files changed, 150 insertions(+), 195 deletions(-) create mode 100644 meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-compile-doc-and-Error-Fix.patch create mode 100644 meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.py.in-Warning-Fix.patch delete mode 100644 meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast.patch delete mode 100644 meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-getpid-check.patch delete mode 100644 meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-deprecated-glib-support.patch delete mode 100644 meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-libxml-support.patch rename meta-cgl-common/recipes-cgl/cluster-glue/{cluster-glue_1.0.5.bb => cluster-glue_1.0.12.bb} (49%) diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-compile-doc-and-Error-Fix.patch b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-compile-doc-and-Error-Fix.patch new file mode 100644 index 0000000..dd762b8 --- /dev/null +++ b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-compile-doc-and-Error-Fix.patch @@ -0,0 +1,75 @@ +From 86924cbbd595cde81584d74f6c93bcc4a080fcdd Mon Sep 17 00:00:00 2001 +From: Li xin <lixin.fnst@cn.fujitsu.com> +Date: Tue, 18 Aug 2015 17:43:29 +0900 +Subject: [PATCH] don't compile doc and Error Fix + +| help2man: can't get `--help' info from ../../lrm/admin/lrmadmin +| make[2]: *** [lrmadmin.8] Error 1 + +| make[2]: a2x: Command not found +| /usr/bin/xsltproc \ +| --xinclude \ +| http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl ha_logd.xml +| make[2]: *** [hb_report.8] Error 127 + +Upstream-Status: pending + +Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> +--- + Makefile.am | 2 +- + configure.ac | 6 ++++++ + lrm/admin/Makefile.am | 14 +++++++------- + 3 files changed, 14 insertions(+), 8 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index 93dbaf6..2f4d03b 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -23,7 +23,7 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure DRF/config-h.in \ + DRF/stamp-h.in libtool.m4 ltdl.m4 libltdl.tar + + SUBDIRS = include $(LIBLTDL_DIR) replace lib lrm logd \ +- hb_report doc config ++ hb_report config + + install-exec-local: + $(INSTALL) -d $(DESTDIR)/$(HA_COREDIR) +diff --git a/configure.ac b/configure.ac +index 36bcf12..809fae6 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1437,3 +1437,9 @@ AC_MSG_RESULT([ CFLAGS = ${CFLAGS}]) + AC_MSG_RESULT([ Libraries = ${LIBS}]) + AC_MSG_RESULT([ Stack Libraries = ${CLUSTERLIBS}]) + ++if test "$TARGET_PYTHON"; then ++ TARGET_PYTHON=$TARGET_PYTHON ++else ++ TARGET_PYTHON=$PYTHON ++fi ++ AC_SUBST(TARGET_PYTHON) +diff --git a/lrm/admin/Makefile.am b/lrm/admin/Makefile.am +index a92cd72..de525ea 100644 +--- a/lrm/admin/Makefile.am ++++ b/lrm/admin/Makefile.am +@@ -31,10 +31,10 @@ lrmadmin_LDFLAGS = $(COMMONLIBS) + lrmadmin_LDADD = $(top_builddir)/lib/$(LRM_DIR)/liblrm.la + lrmadmin_DEPENDENCIES = $(top_builddir)/lib/$(LRM_DIR)/liblrm.la + +-if BUILD_HELP +-man8_MANS = $(sbin_PROGRAMS:%=%.8) +-%.8: % +- echo Creating $@ +- chmod a+x $< +- help2man --output $@ --no-info --section 8 --name "Part of the Linux-HA project" $(top_builddir)/lrm/admin/$< +-endif ++#if BUILD_HELP ++#man8_MANS = $(sbin_PROGRAMS:%=%.8) ++#%.8: % ++# echo Creating $@ ++# chmod a+x $< ++# help2man --output $@ --no-info --section 8 --name "Part of the Linux-HA project" $(top_builddir)/lrm/admin/$< ++#endif +-- +1.8.4.2 + diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.py.in-Warning-Fix.patch b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.py.in-Warning-Fix.patch new file mode 100644 index 0000000..31010d4 --- /dev/null +++ b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.py.in-Warning-Fix.patch @@ -0,0 +1,34 @@ +From a2c66927b75547cee1db1340a67449ded0812df3 Mon Sep 17 00:00:00 2001 +From: Li xin <lixin.fnst@cn.fujitsu.com> +Date: Wed, 19 Aug 2015 11:13:46 +0900 +Subject: [PATCH] ribcl.py.in: Warning Fix + +WARNING: QA Issue: /usr/lib/stonith/plugins/stonith2/ribcl.py_cluster-glue-plugin-stonith2-ribcl +contained in package cluster-glue-plugin-stonith2-ribcl requires /usr/local/bin/python, +but no providers found in its RDEPENDS [file-rdeps] + +Add target python handling +Allow the build to specify a path for the python instead of reusing +the PYTHON variable which can lead to inconsistencies if we are cross +compiling. + +Upstream-Status: pending + +Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> +--- + lib/plugins/stonith/ribcl.py.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/plugins/stonith/ribcl.py.in b/lib/plugins/stonith/ribcl.py.in +index 14e070c..01205e3 100644 +--- a/lib/plugins/stonith/ribcl.py.in ++++ b/lib/plugins/stonith/ribcl.py.in +@@ -1,4 +1,4 @@ +-#!@PYTHON@ ++#!@TRAGET_PYTHON@ + + + # +-- +1.8.4.2 + diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast.patch b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast.patch deleted file mode 100644 index 6de65bf..0000000 --- a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast.patch +++ /dev/null @@ -1,103 +0,0 @@ -This patch gets rid of new warning introduced with gcc 4.5 -Warning is explained here -http://gcc.gnu.org/viewcvs/trunk/gcc/doc/invoke.texi?r1=148037&r2=148053&diff_format=h - --Khem --updated by Alexandru Vaduva - patch needed redone - -diff -Naur a/lib/plugins/stonith/apcsmart.c b/lib/plugins/stonith/apcsmart.c ---- a/lib/plugins/stonith/apcsmart.c 2014-07-09 17:14:24.492455034 +0200 -+++ b/lib/plugins/stonith/apcsmart.c 2014-07-09 17:15:03.386817399 +0200 -@@ -719,7 +719,7 @@ - } - ERRIFNOTCONFIGED(s,NULL); - -- return OurImports->CopyHostList((const char **)ad->hostlist); -+ return OurImports->CopyHostList(CONST_CAST(ad->hostlist)); - } - - static gboolean -diff -Naur a/lib/plugins/stonith/external.c b/lib/plugins/stonith/external.c ---- a/lib/plugins/stonith/external.c 2014-07-09 17:15:28.661753145 +0200 -+++ b/lib/plugins/stonith/external.c 2014-07-09 17:17:03.873743634 +0200 -@@ -540,7 +540,7 @@ - sd->confignames[dircount] = NULL; - } - -- return (const char **)sd->confignames; -+ return CONST_CAST(sd->confignames); - } - - /* -diff -Naur a/lib/plugins/stonith/meatware.c b/lib/plugins/stonith/meatware.c ---- a/lib/plugins/stonith/meatware.c 2014-07-09 17:18:47.597375001 +0200 -+++ b/lib/plugins/stonith/meatware.c 2014-07-09 17:19:35.943338541 +0200 -@@ -136,7 +136,7 @@ - return(NULL); - } - -- return OurImports->CopyHostList((const char **)nd->hostlist); -+ return OurImports->CopyHostList(CONST_CAST(nd->hostlist)); - } - - /* -diff -Naur a/lib/plugins/stonith/null.c b/lib/plugins/stonith/null.c ---- a/lib/plugins/stonith/null.c 2014-07-09 17:20:12.389803230 +0200 -+++ b/lib/plugins/stonith/null.c 2014-07-09 17:20:55.156001606 +0200 -@@ -126,7 +126,7 @@ - struct pluginDevice* nd = (struct pluginDevice*)s; - - ERRIFWRONGDEV(s, NULL); -- return OurImports->CopyHostList((const char**)nd->hostlist); -+ return OurImports->CopyHostList(CONST_CAST(nd->hostlist)); - } - - -diff -Naur a/lib/plugins/stonith/rcd_serial.c b/lib/plugins/stonith/rcd_serial.c ---- a/lib/plugins/stonith/rcd_serial.c 2014-07-09 17:21:12.603266573 +0200 -+++ b/lib/plugins/stonith/rcd_serial.c 2014-07-09 17:21:56.341423862 +0200 -@@ -347,7 +347,7 @@ - return(NULL); - } - -- return OurImports->CopyHostList((const char **)rcd->hostlist); -+ return OurImports->CopyHostList(CONST_CAST(rcd->hostlist)); - } - - /* -diff -Naur a/lib/plugins/stonith/rhcs.c b/lib/plugins/stonith/rhcs.c ---- a/lib/plugins/stonith/rhcs.c 2014-07-09 17:17:27.652742171 +0200 -+++ b/lib/plugins/stonith/rhcs.c 2014-07-09 17:18:18.562597957 +0200 -@@ -703,7 +703,7 @@ - sd->confignames[dircount] = NULL; - } - -- return (const char **)sd->confignames; -+ return CONST_CAST(sd->confignames); - } - - /* -diff -Naur a/lib/plugins/stonith/ssh.c b/lib/plugins/stonith/ssh.c ---- a/lib/plugins/stonith/ssh.c 2014-07-09 17:22:15.320624229 +0200 -+++ b/lib/plugins/stonith/ssh.c 2014-07-09 17:22:53.499015642 +0200 -@@ -161,7 +161,7 @@ - return(NULL); - } - -- return OurImports->CopyHostList((const char **)sd->hostlist); -+ return OurImports->CopyHostList(CONST_CAST(sd->hostlist)); - } - - -diff -Naur a/lib/plugins/stonith/stonith_plugin_common.h b/lib/plugins/stonith/stonith_plugin_common.h ---- a/lib/plugins/stonith/stonith_plugin_common.h 2014-07-09 17:23:16.954027367 +0200 -+++ b/lib/plugins/stonith/stonith_plugin_common.h 2014-07-09 17:24:38.538609129 +0200 -@@ -123,5 +123,8 @@ - return; \ - } - -+#define CONST_CAST(s) \ -+ (__extension__(union {char ** a; const char** b;})(s)).b -+ - #endif - diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-getpid-check.patch b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-getpid-check.patch deleted file mode 100644 index 30f422c..0000000 --- a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-getpid-check.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff -Naur a/configure.ac b/configure.ac ---- a/configure.ac 2014-07-09 17:05:51.602037193 +0200 -+++ b/configure.ac 2014-07-09 17:08:44.566761961 +0200 -@@ -441,24 +441,9 @@ - AC_MSG_RESULT($BUILD_VERSION) - AC_SUBST(BUILD_VERSION) - -- --dnl check if there are getpid() inconsistency --dnl Note: reduce LIBS; in particular, ltdl can cause confusion. --dnl Possibly better: move 'LIBS="$LIBS -lltdl"' from above to beyond here. --dnl --AC_MSG_CHECKING(for getpid() consistency in multi-process/threads program) --ac_save_LIBS=$LIBS --LIBS="-lpthread" --AC_TRY_RUN(`cat $srcdir/config/pidtest.c`, --AC_MSG_RESULT(ok), --[AC_MSG_RESULT(fail); AC_DEFINE(GETPID_INCONSISTENT, 1 , [pid inconsistent])],) --LIBS=$ac_save_LIBS -- --dnl check byte order --AC_MSG_CHECKING(for byteorder) --AC_TRY_RUN(`cat $srcdir/config/byteorder_test.c`, --[AC_MSG_RESULT(little-endian); AC_DEFINE(CONFIG_LITTLE_ENDIAN, 1, [little-endian])], --[AC_MSG_RESULT(big-endian); AC_DEFINE(CONFIG_BIG_ENDIAN, 1, [big-endian])],) -+AC_C_BIGENDIAN( -+ [AC_DEFINE(CONFIG_BIG_ENDIAN, 1, [big])], -+ [AC_DEFINE(CONFIG_LITTLE_ENDIAN, 1, [little])]) - - - dnl =============================================== diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-deprecated-glib-support.patch b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-deprecated-glib-support.patch deleted file mode 100644 index 16fc679..0000000 --- a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-deprecated-glib-support.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur a/include/clplumbing/cl_uuid.h b/include/clplumbing/cl_uuid.h ---- a/include/clplumbing/cl_uuid.h 2014-07-14 14:25:24.127378762 +0200 -+++ b/include/clplumbing/cl_uuid.h 2014-07-14 14:23:32.120193782 +0200 -@@ -16,7 +16,7 @@ - - #ifndef _CL_UUID_H_ - #define _CL_UUID_H_ --#include <glib/gtypes.h> -+#include <glib.h> - - typedef struct cl_uuid_s{ - unsigned char uuid[16]; diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-libxml-support.patch b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-libxml-support.patch deleted file mode 100644 index a436575..0000000 --- a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-libxml-support.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -Naur a/configure.ac b/configure.ac ---- a/configure.ac 2014-07-14 13:02:42.016652860 +0200 -+++ b/configure.ac 2014-07-14 13:03:59.585322332 +0200 -@@ -679,8 +679,8 @@ - - CPPFLAGS="$CPPFLAGS $XML2HEAD" - --AC_CHECK_HEADERS(libxml/xpath.h) --if test "$ac_cv_header_libxml_xpath_h" != "yes"; then -+AC_CHECK_HEADERS(libxml2/libxml/xpath.h) -+if test x"$ac_cv_header_libxml2_libxml_xpath_h" != x"yes"; then - AC_MSG_ERROR(The libxml developement headers were not found) - fi - diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.5.bb b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb similarity index 49% rename from meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.5.bb rename to meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb index f1b4a78..be04469 100644 --- a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.5.bb +++ b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb @@ -7,21 +7,20 @@ LICENSE = "GPLv2" DEPENDS = "libxml2 libtool glib-2.0 bzip2 util-linux net-snmp openhpi" SRC_URI = " \ - http://hg.linux-ha.org/glue/archive/glue-${PV}.tar.bz2 \ - file://glue-repair-libxml-support.patch \ - file://glue-repair-deprecated-glib-support.patch \ - file://glue-remove-getpid-check.patch \ - file://fix-const-cast.patch \ + http://hg.linux-ha.org/glue/archive/glue-${PV}.tar.bz2 \ + file://0001-don-t-compile-doc-and-Error-Fix.patch \ + file://0001-ribcl.py.in-Warning-Fix.patch \ file://volatiles \ file://tmpfiles \ - " +" SRC_URI_append_libc-uclibc = " file://kill-stack-protector.patch" -SRC_URI[md5sum] = "d2b6f798e58ef2497526e404b8ad640a" -SRC_URI[sha256sum] = "0e1922373aba1c3811f6ef61559a9c407c0bec71d2ebc451a4db5b940ded8ec0" + +SRC_URI[md5sum] = "ec620466d6f23affa3b074b72bca7870" +SRC_URI[sha256sum] = "feba102fa1e24b6be2005089ebe362b82d6567af60005cf371679b1b44ec503f" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.GPLv2;md5=751419260aa954499f7abaabaa882bbe" -inherit autotools useradd +inherit autotools useradd pkgconfig S = "${WORKDIR}/Reusable-Cluster-Components-glue--glue-${PV}" @@ -70,43 +69,50 @@ PACKAGES += "\ ${PN}-plugin-interfacemgr-dbg \ ${PN}-plugin-interfacemgr-staticdev \ ${PN}-lrmtest \ + ${PN}-plugin-compress \ + ${PN}-plugin-compress-dbg \ + ${PN}-plugin-compress-staticdev \ " -FILES_${PN} = "/etc/ /var /usr/lib/lib*.so.* /usr/sbin /usr/share/cluster-glue/*sh /usr/share/cluster-glue/*pl\ - /usr/lib/heartbeat/transient-test.sh \ - /usr/lib/heartbeat/logtest \ - /usr/lib/heartbeat/ipctransientserver \ - /usr/lib/heartbeat/base64_md5_test \ - /usr/lib/heartbeat/ipctest \ - /usr/lib/heartbeat/ipctransientclient \ - /usr/lib/heartbeat/ha_logd \ - /usr/lib/heartbeat/lrmd \ +FILES_${PN} = "${sysconfdir} /var ${libdir}/lib*.so.* ${sbindir} ${datadir}/cluster-glue/*sh ${datadir}/cluster-glue/*pl\ + ${libdir}/heartbeat/transient-test.sh \ + ${libdir}/heartbeat/logtest \ + ${libdir}/heartbeat/ipctransientserver \ + ${libdir}/heartbeat/base64_md5_test \ + ${libdir}/heartbeat/ipctest \ + ${libdir}/heartbeat/ipctransientclient \ + ${libdir}/heartbeat/ha_logd \ + ${libdir}/heartbeat/lrmd \ " -FILES_${PN}-dbg += "/usr/lib/heartbeat/.debug/" +FILES_${PN}-dbg += "${libdir}/heartbeat/.debug/ \ + " +FILES_${PN}-plugin-compress = "${libdir}/heartbeat/plugins/compress/*.so" +FILES_${PN}-plugin-compress-staticdev = "${libdir}/heartbeat/plugins/compress/*.*a" +FILES_${PN}-plugin-compress-dbg = "${libdir}/heartbeat/plugins/compress/.debug/" -FILES_${PN}-plugin-test = "/usr/lib/heartbeat/plugins/test/test.so" -FILES_${PN}-plugin-test-staticdev = "/usr/lib/heartbeat/plugins/test/test.*a" -FILES_${PN}-plugin-test-dbg = "/usr/lib/heartbeat/plugins/test/.debug/" +FILES_${PN}-plugin-test = "${libdir}/heartbeat/plugins/test/test.so" +FILES_${PN}-plugin-test-staticdev = "${libdir}/heartbeat/plugins/test/test.*a" +FILES_${PN}-plugin-test-dbg = "${libdir}/heartbeat/plugins/test/.debug/" FILES_${PN}-plugin-stonith2 = " \ - /usr/lib/stonith/plugins/xen0-ha-dom0-stonith-helper \ - /usr/lib/stonith/plugins/stonith2/*.so \ + ${libdir}/stonith/plugins/xen0-ha-dom0-stonith-helper \ + ${libdir}/stonith/plugins/stonith2/*.so \ " -FILES_${PN}-plugin-stonith2-ribcl = "/usr/lib/stonith/plugins/stonith2/ribcl.py" +FILES_${PN}-plugin-stonith2-ribcl = "${libdir}/stonith/plugins/stonith2/ribcl.py" -FILES_${PN}-plugin-stonith2-dbg = "/usr/lib/stonith/plugins/stonith2/.debug/" -FILES_${PN}-plugin-stonith2-staticdev = "/usr/lib/stonith/plugins/stonith2/*.*a" +FILES_${PN}-plugin-stonith2-dbg = "${libdir}/stonith/plugins/stonith2/.debug/" +FILES_${PN}-plugin-stonith2-staticdev = "${libdir}/stonith/plugins/stonith2/*.*a" -FILES_${PN}-plugin-stonith-external = "/usr/lib/stonith/plugins/external/" -FILES_${PN}-plugin-raexec = "/usr/lib/heartbeat/plugins/RAExec/*.so" -FILES_${PN}-plugin-raexec-staticdev = "/usr/lib/heartbeat/plugins/RAExec/*.*a" -FILES_${PN}-plugin-raexec-dbg = "/usr/lib/heartbeat/plugins/RAExec/.debug/" +FILES_${PN}-plugin-stonith-external = "${libdir}/stonith/plugins/external/" +FILES_${PN}-plugin-raexec = "${libdir}/heartbeat/plugins/RAExec/*.so" +FILES_${PN}-plugin-raexec-staticdev = "${libdir}/heartbeat/plugins/RAExec/*.*a" +FILES_${PN}-plugin-raexec-dbg = "${libdir}/heartbeat/plugins/RAExec/.debug/" -FILES_${PN}-plugin-interfacemgr = "/usr/lib/heartbeat/plugins/InterfaceMgr/generic.so" -FILES_${PN}-plugin-interfacemgr-staticdev = "/usr/lib/heartbeat/plugins/InterfaceMgr/generic.*a" -FILES_${PN}-plugin-interfacemgr-dbg = "/usr/lib/heartbeat/plugins/InterfaceMgr/.debug/" +FILES_${PN}-plugin-interfacemgr = "${libdir}/heartbeat/plugins/InterfaceMgr/generic.so" +FILES_${PN}-plugin-interfacemgr-staticdev = "${libdir}/heartbeat/plugins/InterfaceMgr/generic.*a" +FILES_${PN}-plugin-interfacemgr-dbg = "${libdir}/heartbeat/plugins/InterfaceMgr/.debug/" -FILES_${PN}-lrmtest = "/usr/share/cluster-glue/lrmtest/" +FILES_${PN}-lrmtest = "${datadir}/cluster-glue/lrmtest/" RDEPENDS_${PN} += "perl" RDEPENDS_${PN}-plugin-stonith2 += "bash" -- 1.8.4.2 ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [meta-cgl][PATCH v2] cluster-glue: upgrade 1.0.5 -> 1.0.12 2015-08-24 6:43 ` Li, Xin 2015-08-24 8:32 ` Siva Borra @ 2015-08-24 9:53 ` Alexandru Vaduva 1 sibling, 0 replies; 11+ messages in thread From: Alexandru Vaduva @ 2015-08-24 9:53 UTC (permalink / raw) To: Li, Xin, yocto@yoctoproject.org [-- Attachment #1: Type: text/plain, Size: 21842 bytes --] Yes, no problem. I attached the log to this CR. All the other patches are ok and booting fine. The only problem is related to this one. Feel free to ask for further information if necessary :D Alex V. -----Original Message----- From: Li, Xin [mailto:lixin.fnst@cn.fujitsu.com] Sent: Monday, August 24, 2015 9:43 AM To: Alexandru Vaduva; yocto@yoctoproject.org Subject: RE: [yocto] [meta-cgl][PATCH v2] cluster-glue: upgrade 1.0.5 -> 1.0.12 Hi, Alex V. I bitbake cluster-glue for x86, Arm, and Powerpc. But I can't produce the error. Would you mind providing the error message for me? Regards, Li >-----Original Message----- >From: yocto-bounces@yoctoproject.org >[mailto:yocto-bounces@yoctoproject.org] >On Behalf Of Li, Xin >Sent: Friday, August 21, 2015 10:51 AM >To: Alexandru Vaduva; yocto@yoctoproject.org >Subject: Re: [yocto] [meta-cgl][PATCH v2] cluster-glue: upgrade 1.0.5 >-> 1.0.12 > >Hi, Alex V. > >Thanks a lot. > >Indeed, the error does not occur on my system. >I will do some extra test, and resend the patch. > >Regards, >Li > >>-----Original Message----- >>From: Alexandru Vaduva [mailto:Alexandru.Vaduva@enea.com] >>Sent: Thursday, August 20, 2015 10:51 PM >>To: Li, Xin/李 欣; yocto@yoctoproject.org >>Subject: RE: [yocto] [meta-cgl][PATCH v2] cluster-glue: upgrade 1.0.5 >>-> 1.0.12 >> >>Hello, >> >>Could you please take one more look on this since for me the build is >>failing in the do_compile stage. >>Due to this error I was not able to build the other two patches >>heardbleat and pacemaker. :D >> >>Alex V. >> >>-----Original Message----- >>From: yocto-bounces@yoctoproject.org >>[mailto:yocto-bounces@yoctoproject.org] >>On Behalf Of Li xin >>Sent: Wednesday, August 19, 2015 8:04 AM >>To: yocto@yoctoproject.org >>Subject: [yocto] [meta-cgl][PATCH v2] cluster-glue: upgrade 1.0.5 -> >>1.0.12 >> >>* Add patch to aviod build Error and Warning. >> --0001-don-t-compile-doc-and-Error-Fix.patch >> --0001-ribcl.py.in-Warning-Fix.patch >> >>* Dropped backported patch: >> --fix-const-cast.patch >> --glue-remove-getpid-check.patch >> --glue-repair-deprecated-glib-support.patch >> --glue-repair-libxml-support.patch >> >>* Replace the hardcoded strings "/usr/lib" "/etc/" "/usr/sbin" "/usr/share" >> >>Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> >>--- >> .../0001-don-t-compile-doc-and-Error-Fix.patch | 50 ++++++++++ >> .../0001-ribcl.py.in-Warning-Fix.patch | 34 +++++++ >> .../cluster-glue/cluster-glue/fix-const-cast.patch | 103 --------------------- >> .../cluster-glue/glue-remove-getpid-check.patch | 31 ------- >> .../glue-repair-deprecated-glib-support.patch | 12 --- >> .../cluster-glue/glue-repair-libxml-support.patch | 14 >>--- ...luster-glue_1.0.5.bb => cluster-glue_1.0.12.bb} | 76 >>++++++++------- >> 7 files changed, 125 insertions(+), 195 deletions(-) create mode >>100644 >>meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-compi >>l >>e-doc-and >>-Error-Fix.patch >> create mode 100644 >>meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.py.in >>-Warning-Fi >x. >>patch >> delete mode 100644 >>meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast.p >>a >>tch >> delete mode 100644 >>meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-getp >>i >>d-check.p >>atch >> delete mode 100644 >>meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-depr >>e >>cated-glib- >>support.patch >> delete mode 100644 >>meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-libx >>m >>l-support.p >>atch >> rename >>meta-cgl-common/recipes-cgl/cluster-glue/{cluster-glue_1.0.5.bb >>=> cluster-glue_1.0.12.bb} (49%) >> >>diff --git >>a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-com >>p >>ile-doc-a >>nd-Error-Fix.patch >>b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t-com >>p >>ile-doc-a >>nd-Error-Fix.patch >>new file mode 100644 >>index 0000000..471b1e4 >>--- /dev/null >>+++ b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-don-t >>+++ - >>+++ c >>+++ ompile-doc-and-Error-Fix.patch >>@@ -0,0 +1,50 @@ >>+From b64b676f7abf896ca714341eb330099f2ff04213 Mon Sep 17 00:00:00 >>+2001 >>+From: Li xin <lixin.fnst@cn.fujitsu.com> >>+Date: Tue, 18 Aug 2015 17:43:29 +0900 >>+Subject: [PATCH] don't compile doc and Error Fix >>+ >>+| help2man: can't get `--help' info from ../../lrm/admin/lrmadmin >>+| make[2]: *** [lrmadmin.8] Error 1 >>+ >>+| make[2]: a2x: Command not found >>+| /usr/bin/xsltproc \ >>+| --xinclude \ >>+| >>+| http://docbook.sourceforge.net/release/xsl/current/manpages/docbook. >>+| x >>+| sl ha_logd.xml >>+| make[2]: *** [hb_report.8] Error 127 >>+ >>+Upstream-Status: pending >>+ >>+Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> >>+--- >>+ Makefile.am | 2 +- >>+ configure.ac | 6 ++++++ >>+ lrm/admin/Makefile.am | 2 +- >>+ 3 files changed, 8 insertions(+), 2 deletions(-) >>+ >>+diff --git a/Makefile.am b/Makefile.am index 93dbaf6..2f4d03b 100644 >>+--- a/Makefile.am >>++++ b/Makefile.am >>+@@ -23,7 +23,7 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 >configure >>DRF/config-h.in \ >>+ DRF/stamp-h.in libtool.m4 ltdl.m4 libltdl.tar >>+ >>+ SUBDIRS = include $(LIBLTDL_DIR) replace lib lrm logd \ >>+- hb_report doc config >>++ hb_report config >>+ >>+ install-exec-local: >>+ $(INSTALL) -d $(DESTDIR)/$(HA_COREDIR) diff --git >>+a/lrm/admin/Makefile.am b/lrm/admin/Makefile.am index >>+a92cd72..ed938e0 >>+100644 >>+--- a/lrm/admin/Makefile.am >>++++ b/lrm/admin/Makefile.am >>+@@ -36,5 +36,5 @@ man8_MANS = $(sbin_PROGRAMS:%=%.8) >>+ %.8: % >>+ echo Creating $@ >>+ chmod a+x $< >>+- help2man --output $@ --no-info --section 8 --name "Part of the Linux-HA >>project" $(top_builddir)/lrm/admin/$< >>++ help2man --output $@ --no-info --section 8 --name "Part of the >>++Linux-HA project" /usr/sbin/$< >>+ endif >>+-- >>+1.8.4.2 >>+ >>diff --git >>a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.py. >>i >>n-Warning-F >>ix.patch >>b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl.py. >>i >>n-Warning-F >>ix.patch >>new file mode 100644 >>index 0000000..31010d4 >>--- /dev/null >>+++ b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-ribcl. >>+++ p >>+++ y.in-Warning-Fix.patch >>@@ -0,0 +1,34 @@ >>+From a2c66927b75547cee1db1340a67449ded0812df3 Mon Sep 17 00:00:00 >>+2001 >>+From: Li xin <lixin.fnst@cn.fujitsu.com> >>+Date: Wed, 19 Aug 2015 11:13:46 +0900 >>+Subject: [PATCH] ribcl.py.in: Warning Fix >>+ >>+WARNING: QA Issue: >>+/usr/lib/stonith/plugins/stonith2/ribcl.py_cluster-glue-plugin-stonit >>+h >>+2 -ribcl contained in package cluster-glue-plugin-stonith2-ribcl >>+requires /usr/local/bin/python, but no providers found in its >>+RDEPENDS [file-rdeps] >>+ >>+Add target python handling >>+Allow the build to specify a path for the python instead of reusing >>+the PYTHON variable which can lead to inconsistencies if we are cross >>+compiling. >>+ >>+Upstream-Status: pending >>+ >>+Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> >>+--- >>+ lib/plugins/stonith/ribcl.py.in | 2 +- >>+ 1 file changed, 1 insertion(+), 1 deletion(-) >>+ >>+diff --git a/lib/plugins/stonith/ribcl.py.in >>+b/lib/plugins/stonith/ribcl.py.in index 14e070c..01205e3 100644 >>+--- a/lib/plugins/stonith/ribcl.py.in >>++++ b/lib/plugins/stonith/ribcl.py.in >>+@@ -1,4 +1,4 @@ >>+-#!@PYTHON@ >>++#!@TRAGET_PYTHON@ >>+ >>+ >>+ # >>+-- >>+1.8.4.2 >>+ >>diff --git >>a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast. >>patch >>b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast. >>patch >>deleted file mode 100644 >>index 6de65bf..0000000 >>--- >>a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/fix-const-cast. >>patch >>+++ /dev/null >>@@ -1,103 +0,0 @@ >>-This patch gets rid of new warning introduced with gcc 4.5 -Warning >>is explained here >>-http://gcc.gnu.org/viewcvs/trunk/gcc/doc/invoke.texi?r1=148037&r2=148 >>0 >>53&diff >>_format=h >>- >>--Khem >>--updated by Alexandru Vaduva - patch needed redone >>- >>-diff -Naur a/lib/plugins/stonith/apcsmart.c b/lib/plugins/stonith/apcsmart.c >>---- a/lib/plugins/stonith/apcsmart.c 2014-07-09 17:14:24.492455034 +0200 >>-+++ b/lib/plugins/stonith/apcsmart.c 2014-07-09 17:15:03.386817399 +0200 >>-@@ -719,7 +719,7 @@ >>- } >>- ERRIFNOTCONFIGED(s,NULL); >>- >>-- return OurImports->CopyHostList((const char **)ad->hostlist); >>-+ return OurImports->CopyHostList(CONST_CAST(ad->hostlist)); >>- } >>- >>- static gboolean >>-diff -Naur a/lib/plugins/stonith/external.c b/lib/plugins/stonith/external.c >>---- a/lib/plugins/stonith/external.c 2014-07-09 17:15:28.661753145 +0200 >>-+++ b/lib/plugins/stonith/external.c 2014-07-09 17:17:03.873743634 +0200 >>-@@ -540,7 +540,7 @@ >>- sd->confignames[dircount] = NULL; >>- } >>- >>-- return (const char **)sd->confignames; >>-+ return CONST_CAST(sd->confignames); >>- } >>- >>- /* >>-diff -Naur a/lib/plugins/stonith/meatware.c b/lib/plugins/stonith/meatware.c >>---- a/lib/plugins/stonith/meatware.c 2014-07-09 17:18:47.597375001 +0200 >>-+++ b/lib/plugins/stonith/meatware.c 2014-07-09 17:19:35.943338541 +0200 >>-@@ -136,7 +136,7 @@ >>- return(NULL); >>- } >>- >>-- return OurImports->CopyHostList((const char **)nd->hostlist); >>-+ return OurImports->CopyHostList(CONST_CAST(nd->hostlist)); >>- } >>- >>- /* >>-diff -Naur a/lib/plugins/stonith/null.c b/lib/plugins/stonith/null.c >>---- a/lib/plugins/stonith/null.c 2014-07-09 17:20:12.389803230 +0200 >>-+++ b/lib/plugins/stonith/null.c 2014-07-09 17:20:55.156001606 +0200 >>-@@ -126,7 +126,7 @@ >>- struct pluginDevice* nd = (struct pluginDevice*)s; >>- >>- ERRIFWRONGDEV(s, NULL); >>-- return OurImports->CopyHostList((const char**)nd->hostlist); >>-+ return OurImports->CopyHostList(CONST_CAST(nd->hostlist)); >>- } >>- >>- >>-diff -Naur a/lib/plugins/stonith/rcd_serial.c b/lib/plugins/stonith/rcd_serial.c >>---- a/lib/plugins/stonith/rcd_serial.c 2014-07-09 17:21:12.603266573 +0200 >>-+++ b/lib/plugins/stonith/rcd_serial.c 2014-07-09 17:21:56.341423862 +0200 >>-@@ -347,7 +347,7 @@ >>- return(NULL); >>- } >>- >>-- return OurImports->CopyHostList((const char **)rcd->hostlist); >>-+ return OurImports->CopyHostList(CONST_CAST(rcd->hostlist)); >>- } >>- >>- /* >>-diff -Naur a/lib/plugins/stonith/rhcs.c b/lib/plugins/stonith/rhcs.c >>---- a/lib/plugins/stonith/rhcs.c 2014-07-09 17:17:27.652742171 +0200 >>-+++ b/lib/plugins/stonith/rhcs.c 2014-07-09 17:18:18.562597957 +0200 >>-@@ -703,7 +703,7 @@ >>- sd->confignames[dircount] = NULL; >>- } >>- >>-- return (const char **)sd->confignames; >>-+ return CONST_CAST(sd->confignames); >>- } >>- >>- /* >>-diff -Naur a/lib/plugins/stonith/ssh.c b/lib/plugins/stonith/ssh.c >>---- a/lib/plugins/stonith/ssh.c 2014-07-09 17:22:15.320624229 +0200 >>-+++ b/lib/plugins/stonith/ssh.c 2014-07-09 17:22:53.499015642 +0200 >>-@@ -161,7 +161,7 @@ >>- return(NULL); >>- } >>- >>-- return OurImports->CopyHostList((const char **)sd->hostlist); >>-+ return OurImports->CopyHostList(CONST_CAST(sd->hostlist)); >>- } >>- >>- >>-diff -Naur a/lib/plugins/stonith/stonith_plugin_common.h >>b/lib/plugins/stonith/stonith_plugin_common.h >>---- a/lib/plugins/stonith/stonith_plugin_common.h 2014-07-09 >>17:23:16.954027367 +0200 >>-+++ b/lib/plugins/stonith/stonith_plugin_common.h 2014-07-09 >>17:24:38.538609129 +0200 >>-@@ -123,5 +123,8 @@ >>- return; \ >>- } >>- >>-+#define CONST_CAST(s) \ >>-+ (__extension__(union {char ** a; const char** b;})(s)).b >>-+ >>- #endif >>- >>diff --git >>a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-ge >>t >>pid-check >>.patch >>b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-ge >>t >>pid-check >>.patch >>deleted file mode 100644 >>index 30f422c..0000000 >>--- >>a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-remove-ge >>t >>pid-check >>.patch >>+++ /dev/null >>@@ -1,31 +0,0 @@ >>-diff -Naur a/configure.ac b/configure.ac >>---- a/configure.ac 2014-07-09 17:05:51.602037193 +0200 >>-+++ b/configure.ac 2014-07-09 17:08:44.566761961 +0200 >>-@@ -441,24 +441,9 @@ >>- AC_MSG_RESULT($BUILD_VERSION) >>- AC_SUBST(BUILD_VERSION) >>- >>-- >>--dnl check if there are getpid() inconsistency >>--dnl Note: reduce LIBS; in particular, ltdl can cause confusion. >>--dnl Possibly better: move 'LIBS="$LIBS -lltdl"' from above to beyond here. >>--dnl >>--AC_MSG_CHECKING(for getpid() consistency in multi-process/threads >>program) --ac_save_LIBS=$LIBS --LIBS="-lpthread" >>--AC_TRY_RUN(`cat $srcdir/config/pidtest.c`, --AC_MSG_RESULT(ok), >>--[AC_MSG_RESULT(fail); AC_DEFINE(GETPID_INCONSISTENT, 1 , [pid >>inconsistent])],) --LIBS=$ac_save_LIBS >>-- >>--dnl check byte order >>--AC_MSG_CHECKING(for byteorder) >>--AC_TRY_RUN(`cat $srcdir/config/byteorder_test.c`, >>--[AC_MSG_RESULT(little-endian); AC_DEFINE(CONFIG_LITTLE_ENDIAN, 1, >>[little-endian])], --[AC_MSG_RESULT(big-endian); >>AC_DEFINE(CONFIG_BIG_ENDIAN, 1, [big-endian])],) >>-+AC_C_BIGENDIAN( >>-+ [AC_DEFINE(CONFIG_BIG_ENDIAN, 1, [big])], >>-+ [AC_DEFINE(CONFIG_LITTLE_ENDIAN, 1, [little])]) >>- >>- >>- dnl =============================================== >>diff --git >>a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-de >>p >>recated-gli >>b-support.patch >>b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-de >>p >>recated-gli >>b-support.patch >>deleted file mode 100644 >>index 16fc679..0000000 >>--- >>a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-de >>p >>recated-gli >>b-support.patch >>+++ /dev/null >>@@ -1,12 +0,0 @@ >>-diff -Naur a/include/clplumbing/cl_uuid.h b/include/clplumbing/cl_uuid.h >>---- a/include/clplumbing/cl_uuid.h 2014-07-14 14:25:24.127378762 +0200 >>-+++ b/include/clplumbing/cl_uuid.h 2014-07-14 14:23:32.120193782 +0200 >>-@@ -16,7 +16,7 @@ >>- >>- #ifndef _CL_UUID_H_ >>- #define _CL_UUID_H_ >>--#include <glib/gtypes.h> >>-+#include <glib.h> >>- >>- typedef struct cl_uuid_s{ >>- unsigned char uuid[16]; >>diff --git >>a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-li >>b >>xml-support >>.patch >>b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-li >>b >>xml-support >>.patch >>deleted file mode 100644 >>index a436575..0000000 >>--- >>a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/glue-repair-li >>b >>xml-support >>.patch >>+++ /dev/null >>@@ -1,14 +0,0 @@ >>-diff -Naur a/configure.ac b/configure.ac >>---- a/configure.ac 2014-07-14 13:02:42.016652860 +0200 >>-+++ b/configure.ac 2014-07-14 13:03:59.585322332 +0200 >>-@@ -679,8 +679,8 @@ >>- >>- CPPFLAGS="$CPPFLAGS $XML2HEAD" >>- >>--AC_CHECK_HEADERS(libxml/xpath.h) >>--if test "$ac_cv_header_libxml_xpath_h" != "yes"; then >>-+AC_CHECK_HEADERS(libxml2/libxml/xpath.h) >>-+if test x"$ac_cv_header_libxml2_libxml_xpath_h" != x"yes"; then >>- AC_MSG_ERROR(The libxml developement headers were not found) >>- fi >>- >>diff --git >>a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.5.bb >>b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb >>similarity index 49% >>rename from >>meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.5.bb >>rename to >>meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb >>index f1b4a78..be04469 100644 >>--- a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.5.bb >>+++ b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb >>@@ -7,21 +7,20 @@ LICENSE = "GPLv2" >> DEPENDS = "libxml2 libtool glib-2.0 bzip2 util-linux net-snmp openhpi" >> >> SRC_URI = " \ >>- http://hg.linux-ha.org/glue/archive/glue-${PV}.tar.bz2 \ >>- file://glue-repair-libxml-support.patch \ >>- file://glue-repair-deprecated-glib-support.patch \ >>- file://glue-remove-getpid-check.patch \ >>- file://fix-const-cast.patch \ >>+ http://hg.linux-ha.org/glue/archive/glue-${PV}.tar.bz2 \ >>+ file://0001-don-t-compile-doc-and-Error-Fix.patch \ >>+ file://0001-ribcl.py.in-Warning-Fix.patch \ >> file://volatiles \ >> file://tmpfiles \ >>- " >>+" >> SRC_URI_append_libc-uclibc = " file://kill-stack-protector.patch" >>-SRC_URI[md5sum] = "d2b6f798e58ef2497526e404b8ad640a" >>-SRC_URI[sha256sum] = >>"0e1922373aba1c3811f6ef61559a9c407c0bec71d2ebc451a4db5b940ded8ec0" >>+ >>+SRC_URI[md5sum] = "ec620466d6f23affa3b074b72bca7870" >>+SRC_URI[sha256sum] = >>"feba102fa1e24b6be2005089ebe362b82d6567af60005cf371679b1b44ec503f" >> >> LIC_FILES_CHKSUM = >>"file://${COREBASE}/meta/COPYING.GPLv2;md5=751419260aa954499f7abaabaa8 >8 >>2bbe" >> >>-inherit autotools useradd >>+inherit autotools useradd pkgconfig >> >> S = "${WORKDIR}/Reusable-Cluster-Components-glue--glue-${PV}" >> >>@@ -70,43 +69,50 @@ PACKAGES += "\ >> ${PN}-plugin-interfacemgr-dbg \ >> ${PN}-plugin-interfacemgr-staticdev \ >> ${PN}-lrmtest \ >>+ ${PN}-plugin-compress \ >>+ ${PN}-plugin-compress-dbg \ >>+ ${PN}-plugin-compress-staticdev \ >> " >> >>-FILES_${PN} = "/etc/ /var /usr/lib/lib*.so.* /usr/sbin >>/usr/share/cluster-glue/*sh /usr/share/cluster-glue/*pl\ >>- /usr/lib/heartbeat/transient-test.sh \ >>- /usr/lib/heartbeat/logtest \ >>- /usr/lib/heartbeat/ipctransientserver \ >>- /usr/lib/heartbeat/base64_md5_test \ >>- /usr/lib/heartbeat/ipctest \ >>- /usr/lib/heartbeat/ipctransientclient \ >>- /usr/lib/heartbeat/ha_logd \ >>- /usr/lib/heartbeat/lrmd \ >>+FILES_${PN} = "${sysconfdir} /var ${libdir}/lib*.so.* ${sbindir} >>${datadir}/cluster-glue/*sh ${datadir}/cluster-glue/*pl\ >>+ ${libdir}/heartbeat/transient-test.sh \ >>+ ${libdir}/heartbeat/logtest \ >>+ ${libdir}/heartbeat/ipctransientserver \ >>+ ${libdir}/heartbeat/base64_md5_test \ >>+ ${libdir}/heartbeat/ipctest \ >>+ ${libdir}/heartbeat/ipctransientclient \ >>+ ${libdir}/heartbeat/ha_logd \ >>+ ${libdir}/heartbeat/lrmd \ >> " >> >>-FILES_${PN}-dbg += "/usr/lib/heartbeat/.debug/" >>+FILES_${PN}-dbg += "${libdir}/heartbeat/.debug/ \ >>+ " >>+FILES_${PN}-plugin-compress = "${libdir}/heartbeat/plugins/compress/*.so" >>+FILES_${PN}-plugin-compress-staticdev = >>"${libdir}/heartbeat/plugins/compress/*.*a" >>+FILES_${PN}-plugin-compress-dbg = >>"${libdir}/heartbeat/plugins/compress/.debug/" >> >>-FILES_${PN}-plugin-test = "/usr/lib/heartbeat/plugins/test/test.so" >>-FILES_${PN}-plugin-test-staticdev = "/usr/lib/heartbeat/plugins/test/test.*a" >>-FILES_${PN}-plugin-test-dbg = "/usr/lib/heartbeat/plugins/test/.debug/" >>+FILES_${PN}-plugin-test = "${libdir}/heartbeat/plugins/test/test.so" >>+FILES_${PN}-plugin-test-staticdev = "${libdir}/heartbeat/plugins/test/test.*a" >>+FILES_${PN}-plugin-test-dbg = "${libdir}/heartbeat/plugins/test/.debug/" >> FILES_${PN}-plugin-stonith2 = " \ >>- /usr/lib/stonith/plugins/xen0-ha-dom0-stonith-helper \ >>- /usr/lib/stonith/plugins/stonith2/*.so \ >>+ ${libdir}/stonith/plugins/xen0-ha-dom0-stonith-helper \ >>+ ${libdir}/stonith/plugins/stonith2/*.so \ >> " >>-FILES_${PN}-plugin-stonith2-ribcl = "/usr/lib/stonith/plugins/stonith2/ribcl.py" >>+FILES_${PN}-plugin-stonith2-ribcl = "${libdir}/stonith/plugins/stonith2/ribcl.py" >> >>-FILES_${PN}-plugin-stonith2-dbg = "/usr/lib/stonith/plugins/stonith2/.debug/" >>-FILES_${PN}-plugin-stonith2-staticdev = "/usr/lib/stonith/plugins/stonith2/*.*a" >>+FILES_${PN}-plugin-stonith2-dbg = "${libdir}/stonith/plugins/stonith2/.debug/" >>+FILES_${PN}-plugin-stonith2-staticdev = "${libdir}/stonith/plugins/stonith2/*.*a" >> >>-FILES_${PN}-plugin-stonith-external = "/usr/lib/stonith/plugins/external/" >>-FILES_${PN}-plugin-raexec = "/usr/lib/heartbeat/plugins/RAExec/*.so" >>-FILES_${PN}-plugin-raexec-staticdev = "/usr/lib/heartbeat/plugins/RAExec/*.*a" >>-FILES_${PN}-plugin-raexec-dbg = "/usr/lib/heartbeat/plugins/RAExec/.debug/" >>+FILES_${PN}-plugin-stonith-external = "${libdir}/stonith/plugins/external/" >>+FILES_${PN}-plugin-raexec = "${libdir}/heartbeat/plugins/RAExec/*.so" >>+FILES_${PN}-plugin-raexec-staticdev = "${libdir}/heartbeat/plugins/RAExec/*.*a" >>+FILES_${PN}-plugin-raexec-dbg = "${libdir}/heartbeat/plugins/RAExec/.debug/" >> >>-FILES_${PN}-plugin-interfacemgr = >>"/usr/lib/heartbeat/plugins/InterfaceMgr/generic.so" >>-FILES_${PN}-plugin-interfacemgr-staticdev = >>"/usr/lib/heartbeat/plugins/InterfaceMgr/generic.*a" >>-FILES_${PN}-plugin-interfacemgr-dbg = >>"/usr/lib/heartbeat/plugins/InterfaceMgr/.debug/" >>+FILES_${PN}-plugin-interfacemgr = >>"${libdir}/heartbeat/plugins/InterfaceMgr/generic.so" >>+FILES_${PN}-plugin-interfacemgr-staticdev = >>"${libdir}/heartbeat/plugins/InterfaceMgr/generic.*a" >>+FILES_${PN}-plugin-interfacemgr-dbg = >>"${libdir}/heartbeat/plugins/InterfaceMgr/.debug/" >> >>-FILES_${PN}-lrmtest = "/usr/share/cluster-glue/lrmtest/" >>+FILES_${PN}-lrmtest = "${datadir}/cluster-glue/lrmtest/" >> >> RDEPENDS_${PN} += "perl" >> RDEPENDS_${PN}-plugin-stonith2 += "bash" >>-- >>1.8.4.2 >> >>-- >>_______________________________________________ >>yocto mailing list >>yocto@yoctoproject.org >>https://lists.yoctoproject.org/listinfo/yocto >-- >_______________________________________________ >yocto mailing list >yocto@yoctoproject.org >https://lists.yoctoproject.org/listinfo/yocto [-- Attachment #2: log.do_compile.49659 --] [-- Type: application/octet-stream, Size: 10232 bytes --] DEBUG: SITE files ['endian-big', 'bit-32', 'powerpc-common', 'common-linux', 'common-glibc', 'powerpc32-linux', 'powerpc-linux', 'common'] DEBUG: Executing shell function do_compile NOTE: make -j 64 Making all in include make[1]: Entering directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/include' make all-recursive make[2]: Entering directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/include' Making all in clplumbing make[3]: Entering directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/include/clplumbing' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/include/clplumbing' Making all in pils make[3]: Entering directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/include/pils' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/include/pils' Making all in stonith make[3]: Entering directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/include/stonith' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/include/stonith' Making all in lrm make[3]: Entering directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/include/lrm' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/include/lrm' make[3]: Entering directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/include' make[3]: Leaving directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/include' make[2]: Leaving directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/include' make[1]: Leaving directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/include' Making all in replace make[1]: Entering directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/replace' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/replace' Making all in lib make[1]: Entering directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib' Making all in pils make[2]: Entering directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib/pils' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib/pils' Making all in clplumbing make[2]: Entering directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib/clplumbing' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib/clplumbing' Making all in lrm make[2]: Entering directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib/lrm' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib/lrm' Making all in stonith make[2]: Entering directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib/stonith' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib/stonith' Making all in plugins make[2]: Entering directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib/plugins' Making all in InterfaceMgr make[3]: Entering directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib/plugins/InterfaceMgr' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib/plugins/InterfaceMgr' Making all in stonith make[3]: Entering directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib/plugins/stonith' Making all in external make[4]: Entering directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib/plugins/stonith/external' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib/plugins/stonith/external' make[4]: Entering directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib/plugins/stonith' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib/plugins/stonith' make[3]: Leaving directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib/plugins/stonith' Making all in lrm make[3]: Entering directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib/plugins/lrm' make[4]: Entering directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib/plugins/lrm' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib/plugins/lrm' make[3]: Leaving directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib/plugins/lrm' Making all in compress make[3]: Entering directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib/plugins/compress' make[4]: Entering directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib/plugins/compress' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib/plugins/compress' make[3]: Leaving directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib/plugins/compress' make[3]: Entering directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib/plugins' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib/plugins' make[2]: Leaving directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib/plugins' make[2]: Entering directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib' make[1]: Leaving directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lib' Making all in lrm make[1]: Entering directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lrm' Making all in lrmd make[2]: Entering directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lrm/lrmd' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lrm/lrmd' Making all in admin make[2]: Entering directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lrm/admin' echo Creating lrmadmin.8 Creating lrmadmin.8 chmod a+x lrmadmin help2man --output lrmadmin.8 --no-info --section 8 --name "Part of the Linux-HA project" /usr/sbin/lrmadmin help2man: can't get `--help' info from /usr/sbin/lrmadmin Try `--no-discard-stderr' if option outputs to stderr make[2]: *** [lrmadmin.8] Error 127 make[2]: Leaving directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lrm/admin' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/build/lrm' make: *** [all-recursive] Error 1 ERROR: oe_runmake failed ERROR: Function failed: do_compile (log file is located at /media/data2/sdd1/fb/alvd/test/cgl-demo/build-qemuppc/tmp/work/ppc7400-poky-linux/cluster-glue/1.0.12-r0/temp/log.do_compile.49659) ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2015-08-24 10:34 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-08-19 2:37 [meta-cgl][PATCH] cluster-glue: upgrade 1.0.5 -> 1.0.12 Li xin 2015-08-19 3:16 ` Jagadeesh Krishnanjanappa 2015-08-19 3:29 ` Li, Xin 2015-08-19 5:03 ` [meta-cgl][PATCH v2] " Li xin 2015-08-20 14:50 ` Alexandru Vaduva 2015-08-21 2:50 ` Li, Xin 2015-08-24 6:43 ` Li, Xin 2015-08-24 8:32 ` Siva Borra 2015-08-24 9:54 ` Alexandru Vaduva 2015-08-24 10:34 ` Li xin 2015-08-24 9:53 ` Alexandru Vaduva
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.