Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 903649 - sys-libs/glibc: Split locale-gen into its own package
Summary: sys-libs/glibc: Split locale-gen into its own package
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-31 20:03 UTC by Raul Rangel
Modified: 2023-05-10 19:22 UTC (History)
1 user (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 Raul Rangel 2023-03-31 20:03:29 UTC
[sys-libs/glibc](https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-libs/glibc/glibc-2.37-r1.ebuild#n136) currently defines app-arch/gzip, sys-apps/grep, app-alternatives/awk, and sys-apps/gentoo-functions as RDEPENDs. libc.so doesn't actually depend on these, but it's really the locale-gen bash script that does. By splitting the package, we can reduce the number of RDEPENDS on such a critical library. This also makes it easier to bootstrap glibc into an empty ROOT because we don't end up with a circular dependency.

https://bugs.gentoo.org/740750 had some concerns about adding the RDEPENDs, I think this proposal will fix that.

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-31 20:28:39 UTC
See also the thread at https://marc.info/?l=gentoo-dev&m=168029168626192&w=2.

I think this is probably worth doing.
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2023-05-06 23:41:54 UTC
Work in progress, see https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2d625742780788bca38a4cc976fe2b515ecde3b
Comment 3 Larry the Git Cow gentoo-dev 2023-05-07 00:02:57 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cb5d0e2319f88c99f7a1a55b74fea0a3066a6d2

commit 2cb5d0e2319f88c99f7a1a55b74fea0a3066a6d2
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2023-05-07 00:01:43 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2023-05-07 00:02:07 +0000

    sys-libs/glibc: switch to external locale-gen
    
    Bug: https://bugs.gentoo.org/903649
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 sys-libs/glibc/glibc-9999.ebuild | 33 +++------------------------------
 1 file changed, 3 insertions(+), 30 deletions(-)
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-08 04:54:39 UTC
We still need to drop it from RDEPEND and move it purely into IDEPEND.
Comment 5 Larry the Git Cow gentoo-dev 2023-05-08 21:29:44 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52550140979f0ea48acd4dde2b6c7ef292629e28

commit 52550140979f0ea48acd4dde2b6c7ef292629e28
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2023-05-08 21:28:54 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2023-05-08 21:29:33 +0000

    sys-libs/glibc: drop locale-gen from RDEPEND
    
    Bug: https://bugs.gentoo.org/903649
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 sys-libs/glibc/glibc-9999.ebuild | 1 -
 1 file changed, 1 deletion(-)
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2023-05-10 19:16:36 UTC
commit 8686f981cd3d2c54826f377138ff793295c5e15d (HEAD -> master, origin/master, origin/HEAD)
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: Wed May 10 21:14:22 2023 +0200
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Wed May 10 21:14:54 2023 +0200

    sys-libs/glibc: keyword 2.37-r3
    
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 sys-libs/glibc/glibc-2.37-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 7 Raul Rangel 2023-05-10 19:22:33 UTC
Awesome, thanks!