Creating a bug report/issue

Required Information

  • DietPi version | G_DIETPI_VERSION_CORE=8
  • Distro version | bullseye 0
  • Kernel version | Linux DietPi 5.15.84-v7+ #1613 SMP Thu Jan 5 11:59:48 GMT 2023 armv7l GNU/Linux
  • SBC model | RPi 3 Model B (armv7l)
  • Power supply used | (EG: 5V 1A RAVpower)
  • SD card used | (EG: SanDisk ultra)

Additional Information (if applicable)

  • Software title | (EG: Nextcloud)
  • Was the software title installed freshly or updated/migrated?
  • Can this issue be replicated on a fresh installation of DietPi?
    ← If you sent a “dietpi-bugreport”, please paste the ID here →
  • Bug report ID | echo $G_HW_UUID

Good morning

I open the ‘orange tv’ addon. It calls me ‘inputstream.ffmpeg’.
In the dietpi terminal I enter:

dietpi@DietPi:~$ sudo apt install kodi-api-inputstream
and this is the answer : 
Reading package lists... Done
Building the dependency tree... Done
Reading status information... Done
Some packages cannot be installed. This can mean
that you asked for the impossible, or, if you use
the unstable distribution, which some packages don't have yet
been created or have not left Incoming.
The following information should help you resolve the situation:

The following packages contain unmet dependencies:
 kodi-inputstream-ffmpegdirect: Depends: kodi-api-inputstream (>= 3.0.1)
                                 Depends: kodi-api-inputstream (< 3.1.0)
E: Unable to fix problems, bad packages are in keep-as-is mode.

Can someone help me please ?

the package kodi-api-inputstream is not existing on Debian repository Debian -- Details of package kodi-inputstream-ffmpegdirect in bullseye

Maybe you need to build inputstream.ffmpegdirect yourself [Raspberry Pi OS (Bullseye)] armv7 | Missing inputstream.ffmpegdirect and RTMP addons from repository - Raspberry Pi Forums

I found it. But i have a problem :

dietpi@DietPi:~/inputstream.ffmpegdirect/build$ cmake -DADDONS_TO_BUILD=inputstream.ffmpegdirect -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/build/addons -DPACKAGE_ZIP=1 ../../xbmc/cmake/addons
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "/home/dietpi/inputstream.ffmpegdirect/build/CMakeFiles/CMakeOutput.log".

did you have done this?

I have mistakes at the end of th build :

[ 75%] Performing build step for 'nettle'
/bin/sh: 1: m4: not found
make[7]: *** [Makefile:280 : aes-decrypt-internal.o] Erreur 127
make[6]: *** [Makefile:46 : all] Erreur 2
make[5]: *** [CMakeFiles/nettle.dir/build.make:130 : nettle-prefix/src/nettle-st                                      amp/nettle-build] Erreur 2
make[4]: *** [CMakeFiles/Makefile2:95 : CMakeFiles/nettle.dir/all] Erreur 2
make[3]: *** [Makefile:149 : all] Erreur 2
make[2]: *** [CMakeFiles/nettle.dir/build.make:135 : build/nettle/src/nettle-sta                                      mp/nettle-build] Erreur 2
make[1]: *** [CMakeFiles/Makefile2:565 : CMakeFiles/nettle.dir/all] Erreur 2
make: *** [Makefile:103 : all] Erreur 2

Did you tried to install m4??

apt install m4

I install m4

[  8%] Built target gmp
[  9%] Performing build step for 'nettle'
[ 12%] Performing build step for 'nettle'
/bin/sh: 1: autoheader: not found
make[7]: *** [Makefile:447 :] Erreur 127
make[6]: *** [Makefile:46 : all] Erreur 2
make[5]: *** [CMakeFiles/nettle.dir/build.make:130 : nettle-prefix/src/nettle-stamp/nettle-build] Erreur 2
make[4]: *** [CMakeFiles/Makefile2:95 : CMakeFiles/nettle.dir/all] Erreur 2
make[3]: *** [Makefile:149 : all] Erreur 2
make[2]: *** [CMakeFiles/nettle.dir/build.make:135 : build/nettle/src/nettle-stamp/nettle-build] Erreur 2
make[1]: *** [CMakeFiles/Makefile2:565 : CMakeFiles/nettle.dir/all] Erreur 2
make: *** [Makefile:103 : all] Erreur 2

looks like autoheader it is part of autoconf package Debian -- Package Contents Search Results -- autoheader

apt install autoconf
configure: error:
  *** Libnettle 3.4.1 was not found.

make[5]: *** [CMakeFiles/gnutls.dir/build.make:125 : gnutls-prefix/src/gnutls-stamp/gnutls-configure] Erreur 1
make[4]: *** [CMakeFiles/Makefile2:95 : CMakeFiles/gnutls.dir/all] Erreur 2
make[3]: *** [Makefile:149 : all] Erreur 2
make[2]: *** [CMakeFiles/gnutls.dir/build.make:136 : build/gnutls/src/gnutls-stamp/gnutls-build] Erreur 2
make[1]: *** [CMakeFiles/Makefile2:402 : CMakeFiles/gnutls.dir/all] Erreur 2
make: *** [Makefile:103 : all] Erreur 2
I ended up installing pkgconfig using pacman and then used the export command along with pkg-config to link libnettle to the compiler. After this, it compiled without issue..

It is the same problem but I don’t understand what to do.

On Arch they use another packaing tool called pacman, so this is nothing you can do on your system. Since Libnettle is missing you could try and install it sudo apt install libnettle8 but there is also something written about linking it to the compiler, IDK how to do that.

sudo apt install libnettle8
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
libnettle8 est déjà la version la plus récente (3.7.3-1)

Translation into Englisch. Not everybody is speaking French.

Reading package lists... Done
Building the dependency tree... Done
Read status information... Done
libnettle8 is already the latest version (3.7.3-1)

I managed ton install inpustream.ffmpeg.

Sudo apt install -t backports inputstream.ffmpegdirect.

But iptvmanager can’t find it. Kodi shows me: dependency of inputstream.ffmpegdirect version 0.0.0. could not be satisfied.

1 Like