Group: Software/FSDG distributions/Debugging

From LibrePlanet
Jump to: navigation, search

Introduction

Not all distributions have easy ways to debug packages. This page tracks how easy it is to debug packages with a debugger.

Status

Distribution Debug symbols packages support Debug symbols packages coverage debuginfod integration Comments
Dragora 3.0-beta1
Dynebolic 3.0-beta
Guix Yes[1] Weak but has automatic tools to build with debug symbols[2]
Hyperbola v0.4.2
LibreCMC
Parabola No[3] Partial[4] This should be relatively easy to fix: There are few Parabola contributors and once we have enable the production of -debug package, it may be possible to have pretty good coverage by combining Parabola -debug packages with Arch Linux debuginfod server usage.
ProteanOS
PureOS 10 (byzantium) Yes[5]. weak[6]
Replicant 6.0 0004 No None No
Trisquel 11 (aramo) Yes[7]. weak[8]
Ututo S

References

  1. See the Installing Debugging Files chapter in the Guix manual for how to download and use the debug symbols.
  2. At the time of writing, about 189 packages have debug symbols (this was found with guix package -s "^." | grep "^+ debug: debug information$" | wc -l) while there are about 24000 packages (found with guix package -s "^." | grep "^name:" | wc -l). But if there are no debug symbols, it is possible to automatically rebuild the packages with --with-debug-info as explained in the manual.
  3. While there are some -debug packages in the repository, this is a bug because the default is not to create them: the makepkg.conf file shipped by pacman currently has 'OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug !lto)'.
  4. Parabola is configured to use Arch Linux debuginfod repository. See the Debuginfod Arch Linux Wiki page for more information. Since it's configured to use the Arch Linux debuginfod repository, it won't have debug symbols for Parabola packages.
  5. There are some debug packages
  6. There are some -dbg packages (a bit more than 360) but PureOS 10 (byzantium) has about 58000 packages in total and some package that are definitely written in C or C++ (like coreutils for instance) don't have corresponding -dbg packages.
  7. There are some debug packages
  8. There are some -dbg packages (almost 260) but Trisquel 11 (aramo) has about 65000 packages in total and some package that are definitely written in C or C++ (like coreutils for instance) don't have corresponding -dbg packages.