Summary: | x11-drivers/nvidia-drivers-370.23 - .../work/kernel/nvidia/nv-frontend.c:16:0: fatal error: opening dependency file nv-frontend.d: Permission denied | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | eu9gu4 |
Component: | Current packages | Assignee: | David Seifert <soap> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alex_y_xu, bkohler, brainkiller_01, gentoobugs, ionen, main.haarp, O01eg, vax456 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 591832 | ||
Bug Blocks: | |||
Attachments: | logs.tar.bz2 |
Description
eu9gu4
2016-08-18 23:09:28 UTC
Do not copy arch teams on bug reports. Please attach a full build log and provide emerge --info. Created attachment 443756 [details]
logs.tar.bz2
Comment on attachment 443756 [details]
logs.tar.bz2
- log of failed build with kernel 4.7.1
- log of successful build with kernel 4.6.7
- output of emerge --info
Can confirm. I'm also having this issue for kernel 4.7.1 and nvidia-drivers 370.23. I found this somewhere in Twitter: https://twitter.com/Cynede/status/765879300348342272?lang=es A workaround: install the previous version (367.35-r1) and then apply this patch: http://pastebin.com/cw1tncgm Works fine with Kernel 4.7. *** This bug has been marked as a duplicate of bug 586066 *** I can't do anything about your filesystem permissions. I think what's going on here is that kernel 4.7 adds a new option TRIM_UNUSED_KSYMS, and when this is enabled then the nvidia-drivers build tries to create some stuff in /usr/src/linux Maybe nvidia-drivers should CONFIG_CHECK="~!TRIM_UNUSED_KSYMS" ? I can confirm that nvidia-drivers 370.23 merges successfully against kernel 4.7.2 with TRIM_UNUSED_KSYMS=n. *** This bug has been marked as a duplicate of bug 591832 *** *** Bug 591840 has been marked as a duplicate of this bug. *** *** Bug 591832 has been marked as a duplicate of this bug. *** *** Bug 592400 has been marked as a duplicate of this bug. *** *** Bug 593590 has been marked as a duplicate of this bug. *** i confirm x11-drivers/nvidia-drivers-370.28 won't build if TRIM_UNUSED_KSYMS is enabled. I think comment #9 is a good idea. This been fixed for a few years, linux-mod.eclass has: # External modules use kernel symbols (bug #591832) CONFIG_CHECK+=" !TRIM_UNUSED_KSYMS" Closing. |