Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 159092

Summary: sys-fs/fuse fails to compile on dev.c
Product: Gentoo Linux Reporter: Joel Roth <flatface>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Joel Roth 2006-12-25 12:26:56 UTC
When trying to install sys-fs/fuse 2.6.1 (and 2.6.0_rc1):

make -C /usr/src/linux M=`pwd`  O=/lib/modules/2.6.20-rc1-mm1/build modules
make[1]: Entering directory `/usr/src/linux-2.6.20-rc1-mm1'
  CC [M]  /var/tmp/portage/fuse-2.6.1/work/fuse-2.6.1/kernel/dev.o
  CC [M]  /var/tmp/portage/fuse-2.6.1/work/fuse-2.6.1/kernel/dir.o
/var/tmp/portage/fuse-2.6.1/work/fuse-2.6.1/kernel/dev.c:24: warning: 'kmem_cache_t' is deprecated
/var/tmp/portage/fuse-2.6.1/work/fuse-2.6.1/kernel/dev.c: In function 'fuse_request_alloc':
/var/tmp/portage/fuse-2.6.1/work/fuse-2.6.1/kernel/dev.c:46: error: 'SLAB_KERNEL' undeclared (first use in this function)
/var/tmp/portage/fuse-2.6.1/work/fuse-2.6.1/kernel/dev.c:46: error: (Each undeclared identifier is reported only once
/var/tmp/portage/fuse-2.6.1/work/fuse-2.6.1/kernel/dev.c:46: error: for each function it appears in.)
make[3]: *** [/var/tmp/portage/fuse-2.6.1/work/fuse-2.6.1/kernel/dev.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [_module_/var/tmp/portage/fuse-2.6.1/work/fuse-2.6.1/kernel] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.20-rc1-mm1'
make: *** [all-spec] Error 2

!!! ERROR: sys-fs/fuse-2.6.1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  fuse-2.6.1.ebuild, line 48:   Called linux-mod_src_compile
  linux-mod.eclass, line 510:   Called die

!!! Unable to make  majver=2.6
                          fusemoduledir=//lib/modules/2.6.20-rc1-mm1/fs all.
!!! If you need support, post the topmost build error, and the call stack if relevant.



emerge --info:

Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.20-rc1-mm1 i686)
=================================================================
System uname: 2.6.20-rc1-mm1 i686 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System version 1.12.6
Last Sync: Mon, 25 Dec 2006 20:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/break-my-gentoo-main"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aiglx alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol berkdb bitmap-fonts cli cracklib crypt cups dlloader dri dvd elibc_glibc flac fortran gdbm gpm iconv input_devices_keyboard input_devices_mouse ipv6 isdnlog kernel_linux libg++ mp3 ncurses nls nptl nptlonly nvidia opengl pam pcre perl ppds pppd python quicktime readline real reflection sdl session spl sse sse2 ssl svga tcpd theroa truetype-fonts type1-fonts udev unicode userland_GNU video_cards_nvidia win32codecs xine xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS




Any help would be greatly appreciated. Thanks.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-26 02:49:52 UTC
Reopen if you can reproduce with a supported kernel:

http://www.gentoo.org/doc/en/gentoo-kernel.xml#doc_chap2
Comment 2 Joel Roth 2006-12-27 12:05:53 UTC
I require a kernel running reiser4. Aren't there any other solutions?
Comment 3 Joel Roth 2006-12-27 12:13:17 UTC
Please ignore that. I just noticed that FUSE support is already in the -mm patchset.

Is there a way for the ebuild to notify the end-user of this when they try to build fuse with a -mm kernel active?

Thanks.