Need help upgrading tvheadend on Leap 42.1

Currently running 4.0.7. Downloaded 4.2.4, but when I try to build, it complains that “opus” is missing.

When I try install it, or rather opus-devel which is what I think it wants, it complains that it cannot find the main OpenSuse repo. What is wrong?

dalton@tvburk:~/devel/tvh424/tvheadend/tvheadend> zypper lr

| Alias | Name | Enabled | GPG Check | Refresh

—±------------------------------------±------------------------------------- —±--------±----------±-------
1 | http-download.opensuse.org-183e779a | home:smarty12 | Yes | (r ) Yes | Yes
2 | http-download.opensuse.org-2a744cd4 | Apache | Yes | (r ) Yes | Yes
3 | http-download.opensuse.org-33727223 | home:smarty12:gcc | Yes | ( p) Yes | Yes
4 | http-download.opensuse.org-57384e10 | home:fl3sk | Yes | (r ) Yes | Yes
5 | http-download.opensuse.org-83f2628a | home:smarty12:gcc | Yes | ( p) Yes | Yes
6 | http-download.opensuse.org-84ddf27f | devel:libraries:c_c++ | Yes | (r ) Yes | Yes
7 | http-download.opensuse.org-8dc4ee17 | devel:languages:go | Yes | (r ) Yes | Yes
8 | http-download.opensuse.org-8fbc0116 | home:MediaArea_net | Yes | (r ) Yes | Yes
9 | http-download.opensuse.org-9e11ad33 | multimedia:libs | Yes | (r ) Yes | Yes
10 | http-download.opensuse.org-bf98ec84 | openSUSE:Leap:42.1:Update | Yes | (r ) Yes | Yes
11 | http-download.opensuse.org-f52313e2 | multimedia:apps | Yes | (r ) Yes | Yes
12 | packman | packman | Yes | (r ) Yes | Yes
13 | repo-debug | openSUSE-leap/42.1-Debug | No | ---- | Yes
14 | repo-debug-update | openSUSE-leap/42.1-Update-Debug | No | ---- | Yes
15 | repo-debug-update-non-oss | openSUSE-leap/42.1-Update-Debug-Non-O ss | No | ---- | Yes
16 | repo-non-oss | openSUSE-leap/42.1-Non-Oss | Yes | (r ) Yes | Yes
17 | repo-oss | openSUSE-leap/42.1-Oss | Yes | (r ) Yes | Yes
18 | repo-source | openSUSE-leap/42.1-Source | No | ---- | Yes
19 | repo-update | openSUSE-42.1-Update | Yes | (r ) Yes | Yes
20 | repo-update-non-oss | openSUSE-42.1-Update-Non-Oss | Yes | (r ) Yes | Yes
dalton@tvburk:~/devel/tvh424/tvheadend/tvheadend>

  • Anders Gustafsson
    The Aaland Islands (N60 E20)

OK. So repos 1…12 are probably bogus. Removing them…

  • Anders Gustafsson
    The Aaland Islands (N60 E20)

Now getting as far as: libopus.a: No such file or directory

  • Anders Gustafsson
    The Aaland Islands (N60 E20)

openSUSE Leap 42.1 is out of support, openSUSE Leap 42.2 will be soon out of support, so install openSUSE Leap 42.3 which included tvheadend in Version 4.2.2

zypper se -s tvhead
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...

S | Name      | Typ   | Version   | Arch   | Repository            
--+-----------+-------+-----------+--------+-----------------------
  | tvheadend | Paket | 4.2.2-1.2 | x86_64 | openSUSE-Leap-42.3-Oss

On Wed 10 Jan 2018 06:19:40 PM CST, Anders Gustafsson wrote:

OK. So repos 1…12 are probably bogus. Removing them…

  • Anders Gustafsson
    The Aaland Islands (N60 E20)

Hi Anders
The 42.1 repos are long gone… You would need to find a mirror that
has the ‘discontinued’ repos and switch your URL’s.

As for tvheadend, see no requirement on opus anything…?

Head to multimedia:apps and grab the latest src rpm (4.2.5 now) and
try rebuilding that, but you should look at upgrading the system to
42.3…
https://build.opensuse.org/package/show/multimedia%3Aapps/tvheadend


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.3|GNOME 3.20.2|4.4.104-39-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Malcolmlewis,
> Head to multimedia:apps and grab the latest src rpm (4.2.5 now) and
> try rebuilding that, but you should look at upgrading the system to
> 42.3…

I bit scared as the default kernel on 42.1 will not even boot. Need to
use the older, .6 one IIRC.

  • Anders Gustafsson
    The Aaland Islands (N60 E20)

Can I just download tvheadend-4.2.5.tar.gz somehow into a development
dir?

  • Anders Gustafsson
    The Aaland Islands (N60 E20)

Hi
Sure, follow the spec file and patches. Also add the configure commands, I’m guessing the disable hdhomerun_static will get rid of opus requirements

But would be easier to rebuild the src rpm and it will tell you what’s needed, add the patches etc…

Or use osc and the alternative repo option.

Sauerland,
> openSUSE Leap 42.1 is out of support, openSUSE Leap 42.2 will be soon
> out of support, so install openSUSE Leap 42.3 which included tvheadend
> in Version 4.2.2

And I can upgrade from 42.1 to 42.3 directly?

  • Anders Gustafsson
    The Aaland Islands (N60 E20)

Malcolmlewis,
> As for tvheadend, see no requirement on opus anything…?

It seems to be ffmpeg:

cc: error:
/home/dalton/devel/tvh424/tvheadend/tvheadend/build.linux/ffmpeg/build/
ffmpeg/lib/libopus.a: No such file or directory

  • Anders Gustafsson
    The Aaland Islands (N60 E20)

Malcolmlewis,
> Sure, follow the spec file and patches. Also add the configure commands,
> I’m guessing the disable hdhomerun_static will get rid of opus
> requirements

Thanks. I will test that and meanwhile will I look into an upgrade to
42.3.

> But would be easier to rebuild the src rpm and it will tell you what’s
> needed, add the patches etc…

Care to elaborate singe I am not as fluent in Linux as you :slight_smile:

> Or use osc and the alternative repo option.

Ditto

This box is pretty much an appliance and has no connection to the outside
world (unless you count antennas) hence my unwillingless to update

  • Anders Gustafsson
    The Aaland Islands (N60 E20)

Malcolmlewis,
> Sure, follow the spec file and patches. Also add the configure commands,
> I’m guessing the disable hdhomerun_static will get rid of opus
> requirements

./configure --enable-bundle --disable-dvbscan --disable-hdhomerun_static

did not help, still complains when I make

  • Anders Gustafsson
    The Aaland Islands (N60 E20)

./configure --enable-bundle --disable-dvbscan --disable-
hdhomerun_static --disable-libopus

  • Anders Gustafsson
    The Aaland Islands (N60 E20)

OK. 4.2.4 running, but cannot watch recordings on XBMC:

2018-01-13 11:47:04.802 [WARNING] htsp: 192.168.1.6 | Kodi Media Center ]: failed to serialize data

  • Anders Gustafsson
    The Aaland Islands (N60 E20)