On Tuesday, February 11 2025, Michael Biebl wrote:

> Am 11.02.25 um 12:26 schrieb Michael Biebl:
>> # apt install gdb
>> Installing:
>>    gdb
>> Installing dependencies:
>>    libbabeltrace1  libc6-dbg  libsource-highlight-common  
>> libsource-highlight4t64
>> Vorgeschlagene Pakete:
>>    gdb-doc  gdbserver
>> REMOVING:
>>    gdb-minimal
>> Summary:
>>    Upgrading: 0, Installing: 5, Removing: 1, Not Upgrading: 1
>>    Download size: 15,2 MB
>>    Space needed: 49,0 MB / 166 GB available
>> So, it is possible that the gdb binary package itself is not that
>> much
>> larger, but accounting for all dependencies, it indeed is.
>> 
>
> Looking at this a bit more closely:
>
> gdb-minimal: installed size 10,5 M
>
> gdb: installed size 40,1 M                 + 29,6 M
> libbabeltrace: installed size              +  0,6 M
> libc6-dbg: installed size                  + 17,2 M
> libsource-highlight4t64: installed size    +  1,3 M
> libsource-highlight-common: installed size +  0,3 M
>                                            ========
>                                              49,0 M
>
> So contrary to the NEWS entry, the gdb binary package is not 1 M
> larger, but 29,6 M, or put in other terms: 3x as large.
>
> As desktop environments like Plasma depend on gdb, it would be great
> to have the gdb-minimal package back.

Thank you for taking the time to file this bug report.

I really don't want to bring the gdb-minimal package back; I believe it
should not have been created in the first place, and I don't like the
idea of shipping things that don't fully work (because they're stripped
down) to our users.

However, what I intend to do is:

- Reintroduce the gdb-multiarch package.  I understand that debugging
  multiarch programs can be considered a corner case, so I'm OK with the
  idea of not shipping it to everyone.

- Demote libc-dbg from Recommends to Suggests.  There's no reason why we
  should recommend this package, especially now with the advent of
  debuginfod.  Eventually I intend to stop suggesting libc-dbg
  altogether.

This should be enough to reduce the installed size of GDB to acceptable
levels.

Thanks,

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
https://sergiodj.net/

Attachment: signature.asc
Description: PGP signature

Reply via email to