Bug 207249 - rpmlint error: debuginfo-without-sources (including a fix)
Summary: rpmlint error: debuginfo-without-sources (including a fix)
Status: RESOLVED FIXED
Alias: None
Product: skrooge
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Stephane MANKOWSKI
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-13 14:00 UTC by Thomas Janssen
Modified: 2009-09-13 17:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Janssen 2009-09-13 14:00:47 UTC
Version:           0.5.0 (using KDE 4.3.1)
Compiler:          gcc-4.3.2-7.x86_64 
OS:                Linux
Installed from:    Compiled From Sources

rpmlint output: E: debuginfo-without-sources

[thomas@tusdell SPECS]$ rpmlint -I debuginfo-without-sources
debuginfo-without-sources:
This debuginfo package appears to contain debug symbols but no source files.
This is often a sign of binaries being unexpectedly stripped too early during
the build, or being compiled without compiler debug flags (which again often
is a sign of distro's default compiler flags ignored which might have security
consequences), or other compiler flags which result in rpmbuild's debuginfo
extraction not working as expected.  Verify that the binaries are not
unexpectedly stripped and that the intended compiler flags are used.

A fix in CMakeLists.txt would be to use:

SET(CMAKE_CXX_FLAGS "-Wall ${CMAKE_CXX_FLAGS}")

instead of the current: SET(CMAKE_CXX_FLAGS "-Wall" )

Thank you for your good work!
Comment 1 Stephane MANKOWSKI 2009-09-13 17:14:51 UTC
SVN commit 1022926 by smankowski:

BUG: 207249: rpmlint error: debuginfo-without-sources (including a fix) 
BUG: 207246: rpmlint warning shared-lib-calls-exit /usr/lib64/libskgbasemodeler.so.0.5.0 exit@GLIBC_2.2.5 (for fedora packaging)

 M  +2 -1      CHANGELOG  
 M  +4 -1      CMakeLists.txt  
 M  +1 -0      skgbankgui/skgquerydelegate.cpp  
 M  +1 -1      skgbankmodeler/skgruleobject.cpp  
 M  +1 -0      skgbasemodeler/skgdocument.cpp  
 M  +2 -0      skrooge_bank/skgbankboardwidget.cpp  
 M  +1 -0      skrooge_bank/skgbankpluginwidget.cpp  
 M  +2 -0      skrooge_categories/skgcategoriespluginwidget.cpp  
 M  +1 -0      skrooge_monthly/skgmonthlypluginwidget.cpp  
 M  +1 -0      skrooge_operation/skgoperationboardwidget.cpp  
 M  +2 -2      skrooge_operation/skgoperationpluginwidget.cpp  
 M  +1 -2      skrooge_operation/skgoperationpluginwidget.h  
 M  +2 -0      skrooge_scheduled/skgscheduledboardwidget.cpp  
 M  +2 -0      skrooge_scheduled/skgscheduledpluginwidget.cpp  
 M  +1 -0      skrooge_search/skgsearchpluginwidget.cpp  
 M  +2 -0      skrooge_tracker/skgtrackerpluginwidget.cpp  
 M  +2 -0      skrooge_unit/skgunitboardwidget.cpp  
 M  +4 -2      skrooge_unit/skgunitpluginwidget.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1022926