Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 494952 - stage3-amd64-20131219.tar.bz2 should install sys-devel/bc
Summary: stage3-amd64-20131219.tar.bz2 should install sys-devel/bc
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Stages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
: 498230 498526 551344 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-12-21 14:41 UTC by Martin Mokrejš
Modified: 2015-06-05 23:56 UTC (History)
5 users (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 Martin Mokrejš 2013-12-21 14:41:30 UTC
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.
Comment 1 Ben Kohler gentoo-dev 2013-12-21 14:56:35 UTC
This is a direct dependency of *-sources, did you get your kernel sources manually instead of via emerge?
Comment 2 Martin Mokrejš 2013-12-21 15:07:46 UTC
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.
Comment 3 Bruce Hill 2013-12-21 15:38:55 UTC
(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
Comment 4 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2013-12-22 01:16:34 UTC
(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.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2014-01-16 16:31:58 UTC
*** Bug 498230 has been marked as a duplicate of this bug. ***
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2014-01-19 14:25:45 UTC
*** Bug 498526 has been marked as a duplicate of this bug. ***
Comment 7 Martin Mokrejš 2014-01-19 15:20:58 UTC
(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.
Comment 8 Ben Kohler gentoo-dev 2014-01-19 16:12:10 UTC
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.
Comment 9 Ben Kohler gentoo-dev 2015-06-05 23:56:44 UTC
*** Bug 551344 has been marked as a duplicate of this bug. ***