Summary: | x11-drivers/xf86-video-nouveau-1.0.17 - nv_driver.c: error: call to undeclared function wfbScreenInit; ISO C99 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PATCH |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1114 https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1222 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.clang.tar.bz2 etc.portage.tar.bz2 logs.tar.bz2 temp.tar.bz2 var.tmp.clang.tar.bz2 x11-drivers:xf86-video-nouveau-1.0.17:20221213-101903.log build log patch updated for 21.1.9 |
Description
Toralf Förster
2022-12-13 10:44:02 UTC
Created attachment 842417 [details]
emerge-info.txt
Created attachment 842419 [details]
emerge-history.txt
Created attachment 842421 [details]
environment
Created attachment 842423 [details]
etc.clang.tar.bz2
Created attachment 842425 [details]
etc.portage.tar.bz2
Created attachment 842427 [details]
logs.tar.bz2
Created attachment 842429 [details]
temp.tar.bz2
Created attachment 842431 [details]
var.tmp.clang.tar.bz2
Created attachment 842433 [details]
x11-drivers:xf86-video-nouveau-1.0.17:20221213-101903.log
This needs a fix in xorg-server. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de718a87b2cedfc40155f05af6fd477b14cabcb8 commit de718a87b2cedfc40155f05af6fd477b14cabcb8 Author: Ahmed Charles <me@ahmedcharles.com> AuthorDate: 2023-07-20 18:53:12 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2023-07-22 17:24:19 +0000 x11-base/xorg-server: fix xf86-video-nouveau build Closes: https://bugs.gentoo.org/885763 Closes: https://github.com/gentoo/gentoo/pull/31985 Signed-off-by: Ahmed Charles <me@ahmedcharles.com> Signed-off-by: Matt Turner <mattst88@gentoo.org> .../xorg-server/files/xorg-server-21.1.8-wfb.patch | 43 +++++ x11-base/xorg-server/xorg-server-21.1.8-r2.ebuild | 195 +++++++++++++++++++++ 2 files changed, 238 insertions(+) Looks like the this wasn't upstreamed properly or something. Since xorg-21.1.9 this is happening again. And 21.1.9 isn't applying the wfb patch anymore. Build log attached. Created attachment 874177 [details]
build log
Sorry, apparently this patch is upstreamed indeed, but it isn't fixing the error anymore. I compiled with gcc and clang, same result So to sort this out properly: This is not upstreamed in tag 21.1.9 (https://gitlab.freedesktop.org/xorg/xserver/-/blob/xorg-server-21.1.9/fb/fb.h?ref_type=tags#L1030) but it is or later commits. Patch attached. Created attachment 874186 [details, diff]
patch updated for 21.1.9
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=702ab503b10f6fe6719564dbc310bd4422f58014 commit 702ab503b10f6fe6719564dbc310bd4422f58014 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-12-14 02:38:35 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-12-14 04:03:40 +0000 x11-base/xorg-server: fix headers for modern C issue Otherwise nouveau can't build. These changes are in master already and I've sent a PR to backport them too. Closes: https://bugs.gentoo.org/885763 Signed-off-by: Sam James <sam@gentoo.org> .../files/xorg-server-21.1.10-c99.patch | 39 +++++ x11-base/xorg-server/xorg-server-21.1.10-r1.ebuild | 194 +++++++++++++++++++++ 2 files changed, 233 insertions(+) Having heard no users complain about this indicates to me that no one uses xf86-video-nouveau... |