Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96901 - davfs2 uses patch to remove --with-kernel-source option, but kernel source is needed for 2.6 kernels.
Summary: davfs2 uses patch to remove --with-kernel-source option, but kernel source is...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-23 15:40 UTC by Stuart Grimshaw
Modified: 2005-07-11 08:45 UTC (History)
2 users (show)

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


Attachments
Adds a check for kernel version before patching. (davfs2.ebuild.path,358 bytes, patch)
2005-06-23 15:42 UTC, Stuart Grimshaw
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Grimshaw 2005-06-23 15:40:03 UTC
Without the --with-kernel-src option, davfs2 builds to use the CODA2 protocol,
but 2.6 kernels come with CODA3.

My solution was to check for a 2.4 kernel & only do that patch if it is.

See attached patch.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Stuart Grimshaw 2005-06-23 15:42:16 UTC
Created attachment 61808 [details, diff]
Adds a check for kernel version before patching.
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2005-07-09 15:03:53 UTC
The problem with 2.6 kernels is that they can be configured to support either
CODA2 or CODA3 (I don't know how it works with 2.4 -- is there an option to
select CODA2/3 support, or do the 2.4 kernels support only a single version of
the protocol?). If the user happens to have the kernel compiled with
CONFIG_CODA_FS_OLD_API=n, everything works just fine. However, if he sets
CONFIG_CODA_FS_OLD_API to y, things start to break (davfs builds against CODA3,
and the kernel only supports CODA2).
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2005-07-10 12:05:49 UTC
So you are telling me that the ebuild does not work for 2.4 or for 2.6 kernels?

I am confused because as I understand you mean it does not work on 2.6, but it
works on my 2.6-kernel.
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2005-07-11 08:45:59 UTC
thanks, fixed