[TESTING] Kodi 18 (Leia) builds for Raspberry Pi


#507

I updated to Stretch and I am now on OSMC 17.8-139. So far everything worked smooth, no playback issues or any other problems. I was on test builds before and started the upgrade from 17.8-136.
My Kodi library is on MySQL and that’s the thing that’s not working anymore.
Kodi Log says: "MySQL library requested but MySQL support is not compiled in. Falling back to sqlite3."
So I currently have no access to my library. SMB shares work fine.

Am i missing a package? Tried installing mysql-client but that doesn’t help.

here are the logs


#508

Do you have a local copy of MySQL server running on the Pi?


#509

@gmc - did you depend on libmysqldev-compat? This will fix linking issues with applications that expect old sonames and headers.

You should find these changes in my build scripts


#510

Thanks. Just kicked off another build to fix this.


#511

17.8-140, 6 Dec 2017: Based off OSMC commit (4b90ca4dc) and newclock5 (00f4c69)

OSMC:
Add libmariadbclient-dev-compat to resolve MySQL problem
Add vfs.libarchive

​​​​​​​Includes latest addons: inputstream.adaptive (d2081b2), inputstream.rtmp (c772497), peripheral.joystick (33b43ce), pvr.argustv (1a48789), pvr.demo (94c4817), pvr.dvblink (816f90c), pvr.dvbviewer (6129441), pvr.filmon (2dee2ca), pvr.hdhomerun (3af3e91), pvr.hts (67fe2df), pvr.iptvsimple (ac4f4bd), pvr.mediaportal.tvserver(6c35e88), pvr.mythtv (8f214cd, +2), pvr.nextpvr (938bb48), pvr.njoy (4a5efef), pvr.octonet (c4af00a), pvr.pctv (6484615), pvr.stalker (44025a1), pvr.teleboy (e431126), pvr.vbox (619c32b), pvr.vdr.vnsi (0ec3e77), pvr.vuplus (7ea6b21), pvr.wmc (55e701b), pvr.zattoo (23d9993), vfs.libarchive (a54fb5b, +3)


#512

I updated to stretch and webstreams (youtube, etc.) work fine.
But pvr/tv doesn’t: I use a FRITZ!WLAN Repeater DVB‑C as source (local network streams) with iptv-simple. Before the update everything worked fine. With gmc-138 to 140 the streams won’t play. For 138 a few channels work, for others the stream won’t start (but kodi did not crash). For gmc-139 & 140 kodi crashes when starting such a stream.
I also tried to disable hardware acceleration for omxplayer / mmal, but without success…

Log for gmc-140:

12:53:31.225 T:1820582656  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:31
12:54:34.504 T:1924505600  NOTICE: VideoPlayer::OpenFile: pvr://channels/tv/Alle Kanäle/pvr.iptvsimple_1900876138.pvr
12:54:35.925 T:1311765248  NOTICE: Creating InputStream
12:54:35.930 T:1311765248  NOTICE: Creating Demuxer
12:54:36.453 T:1924505600  NOTICE: m_playbackStarting
12:54:36.453 T:1924505600  NOTICE: StereoscopicsManager::IsPlaying
...
12:55:05.597 T:1924505600  NOTICE: StereoscopicsManager::IsPlaying
12:55:05.979 T:1311765248 WARNING: could not find codec parameters for rtsp://192.168.2.2:554/?freq=434&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=1&pids=0,16,17,18,20,259,533,534,538,1591,1592,1593
12:55:05.980 T:1311765248   ERROR: OpenDemuxStream - Error creating demuxer
12:55:05.980 T:1311765248  NOTICE: CVideoPlayer::OnExit()
12:55:06.104 T:1924505600  NOTICE: m_playbackStarting

Log for gmc-138:

