Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 131333

Summary: openafs-1.4.1 fails on x86 with kernel 2.6.14-gentoo-r2
Product: Gentoo Linux Reporter: Mike Hammill <michael>
Component: Current packagesAssignee: Stefaan De Roeck (RETIRED) <stefaan>
Status: RESOLVED FIXED    
Severity: normal CC: mmokrejs
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mike Hammill 2006-04-26 06:07:48 UTC
Compiler (i686-pc-linux-gnu-3.4.5) gives up on compiling ./src/aklog/asetkey.c in net-fs/openafs-1.4.1:
asetkey.c: In function `main':
asetkey.c:85: error: structure has no member named `length'
asetkey.c:87: error: structure has no member named `length'
asetkey.c:91: error: structure has no member named `contents'

* Same machine is running openafs-1.4.0-r3 with heimdal successfully.
* Compile log too large to attach, let me know if you want it.  
* Machine is running 2.6.14-gentoo-r2
/Mike
Comment 1 Stefaan De Roeck (RETIRED) gentoo-dev 2006-04-26 23:56:36 UTC
I cannot currently reproduce this on my stable amd64.

Could you please provide the output of "emerge --info", the version of heimdal, and the last couple of relevant lines of your compile log (I probably don't need all of it, but at least everything starting from the first error, including the compilation command leading to that).

Thanks
Comment 2 Stefaan De Roeck (RETIRED) gentoo-dev 2006-04-27 00:17:14 UTC
Oops, seems like I made an error while trying to reproduce. I get the same error now, looking into this...
Comment 3 Mike Hammill 2006-04-27 02:02:25 UTC
OK, then, I will hold off on sending emerge --info, etc.  By the way, I have a newly installed x86 machine running openafs-1.4.0-r2 and kernel 2.6.16-gentoo-r3.  Should you want me to try openafs-1.4.1 on that, let me know.  On all machine I run heimdal-0.7.2
Comment 4 Stefaan De Roeck (RETIRED) gentoo-dev 2006-04-27 03:17:19 UTC
I would like to point to:
http://www.mail-archive.com/openafs-devel@openafs.org/msg08026.html

short read: problem caused by using heimdal (mit-krb5 works).  Heimdal-users don't need the utility specified here, because they have "ktutil".  Unknown when (or whether) someone will be fixing this.

I'm currently not sure what the best course of action would be...
Comment 5 Martin Mokrejš 2006-05-04 14:13:35 UTC
Have same problem, just disable building asetkey when heimdal is installed?
Comment 6 Stefaan De Roeck (RETIRED) gentoo-dev 2006-05-09 22:52:04 UTC
Upstream says it was already meant to be disabled automatically on a system with heimdal. I expect some fix quite soon. 
Comment 7 Stefaan De Roeck (RETIRED) gentoo-dev 2006-05-25 17:55:12 UTC
Fixed by adding a patch in openafs-1.4.1-r1