Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package crash for openSUSE:Factory checked 
in at 2022-11-01 13:42:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/crash (Old)
 and      /work/SRC/openSUSE:Factory/.crash.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "crash"

Tue Nov  1 13:42:50 2022 rev:180 rq:1032553 version:7.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/crash/crash.changes      2021-11-20 
02:39:48.460648002 +0100
+++ /work/SRC/openSUSE:Factory/.crash.new.2275/crash.changes    2022-11-01 
13:42:52.503994022 +0100
@@ -1,0 +2,48 @@
+Tue Oct 25 22:03:56 UTC 2022 - David Mair <dm...@suse.com>
+
+- make of crash extensions was failing due to extension shared
+  objects depending on extension source file plus defs.h. defs.h is
+  hardlinked from the crash base source directory before the .so
+  make rule but make reports it doesn't know how to make requirement
+  defs.h. I added a rule for defs.h in the extensions Makefile that
+  creates defs.h the same way as was previously used but satisfies
+  the dependency resolution on demand then the make succeeded.
+  * crash-extensions-rule-for-defs.patch
+  (bsc#1204587)
+
+-------------------------------------------------------------------
+Tue Feb 15 19:48:44 UTC 2022 - David Mair <dm...@suse.com>
+
+- Update to crash 7.3.1
+ - Refresh
+   * eppic-switch-to-system-lib.patch
+ - Remove patches present in version upgrade
+   * 0001-Fix-for-kmem-s-S-option-on-Linux-5.7-and-later-kerne.patch
+   * 0002-memory-Add-support-for-SECTION_TAINT_ZONE_DEVICE-fla.patch
+   * 0003-memory-Fix-for-kmem-n-option-to-display-NID-correctl.patch
+   * 0004-defs.h-Fix-the-value-of-TIF_SIGPENDING-macro.patch
+   * 0005-Fix-waitq-command-for-Linux-4.13-and-later-kernels.patch
+   * 0006-Handle-task_struct-state-member-changes-for-kernels-.patch
+   * 0007-arm64-rename-ARM64_PAGE_OFFSET_ACTUAL-to-ARM64_FLIP_.patch
+   * 0008-arm64-assign-page_offset-with-VA_BITS-kernel-configu.patch
+   * 0009-arm64-use-dedicated-bits-to-record-the-VA-space-layo.patch
+   * 0010-arm64-implement-switchable-PTOV-VTOP-for-kernels-5.1.patch
+   * 0011-diskdump-Fail-readmem-early-if-dump-is-incomplete.patch
+   * 0012-netdump-Permit-zero_excluded-for-incomplete-ELF-dump.patch
+   * 0013-diskdump-Print-total-number-of-dumpable-pages.patch
+   * 0014-diskdump-Introduce-read_pd.patch
+   * 0015-x86_64-Fix-check-for-__per_cpu_offset-initialization.patch
+   * 0016-arm64-Get-CPU-registers-from-ELF-notes-even-without-.patch
+   * 0017-ppc64-Add-MMU-type-info-in-machdep-command.patch
+   * 0018-diskdump-Add-support-for-reading-dumpfiles-compresse.patch
+   * 0020-arm64-Use-VA_BITS-for-page_offset-calculation.patch
+   * crash-mod-fix-module-object-file-lookup.patch
+   * crash-xen-pvops.patch
+
+-------------------------------------------------------------------
+Thu Dec 16 10:05:36 UTC 2021 - Ludwig Nussel <lnus...@suse.de>
+
+- UsrMerge: debug info is in /usr/lib/debug/usr/lib/modules
+  (boo#1190434, crash-usrmerge.patch)
+
+-------------------------------------------------------------------

Old:
----
  0001-Fix-for-kmem-s-S-option-on-Linux-5.7-and-later-kerne.patch
  0002-memory-Add-support-for-SECTION_TAINT_ZONE_DEVICE-fla.patch
  0003-memory-Fix-for-kmem-n-option-to-display-NID-correctl.patch
  0004-defs.h-Fix-the-value-of-TIF_SIGPENDING-macro.patch
  0005-Fix-waitq-command-for-Linux-4.13-and-later-kernels.patch
  0006-Handle-task_struct-state-member-changes-for-kernels-.patch
  0007-arm64-rename-ARM64_PAGE_OFFSET_ACTUAL-to-ARM64_FLIP_.patch
  0008-arm64-assign-page_offset-with-VA_BITS-kernel-configu.patch
  0009-arm64-use-dedicated-bits-to-record-the-VA-space-layo.patch
  0010-arm64-implement-switchable-PTOV-VTOP-for-kernels-5.1.patch
  0011-diskdump-Fail-readmem-early-if-dump-is-incomplete.patch
  0012-netdump-Permit-zero_excluded-for-incomplete-ELF-dump.patch
  0013-diskdump-Print-total-number-of-dumpable-pages.patch
  0014-diskdump-Introduce-read_pd.patch
  0015-x86_64-Fix-check-for-__per_cpu_offset-initialization.patch
  0016-arm64-Get-CPU-registers-from-ELF-notes-even-without-.patch
  0017-ppc64-Add-MMU-type-info-in-machdep-command.patch
  0018-diskdump-Add-support-for-reading-dumpfiles-compresse.patch
  0020-arm64-Use-VA_BITS-for-page_offset-calculation.patch
  crash-7.3.0.tar.gz
  crash-mod-fix-module-object-file-lookup.patch
  crash-xen-pvops.patch

New:
----
  crash-7.3.1.tar.gz
  crash-extensions-rule-for-defs.patch
  crash-usrmerge.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ crash.spec ++++++
--- /var/tmp/diff_new_pack.tosWPe/_old  2022-11-01 13:42:53.551999597 +0100
+++ /var/tmp/diff_new_pack.tosWPe/_new  2022-11-01 13:42:53.563999661 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package crash
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -62,9 +62,9 @@
 Summary:        Crash utility for live systems; netdump, diskdump, LKCD or 
mcore dumpfiles
 License:        GFDL-1.2-only AND GPL-3.0-or-later
 Group:          Development/Tools/Debuggers
-Version:        7.3.0
+Version:        7.3.1
 Release:        0
-Source:         
https://github.com/crash-utility/crash/archive/7.3.0.tar.gz#/%{name}-%{version}.tar.gz
+Source:         
https://github.com/crash-utility/crash/archive/7.3.1.tar.gz#/%{name}-%{version}.tar.gz
 Source1:        http://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.gz
 Source2:        crash_whitepaper-%{whitepaper_version}.tar.bz2
 Source3:        README.SUSE
@@ -97,31 +97,10 @@
 Patch27:        %{name}-Define-fallback-PN_XNUM.patch
 Patch29:        eppic-remove-duplicate-symbols.patch
 Patch30:        %{name}-enable-zstd-support.patch
-# PATCH-FIX-UPSTREAM - 
https://github.com/crash-utility/crash/commit/4badc6229c69f5cd9da7eb7bdf400a53ec6db01a.patch
-Patch46:        %{name}-xen-pvops.patch
-# PATCH-FIX-UPSTREAM - 
https://github.com/crash-utility/crash/commit/cf0c8d10e1870d89b39f40382634db51aa8fcf2c.patch
-Patch47:        %{name}-mod-fix-module-object-file-lookup.patch
-Patch48:        0001-Fix-for-kmem-s-S-option-on-Linux-5.7-and-later-kerne.patch
-Patch49:        0002-memory-Add-support-for-SECTION_TAINT_ZONE_DEVICE-fla.patch
-Patch50:        0003-memory-Fix-for-kmem-n-option-to-display-NID-correctl.patch
-Patch51:        0004-defs.h-Fix-the-value-of-TIF_SIGPENDING-macro.patch
-Patch52:        0005-Fix-waitq-command-for-Linux-4.13-and-later-kernels.patch
-Patch53:        0006-Handle-task_struct-state-member-changes-for-kernels-.patch
-Patch54:        0007-arm64-rename-ARM64_PAGE_OFFSET_ACTUAL-to-ARM64_FLIP_.patch
-Patch55:        0008-arm64-assign-page_offset-with-VA_BITS-kernel-configu.patch
-Patch56:        0009-arm64-use-dedicated-bits-to-record-the-VA-space-layo.patch
-Patch57:        0010-arm64-implement-switchable-PTOV-VTOP-for-kernels-5.1.patch
-Patch58:        0011-diskdump-Fail-readmem-early-if-dump-is-incomplete.patch
-Patch59:        0012-netdump-Permit-zero_excluded-for-incomplete-ELF-dump.patch
-Patch60:        0013-diskdump-Print-total-number-of-dumpable-pages.patch
-Patch61:        0014-diskdump-Introduce-read_pd.patch
-Patch62:        0015-x86_64-Fix-check-for-__per_cpu_offset-initialization.patch
-Patch63:        0016-arm64-Get-CPU-registers-from-ELF-notes-even-without-.patch
-Patch64:        0017-ppc64-Add-MMU-type-info-in-machdep-command.patch
-Patch65:        0018-diskdump-Add-support-for-reading-dumpfiles-compresse.patch
+Patch31:        %{name}-extensions-rule-for-defs.patch
 Patch66:        0019-Add-kernel-version-dependent-check-for-getting-lengt.patch
-Patch67:        0020-arm64-Use-VA_BITS-for-page_offset-calculation.patch
 Patch90:        %{name}-sial-ps-2.6.29.diff
+Patch99:        %{name}-usrmerge.patch
 BuildRequires:  bison
 BuildRequires:  flex
 BuildRequires:  libeppic-devel
@@ -321,28 +300,7 @@
 %patch24 -p1
 %endif
 %patch27 -p1
-%patch46 -p1
-%patch47 -p1
-%patch48 -p1
-%patch49 -p1
-%patch50 -p1
-%patch51 -p1
-%patch52 -p1
-%patch53 -p1
-%patch54 -p1
-%patch55 -p1
-%patch56 -p1
-%patch57 -p1
-%patch58 -p1
-%patch59 -p1
-%patch60 -p1
-%patch61 -p1
-%patch62 -p1
-%patch63 -p1
-%patch64 -p1
-%patch65 -p1
 %patch66 -p1
-%patch67 -p1
 %if %{have_snappy}
 %patch15 -p1
 %endif
@@ -355,6 +313,8 @@
 #    cp "$f" "${base#%{name}-}"
 #done
 
+%patch31 -p1
+
 ## SIAL patches
 cd sial-scripts-%{scripts_version}
 %patch90 -p1
@@ -369,6 +329,9 @@
 cp %{S:3} .
 mkdir kbuild
 cp %{S:6} memory_driver
+%if 0%{?suse_version} > 1550
+%patch99 -p1
+%endif
 
 %build
 %ifarch ppc64le ppc64

++++++ crash-7.3.0.tar.gz -> crash-7.3.1.tar.gz ++++++
++++ 2261 lines of diff (skipped)

++++++ crash-extensions-rule-for-defs.patch ++++++
Index: b/extensions/Makefile
===================================================================
--- a/extensions/Makefile
+++ b/extensions/Makefile
@@ -32,6 +32,8 @@ link_defs:
        @rm -f defs.h
        @ln ../defs.h 
 
+defs.h: link_defs
+
 $(CONTRIB_SO): %.so: %.c defs.h
        @if [ -f $*.mk ]; then \
                make -f $*.mk; \


++++++ crash-usrmerge.patch ++++++
From: Ludwig Nussel <lnus...@suse.de>
Subject: debug info is in /usr/lib/debug/usr/lib/modules
References: boo#1190434
Upstream: to be done (must not break Red Hat)

---
 defs.h    |    2 +-
 help.c    |    2 +-
 symbols.c |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

--- a/defs.h
+++ b/defs.h
@@ -406,7 +406,7 @@ struct number_option {
 #define PIPE_OPTIONS (FROM_COMMAND_LINE | FROM_INPUT_FILE | REDIRECT_TO_PIPE | 
\
                       REDIRECT_TO_STDPIPE | REDIRECT_TO_FILE)
 
-#define DEFAULT_REDHAT_DEBUG_LOCATION  "/usr/lib/debug/lib/modules"
+#define DEFAULT_REDHAT_DEBUG_LOCATION  "/usr/lib/debug/usr/lib/modules"
 
 #define MEMORY_DRIVER_MODULE        "crash"
 #define MEMORY_DRIVER_DEVICE        "/dev/crash"
--- a/help.c
+++ b/help.c
@@ -9445,7 +9445,7 @@ README_ENTER_DIRECTORY,
 README_MEMORY_DRIVER,
 "",
 "  If the kernel file is stored in /boot, /, /boot/efi, or in any /usr/src",
-"  or /usr/lib/debug/lib/modules subdirectory, then no command line arguments",
+"  or " DEFAULT_REDHAT_DEBUG_LOCATION " subdirectory, then no command line 
arguments",
 "  are required -- the first kernel found that matches /proc/version will be",
 "  used as the namelist.",
 "  ",
--- a/symbols.c
+++ b/symbols.c
@@ -299,7 +299,7 @@ check_gnu_debuglink(bfd *bfd)
 
        if ((pc->debuginfo_file = (char *)
            malloc(((strlen(namelist) + strlen("/.debug/") +
-           + strlen(".debug") + strlen(" /usr/lib/debug/boot/ "))*10)
+           + strlen(".debug") + strlen(" /usr/lib/debug/usr/lib/modules/ 
"))*10)
            + strlen(pc->namelist_debug ? pc->namelist_debug : " "))) == NULL)
                error(FATAL, "debuginfo file name malloc: %s\n", 
                        strerror(errno));
@@ -375,7 +375,7 @@ check_gnu_debuglink(bfd *bfd)
                }
        }
 
-       sprintf(pc->debuginfo_file, "/usr/lib/debug/boot/%s", contents);
+       sprintf(pc->debuginfo_file, "/usr/lib/debug/%s/%s", dirname, contents);
        if (separate_debug_file_exists(pc->debuginfo_file, crc32, &exists)) {
                if (CRASHDEBUG(1)) 
                        fprintf(fp, "%s: CRC matches\n", pc->debuginfo_file);

++++++ eppic-switch-to-system-lib.patch ++++++
--- /var/tmp/diff_new_pack.tosWPe/_old  2022-11-01 13:42:53.932001618 +0100
+++ /var/tmp/diff_new_pack.tosWPe/_new  2022-11-01 13:42:53.936001640 +0100
@@ -16,10 +16,10 @@
 -          if [ -f "$(GIT)" ]; \
 -          then \
 -             if [ -n "$(EPPIC_GIT_URL)" ]; then \
--               git clone "$(EPPIC_GIT_URL)" eppic; \
+-               git clone $(EPPIC_GIT_OPTIONS) $(EPPIC_GIT_URL) eppic; \
 -             else \
 -                if ping -c 1 -W 5 github.com >/dev/null ; then \
--                  git clone https://github.com/lucchouina/eppic.git eppic; \
+-                  git clone $(EPPIC_GIT_OPTIONS) 
https://github.com/lucchouina/eppic.git eppic; \
 -                fi; \
 -             fi; \
 -          else \

Reply via email to