Latest gdb-headless started to pull source-highlight which pulls ctags and boost-regex and libicu. Which means that buildroot size increased from: DEBUG util.py:439: Install 146 Packages DEBUG util.py:439: Total download size: 63 M DEBUG util.py:439: Installed size: 235 M to: DEBUG util.py:556: Install 151 Packages DEBUG util.py:556: Total download size: 76 M DEBUG util.py:556: Installed size: 342 M --- Is it really necessary to have in gdb-headless?
The problem here is that we only ship one GDB binary, which is in gdb-headless, and this binary pulls in all these dependencies. So yeah, unfortunately (for buildroot) it is necessary for GDB to depend on source-highlight, assuming we want to ship a GDB with source highlight activated for the user (which we do). Perhaps one option to reduce the buildroot size is to create a "boost-regex-devel" package, which only pulls the necessary development headers for boost-regex. I don't know how feasible that is. Another option is to create a "gdb-minimal" package, which only offers the bare minimum necessary for the buildroot. This would be the best way, I think, because it would allow us to remove even more dependencies from GDB that "pollute" the buildroot nowadays. I can't promise anything now, but I will try to work on that.
(In reply to Sergio Durigan Junior from comment #1) > Perhaps one option to reduce the buildroot size is to create a > "boost-regex-devel" package, which only pulls the necessary development > headers for boost-regex. I don't know how feasible that is. I do not believe this will change anything, 'ldd /lib64/libboost_regex.so' itself already brings in libicu. Requires are generated from *.so dependencies (DT_NEEDED).
The gdb-minimal package has been created and is now available to be used in the buildroot. Igor and I are proposing the following change to Fedora buildroot: https://fedoraproject.org/wiki/Changes/Minimal_GDB_in_buildroot I am therefore closing this bug.