how to install debugging symbols

Adam Bishop Adam.Bishop at ja.net
Wed Dec 11 11:18:29 CET 2013


On 11 Dec 2013, at 07:49, Hachmer, Tobias <Tobias.Hachmer at stadt-frankfurt.de> wrote: 
> 
> I build radiusd RPM packages from the 3.0.x branch using the provided spec file.
> While debugging I recognized that are no debugging symbols installed by default and no package which contains them.
> 
> What do I have to do in order to install the debugging symbols?

Assuming the FR3 RPM behaves the same as the FR2 one, easiest way is to build with Mock rather than rpmbuild.

Quick overview - install the Mock packages, check the build environments available in Mock, then call mock as: 
  /usr/bin/mock -r <env>-<arch> freeradius.src.rpm

The build process takes a lot longer (Mock creates a clean build environment with *only* the dependancies and buildrequires specified in the makefile), but you get complete (and fully reproducible) builds.

Regards,

Adam Bishop

   gpg: 0x6609D460

Janet, the UK's research and education network.


Janet(UK) is a trading name of Jisc Collections and Janet Limited, a 
not-for-profit company which is registered in England under No. 2881024 
and whose Registered Office is at Lumen House, Library Avenue,
Harwell Oxford, Didcot, Oxfordshire. OX11 0SG. VAT No. 614944238



More information about the Freeradius-Users mailing list