sys-libs/glibc is lacking dependency on app-arch/gzip. gzip is necessary for the ocale-gen script, which is part of the sys-libs/glibc package. When bootstrapping a new system, grep needs to be manually pushed into the target root directory, otherwise the locale generation is not possible. There is also a warning aboout missing awk, which however doesn't seem to be detrimental to the script functionality.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02b32b254703b22dddb5ce2f71b1a1bf727329d8 commit 02b32b254703b22dddb5ce2f71b1a1bf727329d8 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2020-10-09 20:40:22 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2020-10-09 20:40:39 +0000 sys-libs/glibc: Add deps on gzip, grep, awk Closes: https://bugs.gentoo.org/740750 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> sys-libs/glibc/glibc-2.32-r2.ebuild | 16 ++++++++++++++++ sys-libs/glibc/glibc-9999.ebuild | 16 ++++++++++++++++ 2 files changed, 32 insertions(+)
this sounds like you're bootstrapping wrong. the packages cited are part of the implicit system set which we explicitly do not put dependencies on in other packages. grep is needed by literally every package with a configure script (including itself).
Whatever.
don't know what game you're trying to play, but the glibc ebuilds are still incorrect. we need to revert the deps to fix.
(In reply to SpanKY from comment #4) > don't know what game you're trying to play, but the glibc ebuilds are still > incorrect. we need to revert the deps to fix. What is the problem with declaring the dependencies explicitly?
(In reply to Mike Gilbert from comment #5) it sounds like you're asking why implicit system exists. and as i said, this *isn't* actually a complete list.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4ad4f8f0fa05e7504efb3ef6ef46a650b47a4d6 commit f4ad4f8f0fa05e7504efb3ef6ef46a650b47a4d6 Author: Mike Frysinger <vapier@gentoo.org> AuthorDate: 2021-11-26 18:46:41 +0000 Commit: Mike Frysinger <vapier@gentoo.org> CommitDate: 2021-11-26 18:46:41 +0000 sys-libs/glibc: remove deps on implicit system packages These packages are guaranteed to exist as part of implicit system, so there's no need to list them here, and we want to keep the C lib deps minimal to avoid circular deps. Closes: https://bugs.gentoo.org/740750 Signed-off-by: Mike Frysinger <vapier@gentoo.org> sys-libs/glibc/glibc-2.32-r8.ebuild | 15 --------------- sys-libs/glibc/glibc-2.33-r1.ebuild | 15 --------------- sys-libs/glibc/glibc-2.33-r7.ebuild | 15 --------------- sys-libs/glibc/glibc-2.34-r2.ebuild | 15 --------------- sys-libs/glibc/glibc-9999.ebuild | 15 --------------- 5 files changed, 75 deletions(-)
I am asking you to explain what problem removing the deps solves.
(In reply to Mike Gilbert from comment #8) and the answer is the same for why we have implicit system in the first place. i also lightly touched on it in the commit message. if you want to add these useless deps everywhere, then start a gentoo-dev thread arguing why we should get rid of implicit system.
The devmanual states that packages that are in the system set should declare all of their dependencies. glibc is in the system set, so this rule should apply.
Seriously you could have maybe bothered to ask why it was added. Reverted, and please DO NOT TOUCH glibc again without my explicit OK. (In reply to Larry the Git Cow from comment #7) > The bug has been closed via the following commit(s): > > https://gitweb.gentoo.org/repo/gentoo.git/commit/ > ?id=f4ad4f8f0fa05e7504efb3ef6ef46a650b47a4d6 > > commit f4ad4f8f0fa05e7504efb3ef6ef46a650b47a4d6 > Author: Mike Frysinger <vapier@gentoo.org> > AuthorDate: 2021-11-26 18:46:41 +0000 > Commit: Mike Frysinger <vapier@gentoo.org> > CommitDate: 2021-11-26 18:46:41 +0000 > > sys-libs/glibc: remove deps on implicit system packages > > These packages are guaranteed to exist as part of implicit system, > so there's no need to list them here, and we want to keep the C lib > deps minimal to avoid circular deps. > > Closes: https://bugs.gentoo.org/740750 > Signed-off-by: Mike Frysinger <vapier@gentoo.org> > > sys-libs/glibc/glibc-2.32-r8.ebuild | 15 --------------- > sys-libs/glibc/glibc-2.33-r1.ebuild | 15 --------------- > sys-libs/glibc/glibc-2.33-r7.ebuild | 15 --------------- > sys-libs/glibc/glibc-2.34-r2.ebuild | 15 --------------- > sys-libs/glibc/glibc-9999.ebuild | 15 --------------- > 5 files changed, 75 deletions(-)
If these dependencies were even to be there, then: - It seems that sys-apps/sed, sys-apps/coreutils (cat, mkdir, rm) are missing. - Conditional groups of dependencies seem misplaced: For "!compile-locales? ( ... )", IDEPEND is appropriate. For "compile-locales? ( ... )", BDEPEND is appropriate.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7136745d79a64d955e30a114c0874240d0f274bb commit 7136745d79a64d955e30a114c0874240d0f274bb Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2023-05-06 22:44:58 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2023-05-06 22:44:58 +0000 sys-libs/glibc: Try to sort out dependencies Closes: https://bugs.gentoo.org/740750 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> sys-libs/glibc/glibc-9999.ebuild | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-)