13:09:20.632 T:1204097792  NOTICE: Opening stream: 1 source: 256
13:09:20.632 T:1204097792   DEBUG: CVideoPlayer::HandleMessages - player 2 reported state: 0
13:09:20.634 T:1204097792   DEBUG: CDVDDemuxFFmpeg::AddStream ID: 0
13:09:20.634 T:1204097792   DEBUG: CDVDDemuxFFmpeg::AddStream ID: 2
13:09:20.634 T:1204097792   DEBUG: CDVDDemuxFFmpeg::AddStream ID: 1
13:09:20.634 T:1204097792   DEBUG: CDVDDemuxFFmpeg::AddStream - discarding unknown stream with id: 3
13:09:20.634 T:1204097792   DEBUG: CDVDDemuxFFmpeg::AddStream - discarding unknown stream with id: 4
13:09:20.634 T:1204097792   DEBUG: CDVDDemuxFFmpeg::AddStream - discarding unknown stream with id: 5
13:09:20.637 T:1204097792  NOTICE: Opening stream: 0 source: 256
13:09:20.637 T:1204097792  NOTICE: Opening stream: 2 source: 256
13:09:20.638 T:1204097792  NOTICE: Opening stream: 1 source: 256
...

#513

Thanks, works like a charm now.


#514

17.8-140

https://paste.osmc.tv/ceturuboze

Just updated my system to stretch and the latest Kodi 18 build but now stuck in a sad face loop.
Error happened while upgrading (apt-get dist-upgrade). OSMC start screen (Kodi 18 … Migrating Add-ons) is shown but than sad face… restart.

Holen: 649 http://ftp.debian.org/debian/ stretch/main python-pkg-resources all 33.1.1-1 [166 kB]                        
E: Sub-process /usr/bin/dpkg returned an error code (1)

osmc@osmc:~$ sudo apt --fix-broken install
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
Abhängigkeiten werden korrigiert ... Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
  armv7-libcrossguid-osmc libavahi-client-dev libavahi-common-dev libavcodec56 libavformat56 libavresample2 libavutil54
  libbasicusageenvironment0 libbind9-90 libboost-chrono1.55.0 libboost-filesystem1.55.0 libboost-locale1.55.0
  libboost-serialization1.55.0 libboost-system1.55.0 libboost-thread1.55.0 libchromaprint0 libdbus-1-dev libdns100
  libdvbpsi9 libelfg0 libgroupsock1 libisc95 libisccc90 libisccfg90 libjson-c2 liblivemedia23 liblwres90
  libmicrohttpd10 libmodplug1 libmysqlclient18 libntdb1 liborc-0.4-0 libplist2 libpostproc52 libschroedinger-1.0-0
  libswscale3 libtimedate-perl libusageenvironment1 libvpx1 libwebp5 libwebpdemux1 libwebpmux1 libx264-142
Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
The following additional packages will be installed:
  libboost-filesystem-dev libboost-filesystem1.62-dev libboost-filesystem1.62.0 libboost-system-dev
  libboost-system1.62-dev
Die folgenden Pakete werden ENTFERNT:
  libboost-filesystem1.55-dev libboost-system1.55-dev rbp2-device-osmc
Die folgenden NEUEN Pakete werden installiert:
  libboost-filesystem1.62-dev libboost-filesystem1.62.0 libboost-system1.62-dev
Die folgenden Pakete werden aktualisiert (Upgrade):
  libboost-filesystem-dev libboost-system-dev
