Bug 170970

Summary: notecase: useless debuginfo package, broken LD in build
Product: [Fedora] Fedora Reporter: Ville Skyttä <scop>
Component: notecaseAssignee: Damien Durand <splinux>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: extras-qa
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: 2007-03-17 12:51:09 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ä 2005-10-16 19:03:30 UTC
The LD definition in %build of notecase is broken, should be using eg \$(CXX) 
instead of $CXX so that stuff isn't substituted by the shell. 
 
But even that doesn't help with getting a sane debuginfo package out of this, 
%install builds the binary again (!), this time without the customized LD (so 
-s ends up in the linker command line and debuginfo is lost).

Comment 1 Ignacio Vazquez-Abrams 2005-10-30 04:31:42 UTC
It's in need of a version update anyways, so two birds with one stone...

Comment 2 Ville Skyttä 2005-10-30 07:21:19 UTC
I took a look at 1.1.2-1 in CVS, and it still results in a useless debuginfo 
package.  Additionally, the build does not honor $RPM_OPT_FLAGS. 

Comment 3 Ville Skyttä 2006-12-17 14:10:35 UTC
The useless debuginfo package has been reintroduced in 1.1.9-2:

$ rpm -qlp
http://fedoraproject.org/extras/development/i386/debug/notecase-debuginfo-1.1.9-2.fc6.i386.rpm
(contains no files)

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

Comment 4 Damien Durand 2007-03-17 12:51:09 UTC
fixed