Hello community, here is the log from the commit of package kexec-tools for openSUSE:Factory checked in at 2017-05-27 13:09:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kexec-tools (Old) and /work/SRC/openSUSE:Factory/.kexec-tools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kexec-tools" Sat May 27 13:09:28 2017 rev:118 rq:497341 version:2.0.13 Changes: -------- --- /work/SRC/openSUSE:Factory/kexec-tools/kexec-tools.changes 2017-04-20 20:47:10.759953789 +0200 +++ /work/SRC/openSUSE:Factory/.kexec-tools.new/kexec-tools.changes 2017-05-27 13:09:55.391115031 +0200 @@ -1,0 +2,7 @@ +Wed May 10 15:51:43 MDT 2017 - carn...@suse.com + +- kexec-tools-xen-static.patch: xen breaks kexec-tools build + (bsc#1037779) + See also matching fix in xen-devel package + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kexec-tools-xen-static.patch ++++++ --- /var/tmp/diff_new_pack.LnTJ0u/_old 2017-05-27 13:09:56.143008725 +0200 +++ /var/tmp/diff_new_pack.LnTJ0u/_new 2017-05-27 13:09:56.147008160 +0200 @@ -1,10 +1,11 @@ From: Bernhard Walle <bwa...@suse.de> Subject: [PATCH] Link xenctrl statically +Upstream: no +Signed-off-by: Tony Jones <to...@suse.de> This patch just links the xenctrl library statically. That allows to use Xen support without a runtime dependency to the Xen package. - Signed-off-by: Bernhard Walle <bwa...@suse.de> ================================================================================ @@ -12,23 +13,32 @@ configure.ac | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) ---- a/configure.ac -+++ b/configure.ac -@@ -163,9 +163,17 @@ fi +Index: kexec-tools-2.0.13/configure.ac +=================================================================== +--- kexec-tools-2.0.13.orig/configure.ac ++++ kexec-tools-2.0.13/configure.ac +@@ -161,9 +161,24 @@ fi dnl find Xen control stack libraries if test "$with_xen" = yes ; then -+ if pkg-config --exists 'xenlight >= 4.7' ; then ++ if pkg-config --exists 'xenlight > 4.8.0' ; then AC_CHECK_HEADER(xenctrl.h, - [AC_CHECK_LIB(xenctrl, xc_kexec_load, , + [AC_CHECK_LIB(xenctrl, xc_kexec_load, -+ [AC_DEFINE([HAVE_LIBXENCTRL], [1], [libxenctrl]) [LIBS="-Wl,-Bstatic -lxenctrl -lxencall -lxentoollog -lxenforeignmemory -Wl,-Bdynamic -lpthread -ldl $LIBS"]], ++ [AC_DEFINE([HAVE_LIBXENCTRL], [1], [libxenctrl]) [LIBS="-Wl,-Bstatic -lxenctrl -lxencall -lxentoollog -lxendevicemodel -lxenforeignmemory -Wl,-Bdynamic -lpthread -ldl $LIBS"]], AC_MSG_NOTICE([Xen support disabled]))]) + else -+ AC_CHECK_HEADER(xenctrl.h, -+ [AC_CHECK_LIB(xenctrl, xc_kexec_load, -+ [AC_DEFINE([HAVE_LIBXENCTRL], [1], [libxenctrl]) [LIBS="-Wl,-Bstatic -lxenctrl -Wl,-Bdynamic -lpthread -ldl $LIBS"]], -+ AC_MSG_NOTICE([Xen support disabled]))]) ++ if pkg-config --exists 'xenlight > 4.6.0' ; then ++ AC_CHECK_HEADER(xenctrl.h, ++ [AC_CHECK_LIB(xenctrl, xc_kexec_load, ++ [AC_DEFINE([HAVE_LIBXENCTRL], [1], [libxenctrl]) [LIBS="-Wl,-Bstatic -lxenctrl -lxencall -lxentoollog -lxenforeignmemory -Wl,-Bdynamic -lpthread -ldl $LIBS"]], ++ AC_MSG_NOTICE([Xen support disabled]))]) ++ else ++ AC_CHECK_HEADER(xenctrl.h, ++ [AC_CHECK_LIB(xenctrl, xc_kexec_load, ++ [AC_DEFINE([HAVE_LIBXENCTRL], [1], [libxenctrl]) [LIBS="-Wl,-Bstatic -lxenctrl -Wl,-Bdynamic -lpthread -ldl $LIBS"]], ++ AC_MSG_NOTICE([Xen support disabled]))]) ++ fi + fi fi