Project

General

Profile

Actions

tickets #115859

open

Update crash

Added by AdaLovelace over 1 year ago. Updated 11 months ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Category:
Good First Issues
Target version:
-
Start date:
2022-08-28
Due date:
% Done:

0%

Estimated time:

Description

crash is failing on s390x with following error message:
[ 545s] ld: cannot find arch/s390/lib/expoline/expoline.o: No such file or directory
[ 545s] make[2]: *** [/usr/src/linux-5.19.2-1/scripts/Makefile.modfinal:59: /home/abuild/rpmbuild/BUILD/crash-7.3.0/kbuild/default/crash.ko] Error 1
[ 545s] make[1]: *** [/usr/src/linux-5.19.2-1/scripts/Makefile.modpost:140: __modpost] Error 2
[ 545s] make: *** [../../../linux-5.19.2-1/Makefile:1777: modules] Error 2

We should test the updated version 7.3.2 from https://github.com/crash-utility/crash/releases
1) Branch crash from https://build.opensuse.org/package/show/Kernel:kdump/crash
2) "osc checkout" of your home directory
3) Adopt the version number in crash.spec
4) Download the correct archive to your project directory
5) "osc add" of the new archive
6) "osc rm" of the old archive
7) "osc commit"

Actions #1

Updated by AdaLovelace 11 months ago

  • Status changed from New to Feedback
Actions #2

Updated by hrauch 11 months ago

Just tried version 8.0.2 (in my own branch). Current (intermediate) status is that I get patch failures (most likely due to the major version upgrade of patch), more precisely:

[  119s] Patch #8 (crash-missing-declarations.patch):
[  119s] + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
[  119s] can't find file to patch at input line 14
[  119s] Perhaps you used the wrong -p or --strip option?
[  119s] The text leading up to this was:
[  119s] --------------------------
[  119s] |From: Petr Tesarik <ptesarik@suse.cz>
[  119s] |Subject: Add missing includes
[  119s] |
[  119s] |This fixes a compilation failure on ppc64.
[  119s] |
[  119s] |---
[  119s] | gdb-7.6.patch |   10 ++++++++++
[  119s] | 1 file changed, 10 insertions(+)
[  119s] |
[  119s] |Index: crash-7.2.7/gdb-7.6.patch
[  119s] |===================================================================
[  119s] |--- crash-7.2.7.orig/gdb-7.6.patch
[  119s] |+++ crash-7.2.7/gdb-7.6.patch
[  119s] --------------------------
[  119s] No file to patch.  Skipping patch.
[  119s] 1 out of 1 hunk ignored
[  119s] error: Bad exit status from /var/tmp/rpm-tmp.Y0DStp (%prep)
[  119s] 
[  119s] RPM build warnings:
[  119s]     line 142: It's not recommended to have unversioned Obsoletes: Obsoletes: crash-kmp-trace
[  119s] 
[  119s] RPM build errors:
[  119s]     Bad exit status from /var/tmp/rpm-tmp.Y0DStp (%prep)

=> The interesting question to ask here is:

  • Are the patches still necessary? (If so, they need to be adjusted/changed accordingly)
Actions #3

Updated by AdaLovelace 11 months ago

The problem is this error:
[ 119s] No file to patch. Skipping patch.
[ 119s] 1 out of 1 hunk ignored
and
[ 119s] can't find file to patch at input line 14

You have to look into the patch, which files are applied and what does not exist any more.
It seems, that anything has been applicable before. That should be kept.

Actions

Also available in: Atom PDF