Bug#1120470: nvidia-open-gpu-kernel-modules: FTBFS: nvidia-drm/nvidia-drm-drv.c:216:18: error: initialization of 'struct drm_framebuffer * (*)(struct drm_device *, struct drm_file *, const struct drm_format_info *, const struct drm_mode_fb_cmd2 *)' from incompatible pointer type 'struct drm_framebuffer * (*)(struct drm_device *, struct drm_file *, const struct drm_mode_fb_cmd2 *)' [-Wincompatible-pointer-types]

Santiago Vila sanvila at debian.org
Mon Nov 10 13:10:56 GMT 2025


Package: src:nvidia-open-gpu-kernel-modules
Version: 550.163.01-3
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202511/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:nvidia-open-gpu-kernel-modules, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
# CC [M]  nvidia-drm/nvidia-drm-drv.o
   x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia-drm/.nvidia-drm-d [too-long-redacted] o nvidia-drm/nvidia-drm-drv.c  
# CC [M]  nvidia-drm/nvidia-drm-utils.o
   x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia-drm/.nvidia-drm-u [too-long-redacted] nvidia-drm/nvidia-drm-utils.c  
nvidia-drm/nvidia-drm-drv.c:216:18: error: initialization of ‘struct drm_framebuffer * (*)(struct drm_device *, struct drm_file *, const struct drm_format_info *, const struct drm_mode_fb_cmd2 *)’ from incompatible pointer type ‘struct drm_framebuffer * (*)(struct drm_device *, struct drm_file *, const struct drm_mode_fb_cmd2 *)’ [-Wincompatible-pointer-types]
  216 |     .fb_create = nv_drm_framebuffer_create,
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~
nvidia-drm/nvidia-drm-drv.c:216:18: note: (near initialization for ‘nv_mode_config_funcs.fb_create’)
nvidia-drm/nvidia-drm-drv.c:188:32: note: ‘nv_drm_framebuffer_create’ declared here
  188 | static struct drm_framebuffer *nv_drm_framebuffer_create(
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~
make[8]: *** [/usr/src/linux-headers-6.17.7+deb14+1-common/scripts/Makefile.build:292: nvidia-drm/nvidia-drm-drv.o] Error 1
make[8]: *** Waiting for unfinished jobs....
# cmd_gen_symversions_c nvidia-drm/nvidia-drm-utils.o
  if x86_64-linux-gnu-nm nvidia-drm/nvidia-drm-utils.o 2>/de [too-long-redacted] drm/.nvidia-drm-utils.o.cmd; fi
make[7]: *** [/usr/src/linux-headers-6.17.7+deb14+1-common/Makefile:2035: .] Error 2
make[6]: *** [/usr/src/linux-headers-6.17.7+deb14+1-common/Makefile:260: __sub-make] Error 2
make[6]: Leaving directory '/<<PKGBUILDDIR>>/test-module-build'
make[5]: *** [Makefile:260: __sub-make] Error 2
make[5]: Leaving directory '/usr/src/linux-headers-6.17.7+deb14+1-common'
make[4]: *** [Makefile:140: modules] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/test-module-build'
make[3]: *** [debian/rules:85: override_dh_auto_test] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [debian/rules:70: build] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:70: install] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:70: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the pkg-nvidia-devel mailing list