I was trying to build kodi on the raspberrypi-3 using the media-tv/kodi-9999 ebuild, before doing specific changes to that for the raspberry platform, if needed. The build stop while trying to build texturepacker as the build system use -static, and I don't have all the static library that it needs. Previously there was a patch for that using forcing -enable-shared. This patch is gone :( Reproducible: Always
Upstream switched to cmake so the Gentoo ebuild did which incidentally removed that patch (which I thought was no longer needed). Perhaps you could take a look at the cmake script to determine what change is necessary to build on your platform? Perhaps you could even work with upstream to get an acceptable solution in place?
But how you could build it? Do you have some texturepacker in your path. As far as I understand, if things have not changed, texturepacker is using during build to pack texture. If not available on the system, it will be built. I was not able to find the source of this (outside of the kodi source tree), in case I would have packaged it and put as dependency. Unless you have some idea, do you mind if I put the texture patch back ?
Texture packer is built as part of Kodi. It's not a separate package. If you do not have Kodi installed, you are able to install Kodi. I'm sorry, I'm clearly not following - can you link me to the patch you refer or upload it here? Perhaps you could also attach the output of the failed build?
The patch that was used to fix this problem is media-tv/kodi/files/kodi-9999-texturepacker.patch
This tools is only needed during build, so the build system is going to make an executable that should run on the build platform, using 'possibly' a different compiler or compiler option, when cross-building or not. I am not cross-building, but maybe the build system detect it wrongly and use the -static flag. That could explains why you did not notice the problem. There should be no need on Linux to build it statically, and that was the spirit of the kodi-9999-texturepacker.patch
Can you post the build log for the error you're getting please?
This problem has gone.
Nothing was done to fix it :)