Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 369161 - net-fs/openafs-1.6.0_pre3 build fails with linux-2.6.39
Summary: net-fs/openafs-1.6.0_pre3 build fails with linux-2.6.39
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Stefaan De Roeck (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 371274
Blocks:
  Show dependency tree
 
Reported: 2011-05-29 09:47 UTC by Markus Peloquin
Modified: 2011-06-17 04:24 UTC (History)
2 users (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 Markus Peloquin 2011-05-29 09:47:09 UTC
Once again, openafs breaks on a kernel update.  Short story: this is fixed in openafs-1.6.0_pre4 and _pre5 is available in git.

One change was about BKL removal.  Another was that path_lookup() was no longer available:
http://git.openafs.org/?p=openafs.git&a=search&h=7d162266c4958b22cc45d65e3f204a96c218e5f6&st=commit&s=2.6.39

Oh did you want to see the error message?  It's kind of obvious, but...
make[5]: Entering directory `/usr/src/linux-2.6.39-gentoo'
[...]
  CC [M]  /var/tmp/portage/net-fs/openafs-kernel-1.6.0_pre3/work/openafs-1.6.0pre3/src/libafs/MODLOAD-2.6.39-gentoo-MP/afs_icl.o
/var/tmp/portage/net-fs/openafs-kernel-1.6.0_pre3/work/openafs-1.6.0pre3/src/libafs/MODLOAD-2.6.39-gentoo-MP/afs_icl.c:28:24: fatal error: h/smp_lock.h: No such file or directory
compilation terminated.

I fixed about five of these errors by just removing smp_lock.h includes, and ended up with:
make[5]: Entering directory `/usr/src/linux-2.6.39-gentoo'
[...]
  CC [M]  /var/tmp/portage/net-fs/openafs-kernel-1.6.0_pre3/work/openafs-1.6.0pre3/src/libafs/MODLOAD-2.6.39-gentoo-MP/osi_misc.o
/var/tmp/portage/net-fs/openafs-kernel-1.6.0_pre3/work/openafs-1.6.0pre3/src/libafs/MODLOAD-2.6.39-gentoo-MP/osi_misc.c: In function ‘osi_lookupname_internal’:
/var/tmp/portage/net-fs/openafs-kernel-1.6.0_pre3/work/openafs-1.6.0pre3/src/libafs/MODLOAD-2.6.39-gentoo-MP/osi_misc.c:67:5: error: implicit declaration of function ‘path_lookup’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors

Reproducible: Always
Comment 1 Markus Peloquin 2011-05-29 09:53:16 UTC
I was having difficulty navigating gitweb (and I still am).  I think this is only fixed in 1.6.0_pre5.
Comment 2 Andrej Filipcic 2011-05-30 05:55:09 UTC
It works with openafs-1.6.0_pre5. Will request a revision bump. Till then you can clone openafs-kernel-1.6.0_pre3 to pre5 and it should work fine.
Comment 3 SpanKY gentoo-dev 2011-06-17 04:24:46 UTC
openafs-1.6.0_pre6 is in the tree now