Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 448106 - net-fs/openafs-kernel-1.6.1 with >=gentoo-sources-3.7 - .../work/openafs-1.6.1/src/afs/afs_osi.h:14:21: fatal error: h/param.h: No such file or directory
Summary: net-fs/openafs-kernel-1.6.1 with >=gentoo-sources-3.7 - .../work/openafs-1.6....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Andrej Filipcic
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-21 19:12 UTC by Oliver Freyermuth
Modified: 2013-01-26 18:05 UTC (History)
3 users (show)

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


Attachments
Build log of =net-fs/openafs-kernel-1.6.1-r2 against =gentoo-sources-3.7.1 (build.log,82.99 KB, text/plain)
2012-12-21 19:13 UTC, Oliver Freyermuth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Freyermuth 2012-12-21 19:12:13 UTC
The openafs kernel module fails to build against 3.7 as param.h and ioctl.h have been moved starting with 3.7. 

As param.h and ioctl.h are not really used by openafs, a simple upstream patch dropping the includes has already been generated. It can be fetched from here: 
http://git.openafs.org/?p=openafs.git;a=patch;h=68c8f304d05ab77571f3674e00392740fa66988c

I can confirm that adding this patch to the patches "net-fs/openafs-kernel-1.6.1-r2" already applies fixes compilation. 

Reproducible: Always
Comment 1 Oliver Freyermuth 2012-12-21 19:13:53 UTC
Created attachment 332956 [details]
Build log of =net-fs/openafs-kernel-1.6.1-r2 against =gentoo-sources-3.7.1
Comment 2 enichols 2013-01-03 18:16:18 UTC
I can verify that the error occurs with net-fs/openafs-kernel-1.6.1-r2 and 3.7.1 with linux-headers 3.7
Comment 3 Dale Pontius 2013-01-11 21:04:40 UTC
I confirm this bug.  However due to changing security requirements at work, I may no longer be able to connect my Gentoo systems to the company network, so afs on Gentoo may become moot to me.
Comment 4 Oliver Freyermuth 2013-01-18 23:08:15 UTC
It appears I spoke too soon: This patch actually fixes compilation, but the module cannot load due to changed symbols (kernel_thread => kernel_run, putname). 

I was not able to isolate all needed patches from the current 1.6.x-stable-branch, maybe it is worthwile to switch to the last 1.6.2-pre-release which (according to their commitlog) should be fine with kernel 3.7?
Comment 5 Andrew Savchenko gentoo-dev 2013-01-26 13:23:56 UTC
The same problem with openafs-kernel-1.6.2-r2 and vanilla-sources-3.7.4 here.
I'm voting for pushing the latest openafs-pre-release in portage.
Comment 6 Andrej Filipcic 2013-01-26 13:32:14 UTC
waiting for  #453196 to be committed.
Comment 7 SpanKY gentoo-dev 2013-01-26 18:05:22 UTC
1.6.2_pre3 is in the tree now