Hello community, here is the log from the commit of package kdump for openSUSE:Factory checked in at Tue Jun 7 10:49:40 CEST 2011.
-------- --- kdump/kdump.changes 2009-01-23 16:48:05.000000000 +0100 +++ /mounts/work_src_done/STABLE/kdump/kdump.changes 2011-06-05 19:39:19.000000000 +0200 @@ -1,0 +2,11 @@ +Sun Jun 5 17:38:54 UTC 2011 - [email protected] + +- Fix build with gcc 4.6. + +------------------------------------------------------------------- +Wed Apr 27 19:55:30 CEST 2011 - [email protected] + +- Updated description to reference packages required for debugging + (bnc#690194). + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- kdump-fix-gcc46.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kdump.spec ++++++ --- /var/tmp/diff_new_pack.e323F4/_old 2011-06-07 10:48:56.000000000 +0200 +++ /var/tmp/diff_new_pack.e323F4/_new 2011-06-07 10:48:56.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package kdump (Version 0.8.1) +# spec file for package kdump # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,7 @@ Name: kdump License: GPL v2 or later Version: 0.8.1 -Release: 1 +Release: 11 Requires: curl openssh makedumpfile Summary: Script for kdump Group: System/Kernel @@ -36,6 +36,7 @@ PreReq: %insserv_prereq %fillup_prereq mkinitrd Source: %{name}-%{version}.tar.bz2 Source2: %{name}-%{version}-rpmlintrc +Patch0: %{name}-fix-gcc46.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build # rename "kdump-helpers" (10.3) -> "kdump" (11.0/SP2) Provides: kdump-helpers = 0.2.4 @@ -50,7 +51,18 @@ kdump is a package that includes several scripts for kdump, including the init script /etc/init.d/kdump and the configuration file for kdump. +The kernel package and this package are all that are required for a +crash dump to occur. However, if you wish to debug the crash dump +yourself you will need several debugging packages installed for each +kernel flavor and release you wish to debug. + +For example, if you are debugging kernel-default, you will need: +- kernel-default-debuginfo +- kernel-default-devel +- kernel-default-devel-debuginfo +These packages are not needed to create the dump and can be installed +after a crash dump has occured. Authors: -------- @@ -58,6 +70,7 @@ %prep %setup +%patch0 -p1 %build export CFLAGS="%optflags" ++++++ kdump-fix-gcc46.diff ++++++ Index: kdump-0.8.1/kdumptool/util.cc =================================================================== --- kdump-0.8.1.orig/kdumptool/util.cc +++ kdump-0.8.1/kdumptool/util.cc @@ -24,6 +24,7 @@ #include <unistd.h> #include <fcntl.h> #include <sys/types.h> +#include <sys/stat.h> #include <sys/utsname.h> #include <libelf.h> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
