Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 345269 - x11-drivers/nvidia-drivers-256.53 fails to compile on gentoo-sources-2.6.36
Summary: x11-drivers/nvidia-drivers-256.53 fails to compile on gentoo-sources-2.6.36
Status: RESOLVED DUPLICATE of bug 341975
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-13 09:06 UTC by Dominique Michel
Modified: 2010-11-13 09:17 UTC (History)
0 users

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


Attachments
output of 'emerge --info =x11-drivers/nvidia-drivers-256.53' (emerge.info,14.33 KB, text/plain)
2010-11-13 09:08 UTC, Dominique Michel
Details
environment file (env,162.39 KB, text/plain)
2010-11-13 09:10 UTC, Dominique Michel
Details
build.log (build.log,12.16 KB, text/plain)
2010-11-13 09:14 UTC, Dominique Michel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Michel 2010-11-13 09:06:16 UTC
'emerge nvidia-drivers' fails with:
...
/var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel/nv.c:426: error: unknown field ‘ioctl’ specified in initializer
/var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel/nv.c:426: warning: initialization from incompatible pointer type
make[4]: *** [/var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel/nv.o] Error 1
make[4]: *** Waiting for unfinished jobs....
/var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel/nv-vm.c: In function ‘nv_sg_map_buffer’:
/var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel/nv-vm.c:148: warning: assignment makes integer from pointer without a cast
/var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel/nv-vm.c:233: warning: label ‘done’ defined but not used
/var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel/nv-vm.c:143: warning: unused variable ‘count’
make[3]: *** [_module_/var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel] 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
emake failed

I try with the same kernel to unmask nvidia-drivers-260.19.06 and nvidia-drivers-260.19.12.ebuild. Both compiles fine but give me the same error when I try to modprobe nvidia: ... nvidia.ko   No such device

Reproducible: Always

Steps to Reproduce:
1. configure, compile and install gentoo-sources-2.6.36
2. emerge nvidia-drivers-256.53
3.




tuxstudio ~ # emerge -pqv =x11-drivers/nvidia-drivers-256.53
[ebuild   R   ] x11-drivers/nvidia-drivers-256.53  USE="acpi gtk (multilib) -custom-cflags"
Comment 1 Dominique Michel 2010-11-13 09:08:46 UTC
Created attachment 254187 [details]
output of 'emerge --info =x11-drivers/nvidia-drivers-256.53'
Comment 2 Dominique Michel 2010-11-13 09:10:47 UTC
Created attachment 254189 [details]
environment file
Comment 3 Dominique Michel 2010-11-13 09:14:09 UTC
Created attachment 254191 [details]
build.log

Oops, the precedent was the environment file.
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-11-13 09:17:50 UTC

*** This bug has been marked as a duplicate of bug 341975 ***