Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920438 - sys-devel/gdb and dev-util/lldb: are in different categories?
Summary: sys-devel/gdb and dev-util/lldb: are in different categories?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-12-21 01:24 UTC by sanomiad
Modified: 2024-01-13 09:42 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sanomiad 2023-12-21 01:24:47 UTC
Hello, 

Is there a reason for having gdb under sys-devel and lldb that does the same thing under dev-util?

Regards,
Comment 1 Mike Gilbert gentoo-dev 2023-12-27 13:37:47 UTC
Well, the GNU toolchain has been the default toolchain in Gentoo forever. That would explain the "sys-devel" part.

I would caution against renaming either package. It seems a bit pointless.
Comment 2 sanomiad 2024-01-01 03:57:20 UTC
(In reply to Mike Gilbert from comment #1)
> Well, the GNU toolchain has been the default toolchain in Gentoo forever.
> That would explain the "sys-devel" part.
> 
> I would caution against renaming either package. It seems a bit pointless.

GNU has been the default since the 80s, that's not the problem here. 

I find it difficult to comprehend the logic behind misclassifying packages. Numerous users explore categories to find packages that align with their interests or to locate ones they use on different systems. In such instances, misclassification can lead to users overlooking these packages and subsequently requesting ports.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-01 04:18:58 UTC
(In reply to sanomiad from comment #2)
> (In reply to Mike Gilbert from comment #1)
> > Well, the GNU toolchain has been the default toolchain in Gentoo forever.
> > That would explain the "sys-devel" part.
> > 
> > I would caution against renaming either package. It seems a bit pointless.
> 
> GNU has been the default since the 80s, that's not the problem here. 
> 
> I find it difficult to comprehend the logic behind misclassifying packages

Not sure what this means. First, floppym distinguished the sys-* logic (explaining why gdb and lldb ended up in different categories) from his own personal opinion.

But also, that logic is why it's at least not *obviously* misclassified. It's not done to confuse people or for fun.

Your statement makes it sound like it's wilful.
.
> Numerous users explore categories to find packages that align with their
> interests or to locate ones they use on different systems. In such
> instances, misclassification can lead to users overlooking these packages
> and subsequently requesting ports.

Now, the reason why the toolchain thing is relevant is because we don't want everything in sys-*. Do we want every debugger ever in sys-devel/*?

It's reasonable to make the argument that LLVM is now an alt-toolchain which works (heck, we build some stages with it, so...) and therefore it might be worth moving.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-01-01 10:47:03 UTC
The current category system is clearly insufficient.

sys-devel/ is supposed to carry "core" tools and libraries.  People have been shoving random stuff in there.  LLVM there is probably something between a historical accident and "we have no better idea where to put a generic VM".

dev-lang/ is where most of the compilers for different programming languages reside.  That said, C/C++/Fortran suites like GCC and Clang are a gray area since they're all different implementation of a base C-ish set of languages.

dev-util/ is where most of the debuggers today reside.  sys-devel/gdb is probably a historical exception.

Perhaps it would make sense to have a dedicated category for debugger and debugger-related tools at this point.  Perhaps it would make sense to have a category for C/C++/Fortran toolchains.  Perhaps it would make sense to have a dedicated category for build systems and build tools.

In the end, it's all subjective and moving stuff is a big fuss that requires serious justification.  You shouldn't be relying on categories to find programs by name anyway.
Comment 5 Larry the Git Cow gentoo-dev 2024-01-13 09:42:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25b1a157663a83952044bfbb8704aeecd89ae86e

commit 25b1a157663a83952044bfbb8704aeecd89ae86e
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-01-12 19:26:02 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-01-13 09:42:33 +0000

    Move {dev-util → dev-debug}/lldb
    
    Closes: https://bugs.gentoo.org/920438
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 {dev-util => dev-debug}/lldb/Manifest                                 | 0
 {dev-util => dev-debug}/lldb/lldb-15.0.7.ebuild                       | 4 ++--
 {dev-util => dev-debug}/lldb/lldb-16.0.6-r1.ebuild                    | 2 +-
 {dev-util => dev-debug}/lldb/lldb-16.0.6.ebuild                       | 2 +-
 {dev-util => dev-debug}/lldb/lldb-17.0.6.ebuild                       | 0
 {dev-util => dev-debug}/lldb/lldb-18.0.0.9999.ebuild                  | 2 +-
 .../lldb/lldb-18.0.0_pre20231215.ebuild                               | 0
 {dev-util => dev-debug}/lldb/metadata.xml                             | 0
 dev-lang/rust/rust-1.65.0.ebuild                                      | 2 +-
 dev-lang/rust/rust-1.66.1.ebuild                                      | 2 +-
 dev-lang/rust/rust-1.67.1-r1.ebuild                                   | 2 +-
 dev-lang/rust/rust-1.68.2.ebuild                                      | 2 +-
 dev-lang/rust/rust-1.69.0-r1.ebuild                                   | 2 +-
 dev-lang/rust/rust-1.70.0.ebuild                                      | 2 +-
 dev-lang/rust/rust-1.71.0.ebuild                                      | 2 +-
 dev-lang/rust/rust-1.71.1.ebuild                                      | 2 +-
 dev-lang/rust/rust-1.72.0-r1.ebuild                                   | 2 +-
 dev-lang/rust/rust-1.73.0.ebuild                                      | 2 +-
 dev-lang/rust/rust-1.74.1.ebuild                                      | 2 +-
 kde-plasma/drkonqi/drkonqi-5.27.10.ebuild                             | 2 +-
 kde-plasma/drkonqi/drkonqi-5.92.0.ebuild                              | 2 +-
 metadata/stabilization-groups/llvm.group                              | 2 +-
 profiles/updates/1Q-2024                                              | 1 +
 23 files changed, 20 insertions(+), 19 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b205f67aa1e81d5665d2d88132ee9ce195f852a

commit 7b205f67aa1e81d5665d2d88132ee9ce195f852a
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-01-12 19:23:49 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-01-13 09:42:32 +0000

    Move {sys-devel → dev-debug}/gdb
    
    Closes: https://bugs.gentoo.org/920438
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 {sys-devel => dev-debug}/gdb/Manifest                             | 0
 .../gdb/files/gdb-13.2-fix-sparc-debugging.patch                  | 0
 {sys-devel => dev-debug}/gdb/files/gdb-8.3.1-verbose-build.patch  | 0
 {sys-devel => dev-debug}/gdb/gdb-13.2-r2.ebuild                   | 2 +-
 {sys-devel => dev-debug}/gdb/gdb-14.1.ebuild                      | 2 +-
 {sys-devel => dev-debug}/gdb/gdb-9999.ebuild                      | 2 +-
 {sys-devel => dev-debug}/gdb/metadata.xml                         | 0
 dev-lang/rust/rust-1.65.0.ebuild                                  | 6 +++---
 dev-lang/rust/rust-1.66.1.ebuild                                  | 6 +++---
 dev-lang/rust/rust-1.67.1-r1.ebuild                               | 6 +++---
 dev-lang/rust/rust-1.68.2.ebuild                                  | 6 +++---
 dev-lang/rust/rust-1.69.0-r1.ebuild                               | 6 +++---
 dev-lang/rust/rust-1.70.0.ebuild                                  | 6 +++---
 dev-lang/rust/rust-1.71.0.ebuild                                  | 6 +++---
 dev-lang/rust/rust-1.71.1.ebuild                                  | 6 +++---
 dev-lang/rust/rust-1.72.0-r1.ebuild                               | 6 +++---
 dev-lang/rust/rust-1.73.0.ebuild                                  | 6 +++---
 dev-lang/rust/rust-1.74.1.ebuild                                  | 6 +++---
 dev-python/gdb-pt-dump/gdb-pt-dump-0.0.0_p20231111.ebuild         | 4 ++--
 dev-python/gdb-pt-dump/gdb-pt-dump-9999.ebuild                    | 4 ++--
 dev-python/pydevd/pydevd-2.10.0.ebuild                            | 4 ++--
 dev-python/pydevd/pydevd-2.9.5.ebuild                             | 6 +++---
 dev-python/pygdbmi/pygdbmi-0.11.0.0.ebuild                        | 4 ++--
 dev-python/rpyc/metadata.xml                                      | 2 +-
 dev-python/rpyc/rpyc-5.3.1-r1.ebuild                              | 6 +++---
 dev-scheme/bigloo/bigloo-4.4c_p4-r6.ebuild                        | 4 ++--
 dev-util/cgdb/cgdb-0.7.1.ebuild                                   | 4 ++--
 dev-util/cgdb/cgdb-0.8.0.ebuild                                   | 4 ++--
 dev-util/cgdb/cgdb-9999.ebuild                                    | 4 ++--
 dev-util/clion/clion-2022.3.2.ebuild                              | 2 +-
 dev-util/clion/clion-2023.1.4.ebuild                              | 2 +-
 dev-util/ddd/ddd-3.3.12-r5.ebuild                                 | 4 ++--
 dev-util/ddd/ddd-3.4.0.ebuild                                     | 4 ++--
 dev-util/geany-plugins/geany-plugins-1.38-r410.ebuild             | 4 ++--
 dev-util/geany-plugins/geany-plugins-2.0.ebuild                   | 4 ++--
 dev-util/geany-plugins/metadata.xml                               | 2 +-
 dev-util/gef/gef-2023.08.ebuild                                   | 4 ++--
 dev-util/gef/gef-9999.ebuild                                      | 4 ++--
 dev-util/kdbg/kdbg-3.0.1-r1.ebuild                                | 4 ++--
 dev-util/kdbg/kdbg-3.1.0.ebuild                                   | 4 ++--
 dev-util/kdevelop/kdevelop-23.08.4.ebuild                         | 2 +-
 dev-util/leaktracer/leaktracer-2.4-r3.ebuild                      | 4 ++--
 dev-util/peda/peda-1.2.ebuild                                     | 6 +++---
 dev-util/peda/peda-9999.ebuild                                    | 6 +++---
 dev-util/pwndbg/pwndbg-20230717-r1.ebuild                         | 6 +++---
 dev-util/pwndbg/pwndbg-99999999.ebuild                            | 4 ++--
 dev-util/rr/rr-5.6.0-r2.ebuild                                    | 8 ++++----
 dev-util/rr/rr-5.6.0-r4.ebuild                                    | 8 ++++----
 dev-util/rr/rr-5.7.0.ebuild                                       | 6 +++---
 dev-util/sasm/sasm-3.10.1.ebuild                                  | 4 ++--
 dev-util/seer/seer-1.17.ebuild                                    | 4 ++--
 dev-util/seer/seer-2.3.ebuild                                     | 4 ++--
 dev-util/seer/seer-9999.ebuild                                    | 4 ++--
 kde-plasma/drkonqi/drkonqi-5.27.10.ebuild                         | 2 +-
 kde-plasma/drkonqi/drkonqi-5.92.0.ebuild                          | 2 +-
 net-mail/notmuch/notmuch-0.37-r1.ebuild                           | 2 +-
 net-p2p/classified-ads/classified-ads-0.13-r1.ebuild              | 2 +-
 net-p2p/classified-ads/classified-ads-0.13-r2.ebuild              | 2 +-
 net-p2p/classified-ads/classified-ads-0.14.ebuild                 | 2 +-
 net-p2p/classified-ads/classified-ads-0.15.ebuild                 | 2 +-
 net-p2p/classified-ads/classified-ads-0.16.ebuild                 | 2 +-
 profiles/arch/hppa/package.use.mask                               | 2 +-
 profiles/arch/hppa/package.use.stable.mask                        | 2 +-
 profiles/base/package.use.mask                                    | 2 +-
 profiles/features/hardened/amd64/package.use.mask                 | 4 ++--
 profiles/prefix/darwin/package.use.mask                           | 4 ++--
 profiles/updates/1Q-2024                                          | 1 +
 sys-devel/dwz/dwz-0.14.ebuild                                     | 4 ++--
 sys-devel/dwz/dwz-0.15-r1.ebuild                                  | 4 ++--
 sys-libs/binutils-libs/binutils-libs-2.40-r5.ebuild               | 4 ++--
 sys-libs/binutils-libs/binutils-libs-2.40-r7.ebuild               | 2 +-
 sys-libs/binutils-libs/binutils-libs-2.41-r2.ebuild               | 4 ++--
 sys-libs/binutils-libs/binutils-libs-2.41-r3.ebuild               | 2 +-
 sys-libs/libcxx/libcxx-15.0.7-r1.ebuild                           | 6 +++---
 sys-libs/libcxx/libcxx-16.0.6.ebuild                              | 4 ++--
 sys-libs/libcxx/libcxx-17.0.6.ebuild                              | 2 +-
 sys-libs/libcxx/libcxx-18.0.0.9999.ebuild                         | 4 ++--
 sys-libs/libcxx/libcxx-18.0.0_pre20240106.ebuild                  | 2 +-
 78 files changed, 146 insertions(+), 145 deletions(-)