Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#73341 - [crash] Missing dependencies: binutils, guile

Attached to Project: Community Packages
Opened by Stephen Brennan (brenns10) - Wednesday, 12 January 2022, 19:35 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 16 February 2022, 07:22 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Anatol Pomozov (anatolik)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Description:

Crash fails to launch if guile is not installed:

crash: error while loading shared libraries: libguile-2.2.so.1: cannot open shared object file: No such file or directory

Once guile is installed, if you attempt to load a vmcore with crash, then it will attempt to shell out to the strings program (provided by binutils) in order to determine the kernel version. Its failure prevents loading.

If both guile and binutils are installed alongside crash, then loading a vmcore works as expected. I believe both packages should be added to the depends array. While binutils could be considered "optional" (crash can be used for live debugging, and I don't think it would need to call strings then), it is in base-devel and isn't a huge burden to add as a dependency.


Additional info:
* crash-8.0.0-1-x86_64
* log file for the strings-related crash is attached

Steps to reproduce:

Easiest way is with Docker:

$ cat Dockerfile
FROM archlinux
RUN pacman --noconfirm -Syu crash
$ docker build . -t archcrash
$ docker run -v "$(pwd):/mnt" -w /mnt -it crashlatest crash $VMCORE $VMLINUX

# add in dependencies to the Dockerfile and retry

This task depends upon

Comment by Anatol Pomozov (anatolik) - Wednesday, 16 February 2022, 17:22 GMT
Thank you for the report. The missing dependencies are added to crash-8.0.0-2. Please give it a try and let me know if you see any issues with it.

Loading...