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

Bug 266710

Summary: net-fs/openafs-kernel-1.4.9 build fails "GPL-incompatible module libafs.ko uses GPL-only symbol '__rcu_read_unlock'"
Product: Gentoo Linux Reporter: Michael Donaghy <md401>
Component: [OLD] UnspecifiedAssignee: Stefaan De Roeck (RETIRED) <stefaan>
Status: RESOLVED FIXED    
Severity: major CC: jinks, net-fs
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Complete build log

Description Michael Donaghy 2009-04-18 23:50:14 UTC
Attempting to emerge openafs-kernel against gentoo-sources-2.6.29-r1, the build fails:
...
  LD [M]  /var/tmp/portage/net-fs/openafs-kernel-1.4.9/work/openafs-1.4.9/src/libafs/MODLOAD-2.6.29-gentoo-r1-mikeyd-MP/libafs.o                                           
  Building modules, stage 2.
  MODPOST 1 modules
FATAL: modpost: GPL-incompatible module libafs.ko uses GPL-only symbol '__rcu_read_unlock'
make[6]: *** [__modpost] Error 1
...

Reproducible: Always

Steps to Reproduce:
Comment 1 Michael Donaghy 2009-04-18 23:51:04 UTC
Created attachment 188841 [details]
Complete build log

Unlikely to be necessary, but here's the log for completeness.
Comment 2 Stefaan De Roeck (RETIRED) gentoo-dev 2009-04-22 06:24:07 UTC
This should hopefully be fixed when I introduce openafs-1.4.10.  
Comment 3 Audiodef 2009-05-17 22:05:50 UTC
Will I have this problem with .29-r4? In other words, does this bug exist for this exact kernel version only? I guess I'll find out soon enough, but I was just wondering. 
Comment 4 Benedikt Reinartz 2009-06-10 13:01:52 UTC
I have the same problem with 1.4.10 (just copied 1.4.9 ebuild and removed the patch lines) and 2.6.30_rc8.
Comment 5 Stefaan De Roeck (RETIRED) gentoo-dev 2009-06-11 19:59:38 UTC
Should be fixed in net-fs/openafs-kernel-1.4.10.
Thanks for reporting!
Comment 6 jINKs 2009-06-18 13:25:52 UTC
this still fails with net-fs/openafs-kernel-1.4.10 and sys-kernel/gentoo-sources-2.6.30-r1.

The error is the same:
FATAL: modpost: GPL-incompatible module libafs.ko uses GPL-only symbol '__rcu_read_unlock'