Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pvr.hts.so installed in /usr/lib64/addons/pvr.hts/ #37

Closed
PhobosK opened this issue Jun 7, 2015 · 6 comments
Closed

pvr.hts.so installed in /usr/lib64/addons/pvr.hts/ #37

PhobosK opened this issue Jun 7, 2015 · 6 comments

Comments

@PhobosK
Copy link

PhobosK commented Jun 7, 2015

After commit xbmc/xbmc@60eb0b2 in main kodi code, the pvr.hts.so (and targets) are installed in /usr/lib64/addons/pvr.hts/ instead of in /usr/lib64/kodi/addons/pvr.hts.
The resources are installed in the right place: /usr/share/kodi/addons/pvr.hts/
I do not know if this should be reported here or in kodi main code but anyway I report it here.

Thanks

@Jalle19
Copy link
Contributor

Jalle19 commented Jun 8, 2015

Ping @wsnipex

@wsnipex
Copy link
Contributor

wsnipex commented Jun 8, 2015

please provide more details.

  • OS
  • kodi config.log
  • kodi-config.cmake
  • hts build log

@PhobosK
Copy link
Author

PhobosK commented Jun 8, 2015

OS is Gentoo 13.0 amd64.
All the packages (kodi, kodi-platform, platform, pvr.hts) are compiled from latest git master.
I am attaching (in gist) the requested logs (as one of the kodi config log is the output from the whole gentoo config phase and the other is the native config.log found in the kodi sources after ./configure is run

kodi-config.log
kodi-console-config.log
kodi-config.cmake
hts build log

@Jalle19
Copy link
Contributor

Jalle19 commented Jun 8, 2015

http://forum.kodi.tv/showthread.php?tid=228588&pid=2023787#pid2023787 the issue regarding a symlink seems related.

@wsnipex
Copy link
Contributor

wsnipex commented Jun 9, 2015

this is a portage build that potentially does override paths in -DCMAKE_USER_MAKE_RULES_OVERRIDE=/dev/shm/portage/media-plugins/kodi-pvr-hts-9999/work/kodi-pvr-hts-9999_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/dev/shm/portage/media-plugins/kodi-pvr-hts-9999/work/kodi-pvr-hts-9999_build/gentoo_toolchain.cmake

Provide the output of a manual build from git master with the following command:
cmake .
make -j9
make install

@PhobosK
Copy link
Author

PhobosK commented Jun 13, 2015

No these files do not override anything:
gentoo_rules.cmake
gentoo_toolchain.cmake

The problem was in the cmake-utils.eclass - line 531-533 - that portage uses.... It turns out that the commit xbmc/xbmc@60eb0b2 changes the CMAKE_INSTALL_LIBDIR setting:

-      set(CMAKE_INSTALL_LIBDIR "lib")
+      set(CMAKE_INSTALL_LIBDIR "lib/${APP_NAME_LC}")

And that breaks the eclass settings, so I had to add in the ebuild the:

-DCMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)/kodi"

command line option...

Anyway I fixed that in my ebuild for kodi-pvr and now works ok...
Thanks... This bug may be closed now...

@PhobosK PhobosK closed this as completed Jun 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants