On 12/03/2013 21:06, Grant wrote: >>> My wife and I have identical Dell XPS 13 laptops. I have the config >>> on both as close as possible. We use identical kernel config files, >>> but I can compile git-sources-3.9-rc1 without installing sys-devel/bc >>> and it looks like she can not. Does anyone know why this would >>> happen? >>> >>> BC kernel/timeconst.h >>> /bin/sh: bc: command not found >>> make[1]: *** [kernel/timeconst.h] Error 127 >>> make: *** [kernel] Error 2 >> >> It seems that sys-devel/bc is now required to build the kernel ⁽¹⁾. >> >> On your system, are you sure that you don't have bc installed as a >> dependency of another tool ? > > It turns out I have /usr/bin/bc but portage didn't know about it. > equery says it doesn't belong to any package. Should sys-devel/bc be > in the world file or are the profiles going to add it?
Looks like it's one of those useful packages that doesn't quite make it into @system, but is pulled in as a dep from all sorts of interesting places. Here I get: $ equery depends bc * These packages depend on bc: dev-libs/openssl-0.9.8y (test ? sys-devel/bc) dev-libs/openssl-1.0.1e (test ? sys-devel/bc) net-print/cups-filters-1.0.29-r1 (sys-devel/bc) sci-geosciences/gpsd-3.7 (test ? sys-devel/bc) x11-misc/xscreensaver-5.20 (sys-devel/bc) A useful trick I use on my Gentoo test/dev vms is a defined set called @tools. These all use a shared /etc/portage/ for consistency, so add bc to the set and it is merged everywhere. This helps keep my world free of clutter. -- Alan McKinnon [email protected]

