Gentoo Archives: gentoo-dev

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] linux-info.eclass: check_extra_config requires a configured kernel
Date: Sat, 05 Nov 2011 23:15:55
Message-Id: 20111105231459.GC1846@orbis-terrarum.net
In Reply to: Re: [gentoo-dev] linux-info.eclass: check_extra_config requires a configured kernel by "Robin H. Johnson"
1 On Fri, Nov 04, 2011 at 09:16:13PM +0000, Robin H. Johnson wrote:
2 > - Does the package _build_ kernel modules?
3 > Yes: .config is required.
4 > No: .config is NOT required. All options must have '~' prefix.
5 > - Does the package use the options specified _during_ src_configure,
6 > src_compile, src_test process?
7 > (eg there's a testsuite that uses namespaces).
8 > Yes: .config/config.gz may not be available, devise an actual test
9 > that tries to use the option.
10 > No: Just keep the ~ prefix on the option.
11 I've just checked _every_ ebuild in the tree that:
12 (used CONFIG_CHECK with non-~ arguments)
13 AND
14 (did not inherit linux-mod).
15 I've fixed almost all of them.
16
17 Testcase was building on a system with no /usr/src, no /proc/config*.
18
19 I fixed one or more ebuilds in each of the following packages:
20 app-emulation/spice-vdagent
21 gnome-extra/nautilus-dropbox
22 net-misc/iodine
23 net-wireless/madwimax
24 sys-block/open-iscsi
25
26 I did NOT fix:
27 www-client/chromium-16.0.912.15 (failed to build for unrelated reasons).
28
29 TODO:
30 - Look for ebuilds that call the check functions manually.
31 - Check all ebuilds inheriting linux-mod, with USE=-modules.
32
33 --
34 Robin Hugh Johnson
35 Gentoo Linux: Developer, Trustee & Infrastructure Lead
36 E-Mail : robbat2@g.o
37 GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85