Group: Software/FSDG distributions/Debugging

From LibrePlanet
Jump to: navigation, search
(Status: Parabola: remove lines for previous status)
(Status: Add infos on dragora.)
 
(2 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
! Comments
 
! Comments
 
|-
 
|-
! Dragora 3.0-beta1
+
! Dragora 3.0-beta2
|
+
| {{no}}<ref name="dragora-strip">Most of [https://git.savannah.nongnu.org/cgit/dragora.git/tree/recipes the dragora package sources] strip symbols without saving the non-stripped version.</ref>
|
+
| {{no|None}}<ref name="dragora-strip"></ref>
|  
+
| {{no}}<ref>Dragora isn't mentionned on [https://sourceware.org/elfutils/Debuginfod.html the debuginfod list of repositories] and there is no known debuginfod repository for Dragora.</ref>
 
|
 
|
 
|-
 
|-
Line 26: Line 26:
 
! Guix
 
! Guix
 
| {{Yes}}<ref>See the [https://guix.gnu.org/en/manual/devel/en/guix.html#Installing-Debugging-Files Installing Debugging Files] chapter in the Guix manual for how to download and use the debug symbols.</ref>
 
| {{Yes}}<ref>See the [https://guix.gnu.org/en/manual/devel/en/guix.html#Installing-Debugging-Files Installing Debugging Files] chapter in the Guix manual for how to download and use the debug symbols.</ref>
|
+
| {{yellow|Weak but has automatic tools to build with debug symbols}}<ref>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.</ref>
 
|
 
|
 
|
 
|
Line 70: Line 70:
 
| {{Yes}}<ref>There are some debug packages</ref>.
 
| {{Yes}}<ref>There are some debug packages</ref>.
 
| {{orange|weak}}<ref>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.</ref>
 
| {{orange|weak}}<ref>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.</ref>
|
 
 
|
 
|
 
|
 
|

Latest revision as of 07:37, 14 August 2024

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-beta2 No[1] None[1] No[2]
Dynebolic 3.0-beta
Guix Yes[3] Weak but has automatic tools to build with debug symbols[4]
Hyperbola v0.4.2
LibreCMC
Parabola No[5] Partial[6] 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[7]. weak[8]
Replicant 6.0 0004 No None No
Trisquel 11 (aramo) Yes[9]. weak[10]
Ututo S

References

  1. 1.01.1 Most of the dragora package sources strip symbols without saving the non-stripped version.
  2. Dragora isn't mentionned on the debuginfod list of repositories and there is no known debuginfod repository for Dragora.
  3. See the Installing Debugging Files chapter in the Guix manual for how to download and use the debug symbols.
  4. 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.
  5. 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)'.
  6. 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.
  7. There are some debug packages
  8. 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.
  9. There are some debug packages
  10. 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.