Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 528244 - kernel-2.eclass should set RDEPEND=app-arch/lz4
Summary: kernel-2.eclass should set RDEPEND=app-arch/lz4
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Kernel Miscellaneous
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-04 17:55 UTC by Thomas Deutschmann (RETIRED)
Modified: 2014-11-05 13:05 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 Deutschmann (RETIRED) gentoo-dev 2014-11-04 17:55:48 UTC
Hi,

compiling any kernel with

  CONFIG_KERNEL_LZ4=y

set will fail without app-arch/lz4:

[...]
  LZ4     arch/x86/boot/compressed/vmlinux.bin.lz4
/bin/sh: lz4c: command not found
arch/x86/boot/compressed/Makefile:69: recipe for target 'arch/x86/boot/compressed/vmlinux.bin.lz4' failed
make[2]: *** [arch/x86/boot/compressed/vmlinux.bin.lz4] Error 1
make[2]: *** Waiting for unfinished jobs....
arch/x86/boot/Makefile:105: recipe for target 'arch/x86/boot/compressed/vmlinux' failed
make[1]: *** [arch/x86/boot/compressed/vmlinux] Error 2
arch/x86/Makefile:249: recipe for target 'bzImage' failed
make: *** [bzImage] Error 2

Tested with =sys-kernel/gentoo-sources-3.17.2.

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-05 13:05:03 UTC
kernel-2.eclass installs kernel sources. It does not set RDEPEND for a lot of optional tools that might be useful. That's why it currently sets RDEPEND on a very small number of *required* tools.

Setting USE flags for them is a lot more involved than simply running `emerge <foo>' as you would end up laboriously re-installing the kernel sources only to get the RDEPEND. Setting a non-optional RDEPEND on those optional tools would make a lot of people very sad.