Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 562036 - sys-libs/glibc is missing runtime dependencies on app-arch/gzip and app-arch/bzip2
Summary: sys-libs/glibc is missing runtime dependencies on app-arch/gzip and app-arch/...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-02 11:31 UTC by Thomas Brethome
Modified: 2015-10-09 19:14 UTC (History)
0 users

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 Thomas Brethome 2015-10-02 11:31:58 UTC
The localdef tool shipped witch glibc require app-arch/gzip and app-arch/bzip2 to work properly, cf locale/programs/charmap-dir.c:charmap_open() in the glibc source tree.

Reproducible: Always

Steps to Reproduce:
1. Install a gentoo basesystem without gzip
2. try running /usr/bin/localedef -c -i en_US -f UTF-8 -A /usr/share/locale/locale.alias --prefix / en_US.UTF-8

Actual Results:  
localdef is unable to uncompress the gzip'ed character map file in /usr/share/i18n/charmaps and fail to generate the locales (ENOENT No such file or directory)
Comment 1 Michael Palimaka (kensington) gentoo-dev 2015-10-09 11:18:24 UTC
Note that these dependencies are often omitted because they are part of the base system.
Comment 2 SpanKY gentoo-dev 2015-10-09 12:29:32 UTC
indeed.  adding these deps won't improve anything.
Comment 3 Thomas Brethome 2015-10-09 16:26:16 UTC
I would have understood the "part of the base system" argument for a package outside of the toolchain.

This missing dependancy will cause problems if i try to build a custom minimal base system using something like :
ROOT="/mnt/target" emerge --with-bdeps=n --root-deps=rdeps glibc busybox baselayout-lite dropbear
Comment 4 SpanKY gentoo-dev 2015-10-09 19:14:20 UTC
(In reply to Thomas Brethome from comment #3)

if you didn't build busybox w/gzip support, then your setup is broken.  being a toolchain package doesn't mean it can't rely on @system.