Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 550711

Summary: ghc-GLUT-debuginfo contains no sources
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: ghc-GLUTAssignee: Jens Petersen <petersen>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: bos, haskell-devel, loupgaroublond, petersen
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: 2010-01-11 10:21:50 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:
Bug Depends On:    
Bug Blocks: 496968    

Description Ville Skyttä 2009-12-26 23:51:11 UTC
ghc-GLUT-debuginfo 2.1.1.2-3.fc13 contains no sources, which might be an indication of $RPM_OPT_FLAGS (specifically -g) not being honored or binaries being stripped too early.  Is this expected behavior with ghc-* packages?  See bug 496968.

Same thing apparently with recent ghc-OpenGL, ghc-tar, and ghc-zlib Rawhide builds.

Comment 1 Bryan O'Sullivan 2009-12-27 19:21:52 UTC
Hmm, none of the ghc-* packages should be emitting debuginfo packages:

# ghc does not emit debug information
%global debug_package %{nil}

Comment 2 Ville Skyttä 2009-12-28 20:11:02 UTC
(In reply to comment #1)
> Hmm, none of the ghc-* packages should be emitting debuginfo packages:
> 
> # ghc does not emit debug information
> %global debug_package %{nil}  

Sorry to be blunt, but would you mind actually checking things before closing bugs?  All of the packages mentioned in the initial comment *do* emit debuginfo packages.  They have the line you cited commented out.

http://cvs.fedoraproject.org/viewvc/devel/ghc-GLUT/ghc-GLUT.spec?revision=1.6&view=markup
http://cvs.fedoraproject.org/viewvc/devel/ghc-OpenGL/ghc-OpenGL.spec?revision=1.6&view=markup
http://cvs.fedoraproject.org/viewvc/devel/ghc-tar/ghc-tar.spec?revision=1.4&view=markup
http://cvs.fedoraproject.org/viewvc/devel/ghc-zlib/ghc-zlib.spec?revision=1.18&view=markup

Comment 3 Bryan O'Sullivan 2009-12-28 22:30:31 UTC
It's perfectly fine to be blunt, but I did actually check, but I looked at the F-12 branch rather than the devel branch.  It might be a good policy not to make accusations about what someone did or didn't do when you don't actually know. That could easily be misinterpreted as rudeness, which would not be so perfectly fine.

Jens, what's the story with the debuginfo generation being re-enabled?

Comment 4 Ville Skyttä 2009-12-28 23:01:46 UTC
This bug is reported against rawhide, the initial comment specifically mentions a NEVR containing f13, there's no way I could tell that you checked F-12, and I think it's quite fair to assume that if rawhide had been actually checked, this bug would have not been closed as NOTABUG along with the text in comment 1.  But nevermind, mistakes do happen, I'll shut up now and let you find out the cause and what to do about it.

Comment 5 Jens Petersen 2010-01-07 00:55:00 UTC
That's me sorry.

I reenabled debuginfo in rawhide for a few libraries as an experiment
since it strips the new shared libraries, but if that is stepping on
sanity script's I better do it right I guess.

Comment 6 Jens Petersen 2010-01-07 00:55:53 UTC
bos: BTW feel free to reassign bugs relating to my changes to me. :)

Comment 8 Jens Petersen 2010-01-11 10:21:50 UTC
Thanks Ville for catching and reporting it.

I reverted my little experiment in the latest builds.