On Fri, Nov 4, 2011 at 3:46 PM, Mike Gilbert <[email protected]> wrote: > > It is good that we warn users about this when they install the package, > but I don't think the ebuild should die.
I've always found ebuilds dying at kernel config checks really annoying. Checking kernel features at build time (if we die) is broken and should be banned IMO: 1) in case of packages not needing kernel headers for building (but just checking for a feature) a) this breaks the compilation inside chroots on build servers where the goal is to just build the package (hint: binpkgs) b) it is anyway unable to reliably check if the feature is actually available or not (/proc/config.gz might be unavailable, as well as kernel sources or headers) 2) in case of packages needing kernel headers (or sources) for building a) doing the check in pkg_setup() breaks binpkgs support (the check becomes part of a build time task, and not install time) I'm sure there are other reasons as well... -- Fabio Erculiani http://lxnay.com
