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

Bug 461848

Summary: kernel-2.eclass - sys-devel/bc should be a kernel sources dependency
Product: Gentoo Linux Reporter: A. Person <tesoro302>
Component: [OLD] Core systemAssignee: Gentoo Kernel Miscellaneous <kernel-misc>
Status: RESOLVED FIXED    
Severity: normal CC: alexxy, kernel, ravener
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description A. Person 2013-03-15 19:42:16 UTC
sys-devel/bc is now required in order to compile the kernel so it should be added as a dependency of the kernel packages.

BC      kernel/timeconst.h
/bin/sh: bc: command not found
make[1]: *** [kernel/timeconst.h] Error 127
make: *** [kernel] Error 2

Reproducible: Always
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-03-15 20:40:23 UTC
Which kernel package and version? Could you provide your config file?

For instance, I can't reproduce this on =sys-kernel/gentoo-sources-3.8.3.
Comment 2 A. Person 2013-03-18 21:52:28 UTC
The kernel that fails to compile for me is git-sources-3.9-rc2.  I think this indicates that bc is now required:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=70730bca1331fc50c3caacaea00439de1325bd6e
Comment 3 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-03-20 06:41:59 UTC
*** Bug 462420 has been marked as a duplicate of this bug. ***
Comment 4 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-03-20 07:55:01 UTC
+  20 Mar 2013; Tom Wijsman <TomWij@gentoo.org> kernel-2.eclass:
+  Added sys-devel/bc as a RDEPEND as per bug #461848.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2013-08-07 12:36:47 UTC
*** Bug 479804 has been marked as a duplicate of this bug. ***