... -- Found UDEV: /usr/local/lib/libudev.so (found version "243") -- Found udfread: /usr/local/lib/libudfread.so (version: "1.1.2") CMake Error at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find VAAPI (missing: VAAPI_libva-x11_INCLUDE_DIR VAAPI_libva-x11_LIBRARY) (Required is at least version "0.39.0") Call Stack (most recent call first): /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE) cmake/modules/FindVAAPI.cmake:55 (find_package_handle_standard_args) cmake/scripts/common/Macros.cmake:403 (find_package) cmake/scripts/common/Macros.cmake:452 (find_package_with_ver) CMakeLists.txt:260 (core_optional_dep) -- Configuring incomplete, errors occurred! *** Error code 1 ... # make showconfig ===> The following configuration options are available for kodi-21.0: AIRPLAY=off: AirPlay support AVAHI=off: Zeroconf support via Avahi CEC=off: CEC adapter support DAV1D=on: Use dav1d as AV1 decoder DBUS=off: D-Bus IPC system support DOCS=off: Build and/or install documentation DVD=on: DVD support DVDCSS=on: Encrypted DVD support via libdvdcss LCMS2=off: Little CMS 2.x support LIBBLURAY=on: Blu-ray discs support via libbluray LIRC=off: Infrared remote control support MYSQL=off: MySQL database support NFS=off: Network File System support SMB=off: SMB network protocol support TEST=off: Build and/or run tests UDEV=on: Use libudev-devd UPNP=off: UPnP protocol support VAAPI=on: VAAPI (GPU video acceleration) support VDPAU=on: VDPAU (GPU video acceleration) support WEBSERVER=off: Build and/or install internal web server XSLT=off: Use libxslt ====> Sound (audio) support ALSA=off: ALSA audio architecture support PIPEWIRE=off: PipeWire multimedia server support PULSEAUDIO=off: PulseAudio sound server support SNDIO=off: Sndio audio support ====> X86 CPU feature SSE=on: Use SSE optimized routines SSE2=on: Use SSE2 optimized routines SSE3=on: Use SSE3 optimized routines SSSE3=on: Use SSSE3 optimized routines SSE4_1=on: Use SSE4.1 optimized routines SSE4_2=on: Use SSE4.2 optimized routines AVX=on: Use AVX optimized routines AVX2=on: Use AVX2 optimized routines ====> Kodi platform GBM=on: GBM support WAYLAND=off: Wayland (graphics) support X11=on: X11 (graphics) support ====> Render system: you have to select exactly one of them GL=on: OpenGL GLES=off: OpenGL ES ===> Use 'make config' to modify these settings
root@kodi:/usr/ports/graphics/mesa-gallium-va# make showconfig ===> The following configuration options are available for mesa-gallium-va-24.0.8: X11=off: Enable X11 support ===> Use 'make config' to modify these settings
Also gbm binary missed: # find /usr/local/ -name "*kodi-gbm*" /usr/local/share/wayland-sessions/kodi-gbm.desktop
GBM broken by upstream: https://github.com/xbmc/xbmc/issues/25259
Do you have multimedia/libva on your system? Since you are building X11 support, graphics/mesa-gallium-va should have X11=on. kodi-gbm should not present if you enable more than one platform, the binary is kodi.bin. Could you try to install multimedia/libva, set graphics/mesa-gallium-va X11=on, and rebuild kodi?