Build fails on current master (r74566.9d43beeb9ff): Kodi now bundles flatbuffers 25.12.19, but the PKGBUILD still pins 23.3.3, so CMake's SHA512 check fails:
CMake Error at build-flatbuffers-stamp/verify-build-flatbuffers.cmake:29 (message):
error: SHA512 hash of .../src/flatbuffers-23.3.3.tar.gz does not match expected value
Bumping the version fixes it (the tarball is on mirrors.kodi.tv/build-deps/sources/):
-_flatbuffers_version="23.3.3"
+_flatbuffers_version="25.12.19"
b2sum for flatbuffers-25.12.19.tar.gz:
d06cce5a2c715d2859823161bab0c5b24e20f8cb20d45df25e66a51872ada981c61aa0e64145fe0073bc7b3a0a009de622b19e188f6e951a1d50f00fe39a9292
With that change r74566.9d43beeb9ff builds cleanly here.
Pinned Comments
graysky commented on 2022-06-11 11:49 (UTC)
@laichiaheng - kodi is bound to a specific version of ffmpeg which is generally older than Arch's package. We avoid incompatibilities by using that specific version (ie internal ffmpeg). Recommend that you build kodi in clean chroot. See: https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot
I wrote a script that automates much of that called clean-chroot-manager offered here in the AUR.