[Development] Not stripping our binaries by default

Fathi Boudra fabo at debian.org
Tue Sep 25 11:32:07 CEST 2012


On Tue, Sep 25, 2012 at 12:26 PM, Laszlo Papp <lpapp at kde.org> wrote:
>> That's incorrect. We (Debian/Ubuntu) apply a patch since ages to avoid
>> stripping.
>
> Why? It just works fine on Harmattan and Ubuntu-arm using the debian tools.
> It sounds broken to fail /all/ the time. Such a buildsystem should really be
> fixed, or the package file should use the relevant option established.

I can't comment for Harmattan (don't have looked if the debian tools
are patched) but for Debian and Ubuntu, if you don't apply the patch,
debug packages are broken/empty.
Binaries are already stripped when dh_strip tries to strip them and
create debug packages.

Simple test: remove the patch and verify the debug packages, they're empty.

>> A patch that I pulled in Meego builds as well.
>
> Not really, it works fine without that. See the community repository or the
> rpm builds. Perhaps you could point out what exactly was wrong in your case?
> This should really be a no problem, and it is better to fix this in one
> place than trying to force for each upstream projects like the Qt Project in
> this case.
>
>>
>> As far as I'm concerned, I welcome Thiago's patch.



More information about the Development mailing list