Re: query about debuginfo

Krzysztof Mrozowicz krzysztof at mrozowicz.eu
Mon Apr 12 15:30:02 CEST 2021


On Sunday, April 11, 2021 20:47 IST, Jakub Bogusz <qboosh at pld-linux.org> wrote: 
 
> On Fri, Apr 09, 2021 at 03:27:11PM +0100, Krzysztof Mrozowicz via pld-devel-en wrote:
> > Hi, I updated the wesnoth package to newer version and it built on my
> > computer with no problems. When I tried to build it on the builders,
> > it failed with error saying that debugsourcefiles.list is empty.
> 
> That's because package was compiled without debugging information, so
> rpm couldn't find source files for compiled binaries.
> 
> After adjusting build to use PLD-specific compiler flags, debug packages
> are created.
Thank you very much for the answer and for fixing the spec. Not knowing you changed the spec, I was looking into it by myself and found that changing CMAKE_BUILD_TYPE from "Release" to "RelWithDebInfo" also does the job. 

--
Krzysiek


More information about the pld-devel-en mailing list