Bug 229042

Summary: bin2iso: source file missing from -debuginfo
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: bin2isoAssignee: Hans de Goede <hdegoede>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-02-19 14:06:45 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 Ville Skyttä 2007-02-16 18:04:34 UTC
http://www.redhat.com/archives/fedora-maintainers/2007-January/msg00339.html

bin2iso is caught by the optflag/debuginfo checker, because the (one and only) C
source file is missing from the debuginfo.  I don't see anything wrong in the
package, and a local rebuild of it on FC6 does make the source file end up in
-debuginfo.  So perhaps a simple rebuild is all it takes to fix it.

Comment 1 Hans de Goede 2007-02-19 14:06:45 UTC
Got IT!

The sources for this contain of a single C file which is SOURCE0, it got
compiled like this:
gcc -o bin2iso $RPM_OPT_FLAGS %{SOURCE0}

By first copying it to our working dir in %prep and then feeding the installed
file to gcc, the C-file shows up in the -debuginfo under mock too.

Closing.