[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Initial version of 'gambas-package-config' tool


On Friday, November 29th, 2024 at 15:18, T Lee Davidson t.lee.davidson@xxxxxxxxx wrote:

> On Thursday, November 28th, 2024 at 07:30, munix9munix9@xxxxxxxxxxxxxx wrote:
>
>> Strange point of view, but to each his own.
>> I'd be happy for any automation that would help me fix bugs, even if
>> it's just to provide me with debug packages.
>
> Debug packages should actually be in a separate, "debug" repository. Do you agree?

I 100% agree with you Lee, this way one can choose to add the debug repository or not.
Debian, Ubuntu and openSuse have separate repositories for debug-symbol packages and both Ubuntu and Fedora have debuginfod servers (so debug-symbols separated from default repositories).

Debian (https://wiki.debian.org/DebugPackage):

"If you use [debhelper/9.20151219](https://tracker.debian.org/news/734143) or newer in Debian, it will [generate debug symbol packages](https://wiki.debian.org/AutomaticDebugPackages) (as <package>-dbgsym) for you with no additional changes to your source package. These packages are not available from the main archive. Please fetch these from [debian-debug](http://debug.mirrors.debian.org/debian-debug) or snapshot.debian.org. "

Ubuntu (https://ubuntu.com/server/docs/debug-symbol-packages):

"If you are on Ubuntu Jammy (22.04) or later, you don’t need to worry about installing debug symbol packages since the Ubuntu project maintains a [Debuginfod](https://ubuntu.com/server/docs/about-debuginfod) server. [GNU Debugger (GDB)](https://www.sourceware.org/gdb/) and other debuginfo-consumer applications support Debuginfod (mostly) out of the box.

If you are debugging without debuginfod, your first step will be to enable the ddebs.ubuntu.com repository as described in this section, which will provide access to the -dbgsym packages."

Fedora (https://fedoraproject.org/wiki/Debuginfod):

"DEBUGINFOD server

This server provides ELF or DWARF debugging information, plus associated source code, covering all packages and architectures of recent versions of Fedora. It works by periodically indexing all relevant RPMs from [Koji](https://koji.fedoraproject.org/koji/), and extracting any needed file on the fly. Debugger-type tools automatically request files one by one. After being downloaded, each file is stored in a cache under your home directory, where the tools can immediately use it."

openSuse (https://en.opensuse.org/Package_repositories)

"Debughttps://en.opensuse.org/Package_repositories#Debug

Debuginfo packages. Advanced users only.

Version: Tumbleweedhttp://download.opensuse.org/debug/tumbleweed/repo/oss/Version: Leap 15.6http://download.opensuse.org/debug/distribution/leap/15.6/repo/oss/ and updates http://download.opensuse.org/debug/update/leap/15.6/oss/Version: Leap 15.5http://download.opensuse.org/debug/distribution/leap/15.5/repo/oss/ and updates http://download.opensuse.org/debug/update/leap/15.5/oss/";

All above distro's seem to agree that most users do not need debug-symbol packages and provide either a separate repository or a mechanism like debuginfod servers, probably not to pollute their main repositories.

Since OSB build is a single build publishing packages in a single repository, it is better not to build the debug-symbol packages.

gbWilly

Follow-Ups:
Re: Initial version of 'gambas-package-config' toolT Lee Davidson <t.lee.davidson@xxxxxxxxx>
References:
Initial version of 'gambas-package-config' toolBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Initial version of 'gambas-package-config' toolgbWilly <gbWilly@xxxxxxxxxxxxxx>
Re: Initial version of 'gambas-package-config' toolmunix9 <munix9@xxxxxxxxxxxxxx>
Re: Initial version of 'gambas-package-config' toolgbWilly <gbWilly@xxxxxxxxxxxxxx>
Re: Initial version of 'gambas-package-config' toolmunix9 <munix9@xxxxxxxxxxxxxx>
Re: Initial version of 'gambas-package-config' toolgbWilly <gbWilly@xxxxxxxxxxxxxx>
Re: Initial version of 'gambas-package-config' toolmunix9 <munix9@xxxxxxxxxxxxxx>
Re: Initial version of 'gambas-package-config' toolgbWilly <gbWilly@xxxxxxxxxxxxxx>
Re: Initial version of 'gambas-package-config' toolT Lee Davidson <t.lee.davidson@xxxxxxxxx>