Bug 2439315

Summary: libgweather disables debuginfo generation via %global debug_package %{nil}, preventing gdb backtraces
Product: [Fedora] Fedora Reporter: Lukas Ruzicka (Red Hat) <lruzicka>
Component: libgweatherAssignee: Matthias Clasen <mclasen>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 44CC: gnome-sig, kalevlember, mclasen, mcrha
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-09-04 09:50:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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