Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 479804 - Inability to compile newer kernel due to missing sys-devel/bc for autobuild
Summary: Inability to compile newer kernel due to missing sys-devel/bc for autobuild
Status: RESOLVED DUPLICATE of bug 461848
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Stages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-05 09:01 UTC by tony larch
Modified: 2013-08-07 12:36 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 tony larch 2013-08-05 09:01:45 UTC
The current-stage3-amd64+nomultilib autobuild doesn't include bc, a binary required to compile the linux kernel.
Attempting to compile the kerenel will show: 
BC kernel/timeconst.h
/bin/sh: bc: command not found
make[1]: *** [kernel/timeconst.h] Error 127
make: *** [kernel] Error 2
Comment 1 Michael Weber (RETIRED) gentoo-dev 2013-08-05 09:23:10 UTC
Which kernel package did you install?
It should be defined as RDEPEND of ETYPE=sources kernel packages in kernel-2.eclass line 425 [1].

I'd vote for inclusion in either stage3 or base system personally.

[1] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/kernel-2.eclass?revision=1.287&view=markup
Comment 2 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2013-08-05 11:46:58 UTC
This is not a release issue, but at most, a dependency issue.
Comment 3 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2013-08-05 11:52:41 UTC
I forgot to mention this is an old stage (I'll fix the specs so we get a newer stage).
Comment 4 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-08-06 23:18:03 UTC
Hmm, not sure what the kernel team can do here; why is this our problem and what action do you expect us to take?

I wonder if this is an actual bug, since emerging a package like sys-devel/gentoo-sources should bring in sys-devel/bc; so, why is it missing?

As xmw pointed out, this dependency was added some time ago to kernel-2.eclass.

I think this should be re-assigned to the maintainers of stage3 or base system; if in doubt or there's no agreement, I'd suggest starting a small gentoo-dev ML thread. If I remember correctly I recall from the comment at least for the @system change it is required to do so.

Though, I think it may be more appropriate to only add this to stage3 as there are also users using binary kernels and therefore it is not required to have bc as part of the base of their system.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2013-08-07 12:36:47 UTC
`emerge [gentoo/vanilla]-sources'[1] should get you sys-devel/bc UNLESS you have USE=build, which you shouldn't have.

build - !!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used for creating build images and the first half of bootstrapping [make stage1]



[1] http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=7#doc_chap1

*** This bug has been marked as a duplicate of bug 461848 ***