Bug 1223277

Summary: Wine debuginfo symbols missing
Product: [openSUSE] openSUSE Tumbleweed Reporter: Chris Riddoch <chris>
Component: OtherAssignee: Marcus Meissner <meissner>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Chris Riddoch 2024-04-22 20:27:03 UTC
I'm having some difficulty tracking down another issue because there are debugging symbols missing from wine.  I believe that when https://bugzilla.opensuse.org/show_bug.cgi?id=1192292 was fixed, some debugging symbols were removed that maybe shouldn't have been.

I have wine-debuginfo and wine-32bit-debuginfo versions 9.7-1707.1 installed alongside the same version of wine, from the Emulators/Wine OBS repo, and I've confirmed the same issue exists when I use the current Tumbleweed version (9.6-1.1).

When I run 'gdb /usr/bin/wine', I get the following output:

Reading symbols from /usr/bin/wine...

This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.opensuse.org/>
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
Downloading separate debug info for /usr/bin/wine
Download failed: Connection reset by peer.  Continuing without separate debug info for /usr/bin/wine.                                                                                        
Missing separate debuginfo for /usr/bin/wine
Try: zypper install -C "debuginfo(build-id)=inwine.debug"
(No debugging symbols found in /usr/bin/wine)

I believe the wine-32bit-debuginfo package should contain /usr/lib/debug/usr/bin/wine.debug, but it doesn't.  I think some symbols are being stripped unnecessarily, but I understand that they were taking up a lot of space.  Maybe a different solution could preserve the ability to debug wine?  I don't know what to suggest here.  (Also, the recommended zypper command results in "No provider of 'debuginfo(build-id)=inwine.debug' found," which I suspect may be an unrelated issue.)