Bug 2439315 - libgweather disables debuginfo generation via %global debug_package %{nil}, preventing gdb backtraces
Summary: libgweather disables debuginfo generation via %global debug_package %{nil}, p...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libgweather
Version: 44
Hardware: Unspecified
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-02-12 13:25 UTC by Lukas Ruzicka (Red Hat)
Modified: 2026-09-04 09:50 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-09-04 09:50:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Lukas Ruzicka (Red Hat) 2026-02-12 13:25:52 UTC
While debugging a gnome-shell crash on Fedora 44, gdb requested installation of the debuginfo package:

libgweather-debuginfo-4.5.0-2.fc44.x86_64

However, this debuginfo package does not exist in the Fedora debuginfo repositories, nor is it present in Koji. The corresponding build in Koji (build ID 2930468) contains only the runtime RPMs and no debuginfo subpackages.

Upon investigation, it was confirmed that the libgweather spec file explicitly disables debuginfo generation using:

%global debug_package %{nil}

This behavior is unexpected and problematic because libgweather is a C library that is used by desktop components such as gnome-shell. The absence of debuginfo makes it impossible to obtain meaningful backtraces for crashes involving this library.

For comparison, a similar package (wmweather) does ship debuginfo packages correctly.

Reproducible: Always

Steps to Reproduce:
1. Install Fedora 44.
2. Trigger a gnome-shell crash involving libgweather.
3. Attempt to obtain a backtrace using gdb or coredumpctl debug.
4. Observe that gdb requests libgweather-debuginfo, which cannot be installed because it does not exist.

Actual Results:
Debuginfo packages for libgweather are not generated or published, making debugging impossible.

Expected Results:
libgweather should generate and ship debuginfo packages, allowing developers and users to debug crashes properly.


Additional Information:
@decathorpe confirmed that the spec file disables debuginfo explicitly and stated that this is likely incorrect for a C library. Quote from the discussion:

“this is a C library, it should have debuginfo”

Comment 1 Lukas Ruzicka (Red Hat) 2026-02-19 15:22:49 UTC
The debuginfo packages are now part of the build:

https://koji.fedoraproject.org/koji/buildinfo?buildID=2937942


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