[Bug 168310] Review Request: swish-e <bkyoung>
bugzilla at redhat.com
bugzilla at redhat.com
Sat Oct 1 19:55:04 UTC 2005
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.
Summary: Review Request: swish-e <bkyoung>
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=168310
------- Additional Comments From bkyoung at users.sourceforge.net 2005-10-01 15:54 EST -------
See README for files descriptions within swish-e directory.
Spec Name or Url: swish-e.spec.6
SRPM Name or Url: swish-e-2.4.2-6fc4.src.rpm
>> # Conditionals
>> # --with debug: Replaces -O2 with -O0 in CFLAGS
>> # Builds debuginfo package.
>> # Defines compile time macro DEBUG.
>> # --without debug OR missing: Disables debuginfo package AND Removes
-g.
>>
>> %{!?_with_debug:%define debug_package %{nil}}
>> %build
>Can you please explain what all that stuff in there is supposed to
>achieve?
>Why? Default build ought to use $RPM_OPT_FLAGS and create a good
>"debuginfo" package automatically. If compiler flags are modified to
>not include -g, patch the code. Disabling the debuginfo package is a
>last resort only.
This is all part of the
rpmbuild -ba --with debug swish-e.spec
stuff. The 'standard' debuginfo package tends to have periodic -g/-O2/gdb/gcc
problems, and this has worked well for me. And, as I use this for development
purposes, is a easy way to create a pure -g/-O0 debuginfo package.
Removing -g from the standard build reduces build time on large packages, but
not relevant here.
To get a nice -O2 debuginfo package, the
%{!?_with_debug:%define debug_package %{nil}}
may be commented out.
>> BuildArch: i386 x86_64
>Why that?
Can only verify proper (whatever that means) build on i386 and x86_64
architectures at this time. Deleted.
--------
>This is because you have been ignoring the warning in the build log
>that no library is found for -lswish-e, and as a result the Perl
>API.so module is not linked against it and contains undefined symbols.
ldd API.so is not showing a dependency on libswish-e.so.
--
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the fedora-extras-list
mailing list