Bug 2122947 - Missing separate debuginfo build-id suggestion does not work (target:)
Summary: Missing separate debuginfo build-id suggestion does not work (target:)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gdb
Version: 36
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Alexandra Petlanová Hájková
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-31 11:45 UTC by Jan Kratochvil
Modified: 2022-11-10 22:13 UTC (History)
9 users (show)

Fixed In Version: gdb-12.1-2.fc36 gdb-12.1-6.fc37
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-10-14 12:58:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jan Kratochvil 2022-08-31 11:45:35 UTC
Description of problem:
SSIA

Version-Release number of selected component (if applicable):
gdb-12.1-1.fc36.x86_64
dnf-4.13.0-1.fc36.noarch

How reproducible:
Always.

Steps to Reproduce:
1. gdb /usr/lib64/libreoffice/program/soffice.bin core.3329743
...
Missing separate debuginfo for /usr/lib64/libreoffice/program/libuno_sal.so.3
Try: dnf --enablerepo='*debug*' install target:/usr/lib/debug/.build-id/f0/c042dcadf8e2fa7ef36cc69cebb67da3dedcf8.debug
...
2. dnf --enablerepo='*debug*' install target:/usr/lib/debug/.build-id/f0/c042dcadf8e2fa7ef36cc69cebb67da3dedcf8.debug

Actual results:
No match for argument: target:/usr/lib/debug/.build-id/f0/c042dcadf8e2fa7ef36cc69cebb67da3dedcf8.debug
Error: Unable to find a match: target:/usr/lib/debug/.build-id/f0/c042dcadf8e2fa7ef36cc69cebb67da3dedcf8.debug

Expected results:
Installing:
 libreoffice-ure-debuginfo    x86_64    1:7.3.4.2-4.fc36    updates-debuginfo    12 M                 

Additional info:
The problem is that "target:" prefix in the "Try: dnf ..." suggestion.
dnf does not accept it.

Comment 1 Alexandra Petlanová Hájková 2022-09-12 20:16:18 UTC
Hi Jan,

would you mind giving the core file? I'm struggling to reproduce the bug wihtout it.

Thank you,
Alexandra

Comment 2 Jan Kratochvil 2022-09-13 03:23:02 UTC
# dnf debuginfo-install coreutils
# gdb -q date
Reading symbols from date...
Reading symbols from /usr/lib/debug/usr/bin/date-9.0-8.fc36.x86_64.debug...
(gdb) q
# mv /usr/lib/debug/usr/bin/date-9.0-8.fc36.x86_64.debug /usr/lib/debug/usr/bin/date-9.0-8.fc36.x86_64.debug-x
# gdb -q date
Reading symbols from date...
Missing separate debuginfo for /usr/bin/date
Try: dnf --enablerepo='*debug*' install target:/usr/lib/debug/.build-id/5a/7c5e328d750b5ae5a59dc62b44f1ba30dda0e6.debug
Reading symbols from .gnu_debugdata for /usr/bin/date...
(No debugging symbols found in .gnu_debugdata for /usr/bin/date)
(gdb) q
# dnf install target:/usr/lib/debug/.build-id/5a/7c5e328d750b5ae5a59dc62b44f1ba30dda0e6.debug
No match for argument: target:/usr/lib/debug/.build-id/5a/7c5e328d750b5ae5a59dc62b44f1ba30dda0e6.debug
Error: Unable to find a match: target:/usr/lib/debug/.build-id/5a/7c5e328d750b5ae5a59dc62b44f1ba30dda0e6.debug
# dnf install /usr/lib/debug/.build-id/5a/7c5e328d750b5ae5a59dc62b44f1ba30dda0e6.debug
Package coreutils-debuginfo-9.0-8.fc36.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
# mv /usr/lib/debug/usr/bin/date-9.0-8.fc36.x86_64.debug-x /usr/lib/debug/usr/bin/date-9.0-8.fc36.x86_64.debug

Comment 3 Fedora Update System 2022-10-07 19:03:37 UTC
FEDORA-2022-21e0b1965e has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-21e0b1965e

Comment 4 Fedora Update System 2022-10-08 07:39:56 UTC
FEDORA-2022-910d36a94d has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-910d36a94d

Comment 5 Fedora Update System 2022-10-08 12:40:58 UTC
FEDORA-2022-910d36a94d has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-910d36a94d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-910d36a94d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2022-10-08 18:00:46 UTC
FEDORA-2022-21e0b1965e has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-21e0b1965e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-21e0b1965e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2022-10-14 12:58:11 UTC
FEDORA-2022-21e0b1965e has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2022-11-10 22:13:30 UTC
FEDORA-2022-910d36a94d has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.