Bug 194436 - sys-fs/fuse-2.7.0 doesn't compile with kernel 2.6.23
|
Bug#:
194436
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: genstef@gentoo.org
|
Reported By: ravi@p-static.net
|
|
Component: Core system
|
|
|
URL:
|
|
Summary: sys-fs/fuse-2.7.0 doesn't compile with kernel 2.6.23
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-10-01 19:41 0000
|
Seems to be caused by the args to kmem_cache_create changing in 2.6.23.
.....................................................
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
make -C /usr/src/linux M=`pwd` O=/lib/modules/2.6.23-rc7/build modules
make[1]: Entering directory `/usr/src/linux-2.6.23-rc7'
CC [M] /var/tmp/portage/sys-fs/fuse-2.7.0/work/fuse-2.7.0/kernel/dev.o
/var/tmp/portage/sys-fs/fuse-2.7.0/work/fuse-2.7.0/kernel/dev.c: In function
‘fuse_dev_init’:
/var/tmp/portage/sys-fs/fuse-2.7.0/work/fuse-2.7.0/kernel/dev.c:1098: error:
too many arguments to function ‘kmem_cache_create’
make[3]: *** [/var/tmp/portage/sys-fs/fuse-2.7.0/work/fuse-2.7.0/kernel/dev.o]
Error 1
make[2]: ***
[_module_/var/tmp/portage/sys-fs/fuse-2.7.0/work/fuse-2.7.0/kernel] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.23-rc7'
make: *** [all-spec] Error 2
*
* ERROR: sys-fs/fuse-2.7.0 failed.
* Call stack:
* ebuild.sh, line 1684: Called dyn_compile
* ebuild.sh, line 1020: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* fuse-2.7.0.ebuild, line 53: Called linux-mod_src_compile
* linux-mod.eclass, line 516: Called die
* The specific snippet of code:
* emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)"
LDFLAGS="$(get_abi_LDFLAGS)" \
* ${BUILD_FIXES} ${BUILD_PARAMS}
${BUILD_TARGETS} \
* || die "Unable to make ${BUILD_FIXES}
${BUILD_PARAMS} ${BUILD_TARGETS}."
* The die message:
* Unable to make majver=2.6
fusemoduledir=//lib/modules/2.6.23-rc7/fs all.
*
* If you need support, post the topmost build error, and the call stack if
relevant.
* A complete build log is located at
'/var/tmp/portage/sys-fs/fuse-2.7.0/temp/build.log'.
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/2.6.23-rc7/build
* Found sources for kernel version:
* 2.6.23-rc7
* Checking for suitable kernel configuration options...
* You need to build the FUSE module from the kernel source, because your
kernel is too new
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.
* Once you have satisfied these options, please try merging
* this package again.
*
* ERROR: sys-fs/fuse-2.7.0 failed.
You need to build the FUSE module from the kernel source, because your
kernel is too new
maybe I was not obvious enough :((
Can you suggest an alternative Text that you would understand?
Yeah, I got that part. :p I just thought maybe there was something else to the
ebuild you posted, since surely you wouldn't go through the trouble of posting
a modified ebuild just to tell me that.
Well, it's working now in any case.
well, I posted it for later committing it. I committed it now :) thanks