Building kodi-17.4[mysql] fails with the following error message: [...] -- Warning: FFmpeg version checking disabled, resulting build is unsupported! -- Found FFMPEG: /usr/include (found version "undef") -- Found CrossGuid: /usr/lib/libcrossguid.a -- Found UUID: /usr/lib/libuuid.so (found version "2.30.1") -- Could NOT find LCMS2 (missing: LCMS2_LIBRARY LCMS2_INCLUDE_DIR) Error: * In program cave perform install --hooks --managed-output --output-exclusivity with-others =media-tv/kodi-17.4:0::gentoo --destination installed --replac ing =media-tv/kodi-17.3:0::installed --x-of-y 1 of 18: * When installing 'media-tv/kodi-17.4:0::gentoo' replacing { 'media-tv/kodi-17.3:0::installed' }: * When running an ebuild command on 'media-tv/kodi-17.4:0::gentoo': * Install failed for 'media-tv/kodi-17.4:0::gentoo' (paludis::ActionFailedError) -- Found MicroHttpd: /usr/lib/libmicrohttpd.so (found version "0.9.55") -- Configuring incomplete, errors occurred! See also "/var/tmp/paludis/media-tv-kodi-17.4/work/kodi-17.4_build/CMakeFiles/CMakeOutput.log". See also "/var/tmp/paludis/media-tv-kodi-17.4/work/kodi-17.4_build/CMakeFiles/CMakeError.log". CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find MySqlClient (missing: MYSQLCLIENT_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE) modules/FindMySqlClient.cmake:42 (find_package_handle_standard_args) scripts/common/Macros.cmake:399 (find_package) CMakeLists.txt:144 (core_optional_dep) !!! ERROR in media-tv/kodi-17.4::gentoo: !!! In cmake-utils_src_configure at line 1996 !!! cmake failed Checking `project/cmake/modules/FindMySqlClient.cmake` in `xbmc-17.4-Krypton` reveals the following code: find_path(MYSQLCLIENT_INCLUDE_DIR mysql/mysql_time.h) find_library(MYSQLCLIENT_LIBRARY_RELEASE NAMES mysqlclient libmysql PATH_SUFFIXES mysql ${EXTRA_FIND_ARGS}) find_library(MYSQLCLIENT_LIBRARY_DEBUG NAMES mysqlclient libmysql PATH_SUFFIXES mysql ${EXTRA_FIND_ARGS}) But it seems the location of that header changed in mariadb: $ cave contents mariadb | grep mysql_time.h /usr/include/mysql/server/mysql_time.h In fact, creating the following symlink made it compile: /usr/include/mysql/mysql_time.h -> server/mysql_time.h
I've reported the issue upstream at https://github.com/xbmc/xbmc/pull/12727 Once upstream accepts a solution, I'll update the ebuild.
https://github.com/gentoo/gentoo/commit/700b83cd97246d4efdd905845d0a579bc4609031