libCEC kodi broken

This forum is for discussion about general software issues.

libCEC kodi broken

Postby kabutor » Thu Feb 04, 2016 11:13 pm

I updated the Raspi2 yesterday and since then I can't work with my Tv remote, problem is that kodi is still calling libcec-3.0
$this->bbcode_second_pass_code('', '
00:11:33 T:1950146560 ERROR: Unable to load libcec.so.3.0, reason: libcec.so.3.0: cannot open shared object file: No such file or directory
00:11:33 T:1950146560 ERROR: Initialise - failed to initialise bus cec
')

If I downgrade libcec to 3.0.2 it complains about libplatform.so.1 (that also was updated to 2.0 yesterday)

No idea how to fix it I guess I need to recompile it using libcec-3.1 or wait until it's compiled on the repository? I'm new to arch, on gentoo we don't have this problems (we have others xD)
kabutor
 
Posts: 10
Joined: Thu Feb 04, 2016 11:09 pm

Re: libCEC kodi broken

Postby TD2UK » Fri Feb 05, 2016 1:16 pm

Hi,

That's the BIG problem with Arch in my opinion, they update dependencies without any check if they will break the main software that use it.

For you to fix that you need to downgrade libcec to 3.0 as you did and also libplatform to 1.0 and ignore the packages on future upgrades to avoid breaking it again.

pacman -U /var/cache/pacman/pkg/libplatform-1.0.10-2-armv7h.pkg.tar.xz
pacman -U /var/cache/pacman/pkg/libcec-rpi-3.0.1-3-armv7h.pkg.tar.xz

Arch would be perfect if they were a little more careful when bleeding edge things...Gentoo is better in that regard.

If you need more help let me know.

Thanks
TD2UK
Last edited by TD2UK on Fri Feb 05, 2016 3:19 pm, edited 2 times in total.
TD2UK
 
Posts: 6
Joined: Fri Feb 05, 2016 1:10 pm

Re: libCEC kodi broken

Postby WarheadsSE » Fri Feb 05, 2016 3:08 pm

Take it up with that package maintainer.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: libCEC kodi broken

Postby TD2UK » Fri Feb 05, 2016 3:41 pm

Hi WarheadsSE,

And that would be.... since the package don't provide any information and don't seem to be signed / validated:

#########################################################################
Name : libplatform
Version : 1.0.10-2
Description : Platform support library used by libCEC and binary add-ons for Kodi
Architecture : armv7h
URL : https://github.com/Pulse-Eight/platform
Licenses : GPL
Groups : None
Provides : libplatform
Depends On : gcc-libs
Optional Deps : None
Required By : libcec-rpi
Optional For : None
Conflicts With : libplatform
Replaces : None
Installed Size : 300.00 KiB
Packager : Arch Linux ARM Build System <builder+xu9@archlinuxarm.org>
Build Date : Fri Dec 11 04:35:44 2015
Install Date : Wed Feb 3 22:28:43 2016
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : None
################################################################

or

################################################################
Name : libcec-rpi
Version : 3.0.1-3
Description : Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter (Raspberry Pi)
Architecture : armv7h
URL : http://libcec.pulse-eight.com/
Licenses : GPL
Groups : None
Provides : libcec
Depends On : udev lockdev libplatform libxrandr raspberrypi-firmware
Optional Deps : None
Required By : kodi-rbp
Optional For : None
Conflicts With : libcec
Replaces : None
Installed Size : 752.00 KiB
Packager : Arch Linux ARM Build System <builder+xu9@archlinuxarm.org>
Build Date : Fri Dec 18 00:52:02 2015
Install Date : Wed Feb 3 22:30:47 2016
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : None
#####################################################################

Thanks
TD2UK
TD2UK
 
Posts: 6
Joined: Fri Feb 05, 2016 1:10 pm

Re: libCEC kodi broken

Postby kabutor » Fri Feb 05, 2016 3:53 pm

Well I tried to downgrade both libraries to different versions, and then Kodi refuses to start, I get a lot of Abnormal Trap error messages in the console.

I then tried to downgrade Kodi, but it's the same, I can't even start Kodi. Funny thing is that then I decided to get back to yesterday and just plug a mouse until the package is updated and then Kodi refuses to start, now it complains that can't find libmicrohttpd-something. :lol:

I just downgrade the last libmicrohttpd update and now it works (no hdmi remote yet). I guess I can wait until someone decides to rebuild kodi.

I wish I have more time and can commit myself to give you guys a hand rebuilding packages, but I can't! Sry!
kabutor
 
Posts: 10
Joined: Thu Feb 04, 2016 11:09 pm

Re: libCEC kodi broken

Postby WarheadsSE » Fri Feb 05, 2016 4:33 pm

@TD2UK, the maintainer for the KODI that is linked against the wrong files.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: libCEC kodi broken

Postby TD2UK » Fri Feb 05, 2016 6:58 pm

@kabutor maintaining Arch Linux sometimes is just crazy...and you are right...now is this:

################################################
/usr/lib/kodi/kodi.bin: error while loading shared libraries: libmicrohttpd.so.10: cannot open shared object file: No such file or directory
################################################

@WarheadsSE will check and reach because this is nuts.... how can you increase the community if you break your own packages? :shock:

Thanks
TD2UK
TD2UK
 
Posts: 6
Joined: Fri Feb 05, 2016 1:10 pm

Re: libCEC kodi broken

Postby WarheadsSE » Fri Feb 05, 2016 8:44 pm

_I_ am not breaking it.

This maintainer needs to update _their_ PKGBUILD and have it rebuilt.

re: moonman
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: libCEC kodi broken

Postby TD2UK » Fri Feb 05, 2016 8:49 pm

I know you are not breaking it, when I said "How can you" was a general form of speaking:

##############################################
Packager : moonman <oleg@archlinuxarm.org>
Validated By : SHA-256 Sum
##############################################

Sending him an email.

Thanks
TD2UK
TD2UK
 
Posts: 6
Joined: Fri Feb 05, 2016 1:10 pm

Re: libCEC kodi broken

Postby z0mb1ekgd » Sat Feb 06, 2016 2:42 pm

There is a simple workaround with the microhttpd issue:

$this->bbcode_second_pass_code('', '# ln -s /usr/lib/libmicrohttpd.so /usr/lib/libmicrohttpd.so.10')

CEC still doesn't work, though. I guess there is something to do with the new versions of libcec and libplatform, and their ill compatibility with Kodi.
z0mb1ekgd
 
Posts: 2
Joined: Sat Feb 06, 2016 2:32 pm

Next

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest