Hello community, here is the log from the commit of package crash for openSUSE:Factory checked in at 2013-06-05 11:44:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/crash (Old) and /work/SRC/openSUSE:Factory/.crash.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "crash" Changes: -------- --- /work/SRC/openSUSE:Factory/crash/crash.changes 2013-03-05 15:49:47.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.crash.new/crash.changes 2013-06-05 11:44:25.000000000 +0200 @@ -1,0 +2,19 @@ +Fri May 10 21:56:52 UTC 2013 - dm...@suse.com + +- Implementation of v6.1.3 from upstream. + + crash-display-date-fix.patch - removed/redundant + crash-kmem_cache_slab.patch - removed/redundant + crash-siginfo.patch - removed/redundant + crash-var_length_log_rec.patch - removed/redundant + + eppic-switch-to-system-lib.patch - Implementation of EPPIC via + system library rather than retrieve and include in build. Added + eppic constants to spec file without removing the sial constants + for now. + + crash-crosscrash-hint.diff - refreshed + crash-make-emacs-default.diff - refreshed + crash-sles9-time.patch - refreshed + +------------------------------------------------------------------- Old: ---- crash-6.0.7.tar.gz crash-display-date-fix.patch crash-kmem_cache_slab.patch crash-siginfo.patch crash-var_length_log_rec.patch New: ---- crash-6.1.3.tar.gz eppic-switch-to-system-lib.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ crash.spec ++++++ --- /var/tmp/diff_new_pack.srbn3A/_old 2013-06-05 11:44:26.000000000 +0200 +++ /var/tmp/diff_new_pack.srbn3A/_new 2013-06-05 11:44:26.000000000 +0200 @@ -16,7 +16,7 @@ # -%define crash_version 6.0.7 +%define crash_version 6.1.3 %define whitepaper_version 2003 %define scripts_version 2008-02-08 %define gcore_version 2011-09-22 @@ -24,8 +24,10 @@ Name: crash %ifarch ppc %define build_sial 0 +%define build_eppic 0 %else -%define build_sial 1 +%define build_sial 0 +%define build_eppic 1 %endif %ifarch %ix86 x86_64 %define build_gcore 1 @@ -58,14 +60,12 @@ Patch8: %{name}-missing-declarations.patch Patch9: %{name}-debuginfo-compressed.patch Patch10: %{name}_enable_lzo_support.patch -Patch11: %{name}-siginfo.patch -Patch12: %{name}-var_length_log_rec.patch -Patch13: %{name}-compressed-booted-kernel.patch -Patch14: %{name}-display-date-fix.patch -Patch15: %{name}-kmem_cache_slab.patch +Patch11: %{name}-compressed-booted-kernel.patch +Patch12: eppic-switch-to-system-lib.patch Patch90: %{name}-sial-ps-2.6.29.diff BuildRequires: bison BuildRequires: flex +BuildRequires: libeppic-devel BuildRequires: lzo-devel BuildRequires: ncurses-devel BuildRequires: zlib-devel @@ -143,6 +143,33 @@ -------- David Anderson <ander...@redhat.com> +%if %build_eppic +%package eppic +Requires: %{name} = %{version} +%if %build_sial +# Nothing to do +%else +Provides: %{name}-sial = %{version} +Obsoletes: %{name}-sial < %{version} +%endif +Summary: Embeddable Pre-Processor and Interpreter for C extension for crash +License: GPL-2.0+ +Group: Development/Tools/Debuggers + +%description eppic +EPPIC is a C interpreter that permits easy access to the symbol and type +information stored in a executable image like a coredump or live memory +interfaces (e.g. /dev/kmem, /dev/mem). Although it has a strong association +with live or postmortem kernel analysis, it is not constraint to it and can be +embedded in any tools that is C friendly. + + +Authors: +-------- + Luc Chouinard <lucchou...@gmail.com> + +%endif + %if %build_sial %package sial @@ -221,10 +248,6 @@ %patch9 -p1 %patch10 -p1 %patch11 -p1 -%patch12 -p1 -%patch13 -p1 -%patch14 -p1 -%patch15 -p1 ## SIAL patches cd sial-scripts-%{scripts_version} %patch90 -p1 @@ -233,11 +256,13 @@ cd extensions tar xfvj %{S:5} cd - +%patch12 -p1 cp %{S:3} . mkdir kbuild %build export CFLAGS="$RPM_OPT_FLAGS -fno-builtin-memset -fno-strict-aliasing" +export GDB="gdb-%{gdb_version}" make RPMPKG="`cat .rh_rpm_package`" %{?jobs:-j%jobs} make extensions %{?jobs:-j%jobs} %if %build_kmp @@ -266,8 +291,13 @@ %if %build_gcore install -m 0644 extensions/gcore.so $RPM_BUILD_ROOT/%{_libdir}/crash/extensions %endif +%if %build_eppic +install -m 0644 extensions/eppic.so $RPM_BUILD_ROOT/%{_libdir}/crash/extensions +%endif %if %build_sial install -m 0644 extensions/sial.so $RPM_BUILD_ROOT/%{_libdir}/crash/extensions +%endif +%if %build_eppic # scripts mkdir -p $RPM_BUILD_ROOT/%{_datadir}/sial/crash install -m 0644 sial-scripts-%{scripts_version}/*.c \ @@ -328,8 +358,15 @@ %defattr(-,root,root) %doc crash_whitepaper/* -%if %build_sial +%if %build_eppic +%files eppic +%defattr(-,root,root) +%{_libdir}/crash/extensions/eppic.so +%{_datadir}/sial/crash +%dir %{_datadir}/sial +%endif +%if %build_sial %files sial %defattr(-,root,root) %doc extensions/libsial/README ++++++ crash-6.0.7.tar.gz -> crash-6.1.3.tar.gz ++++++ /work/SRC/openSUSE:Factory/crash/crash-6.0.7.tar.gz /work/SRC/openSUSE:Factory/.crash.new/crash-6.1.3.tar.gz differ: char 5, line 1 ++++++ crash-crosscrash-hint.diff ++++++ --- /var/tmp/diff_new_pack.srbn3A/_old 2013-06-05 11:44:26.000000000 +0200 +++ /var/tmp/diff_new_pack.srbn3A/_new 2013-06-05 11:44:26.000000000 +0200 @@ -13,11 +13,9 @@ tools.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) -Index: crash-6.0.7/tools.c -=================================================================== ---- crash-6.0.7.orig/tools.c -+++ crash-6.0.7/tools.c -@@ -4817,7 +4817,12 @@ machine_type_mismatch(char *file, char * +--- a/tools.c ++++ b/tools.c +@@ -5343,7 +5343,12 @@ machine_type_mismatch(char *file, char * fprintf(fp, " crash utility: %s\n", MACHINE_TYPE); fprintf(fp, " %s: %s%s%s\n\n", file, e_machine, alt ? " or " : "", alt ? alt : ""); ++++++ crash-make-emacs-default.diff ++++++ --- /var/tmp/diff_new_pack.srbn3A/_old 2013-06-05 11:44:26.000000000 +0200 +++ /var/tmp/diff_new_pack.srbn3A/_new 2013-06-05 11:44:26.000000000 +0200 @@ -4,7 +4,7 @@ --- a/main.c +++ b/main.c -@@ -1025,12 +1025,6 @@ setup_environment(int argc, char **argv) +@@ -1048,12 +1048,6 @@ setup_environment(int argc, char **argv) pc->flags |= READLINE; pc->editing_mode = "no_mode"; @@ -17,7 +17,7 @@ /* * Resolve $HOME .rc file first, then the one in the local directory. -@@ -1080,7 +1074,7 @@ setup_environment(int argc, char **argv) +@@ -1103,7 +1097,7 @@ setup_environment(int argc, char **argv) } if (STREQ(pc->editing_mode, "no_mode")) ++++++ crash-sles9-time.patch ++++++ --- /var/tmp/diff_new_pack.srbn3A/_old 2013-06-05 11:44:26.000000000 +0200 +++ /var/tmp/diff_new_pack.srbn3A/_new 2013-06-05 11:44:26.000000000 +0200 @@ -14,11 +14,9 @@ task.c | 11 +++++++++++ 3 files changed, 27 insertions(+), 1 deletion(-) -Index: crash-6.0.7/defs.h -=================================================================== ---- crash-6.0.7.orig/defs.h -+++ crash-6.0.7/defs.h -@@ -657,6 +657,7 @@ struct kernel_table { +--- a/defs.h ++++ b/defs.h +@@ -682,6 +682,7 @@ struct kernel_table { ulong p2m_missing; } pvops_xen; int highest_irq; @@ -26,7 +24,7 @@ #define IKCONFIG_AVAIL 0x1 /* kernel contains ikconfig data */ #define IKCONFIG_LOADED 0x2 /* ikconfig data is currently loaded */ int ikconfig_flags; -@@ -5357,6 +5358,13 @@ extern struct lkcd_environment *lkcd; +@@ -5536,6 +5537,13 @@ extern struct lkcd_environment *lkcd; #endif /* LKCD_COMMON */ @@ -40,11 +38,9 @@ /* * gdb_interface.c */ -Index: crash-6.0.7/kernel.c -=================================================================== ---- crash-6.0.7.orig/kernel.c -+++ crash-6.0.7/kernel.c -@@ -216,6 +216,12 @@ kernel_init() +--- a/kernel.c ++++ b/kernel.c +@@ -237,6 +237,12 @@ kernel_init() verify_version(); @@ -57,7 +53,7 @@ if (symbol_exists("__per_cpu_offset")) { if (LKCD_KERNTYPES()) i = get_cpus_possible(); -@@ -4271,7 +4277,7 @@ get_uptime(char *buf, ulonglong *j64p) +@@ -4558,7 +4564,7 @@ get_uptime(char *buf, ulonglong *j64p) if (symbol_exists("jiffies_64")) { get_symbol_data("jiffies_64", sizeof(ulonglong), &jiffies_64); @@ -66,19 +62,17 @@ wrapped = (jiffies_64 & 0xffffffff00000000ULL); if (wrapped) { wrapped -= 0x100000000ULL; -@@ -4805,6 +4811,7 @@ no_cpu_flags: - fprintf(fp, " p2m_top: %lx\n", kt->pvops_xen.p2m_top); - fprintf(fp, " p2m_top_entries: %d\n", kt->pvops_xen.p2m_top_entries); +@@ -5110,6 +5116,7 @@ no_cpu_flags: + if (symbol_exists("p2m_mid_missing")) + fprintf(fp, " p2m_mid_missing: %lx\n", kt->pvops_xen.p2m_mid_missing); fprintf(fp, " p2m_missing: %lx\n", kt->pvops_xen.p2m_missing); + fprintf(fp, " is_suse_kernel: %ld\n", kt->is_suse_kernel); } /* -Index: crash-6.0.7/task.c -=================================================================== ---- crash-6.0.7.orig/task.c -+++ crash-6.0.7/task.c -@@ -3554,6 +3554,12 @@ start_time_timespec(void) +--- a/task.c ++++ b/task.c +@@ -3669,6 +3669,12 @@ start_time_timespec(void) default: break; } @@ -91,7 +85,7 @@ tt->flags |= NO_TIMESPEC; -@@ -3585,6 +3591,11 @@ convert_start_time(ulonglong start_time, +@@ -3700,6 +3706,11 @@ convert_start_time(ulonglong start_time, ulong tmp1, tmp2; ulonglong wrapped; ++++++ eppic-switch-to-system-lib.patch ++++++ ++++ 1161 lines (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org