Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218252 - sys-fs/fuse-2.7.2 kernel module fails to build with kernel 2.6.25
Summary: sys-fs/fuse-2.7.2 kernel module fails to build with kernel 2.6.25
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
Depends on:
Blocks: kernel-2.6.25
  Show dependency tree
Reported: 2008-04-18 11:10 UTC by Vlastimil Babka (Caster) (RETIRED)
Modified: 2008-04-22 22:59 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-04-18 11:10:09 UTC
After trying to increase the version that's checked to >=2.6.26:

 * Preparing fuse module
 * econf: updating fuse-2.7.2/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating fuse-2.7.2/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-kernel=/usr/src/linux --with-kernel-build=/usr/src/linux/output --libdir=/usr/lib --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking kernel source directory... /usr/src/linux
checking kernel build directory... /usr/src/linux/output
checking kernel source version... 2.6.25-gentoo
checking if FUSE is configured in the kernel... no
checking if kernel defines kzalloc function... yes
checking if kernel defines fs_subsys... no
checking whether lookup_instantiate_filp is defined... yes
checking if umount_begin is passed a vfsmount... yes
checking if inode has i_blksize field... no
checking if inode has i_private field... yes
checking if inode has i_mutex field ... yes
checking if kernel has mutex.h ... yes
checking if kernel has exportfs.h ... yes
checking if kernel has BLOCK option ... yes
checking if this is user mode linux... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
make -C /usr/src/linux M=`pwd`  O=/usr/src/linux/output modules
make[1]: Entering directory `/usr/src/linux-2.6.25-gentoo'
  CC [M]  /var/tmp/portage/sys-fs/fuse-2.7.2/work/fuse-2.7.2/kernel/dev.o
  CC [M]  /var/tmp/portage/sys-fs/fuse-2.7.2/work/fuse-2.7.2/kernel/dir.o
  CC [M]  /var/tmp/portage/sys-fs/fuse-2.7.2/work/fuse-2.7.2/kernel/file.o
  CC [M]  /var/tmp/portage/sys-fs/fuse-2.7.2/work/fuse-2.7.2/kernel/inode.o
/var/tmp/portage/sys-fs/fuse-2.7.2/work/fuse-2.7.2/kernel/inode.c:683: error: unknown field ‘read_inode’ specified in initializer
/var/tmp/portage/sys-fs/fuse-2.7.2/work/fuse-2.7.2/kernel/inode.c:938: error: expected ‘)’ before ‘(’ token
/var/tmp/portage/sys-fs/fuse-2.7.2/work/fuse-2.7.2/kernel/inode.c:940: error: expected ‘)’ before ‘(’ token
/var/tmp/portage/sys-fs/fuse-2.7.2/work/fuse-2.7.2/kernel/inode.c:941: error: expected ‘)’ before ‘(’ token
/var/tmp/portage/sys-fs/fuse-2.7.2/work/fuse-2.7.2/kernel/inode.c: In function ‘fuse_sysfs_init’:
/var/tmp/portage/sys-fs/fuse-2.7.2/work/fuse-2.7.2/kernel/inode.c:1009: error: implicit declaration of function ‘subsystem_register’
/var/tmp/portage/sys-fs/fuse-2.7.2/work/fuse-2.7.2/kernel/inode.c:1009: error: ‘fs_subsys’ undeclared (first use in this function)
/var/tmp/portage/sys-fs/fuse-2.7.2/work/fuse-2.7.2/kernel/inode.c:1009: error: (Each undeclared identifier is reported only once
/var/tmp/portage/sys-fs/fuse-2.7.2/work/fuse-2.7.2/kernel/inode.c:1009: error: for each function it appears in.)
/var/tmp/portage/sys-fs/fuse-2.7.2/work/fuse-2.7.2/kernel/inode.c:1014: error: implicit declaration of function ‘kobj_set_kset_s’
/var/tmp/portage/sys-fs/fuse-2.7.2/work/fuse-2.7.2/kernel/inode.c:1014: error: ‘fuse_subsys’ undeclared (first use in this function)
/var/tmp/portage/sys-fs/fuse-2.7.2/work/fuse-2.7.2/kernel/inode.c:1023: error: ‘connections_subsys’ undeclared (first use in this function)
/var/tmp/portage/sys-fs/fuse-2.7.2/work/fuse-2.7.2/kernel/inode.c:1034: error: implicit declaration of function ‘subsystem_unregister’
/var/tmp/portage/sys-fs/fuse-2.7.2/work/fuse-2.7.2/kernel/inode.c: In function ‘fuse_sysfs_cleanup’:
/var/tmp/portage/sys-fs/fuse-2.7.2/work/fuse-2.7.2/kernel/inode.c:1044: error: ‘connections_subsys’ undeclared (first use in this function)
/var/tmp/portage/sys-fs/fuse-2.7.2/work/fuse-2.7.2/kernel/inode.c:1045: error: ‘fuse_subsys’ undeclared (first use in this function)
/var/tmp/portage/sys-fs/fuse-2.7.2/work/fuse-2.7.2/kernel/inode.c:1047: error: ‘fs_subsys’ undeclared (first use in this function)
make[3]: *** [/var/tmp/portage/sys-fs/fuse-2.7.2/work/fuse-2.7.2/kernel/inode.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [_module_/var/tmp/portage/sys-fs/fuse-2.7.2/work/fuse-2.7.2/kernel] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25-gentoo'
make: *** [all-spec] Error 2
 * ERROR: sys-fs/fuse-2.7.2 failed.
 * Call stack:
 *     , line   49:  Called src_compile
 *             environment, line 3454:  Called linux-mod_src_compile
 *             environment, line 2706:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"                                               CC=\"$(get-KERNEL_CC)\"                       LDFLAGS=\"$(get_abi_LDFLAGS)\"                                           ${BUILD_FIXES}                                          ${BUILD_PARAMS}       ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc LDFLAGS=  majver=2.6                                         fusemoduledir="/"/lib/modules/2.6.25-gentoo/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/log/portage/sys-fs:fuse-2.7.2:20080418-110902.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-fs/fuse-2.7.2/temp/environment'.
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-04-18 11:10:20 UTC
Portage 2.1.5_rc4 (default-linux/x86/2007.0/desktop, gcc-4.2.3, glibc-2.7-r2, 2.6.24-gentoo-r5 i686)
System uname: 2.6.24-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1.60GHz
Timestamp of tree: Fri, 18 Apr 2008 07:15:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.5.1-r5
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
CFLAGS="-O2 -march=pentium-m -pipe"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests ccache collision-protect distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
LINGUAS="en cs"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/usr/portage/local/crossdev /usr/portage/local/caster /usr/portage/local/layman/mozilla /usr/portage/local/layman/java-overlay /usr/portage/local/layman/java-experimental"
USE="7zip X a52 aac acl acpi alsa amr ao audiofile bash-completion berkdb blas bluetooth branding bsf bzip2 cairo caps cdr cjk cli cracklib crypt cups curl dbus djvu dri dts dvd dvdr dvdread dvi emboss encode evo fam ffmpeg fftw firefox flac fontconfig fortran gdbm ggi gif gmp gpm gstreamer gtk hal iconv icq idn ipv6 irda isdnlog java java5 javascript jpeg kde kdeenablefinal kdehiddenvisibility kerberos kipi lapack lcms ldap libnotify lm_sensors lua lzo mad maildir matroska mbox midi mikmod mmx mozdevelop moznoirc mp3 mpeg mplayer mudflap musicbrainz ncurses nls nptl nptlonly nsplugin ntfs nvidia obex ogg openal opengl openmp oscar pam pcre pdf perl pmu png ppds pppd python qt3 qt3support qt4 quicktime readline reflection reiserfs rtc ruby sdl seamonkey session slang sockets sound speex spell spl sqlite sse sse2 ssl svg t1lib tcl tcpd tetex threads tiff tk truetype unicode usb v4l vorbis webdav win32codecs x86 xcb xcomposite xine xinerama xml xorg xosd xulrunner xv xvid zlib" ALSA_CARDS="intel8x0 intel8x0m" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en cs" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev v4l"
Comment 2 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-04-18 11:11:31 UTC
2.7.3 is no difference.
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2008-04-20 10:13:09 UTC
Why do you think we have that check? Right, because we wont fix this. Just use the in-kernel module.

There is no bug here.