Bug 429017

Summary: Empty firefox-debuginfo
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: firefoxAssignee: Martin Stransky <stransky>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: gecko-bugs-nobody
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-20 12:34:15 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:
Attachments:
Description Flags
Symlink xulrunner-stub instead of copying none

Description Ville Skyttä 2008-01-16 20:07:02 UTC
Something in firefox's build prevents useful debuginfo packages from being created:

$ rpm -qlp
http://download.fedora.redhat.com/pub/fedora/linux/development/i386/debug/firefox-debuginfo-3.0-0.beta2.11.nightly20080115.fc9.i386.rpm
(contains no files)

http://fedoraproject.org/wiki/Packaging/Debuginfo

Comment 1 Christopher Aillon 2008-02-15 18:43:32 UTC
http://koji.fedoraproject.org/koji/rpminfo?rpmID=418742

Comment 2 Ville Skyttä 2008-02-16 10:07:47 UTC
*.debug for the firefox executable is still missing.  If I read the build log
correctly, the executable comes from copying an existing xulrunner-stub from the
xulrunner package to firefox.  xulrunner-stub is already stripped at that point,
and I suppose it'll be somewhat hard to connect its debuginfo to the copy in
this package.

Wouldn't it make more sense to symlink it instead of copying?  Eg. something
like the attached (untested) patch.

Comment 3 Ville Skyttä 2008-02-16 10:08:56 UTC
Created attachment 295065 [details]
Symlink xulrunner-stub instead of copying

Comment 4 Martin Stransky 2008-02-19 17:00:28 UTC
Just try to install xulrunner+firefox and run firefox from debugger (firefox -g
-d gdb). Works fine for me, the debuginfo is pulled from xulrunner package.

Comment 5 Martin Stransky 2008-02-19 17:37:55 UTC
anyway, that xulrunner-stub link is interesting, i'll investigate it (but the
provided patch doesn't seem to work)

Comment 6 Martin Stransky 2008-02-20 12:33:56 UTC
Unfortunately, a symlink to xulrunner-stub doesn't work because of broken
xulrunner loader. Anyway, the debuginfo is fine now so i believe this bug can be
closed.