Red Hat Bugzilla – Bug 170970
notecase: useless debuginfo package, broken LD in build
Last modified: 2007-11-30 17:11:15 EST
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).
It's in need of a version update anyways, so two birds with one stone...
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.
The useless debuginfo package has been reintroduced in 1.1.9-2:
$ rpm -qlp
(contains no files)
More info: http://fedoraproject.org/wiki/Packaging/Debuginfo