https://bugzilla.redhat.com/show_bug.cgi?id=1535549



--- Comment #8 from Robert-AndrĂ© Mauchin <[email protected]> ---
   Ah I got it! I noticed there is a debug option in the Makefile:

Debugging Options:"
    @echo "    PROFILE=1     == build gprof instrumentation into binaries for
profiling"
    @echo "    DEBUG=1       == add debugging symbols to binaries"


   Of course I tried to add it to the build line, with no success. It's not
needed there anyway since it's already taken care of by the default Fedora
%optflags.

   However at install time, this debug option enables or disables a "-s" flag
for install. And what does "install -s" do? It strips the binaries, thus
preventing find-debuginfo to find the debugging symbols.

   TL;DR: add DEBUG=1 to the install line:

# NOTE: set LDCONFIG to true so it's not run during this script
./m64p_install.sh DESTDIR=%{buildroot} PREFIX=%{_prefix} MANDIR=%{_mandir}
LIBDIR=%{_libdir} DEBUG=1 LDCONFIG='true


   And voilĂ  the debug packages are built.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to