Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65965 - shfs 0.31-r1 wont build for 2.6 kernels
Summary: shfs 0.31-r1 wont build for 2.6 kernels
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Stuart Herbert (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 60270
Blocks:
  Show dependency tree
 
Reported: 2004-09-30 16:04 UTC by Ben De luca
Modified: 2004-12-18 16:00 UTC (History)
1 user (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 Ben De luca 2004-09-30 16:04:48 UTC
the latest unmasked shfs 0.31-r1 wont build on 2.6 kernels.

need unmask a latter version

Reproducible: Always
Steps to Reproduce:
Comment 1 Matt Oquist 2004-10-06 10:25:17 UTC
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.
Comment 2 Stuart Herbert (RETIRED) gentoo-dev 2004-10-06 12:05:14 UTC
Please try shfs-0.35, by adding the following into /etc/portage/package.keywords

=net-fs/shfs-0.35 ~x86

Best regards,
Stu
Comment 3 Miles Lubin 2004-11-20 13:44:29 UTC
please mark 0.35 stable, its been in portage for 5 months
Comment 4 Dirkjan Ochtman (RETIRED) gentoo-dev 2004-12-14 03:10:16 UTC
I agree with comment 3, shfs-0.35 WORKSFORME (stable x86).
Comment 5 Stuart Herbert (RETIRED) gentoo-dev 2004-12-18 16:00:46 UTC
shfs-0.35 has been marked stable.