Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 574050 - Genkernel missing bc as dependency
Summary: Genkernel missing bc as dependency
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-06 23:14 UTC by Daniel Kicsak
Modified: 2016-02-08 09:47 UTC (History)
1 user (show)

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 Daniel Kicsak 2016-02-06 23:14:05 UTC
Using a fresh installation, I installed genkernel and gentoo-sources. Upon finishing up with menuconfig, compilation failed of the kernel. The error stated `/bin/sh: bc: command not found`.

I ran `which bc` which stated there was no bc command found on my system. I also did `emerge --search bc`, which showed there also was no sys-devel/bc installed on the system.

The workaround for this is pretty simple. I needed to install sys-devel/bc. I however believe that this should be a dependency of genkernel since it's a direct linux kernel requirement. In particular, some files such as https://github.com/torvalds/linux/blob/master/kernel/time/timeconst.bc require it.

The stage3 I installed was 20160204 and the version of genkernel I am using is 3.4.52.4. This seems to be an issue effecting all versions within the portage tree.
Comment 1 Sergey Popov gentoo-dev 2016-02-08 09:47:13 UTC
Genkernel does not need bc, but gentoo-sources does - it needs for kernel buildsystem.

All kernel sources ebuilds depends on sys-devel/bc