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