Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVE]Failed to emerge x11-drivers/nvidia-drivers-355.06-r1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Mon Aug 31, 2015 8:21 am    Post subject: [SOLVE]Failed to emerge x11-drivers/nvidia-drivers-355.06-r1 Reply with quote

I was trying to rebuild nvidia for a new kernel 4.2.0 and...
(there is no problem with this driver for kernel 4.1.6)
Code:
make -f /usr/src/linux-4.2.0-gentoo/scripts/Makefile.modpost
  find /mnt/video/tmp/portage/x11-drivers/nvidia-drivers-355.06-r1/work/kernel/.tmp_versions -name '*.mod' | xargs -r grep -h '\.ko$' | sort -u | sed 's/\.ko$/.o/' | scripts/mod/modpost   -i ./Module.symvers -I /mnt/video/tmp/portage/x11-drivers/nvidia-drivers-355.06-r1/work/kernel/Module.symvers  -o /mnt/video/tmp/portage/x11-drivers/nvidia-drivers-355.06-r1/work/kernel/Module.symvers -S -w  -s -T -
FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'flush_workqueue'
/usr/src/linux-4.2.0-gentoo/scripts/Makefile.modpost:90: recipe for target '__modpost' failed
make[3]: *** [__modpost] Error 1
/usr/src/linux-4.2.0-gentoo/Makefile:1389: recipe for target 'modules' failed
make[2]: *** [modules] Error 2
make[2]: Leaving directory '/usr/src/linux-4.2.0-gentoo'
Makefile:146: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-4.2.0-gentoo'
Makefile:81: recipe for target 'modules' failed
make: *** [modules] Error 2
 * ERROR: x11-drivers/nvidia-drivers-355.06-r1::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-355.06-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-355.06-r1::gentoo'`.
 * The complete build log is located at '/mnt/video/tmp/portage/x11-drivers/nvidia-drivers-355.06-r1/temp/build.log'.
 * The ebuild environment file is located at '/mnt/video/tmp/portage/x11-drivers/nvidia-drivers-355.06-r1/temp/environment'.
 * Working directory: '/mnt/video/tmp/portage/x11-drivers/nvidia-drivers-355.06-r1/work/kernel'
 * S: '/mnt/video/tmp/portage/x11-drivers/nvidia-drivers-355.06-r1/work/'

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

>>>  '/mnt/video/tmp/portage/x11-drivers/nvidia-drivers-355.06-r1/temp/build.log'

 * Messages for package x11-drivers/nvidia-drivers-355.06-r1:

 * Gentoo supports kernels which are supported by NVIDIA
 * which are limited to the following kernels:
 * <sys-kernel/gentoo-sources-4.2
 * <sys-kernel/vanilla-sources-4.2
 *
 * You are free to utilize epatch_user to provide whatever
 * support you feel is appropriate, but will not receive
 * support as a result of those changes.
 *
 * Do not file a bug report about this.

 * Messages for package x11-drivers/nvidia-drivers-355.06-r1:

 * ERROR: x11-drivers/nvidia-drivers-355.06-r1::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-355.06-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-355.06-r1::gentoo'`.
 * The complete build log is located at '/mnt/video/tmp/portage/x11-drivers/nvidia-drivers-355.06-r1/temp/build.log'.
 * The ebuild environment file is located at '/mnt/video/tmp/portage/x11-drivers/nvidia-drivers-355.06-r1/temp/environment'.
 * Working directory: '/mnt/video/tmp/portage/x11-drivers/nvidia-drivers-355.06-r1/work/kernel'
 * S: '/mnt/video/tmp/portage/x11-drivers/nvidia-drivers-355.06-r1/work/'


Last edited by Xywa on Thu Sep 03, 2015 11:53 am; edited 1 time in total
Back to top
View user's profile Send private message
bathtor
n00b
n00b


Joined: 13 Jun 2015
Posts: 6

PostPosted: Tue Sep 01, 2015 8:56 am    Post subject: Reply with quote

See https://forums.geforce.com/default/topic/849487/linux-v4-2-uses-gpl-only-symbol-flush_workqueue-/ for a temporary workaround.
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Thu Sep 03, 2015 11:53 am    Post subject: Reply with quote

Fixed in kernel 4.2.0-gentoo-r1 8) 8) 8)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum