Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#46115 - [plex-home-theater] Needs to be rebuilt against new curl

Attached to Project: Community Packages
Opened by rembo10 (rembo10) - Thursday, 27 August 2015, 05:56 GMT
Last edited by Maxime Gauduin (Alucryd) - Thursday, 27 August 2015, 16:11 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hey, sorry for the bug report. Wasn't sure if I should flag it out of date or post here. Tried to run pht on a fresh arch install, but it would crash on startup. Checked the logs and it was crashing trying to load libcurl.so.4.3.0 (newest version has lib curl.so.4.40). Rebuilt it myself against the latest version of curl and it works fine. Didn't need to change anything in the PKGBUILD

Let me know if you need more info. Cheers!
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Thursday, 27 August 2015, 16:11 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.4.1.469-3
Comment by f3bruary (f3bruary) - Thursday, 27 August 2015, 08:58 GMT
Can you tell me how to fix it rembo10 ?
Comment by Doug Newgard (Scimmia) - Thursday, 27 August 2015, 13:43 GMT
I don't see that this is linked to libcurl, but if rebuilding it fixes it, they may be loading it in code?
Comment by Dave Reisner (falconindy) - Thursday, 27 August 2015, 13:50 GMT
Could you provide the actual error? "crash on startup" is not at all descriptive. libcurl changing from 4.3.0 to 4.4.0 is insignificant as the SONAME as remained the same (libcurl.so.4). Rebuilding shouldn't have any effect.
Comment by Maxime Gauduin (Alucryd) - Thursday, 27 August 2015, 14:12 GMT
Although it doesn't seem to link to libcurl, the binary does refer to libcurl.so.4.3.0 explicitely, I found a plain text reference inside of it. Confirmed that pht is indeed crashing and that rebuilding fixes it. I'll push a rebuild in a moment.
Comment by SAKUJ0 (SAKUJ0) - Thursday, 27 August 2015, 15:56 GMT
symlinking the missing libcurl.so.4.3.0 also works.

The supplied shell script plexhometheater.sh starts the binary and produces a core dump (too lazy to search for it). The relevant lines in plex's log file is

16:46:10 T:140474503636736 DEBUG: Loading: libcurl.so.4.3.0
16:46:10 T:140474278995712 DEBUG: CPlexMediaServerClient::publishDevice Adding interface: http://10.31.2.1:3005/ for publishing
16:46:10 T:140474503636736 ERROR: Unable to load libcurl.so.4.3.0, reason: libcurl.so.4.3.0: cannot open shared object file: No such file or directory

http://paste.debian.net/307542/

Source code upstream: https://github.com/plexinc/plex-home-theater-public

Currently cloning it, but I am slow. It'll take 30 minutes at the least. Github does not allow searching forked repos apparently.
Comment by Maxime Gauduin (Alucryd) - Thursday, 27 August 2015, 16:11 GMT
Don't bother trying to push anything upstream, last time it took them months to merge my PR. Now there's a PR for libcec 2.2.0 sitting since late May, I haven't even submitted the fix for libcec 3.0 and I probably won't.
Anyway, updated packages are up.

Loading...