Summary: | =x11-drivers/nvidia-drivers-460.67 fails to build: error: ‘struct dev_pm_info’ has no member named ‘runtime_status’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Sachau <tommy> |
Component: | Current packages | Assignee: | Ionen Wolkens <ionen> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | soap |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/20172 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Thomas Sachau
![]() Created attachment 695475 [details]
build.log
Did 460.56 work with same kernel and config? I'll have a look on my end with 4.19 branch. I assume CONFIG_PM is disabled. That would only work with 5.10+ kernels which have seq_read_iter(), otherwise it uses alternate code. I'll add a check for <5.10 to request CONFIG_PM after some more testing, so either enable it or upgrade to 5.10.x. (In reply to Ionen Wolkens from comment #2) > Did 460.56 work with same kernel and config? Tested and 460.39 and .56 are fine, so this is only 460.67+ The PM guard was removed by nvidia given fine on 5.10, unsure if safe to run this code without CONFIG_PM on older kernels so I'll stick with CONFIG_PM check for <5.10 With config_pm enabled i get further, but then run into bug 778986. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c724d671c026c16f7d2a5b38cd9d30af854ae551 commit c724d671c026c16f7d2a5b38cd9d30af854ae551 Author: Ionen Wolkens <sudinave@gmail.com> AuthorDate: 2021-04-03 19:02:42 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2021-04-03 19:02:42 +0000 x11-drivers/nvidia-drivers: require _PM with 460.67 for <5.10 kernels NVIDIA sets an alternate code path so no-CONFIG_PM works with >=5.10 kernels and opted to remove the PM guard, however this breaks build with older kernels. Unless the guard is re-added in a future version this will have to be kept. Closes: https://bugs.gentoo.org/778920 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org> x11-drivers/nvidia-drivers/nvidia-drivers-460.67.ebuild | 5 +++++ 1 file changed, 5 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c0f9c8f93f672250fbed874c32b368eae1f8485 commit 9c0f9c8f93f672250fbed874c32b368eae1f8485 Author: Ionen Wolkens <sudinave@gmail.com> AuthorDate: 2021-04-21 12:20:01 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2021-04-21 12:20:01 +0000 x11-drivers/nvidia-drivers: security bump to 450.119.03 - CVE‑2021‑1076, CVE‑2021‑1077 (bug #784596) - Adds compatibility for kernel 5.11.x - CONFIG_PM check now needed as changes requiring it were backported from 460.67 (bug #778920) Bug: https://bugs.gentoo.org/778920 Bug: https://bugs.gentoo.org/784596 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org> x11-drivers/nvidia-drivers/Manifest | 7 + .../nvidia-drivers-450.119.03.ebuild | 409 +++++++++++++++++++++ 2 files changed, 416 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a43f33c9e4d6a632439a218c450174b9c96b2d2 commit 5a43f33c9e4d6a632439a218c450174b9c96b2d2 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2021-06-03 17:16:01 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2021-06-03 17:32:52 +0000 x11-drivers/nvidia-drivers: remove obsolete CONFIG_PM check Fixed in 460.84 and 465.31 Bug: https://bugs.gentoo.org/778920 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> x11-drivers/nvidia-drivers/nvidia-drivers-465.31.ebuild | 5 ----- 1 file changed, 5 deletions(-) |