| Summary: | linux-info should not check for module-support when it is not building a module | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Christian Hesse <mail> |
| Component: | New packages | Assignee: | John Mylchreest (RETIRED) <johnm> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | CC: | jkt |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Christian Hesse
2005-10-31 15:34:03 UTC
From `emerge sys-fs/fuse` (~x86 version, but the same check is present in
latest stable as well, iirc):
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.14-gentoo
* Checking for suitable kernel configuration options:
* We have detected FUSE already built into the kernel.
We will continue, but we wont build the module this time.
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.
>>> Unpacking source...
Works fine with siefs. I'd suggest RESOLVED WORKSFORME.
well, jkt you are right but the issue here is different. Linux-info behaves wrong here. To make shure everybody understands what I'm steaking about: * Checking for suitable kernel configuration options: * We have detected FUSE already built into the kernel. We will continue, but we wont build the module this time. * Please check to make sure these options are set correctly. * Failure to do so may cause unexpected problems. This part is ok. * These sources do not support loading external modules. * to be able to use this module please enable "Loadable modules support" * in your kernel, recompile and then try merging this module again. That is what causes the problem. emerge aborts after this message. johnm: any progress with this? if im going to be strict over this, I would suggest splitting the fuse ebuild into fuse-utils and fuse-kernel or some such, since technically speaking linux-mod is doing the correct thing by exiting when it cannot confirm module support.
However, that being said, if you think this is a valid problem for now I would suggest re-defining pkg_setup as follows:
pkg_setup() {
linux-info_pkg_setup;
check_kernel_built;
set_kvobj;
}
If you prefer, throw the question/bug to gentoo-kernel@ and we can bash it out to come up with a finer solution.
|