Package: xserver-xorg-dev
Version: 2:21.1.11-2
Severity: normal
Forwarded: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1222
File: /usr/include/xorg/fb.h

As noticed in #1066382, xserver-xorg-video-nouveau FTBFS with
-Werror=implicit-function-declaration, because wfbScreenInit is not
explicitly declared.  The file /usr/include/xorg/fb.h has a prototype
for it, but currently it is hidden behind #ifdef FB_ACCESS_WRAPPER.

Unfortunately, simply #defining FB_ACCESS_WRAPPER in
xserver-xorg-video-nouveau does not work because while it makes the
package build, Xorg then fails to start with a symbol lookup error.

The fix is to declare wfbScreenInit unconditionally, and this is already
in the Xserver master branch, but not in the server-21.1-branch.  The
upstream merge request mentions problems with the autoconf build system
which could be fixed by switching to meson.


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Reply via email to