[Samba] How to build samba-debuginfo rpm from samaba source
Robert Marcano
robert at marcanoonline.com
Wed Mar 1 12:56:40 UTC 2023
On 3/1/23 5:27 AM, Neelakantan Kannappa (nkannapp) via samba wrote:
> Hi Samba team,
>
> Is there a command or a way to build samba-debuginfo rpm from the samba source.
>
> I have been through wiki.samba.org, but failed to find out.
>
> Explored the Makefile targets, even there I did not find the make target to build debuginfo package or RPM.
>
> Thanks in advance for your help.
>
> https://wiki.samba.org/index.php/Writing_a_Samba_VFS_Module -> this page mentions to install samba-debuginfo RPM, so I am trying to find the way to build that from samba source.
>
> Regards,
> Neelakantan K
The debuginfo packages are not a product of a Samba build scripts. It is
built by rpmbuild (in modern distros by default) when you build an RPM.
If you build Samba outside rpmbuild with debug information, that
information remains attached to the resulting binaries. debuginfo
packages are a a way to extract that debug information from the binaries
and optionally install them in case of debugging a problem instead of
having large binaries with all that information attached.
If you use a Samba package from the distribution the debuginfo package
should be on the repository.
More information about the samba
mailing list