retitle 421015 openafs-modules-source: [s390] will not compile due to GPL-only 
uaccess
tags 421015 =help
thanks

Bastian Blank <[EMAIL PROTECTED]> writes:

> Package: openafs
> Version: 1.4.4.dfsg1-2
> Severity: serious

> openafs is not buildable against 2.6.18-4 and 2.6.20-1.

> | 
> [...]/openafs-1.4.4.dfsg1/src/libafs/MODLOAD-2.6.20-1-s390x-MP/afs_vnop_flock.c:795:
>  error: dereferencing pointer to incomplete type
> | 
> [...]/openafs-1.4.4.dfsg1/src/libafs/MODLOAD-2.6.20-1-s390x-MP/afs_vnop_flock.c:796:
>  error: dereferencing pointer to incomplete type

I attempted to reproduce this on raptor with 2.6.20-1-s390x and couldn't.
That source file compiles fine for me against the current 2.6.20-1
headers.

However, there is another problem:

  LD [M]  
/home/rra/openafs/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.20-1-s390x-MP/openafs.o
  Building modules, stage 2.
  MODPOST 1 modules
FATAL: modpost: GPL-incompatible module openafs.ko uses GPL-only symbol 
'uaccess'

This is because of http://lkml.org/lkml/2006/9/12/43, which redirects
copy_to_user and friends through a uaccess struct that's now marked
GPL-only.  I believe this means that no module that uses copy_to_user can
be built on s390 any longer unless the module is GPL-licensed.

OpenAFS obviously can't live without copy_to_user, so I think this means
that, at the moment, there's a fundamental incompatibility between OpenAFS
and the current s390 kernel.

-- 
Russ Allbery ([EMAIL PROTECTED])               <http://www.eyrie.org/~eagle/>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to