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

Bug 283572

Summary: x11-drivers/nvidia-drivers 190.25 fails with "uses GPL-only symbol 'lockdep_init_map'"
Product: Gentoo Linux Reporter: Svenne Krap <svenne>
Component: New packagesAssignee: Doug Goldstein (RETIRED) <cardoe>
Status: RESOLVED FIXED    
Severity: normal CC: jer, spock, tacvbo
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Kernel Config

Description Svenne Krap 2009-09-03 06:24:36 UTC
scripts/mod/modpost   -i /usr/src/linux-2.6.30.5/Module.symvers -I /var/tmp/portage/x11-drivers/nvidia-drivers-190.25/work/NVIDIA-Linux-x86_64-190.25-pkg2/usr/src/nv/Module.symvers  -o /var/tmp/portage/x11-drivers/nvidia-drivers-190.25/work/NVIDIA-Linux-x86_64-190.25-pkg2/usr/src/nv/Module.symvers -S -K /usr/src/linux-2.6.30.5/Module.markers -M /var/tmp/portage/x11-drivers/nvidia-drivers-190.25/work/NVIDIA-Linux-x86_64-190.25-pkg2/usr/src/nv/Module.markers -w -c -s
FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'lockdep_init_map'
make[4]: *** [__modpost] Error 1
make[3]: *** [modules] Error 2
make[2]: *** [sub-make] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2


Reproducible: Always

Steps to Reproduce:
1.emerge nvidia-drivers
2.
3.
Comment 1 Bjoern Olausson 2009-09-03 17:57:58 UTC
Same problem here on amd64 and vanilla 2.6.31_rc8

Greetings
Bjoern
Comment 2 Svenne Krap 2009-09-03 19:11:50 UTC
Ups. i forgot.. ~amd64, vanilla-sources-2.6.30.5, gcc4.4.1
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2009-09-07 22:09:20 UTC
Probably needs a config-check patch like the one in bug 283301 .
Comment 4 Octavio Ruiz (Ta^3) 2009-09-15 00:00:09 UTC
Created attachment 204147 [details]
Kernel Config

I think is relevant a kernel config file where this occurs, happens with 190.18 and 190.25 versions. (Have not tested with other versions due bug #279588)
Comment 5 Octavio Ruiz (Ta^3) 2009-09-20 02:17:19 UTC
Same with sys-kernel/gentoo-sources-2.6.30-r6 which includes Linux version 2.6.30.5.
Comment 6 Michal Januszewski (RETIRED) gentoo-dev 2009-09-26 19:12:46 UTC
Added a check to 190.32.  Thanks for reporting the problem.