Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 483480 - x11-drivers/nvidia-drivers-325.15 dont compile on sys-kernel/vanilla-sources-3.11.0
Summary: x11-drivers/nvidia-drivers-325.15 dont compile on sys-kernel/vanilla-sources-...
Status: RESOLVED DUPLICATE of bug 447566
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-03 12:41 UTC by Marko Weber Bürgermeister
Modified: 2013-09-11 18:18 UTC (History)
0 users

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


Attachments
patch for 3.11 (nvidia-3.11.patch,508 bytes, patch)
2013-09-03 20:32 UTC, Harris Landgarten
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marko Weber Bürgermeister 2013-09-03 12:41:31 UTC
when using latest vanilla-sources 3.11.0 nvidia-drivers dont compile.

make[2]: *** [/var/tmp/portage/x11-drivers/nvidia-drivers-325.15/work/kernel/os-interface.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /raid6/src/linux-3.11.0/arch/x86/include/asm/uaccess.h:539:0,
                 from include/linux/poll.h:11,
                 from /var/tmp/portage/x11-drivers/nvidia-drivers-325.15/work/kernel/nv-linux.h:97,
                 from /var/tmp/portage/x11-drivers/nvidia-drivers-325.15/work/kernel/os-registry.c:15:
/raid6/src/linux-3.11.0/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/raid6/src/linux-3.11.0/arch/x86/include/asm/uaccess_64.h:62:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
make[1]: *** [_module_/var/tmp/portage/x11-drivers/nvidia-drivers-325.15/work/kernel] Fehler 2
make[1]: Leaving directory `/raid6/src/linux-3.11.0'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make: *** [module] Fehler 1
 * ERROR: x11-drivers/nvidia-drivers-325.15 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-325.15'`,
 * the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-325.15'`.
 * The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-325.15/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-325.15/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-drivers/nvidia-drivers-325.15/work/kernel'
 * S: '/var/tmp/portage/x11-drivers/nvidia-drivers-325.15/work/'

>>> Failed to emerge x11-drivers/nvidia-drivers-325.15, Log file:

>>>  '/var/tmp/portage/x11-drivers/nvidia-drivers-325.15/temp/build.log'
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-09-03 13:12:14 UTC
(Quoting Doug Goldstein from bug #447566 comment #56)
> It is and has always been Gentoo's policy to support what NVIDIA supports. The current versions of the drivers do not support 3.11. You are more than welcome to use the capabilities of epatch_user (which are present in all the ebuilds) to make the changes yourself but they do not go into the main tree.

*** This bug has been marked as a duplicate of bug 447566 ***
Comment 2 Harris Landgarten 2013-09-03 20:32:01 UTC
Created attachment 357792 [details, diff]
patch for 3.11

This patch from the Nvidia list seems to work.
Comment 3 Marko Weber Bürgermeister 2013-09-03 21:28:51 UTC
(In reply to Harris Landgarten from comment #2)
> Created attachment 357792 [details, diff] [details, diff]
> patch for 3.11
> 
> This patch from the Nvidia list seems to work.

Sorry to ask here, i am confirm with linux, but not how to add this pathc.
Where do i have to place the attachement, and how to apply it?

many thanks

marko
Comment 4 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-09-03 21:50:06 UTC
While we advice you not to, as it voids your support / warranty; you can place it in /etc/portage/patches/x11-drivers/nvidia-drivers/ and emerging the drivers again will apply it. The patch looks quite small; so, it probably doesn't break.
Comment 5 Marko Weber Bürgermeister 2013-09-04 15:44:24 UTC
(In reply to Tom Wijsman (TomWij) from comment #4)
> While we advice you not to, as it voids your support / warranty; you can
> place it in /etc/portage/patches/x11-drivers/nvidia-drivers/ and emerging
> the drivers again will apply it. The patch looks quite small; so, it
> probably doesn't break.

So, better is to wait for a new xx1-drivers/nvidia-drivers in portage??

marko
Comment 6 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-09-04 16:07:17 UTC
(In reply to Marko Weber Bürgermeister from comment #5)
> So, better is to wait for a new xx1-drivers/nvidia-drivers in portage??

Yes, likely; unless you have a very specific reason to run 3.11 instead of 3.10.