Doesn't build:
/home/beojan/.cache/pacaur/kodi-git/src/xbmc/xbmc/dbwrappers/sqlitedataset.cpp:295: error: undefined reference to 'sqlite3_backup_init'
/home/beojan/.cache/pacaur/kodi-git/src/xbmc/xbmc/dbwrappers/sqlitedataset.cpp:299: error: undefined reference to 'sqlite3_backup_step'
/home/beojan/.cache/pacaur/kodi-git/src/xbmc/xbmc/dbwrappers/sqlitedataset.cpp:300: error: undefined reference to 'sqlite3_backup_finish'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/kodi.dir/build.make:486: kodi-x11] Error 1
make[2]: Leaving directory '/home/beojan/.cache/pacaur/kodi-git/src/xbmc'
make[1]: *** [CMakeFiles/Makefile2:1552: CMakeFiles/kodi.dir/all] Error 2
make[1]: Leaving directory '/home/beojan/.cache/pacaur/kodi-git/src/xbmc'
make: *** [Makefile:141: all] Error 2
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.