Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 556434 - kernels depend on sys-devel/bc to build
Summary: kernels depend on sys-devel/bc to build
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-01 07:38 UTC by Matthew Thode ( prometheanfire )
Modified: 2015-08-03 15:14 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 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-08-01 07:38:04 UTC
try making a kernel without it (it should be a rdep I think)

Reproducible: Always
Comment 1 Mike Pagano gentoo-dev 2015-08-01 14:40:56 UTC
Hi, Matthew,

Did you take a look at the eclass and see why whatever kernel you were trying to build failed?

For ETYPE=sources and !build bc is pulled in as a rdep.

Can you tell me what you were trying to build? That might help troubleshoot this a bit.
Comment 2 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-08-01 18:49:50 UTC
This was just me installing the sources and compiling manually, don't want portage to build it.
Comment 3 Mike Pagano gentoo-dev 2015-08-02 12:13:40 UTC
Sorry, Matt. I'm confused. When does portage 'build' kernels?
Comment 4 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-08-03 07:01:14 UTC
Might be confused myself.

I installed kernel sources (bc was not pulled in).
I then tried to manually compile the kernel (which failed due to the lack of bc).
Comment 5 Mike Pagano gentoo-dev 2015-08-03 13:00:53 UTC
Ah, ok. Can you tell me which sources it was?
Comment 6 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-08-03 13:58:35 UTC
this was pretty sure this was gentoo-sources.  but if we are adding a rdep to something I'd add it to the virtual probably.
Comment 7 Mike Pagano gentoo-dev 2015-08-03 14:32:25 UTC
If the build useflag is not set, bc should be pulled in.

  RDEPEND="!build? (
        >=sys-libs/ncurses-5.2
        sys-devel/make
        dev-lang/perl
        sys-devel/bc
    )"

# equery d bc
 * These packages depend on bc:
sys-kernel/gentoo-sources-3.12.38 (sys-devel/bc)
sys-kernel/gentoo-sources-3.14.48 (!build ? sys-devel/bc)
sys-kernel/gentoo-sources-3.18.19 (!build ? sys-devel/bc)
sys-kernel/gentoo-sources-4.0.9 (!build ? sys-devel/bc)
sys-kernel/gentoo-sources-4.1.0-r1 (!build ? sys-devel/bc)
sys-kernel/gentoo-sources-4.1.3 (!build ? sys-devel/bc)
sys-kernel/vanilla-sources-3.4.0 (sys-devel/bc)
sys-kernel/vanilla-sources-3.10.0 (sys-devel/bc)
sys-kernel/vanilla-sources-3.12.0 (sys-devel/bc)
sys-kernel/vanilla-sources-3.14.0 (sys-devel/bc)
sys-kernel/vanilla-sources-3.18.0 (sys-devel/bc)
sys-kernel/vanilla-sources-4.0.0 (sys-devel/bc)
sys-kernel/vanilla-sources-4.1.0 (sys-devel/bc)
x11-misc/xscreensaver-5.32 (sys-devel/bc)
Comment 8 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-08-03 15:11:20 UTC
I imagine it's the same for hardened-sources?
Comment 9 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-08-03 15:14:45 UTC
Also, build isn't set, but it seems to be pulling it in now, odd.

gonna close then