Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 607144 - media-tv/kodi-9999 is trying to build texturepacker statically
Summary: media-tv/kodi-9999 is trying to build texturepacker statically
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-25 08:07 UTC by Tupone Alfredo
Modified: 2017-01-26 17:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tupone Alfredo gentoo-dev 2017-01-25 08:07:02 UTC
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
Comment 1 Craig Andrews gentoo-dev 2017-01-25 21:04:49 UTC
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?
Comment 2 Tupone Alfredo gentoo-dev 2017-01-25 21:25:44 UTC
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 ?
Comment 3 Craig Andrews gentoo-dev 2017-01-25 21:32:23 UTC
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?
Comment 4 Tupone Alfredo gentoo-dev 2017-01-25 21:45:05 UTC
The patch that was used to fix this problem is 

media-tv/kodi/files/kodi-9999-texturepacker.patch
Comment 5 Tupone Alfredo gentoo-dev 2017-01-26 09:09:20 UTC
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
Comment 6 Craig Andrews gentoo-dev 2017-01-26 14:00:30 UTC
Can you post the build log for the error you're getting please?
Comment 7 Tupone Alfredo gentoo-dev 2017-01-26 17:36:47 UTC
This problem has gone.
Comment 8 Craig Andrews gentoo-dev 2017-01-26 17:39:50 UTC
Nothing was done to fix it :)