Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157111 - net-fs/shfs-0.35-r3 fails to compile with gentoo-sources 2.6.19-r1
Summary: net-fs/shfs-0.35-r3 fails to compile with gentoo-sources 2.6.19-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Saleem Abdulrasool (RETIRED)
URL:
Whiteboard:
Keywords:
: 158822 (view as bug list)
Depends on:
Blocks: kernel-2.6.19
  Show dependency tree
 
Reported: 2006-12-04 08:49 UTC by playmiac
Modified: 2007-01-03 21:30 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description playmiac 2006-12-04 08:49:55 UTC
shfs-0.35-r3 fails to compile with gentoo-sources 2.6.19-r1. Works fine with gentoo-sources-2.6.18-r3.

The following error occures (the FEATURES=-sandbox is because bug  http://bugs.gentoo.org/show_bug.cgi?id=149307 is not really fixed in r1)


>>FEATURES=-sandbox emerge --oneshot shfs
Calculating dependencies... done!

>>> Emerging (1 of 1) net-fs/shfs-0.35-r3 to /

...

 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.19-gentoo-r1
 * Checking for suitable kernel configuration options...                                                                        [ ok ]
>>> Unpacking source...
>>> Unpacking shfs-0.35.tar.gz to /var/tmp/portage/net-fs/shfs-0.35-r3/work
 * Applying df.patch ...                                                                                                        [ ok ]
 * Applying shfs-0.35-2.6.18-dentry.patch ...                                                                                   [ ok ]
 * Applying shfs-0.35-clean-inode-clear.patch ...                                                                               [ ok ]
 * Applying shfs-0.35-gcc4.patch ...                                                                                            [ ok ]
 * Applying space_chars.patch ...                                                                                               [ ok ]
 * Applying uidgid32.patch ...                                                                                                  [ ok ]
 * Converting shfs-0.35/shfs/Linux-2.6/Makefile to use M= instead of SUBDIRS= ...                                               [ ok ]
 * Applying shfs-0.35-2.6.16-dentry.patch ...                                                                                   [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-fs/shfs-0.35-r3/work/shfs-0.35 ...
 * Preparing shfs module
make -C /usr/src/linux M=/var/tmp/portage/net-fs/shfs-0.35-r3/work/shfs-0.35/shfs/Linux-2.6 modules
make[1]: Entering directory `/usr/src/linux-2.6.19-gentoo-r1'
  CC [M]  /var/tmp/portage/net-fs/shfs-0.35-r3/work/shfs-0.35/shfs/Linux-2.6/dcache.o
  CC [M]  /var/tmp/portage/net-fs/shfs-0.35-r3/work/shfs-0.35/shfs/Linux-2.6/dir.o
/var/tmp/portage/net-fs/shfs-0.35-r3/work/shfs-0.35/shfs/Linux-2.6/dir.c: In function 'shfs_create':
/var/tmp/portage/net-fs/shfs-0.35-r3/work/shfs-0.35/shfs/Linux-2.6/dir.c:305: error: 'struct inode' has no member named 'u'
/var/tmp/portage/net-fs/shfs-0.35-r3/work/shfs-0.35/shfs/Linux-2.6/dir.c:306: error: 'struct inode' has no member named 'u'
make[2]: *** [/var/tmp/portage/net-fs/shfs-0.35-r3/work/shfs-0.35/shfs/Linux-2.6/dir.o] Error 1
make[1]: *** [_module_/var/tmp/portage/net-fs/shfs-0.35-r3/work/shfs-0.35/shfs/Linux-2.6] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.19-gentoo-r1'
make: *** [default] Error 2

!!! ERROR: net-fs/shfs-0.35-r3 failed.
Call stack:
  ebuild.sh, line 1569:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  shfs-0.35-r3.ebuild, line 61:   Called linux-mod_src_compile
  linux-mod.eclass, line 510:   Called die

!!! Unable to make  -j1 KERNEL_SOURCES=/usr/src/linux default.
!!! If you need support, post the topmost build error, and the call stack if relevant.


emerge --info
Portage 2.1.2_rc2-r4 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.6
Last Sync: Mon, 04 Dec 2006 05:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2 -fomit-frame-pointer"
CHOST="x86_64-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 /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -pipe -O2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.roedu.net/pub/mirrors/gentoo.org/ http://gentoo.mirror.solnet.ch http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.inf.elte.hu/ http://mirror.uni-c.dk/pub/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.solnet.ch/mirror/Gentoo http://mirror.ovh.net/gentoo-distfiles/"
LINGUAS="en fr de it fi sv"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500"
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/local/portage /usr/portage/local/layman/xeffects"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X aac acl alsa amd64 apache2 arts audiofile bash-completion berkdb bitmap-fonts bonobo bzip2 cairo cdr cli cracklib crypt cscope cups curl directfb dlloader dri dv dvd dvdr dvdread elibc_glibc encode esd exif fam ffmpeg flac fortran gd gdbm gif glitz glut gmp gnome gnutls gphoto2 gpm gstreamer gtk gtkhtml guile hal iconv idn imagemagick imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jack java jpeg junit kde kernel_linux lcms ldap libg++ linguas_de linguas_en linguas_fi linguas_fr linguas_it linguas_sv lua mad mhash mikmod mng motif mozilla mp3 mpeg mysql ncurses nls nptl nptlonly nvidia odbc ogg opengl pam pcre perl php plotutils png postgres ppds pppd python qt3 qt4 quicktime readline reflection ruby scanner sdl session slang snmp speex spell spl sqlite ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_fbdev video_cards_nvidia video_cards_vesa vorbis xine xml xml2 xorg xpm xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS
Comment 1 Julien 2006-12-08 02:22:12 UTC
i think you should replace "u.generic_ip" with Replace with "i_private" in inode
Comment 2 Julien 2006-12-08 02:47:12 UTC
there's also problems with writev and readv from file operation, removed from linux kernel...
Comment 3 jerf 2006-12-08 09:06:00 UTC
I can confirm this same error occurs on i386 builds as well.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-12-22 04:26:36 UTC
*** Bug 158822 has been marked as a duplicate of this bug. ***
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2006-12-30 17:45:27 UTC
Saleem,

any objections to me putting shfs in package.mask (for later removal) in favour of sshfs-fuse?

shfs breaks on almost every kernel release and it doesn't look like you have any interest in maintaining it. At least, I've had to waste a lot of time fixing it previously.
Comment 6 Saleem Abdulrasool (RETIRED) gentoo-dev 2007-01-03 21:30:15 UTC
added a patch to compile with the new kernel (in -r4).  This is going to stable in unstable, and I would recommend migrating to sshfs-fuse.