Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194436 - sys-fs/fuse-2.7.0 doesn't compile with kernel 2.6.23
Summary: sys-fs/fuse-2.7.0 doesn't compile with kernel 2.6.23
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-01 19:41 UTC by Ravi Pinjala
Modified: 2007-10-02 18:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fuse-2.7.0.ebuild (fuse-2.7.0.ebuild,2.22 KB, text/plain)
2007-10-01 20:13 UTC, Stefan Schweizer (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ravi Pinjala 2007-10-01 19:41:10 UTC
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'.
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2007-10-01 20:13:22 UTC
Created attachment 132336 [details]
fuse-2.7.0.ebuild

can you please try this ebuild?
Comment 2 Ravi Pinjala 2007-10-01 23:29:13 UTC
 * 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.

Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2007-10-02 07:58:06 UTC
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?
Comment 4 Ravi Pinjala 2007-10-02 17:44:24 UTC
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.
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2007-10-02 18:19:02 UTC
well, I posted it for later committing it. I committed it now :) thanks