Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 606862 - sys-apps/kbd-2.0.x is missing RDEPEND on app-arch/gzip, causing errors on embedded
Summary: sys-apps/kbd-2.0.x is missing RDEPEND on app-arch/gzip, causing errors on emb...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-23 00:21 UTC by A. Wilcox (awilfox)
Modified: 2017-01-23 07:51 UTC (History)
0 users

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


Attachments
Add app-arch/gzip to RDEPEND (0001-sys-apps-kbd-Add-app-arch-gzip-to-RDEPEND.patch,1.23 KB, patch)
2017-01-23 00:21 UTC, A. Wilcox (awilfox)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.