Re: error in building a RPM file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/22/2012 05:29 PM, Ranjan Maitra wrote:
Hi,



One other thing I noticed is the use of `make install-strip`.  RPM
will strip the debugging symbols for you and create a debuginfo
package, which might be useful someday if^H^Hwhen it crashes, so you
should probably just `make install` here.

Thanks very much for the e-mail! Then, I guess my question is: the
binaries that are installed when I download and install a Fedora RPM
all (or at least, most do) appear to be stripped. I thought that meant
that the install step has to have things stripped.
No - When building a Fedora rpm, binaries must not be stripped.

In autoconf terms, inside of rpm.specs, packages must be installed by "make install" and must not use "make install-strip".

How exactly does
this happen then?

Somewhat oversimplyfied, Fedora's rpm-build is equipped with a mechanism which extracts the binaries' debug information from non-stripped binaries into *-debuginfo.rpm.

I.e. packagers are supposed to build with debug-info built-in (non-stripped), rpm then later strips automatically.

Ralf


--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux