Summary: | davfs2 will not build against coda module in gentoo-dev-sources (2.6.x) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jason Vasquez <gentoo-bugs> |
Component: | New packages | Assignee: | Network Filesystems <net-fs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | acid.punk, genstef, gentoo.bugs.10, griffon26, rockoo, tamer, volkris |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
davfs2-0.2.2_p.ebuild
davfs2-0.2.2-r1.ebuild davfs2-2.6.8-patch.diff |
Description
Jason Vasquez
2004-04-07 09:53:23 UTC
Kernel filesystems aren't web-apps thing; can you find another herd for this please? Thanks, Stu On the sorceforge project page there appears to be a patch to build against 2.6. http://sourceforge.net/tracker/?func=detail&aid=911138&group_id=26275&atid=386749 Here is a direct link to the patch. http://ave.sytes.net/~moriyoshi/davfs2-patch.diff I have not tried it myself. Note that this doesn't work for me, patched against both davfs2 0.2.2 and 0.2.1 with kernel 2.6.6-love1 Hm, this isn't a kernel bug, but a davfs2 bug. Please reassign it. Check out http://patearl.net/projects/ for a pre-patched version that does compile against my kernel. And, I don't know, perhaps someone should attach that file to this bug. I don't know if that's appropriate or not... I can confirm that the edition by Chris Carlin fixes the problem, at least for me in here on: Linux perseus 2.6.7-gentoo-r9 #1 SMP Sun Jul 11 21:33:45 MEZ 2004 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz GenuineIntel GNU/Linux .. it works like a charm. is there anything happening here? i still get a compiler error: ... /usr/src/linux/include/linux/time.h:387: error: redefinition of `struct itimerval' src/davfsd.c: In function `main': src/davfsd.c:894: error: incompatible types in assignment src/davfsd.c:895: error: structure has no member named `Unique' src/davfsd.c:921: error: structure has no member named `Unique' src/davfsd.c:959: error: incompatible types in assignment src/davfsd.c:1051: error: structure has no member named `Unique' src/davfsd.c:1067: error: incompatible types in assignment src/davfsd.c:1068: error: structure has no member named `Unique' src/davfsd.c:1082: error: incompatible types in assignment distcc[20664] ERROR: compile src/davfsd.c on localhost failed make: *** [src/davfsd.o] Error 1 make: *** Waiting for unfinished jobs.... distcc[20666] ERROR: compile src/mount.c on localhost failed make: *** [src/mount.o] Error 1 !!! ERROR: net-www/davfs2-0.2.2 failed. !!! Function src_compile, Line 18, Exitcode 2 !!! (no error message) Created attachment 38538 [details] davfs2-0.2.2_p.ebuild This is a patched version from http://patearl.net/projects/ it works for me. Created attachment 38539 [details] davfs2-0.2.2-r1.ebuild This ebuild is different from the above in that it uses the latest official upstream tarball and applies the patch from http://pv105234.reshsg.uci.edu/~jfeise/davfs2-2.6.8-patch.diff Works as well for me. Created attachment 38540 [details]
davfs2-2.6.8-patch.diff
This is the patch needed by the 2nd ebuild davfs2-0.2.2-r1.ebuild only.
i can also confirm that the patch works good with this kernel: gentoo-dev-sources-2.6.8-r3 Any Chance that it will be implementet in an offzial ebuild soon? I can also confirm that davfs is now compiling against my 2.6.9-rc1-mm2 kernel... Works like a charme :-) Thanks a lot! Well, I can also confirm that the patch works kernel: gentoo-dev-sources-2.6.8-r3 Indeed, davfs2-0.2.2-r1.ebuild works like a charm, thanks! maybe some instructions for other people like me that have never before build from a local ebuild file: put davfs2-0.2.2-r1.ebuild into /usr/portage/net-fs/davfs2/ put davfs2-2.6.8-patch.diff into /usr/portage/net-fs/davfs2/files/ $>emerge -av "=davfs2-0.2.2-r1" that's it! I recommend upgrading to version 2.2.3 from the dav.sf.et homepage, it's working flawlessly for me. should be fixed in 0.2.3 |