flatpak-builder icon indicating copy to clipboard operation
flatpak-builder copied to clipboard

How to extract debuginfo from an extension?

Open gasinvein opened this issue 6 years ago • 4 comments

flatpak-builder doesn't strip and extract debuginfo from an extension after it's built. While option no-strip: false makes flatpak-builder to strip binaries, no-debuginfo: false doen't seem to affect anything - .Debug extension isn't created. Here is app with extension I'm building. Am I doing something wrong?

gasinvein avatar Oct 03 '18 16:10 gasinvein

Yeah, this doesn't currently work.

alexlarsson avatar Oct 04 '18 07:10 alexlarsson

Is this planned?

gasinvein avatar Oct 04 '18 08:10 gasinvein

Its a bit tricky, since extensions can't really have extension of their own, and the way debug stuff works the result has to be in /usr/lib/debug which is not where the main extension is mounted.

alexlarsson avatar Oct 04 '18 08:10 alexlarsson

I"d take stripping at least. I had to modify half a dozen packages to drastically slim them down as I didn't realise they were not stripped automatically.

hfiguiere avatar Jul 06 '20 22:07 hfiguiere