2 aktualisiert, 3 neu installiert, 3 zu entfernen und 155 nicht aktualisiert.
382 nicht vollständig installiert oder entfernt.
Es müssen noch 0 B von 169 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 465 kB Plattenplatz freigegeben.
Möchten Sie fortfahren? [J/n] j
apt (1.4.8) wird eingerichtet ...
Neue Version der Konfigurationsdatei /etc/apt/apt.conf.d/01autoremove wird installiert ...
Neue Version der Konfigurationsdatei /etc/kernel/postinst.d/apt-auto-removal wird installiert ...
usermod: Keine Änderungen
Created symlink /etc/systemd/system/timers.target.wants/apt-daily-upgrade.timer → /lib/systemd/system/apt-daily-upgrade.timer.
Created symlink /etc/systemd/system/timers.target.wants/apt-daily.timer → /lib/systemd/system/apt-daily.timer.
Removing obsolete conffile /etc/cron.daily/apt ...
Vormals nicht ausgewähltes Paket libboost-filesystem1.62.0:armhf wird gewählt.
(Lese Datenbank ... 56342 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../libboost-filesystem1.62.0_1.62.0+dfsg-4_armhf.deb ...
Entpacken von libboost-filesystem1.62.0:armhf (1.62.0+dfsg-4) ...
Vorbereitung zum Entpacken von .../libboost-system-dev_1.62.0.1_armhf.deb ...
Entpacken von libboost-system-dev:armhf (1.62.0.1) über (1.55.0.2) ...
Vorbereitung zum Entpacken von .../libboost-filesystem-dev_1.62.0.1_armhf.deb ...
Entpacken von libboost-filesystem-dev:armhf (1.62.0.1) über (1.55.0.2) ...
(Lese Datenbank ... 56347 Dateien und Verzeichnisse sind derzeit installiert.)
Entfernen von libboost-filesystem1.55-dev:armhf (1.55.0+dfsg-3) ...
Entfernen von libboost-system1.55-dev:armhf (1.55.0+dfsg-3) ...
Vormals nicht ausgewähltes Paket libboost-system1.62-dev:armhf wird gewählt.
(Lese Datenbank ... 56337 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../libboost-system1.62-dev_1.62.0+dfsg-4_armhf.deb ...
Entpacken von libboost-system1.62-dev:armhf (1.62.0+dfsg-4) ...
Vormals nicht ausgewähltes Paket libboost-filesystem1.62-dev:armhf wird gewählt.
Vorbereitung zum Entpacken von .../libboost-filesystem1.62-dev_1.62.0+dfsg-4_armhf.deb ...
Entpacken von libboost-filesystem1.62-dev:armhf (1.62.0+dfsg-4) ...
(Lese Datenbank ... 56347 Dateien und Verzeichnisse sind derzeit installiert.)
Entfernen von rbp2-device-osmc (1.4.4) ...
WARNING: You have tried to remove a package that is essential to OSMC's operation.
To undo these changes, run 'sudo apt-get -f install'.
dpkg: Fehler beim Bearbeiten des Paketes rbp2-device-osmc (--remove):
 Unterprozess installiertes pre-removal-Skript gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
 rbp2-device-osmc
W: No sandbox user '_apt' on the system, can not drop privileges
E: Sub-process /usr/bin/dpkg returned an error code (1)

osmc@osmc:~$ dpkg -l | grep mediacenter-osmc | awk '{print$3}'
17.8-140

Any ideas how to fix the system?


#515

Can you show the output from

sudo cat /etc/passwd | grep apt

Also try:

sudo apt-get -f install


#516
osmc@osmc:~$ sudo cat /etc/passwd | grep apt
_apt:x:109:65534::/nonexistent:/bin/false


osmc@osmc:~$ sudo apt-get -f install
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
Abhängigkeiten werden korrigiert ... Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
  armv7-libcrossguid-osmc libavahi-client-dev libavahi-common-dev libavcodec56
  libavformat56 libavresample2 libavutil54 libbasicusageenvironment0
  libbind9-90 libboost-chrono1.55.0 libboost-filesystem1.55.0
  libboost-locale1.55.0 libboost-serialization1.55.0 libboost-system1.55.0
  libboost-thread1.55.0 libchromaprint0 libdbus-1-dev libdns100 libdvbpsi9
  libelfg0 libgroupsock1 libisc95 libisccc90 libisccfg90 libjson-c2
  liblivemedia23 liblwres90 libmicrohttpd10 libmodplug1 libmysqlclient18
  libntdb1 liborc-0.4-0 libplist2 libpostproc52 libschroedinger-1.0-0
  libswscale3 libtimedate-perl libusageenvironment1 libvpx1 libwebp5
  libwebpdemux1 libwebpmux1 libx264-142
Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
Die folgenden Pakete werden ENTFERNT:
  rbp2-device-osmc
0 aktualisiert, 0 neu installiert, 1 zu entfernen und 155 nicht aktualisiert.
386 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 506 kB Plattenplatz freigegeben.
Möchten Sie fortfahren? [J/n] j
(Lese Datenbank ... 56347 Dateien und Verzeichnisse sind derzeit installiert.)
Entfernen von rbp2-device-osmc (1.4.4) ...
WARNING: You have tried to remove a package that is essential to OSMC's operation.
To undo these changes, run 'sudo apt-get -f install'.
dpkg: Fehler beim Bearbeiten des Paketes rbp2-device-osmc (--remove):
 Unterprozess installiertes pre-removal-Skript gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
 rbp2-device-osmc
E: Sub-process /usr/bin/dpkg returned an error code (1)

#517

Not sure why it’s trying to remove rbp2-device-osmc
@sam_nazarko any ideas?


#518

Could it be that I messed up the sources.list?

deb http://ftp.debian.org/debian stretch main contrib non-free

deb http://ftp.debian.org/debian/ stretch-updates main contrib non-free

deb http://security.debian.org/ stretch/updates main contrib non-free

# deb http://apt.osmc.tv stretch main

deb http://download.osmc.tv/dev/gmc-18 gmc-18 main

deb http://apt.osmc.tv stretch main

#519

Yes, until final release you have to stay on stretch-devel


#520

You need to reinstall if an upgrade on stretch-devel doesn’t solve things

Your system might be hosed

Sam


#521

Thanks a lot guys. Added -devel back in, --fix-broken install, update and dist-upgrade and all is working perfectly.

At what point in time do I remove -devel? Now?

After updating, you may wish to edit /etc/apt/sources.list again. Change stretch-devel to stretch to revert back to OSMC’s stable update channel


#522

As soon as the next month update with official Stretch release has been announced


#523

Ok. Once more thanks for your help.


#524

I have a problem with hvec video files. I have a few movies in x265 which work correctly in osmc whit kodi 17. In beta the video is played like a slow temp. In libreelec whit kodi 18 this video it plays correctly.

details of the video file:

https://pastebin.com/jLX5D3UP


#525

17.8-141, 7 Dec 2017: Based off OSMC commit (4b90ca4dc) and newclock5 (00f4c69)

OSMC:
Add depends on libcap2-bin

Includes latest addons: inputstream.adaptive (d2081b2), inputstream.rtmp (c772497), peripheral.joystick (33b43ce), pvr.argustv (1a48789), pvr.demo (94c4817), pvr.dvblink (816f90c), pvr.dvbviewer (6129441), pvr.filmon (2dee2ca), pvr.hdhomerun (3af3e91), pvr.hts (67fe2df), pvr.iptvsimple (ac4f4bd), pvr.mediaportal.tvserver (6c35e88), pvr.mythtv (8f214cd, +2), pvr.nextpvr (938bb48), pvr.njoy (4a5efef), pvr.octonet (c4af00a), pvr.pctv (6484615), [url=https://github.com/kodi-pvr/pvr.stalker]pvr.stalker/url, pvr.teleboy (e431126), pvr.vbox (619c32b), pvr.vdr.vnsi (0ec3e77), pvr.vuplus (7ea6b21), pvr.wmc (55e701b), pvr.zattoo (23d9993), vfs.libarchive(a54fb5b, +3)


#526

17.8-142, 8 Dec 2017: Based off OSMC commit (4b90ca4dc) and newclock5 (00f4c69)

vfs.libarchive:
changed: disable rar support (8fa085e)

Includes latest addons: inputstream.adaptive (d2081b2), inputstream.rtmp (c772497), peripheral.joystick (33b43ce), pvr.argustv (1a48789), pvr.demo (94c4817), pvr.dvblink (816f90c), pvr.dvbviewer (6129441), pvr.filmon (2dee2ca), pvr.hdhomerun (3af3e91), pvr.hts (67fe2df), pvr.iptvsimple (ac4f4bd), pvr.mediaportal.tvserver (6c35e88), pvr.mythtv (8f214cd, +2), pvr.nextpvr (938bb48), pvr.njoy (4a5efef), pvr.octonet (c4af00a), pvr.pctv (6484615), [url=https://github.com/kodi-pvr/pvr.stalker]pvr.stalker/url, pvr.teleboy (e431126), pvr.vbox (619c32b), pvr.vdr.vnsi (0ec3e77), pvr.vuplus (7ea6b21), pvr.wmc (55e701b), pvr.zattoo (23d9993), vfs.libarchive(a54fb5b, +3)