Bug 145517 - Missing line number information in debuginfo
Summary: Missing line number information in debuginfo
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: cvs
Version: 3
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Martin Stransky
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-01-19 08:01 UTC by Vasile Gaburici
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-03-01 14:40:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vasile Gaburici 2005-01-19 08:01:23 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
Gecko/20041020

Description of problem:
The rpm spec sets CFLAGS at line 53 (if kerberos is present, at it is):
%{!?nokerberos:CFLAGS=${RPM_OPT_FLAGS}
-I${k5prefix}/include/kerberosIV; export CFLAGS}

This has two problems: 1st it is redundant, as the setting on the line
above it: "%{!?nokerberos:CPPFLAGS=-I${k5prefix}/include/kerberosIV;
export CPPFLAGS}" is sufficient to get the kerberos stuff included. If
you look at the build commands, the kerberos stuff is included twice
anyway.

2nd and worse problem is that the setting of CFLAGS clobbers
RPM_OPT_FLAGS which by default includes -g. This leads to line number
information being absent from the compiled executable and subsequently
from the debuginfo rpm, which lacks the sources due the same reason.

Simply removing line 53 in the spec fixes the problems.

Version-Release number of selected component (if applicable):
cvs-1.11.17-4

How reproducible:
Always

Steps to Reproduce:
See above.    

Additional info:


Note You need to log in before you can comment on or make changes to this bug.