the latest unmasked shfs 0.31-r1 wont build on 2.6 kernels. need unmask a latter version Reproducible: Always Steps to Reproduce:
I'm having the same problem. ------------------------------------------------ philonous ~ # uname -a Linux philonous 2.6.7-gentoo-r13 #5 Fri Aug 20 22:14:12 EDT 2004 i686 AMD Athlon(tm) XP 2000+ AuthenticAMD GNU/Linux philonous ~ # ls -l /usr/src/ total 736 lrwxr-xr-x 1 root root 23 Aug 20 17:21 linux -> linux-2.6.7-gentoo-r13/ philonous ~ # emerge shfs Calculating dependencies ...done! >>> emerge (1 of 1) net-fs/shfs-0.31-r1 to / >>> md5 src_uri ;-) shfs-0.31-1.tar.gz >>> Unpacking source... >>> Unpacking shfs-0.31-1.tar.gz to /var/tmp/portage/shfs-0.31-r1/work * Applying shfs-gentoo-0.31-makefile-root.diff... [ ok ] >>> Source unpacked. make[1]: Entering directory `/var/tmp/portage/shfs-0.31-r1/work/shfs-0.31-1/shfs' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. gcc -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -Wall -I- -I. -I/var/tmp/portage/shfs-0.31-r1/image//lib/modules/2.6.7-gentoo-r13/build/include -I/usr/src/linux/include/ -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -D__KERNEL__ -DLINUX -DDEBUG_LEVEL=0 -c dcache.c -o dcache.o dcache.c:2:31: linux/modversions.h: No such file or directory In file included from /usr/src/linux/include/linux/percpu.h:4, from /usr/src/linux/include/linux/sched.h:31, from /usr/src/linux/include/linux/module.h:10, from dcache.c:6: /usr/src/linux/include/linux/slab.h:86:27: kmalloc_sizes.h: No such file or directory distcc[32273] ERROR: compile dcache.c on phil failed make[1]: *** [dcache.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/shfs-0.31-r1/work/shfs-0.31-1/shfs' make: *** [all] Error 2 !!! ERROR: net-fs/shfs-0.31-r1 failed. !!! Function src_compile, Line 32, Exitcode 2 !!! (no error message) ------------------------------------------------ So I thought I'd be clever and modify the ebuild myself; I added a sed statement to make sure that MODVERSIONS=no in the top-level shfs Makefile. Then I got this: ------------------------------------------------ philonous shfs # emerge shfs Calculating dependencies ...done! >>> emerge (1 of 1) net-fs/shfs-0.31-r1 to / >>> md5 src_uri ;-) shfs-0.31-1.tar.gz >>> Unpacking source... >>> Unpacking shfs-0.31-1.tar.gz to /var/tmp/portage/shfs-0.31-r1/work * Applying shfs-gentoo-0.31-makefile-root.diff... [ ok ] export ROOT MODULESDIR KERNEL_SOURCES MODVERSIONS AMD_CONF_DIR MAN_PAGE_DIR DEBUG export ROOT MODULESDIR KERNEL_SOURCES MODVERSIONS=no >>> Source unpacked. make[1]: Entering directory `/var/tmp/portage/shfs-0.31-r1/work/shfs-0.31-1/shfs' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. gcc -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -Wall -I- -I. -I/var/tmp/portage/shfs-0.31-r1/image//lib/modules/2.6.7-gentoo-r13/build/include -I/usr/src/linux/include/ -DMODULE -D__KERNEL__ -DLINUX -DDEBUG_LEVEL= -c dcache.c -o dcache.o In file included from /usr/src/linux/include/linux/percpu.h:4, from /usr/src/linux/include/linux/sched.h:31, from /usr/src/linux/include/linux/module.h:10, from dcache.c:6: /usr/src/linux/include/linux/slab.h:86:27: kmalloc_sizes.h: No such file or directory In file included from shfs.h:12, from dcache.c:9: shfs_debug.h:4:17: #if with no expression shfs_debug.h:7:17: #if with no expression shfs_debug.h:10:17: #if with no expression distcc[15294] ERROR: compile dcache.c on phil failed make[1]: *** [dcache.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/shfs-0.31-r1/work/shfs-0.31-1/shfs' make: *** [all] Error 2 !!! ERROR: net-fs/shfs-0.31-r1 failed. !!! Function src_compile, Line 38, Exitcode 2 !!! (no error message) ------------------------------------------------ I haven't been able to emerge shfs on any 2.6 machine, though I've only tried getting around the modversion problem one that one machine.
Please try shfs-0.35, by adding the following into /etc/portage/package.keywords =net-fs/shfs-0.35 ~x86 Best regards, Stu
please mark 0.35 stable, its been in portage for 5 months
I agree with comment 3, shfs-0.35 WORKSFORME (stable x86).
shfs-0.35 has been marked stable.