While compiling kernel on a new system I got: CC arch/x86/vdso/vgetcpu.o VDSO arch/x86/vdso/vdso.so.dbg OBJCOPY arch/x86/vdso/vdso.so AS arch/x86/vdso/vdso.o VDSOSYM arch/x86/vdso/vdso-syms.lds LD arch/x86/vdso/built-in.o LD arch/x86/built-in.o CC kernel/fork.o CC kernel/exec_domain.o CC kernel/panic.o CC kernel/cpu.o CC kernel/exit.o CC kernel/itimer.o HZFILE kernel/hz.bc BC kernel/timeconst.h /bin/sh: bc: command not found make[1]: *** [kernel/timeconst.h] Error 127 make: *** [kernel] Error 2 # emerge -pv sys-devel/bc These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] sys-devel/bc-1.06.95 USE="readline -libedit -static" 284 kB I used stage3-amd64-20131219.tar.bz2. The installation handbook does not mention this package so it should have been made available in th stage3 tarball itself.
This is a direct dependency of *-sources, did you get your kernel sources manually instead of via emerge?
No, I fetched myself vanilla tarball from kernel.org. I have emerged sys-devel/bc meanwhile but will now also emerge vanilla-sources to make portage happy in the future.
(In reply to Martin Mokrejš from comment #2) > No, I fetched myself vanilla tarball from kernel.org. I have emerged > sys-devel/bc meanwhile but will now also emerge vanilla-sources to make > portage happy in the future. No need to emerge *-sources, since you already have emerged bc. This is just a matter of how the Gentoo devs want to setup the stage3 (after all, bc is a whopping 284 kB!). :D
(In reply to Martin Mokrejš from comment #2) > No, I fetched myself vanilla tarball from kernel.org. I have emerged > sys-devel/bc meanwhile but will now also emerge vanilla-sources to make > portage happy in the future. The stage3 builds the packages in system, which do not include bc. If you want to build a kernel in Gentoo, emerge the correct ebuild and it will pull bc. As such, I'm closing this as invalid.
*** Bug 498230 has been marked as a duplicate of this bug. ***
*** Bug 498526 has been marked as a duplicate of this bug. ***
(In reply to Jorge Manuel B. S. Vicetto from comment #4) > (In reply to Martin Mokrejš from comment #2) > > No, I fetched myself vanilla tarball from kernel.org. I have emerged > > sys-devel/bc meanwhile but will now also emerge vanilla-sources to make > > portage happy in the future. > > The stage3 builds the packages in system, which do not include bc. > If you want to build a kernel in Gentoo, emerge the correct ebuild and it > will pull bc. > > As such, I'm closing this as invalid. I never agreed with your resolution. At least WONTFIX should have been chosen in my eyes. Lack of sys-devel/bc only disallows people to use the distribution media as a rescue media to fix their system. Definitely, I don't agree that leaving the small utility out is a good joice, no matter that during normal, full installation, users are supposed to emerge it. We want to use the media for different, non-installation purposes as well. Please do something about that.
Your bug is about stage3 contents, not install media. If you sidestep portage to get packages, you have to handle the deps yourself, there is no bug here.
*** Bug 551344 has been marked as a duplicate of this bug. ***