Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 606862

Summary: sys-apps/kbd-2.0.x is missing RDEPEND on app-arch/gzip, causing errors on embedded
Product: Gentoo Linux Reporter: A. Wilcox (awilfox) <awilfox.gentoo>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Add app-arch/gzip to RDEPEND

Description A. Wilcox (awilfox) 2017-01-23 00:21:14 UTC
Created attachment 460998 [details, diff]
Add app-arch/gzip to RDEPEND

sys-apps/kbd requires gzip at runtime to unpack the keyboard maps.  On embedded profiles, where only 'busybox' is in @system, and also on other profiles where base is not pulled in, a runtime failure is observed:

 * Setting keyboard mode [UTF-8] ...                   [ ok ]
 * Loading key mappings [us] ...
sh: gzip: command not found
sh: gzip: command not found                            [ ok ]


And indeed, running the command manually:

tom ~ # loadkeys -q windowkeys us
sh: gzip: command not found
sh: gzip: command not found


This can also affect merge order during bootstrapping.

Devmanual says: "However, packages which are included in the system target, or are dependencies of system target packages, should generally include a complete dependency list (excluding bootstrap packages). This makes emerge -e system possible when installing from a stage 1 or stage 2 tarball."


Attached patch does fix this.
Comment 1 SpanKY gentoo-dev 2017-01-23 07:51:44 UTC
currently we consider gzip part of @system.  busybox enables the gzip applet.