rpmbuild doesn't produce debuginfos

Matthias Saou thias at spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net
Fri May 19 14:34:43 UTC 2006


Caolan McNamara wrote :

> On Fri, 2006-05-19 at 16:23 +0200, Ralf Corsepius wrote:
> > Hi,
> > 
> > I am facing a bizarre issue on rpmbuilding *some* rpms on FC5:
> > 
> > rpmbuild doesn't build debuginfos, despite the package contains
> > binaries[1].
> > 
> > Also, on packages exposing these symptoms, executables don't seem get
> > stripped:
> > $ rpmlint ~/src/rpms/RPMS/i386/xxx-0.0.2-0.fc5.i386.rpm
> > ...
> > W: xxx unstripped-binary-or-object /usr/bin/xyz
> 
> The created binaries might not have permissions which allow them to be
> written by the rpmbuild-ing owner.

...or the binary might have had setuid or setgid bits set. Not sure why,
but binaries don't get stripped properly in that case.

No idea about the debuginfo packages not being created, though, since in
my experience, even if there are no binaries in the package, you'll get
one (although empty) as long as the package isn't explicitly "noarch".

Matthias

-- 
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Fedora Core release 5.89 (Rawhide) - Linux kernel 2.6.16-1.2202_FC6
Load : 1.35 1.27 1.19




More information about the fedora-devel-list mailing list