2017-03-23, 10:08
Get the source, apply the patch and use the script above to compile it That should be enough for your needs.
(2017-03-23, 10:08)KlotX Wrote: Get the source, apply the patch and use the script above to compile it That should be enough for your needs.
/home/pi/kodi/build/build/ffmpeg/src/ffmpeg/common.mak:60: recipe for target 'libavfilter/vf_blend.o' failed
make[6]: *** [libavfilter/vf_blend.o] Error 1
make[6]: Leaving directory '/home/pi/kodi/build/build/ffmpeg/src/ffmpeg-build/ffmpeg-prefix/src/ffmpeg-build'
CMakeFiles/ffmpeg.dir/build.make:110: recipe for target 'ffmpeg-prefix/src/ffmpeg-stamp/ffmpeg-build' failed
make[5]: *** [ffmpeg-prefix/src/ffmpeg-stamp/ffmpeg-build] Error 2
make[5]: Leaving directory '/home/pi/kodi/build/build/ffmpeg/src/ffmpeg-build'
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/ffmpeg.dir/all' failed
make[4]: *** [CMakeFiles/ffmpeg.dir/all] Error 2
make[4]: Leaving directory '/home/pi/kodi/build/build/ffmpeg/src/ffmpeg-build'
Makefile:127: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/home/pi/kodi/build/build/ffmpeg/src/ffmpeg-build'
CMakeFiles/ffmpeg.dir/build.make:113: recipe for target 'build/ffmpeg/src/ffmpeg-stamp/ffmpeg-build' failed
make[2]: *** [build/ffmpeg/src/ffmpeg-stamp/ffmpeg-build] Error 2
make[2]: Leaving directory '/home/pi/kodi/build'
CMakeFiles/Makefile2:1108: recipe for target 'CMakeFiles/ffmpeg.dir/all' failed
make[1]: *** [CMakeFiles/ffmpeg.dir/all] Error 2
make[2]: Leaving directory '/home/pi/kodi/build'
CMakeFiles/Makefile2:1357: recipe for target 'build/swig/CMakeFiles/python_binding.dir/all' failed
make[1]: *** [build/swig/CMakeFiles/python_binding.dir/all] Error 2
make[1]: Leaving directory '/home/pi/kodi/build'
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
CPack: Create package using DEB
CPack: Install projects
CPack: - Run preinstall target for: kodi
CPack Error: Problem running install command: /usr/bin/cmake --build . --target "preinstall"
Please check /home/pi/kodi/build/packages/_CPack_Packages/armv7l/DEB/PreinstallOutput.log for errors
CPack Error: Error when generating package: kodi
/home/pi/kodi/build/build/ffmpeg/src/ffmpeg/common.mak:60: recipe for target 'libavformat/bintext.o' failed
make[6]: *** [libavformat/bintext.o] Error 1
CMakeFiles/ffmpeg.dir/build.make:110: recipe for target 'ffmpeg-prefix/src/ffmpeg-stamp/ffmpeg-build' failed
make[5]: *** [ffmpeg-prefix/src/ffmpeg-stamp/ffmpeg-build] Error 2
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/ffmpeg.dir/all' failed
make[4]: *** [CMakeFiles/ffmpeg.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make[3]: *** [all] Error 2
CMakeFiles/ffmpeg.dir/build.make:113: recipe for target 'build/ffmpeg/src/ffmpeg-stamp/ffmpeg-build' failed
make[2]: *** [build/ffmpeg/src/ffmpeg-stamp/ffmpeg-build] Error 2
CMakeFiles/Makefile2:1108: recipe for target 'CMakeFiles/ffmpeg.dir/all' failed
make[1]: *** [CMakeFiles/ffmpeg.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
CC libavfilter/vf_aspect.o
CC libavfilter/vf_atadenoise.o
CC libavfilter/vf_bbox.o
CC libavfilter/vf_blackdetect.o
CC libavfilter/vf_blackframe.o
CC libavfilter/vf_blend.o
CC libavfilter/vf_boxblur.o
In file included from src/libavutil/common.h:39:0,
from src/libavutil/avutil.h:288,
from src/libavutil/imgutils.h:30,
from src/libavfilter/vf_blend.c:21:
/usr/include/stdlib.h:106:3: internal compiler error: Speicherzugriffsfehler
{
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
(2017-03-23, 00:32)rucksman Wrote: To be honest the only reason for me trying to compile Kodi myself is that I need the Hifiberry patch. Otherwise I would be happy with the versions that can be found in the Raspian repository,,,The Hifiberry hack/patch is not needed if you have a proper card configuration file in /usr/share/alsa/cards (it has to be named HifiberryDigi.conf). In LibreELEC we are using this:
(2017-03-23, 14:54)KlotX Wrote: Alternatively you can use Pipplware's repo which already provides a compiled and working version of kodi 17 - if I'm not mistaken it already includes the patch you need, since it's based on popcornmix's krypton_rbp_backports branch.
(2017-03-24, 14:44)HiassofT Wrote: The Hifiberry hack/patch is not needed if you have a proper card configuration file in /usr/share/alsa/cards (it has to be named HifiberryDigi.conf). In LibreELEC we are using this:
https://raw.githubusercontent.com/LibreE...yDigi.conf
(2017-03-24, 20:48)rucksman Wrote:(2017-03-23, 14:54)KlotX Wrote: Alternatively you can use Pipplware's repo which already provides a compiled and working version of kodi 17 - if I'm not mistaken it already includes the patch you need, since it's based on popcornmix's krypton_rbp_backports branch.
Thanks a lot for this hint. Indeed I was able to install kodi from the pipplware repo and the hifiberry patch is indeed included. Nevertheless I would be glad if you could finish your blog post and make an announcement somewhere so that I can build my own version. I am always eager to learn new things ...
(2017-03-24, 14:44)HiassofT Wrote: The Hifiberry hack/patch is not needed if you have a proper card configuration file in /usr/share/alsa/cards (it has to be named HifiberryDigi.conf). In LibreELEC we are using this:
https://raw.githubusercontent.com/LibreE...yDigi.conf
(2017-03-23, 14:54)KlotX Wrote: Alternatively you can use Pipplware's repo which already provides a compiled and working version of kodi 17 - if I'm not mistaken it already includes the patch you need, since it's based on popcornmix's krypton_rbp_backports branch.
(2017-03-24, 20:48)rucksman Wrote:(2017-03-23, 14:54)KlotX Wrote: Alternatively you can use Pipplware's repo which already provides a compiled and working version of kodi 17 - if I'm not mistaken it already includes the patch you need, since it's based on popcornmix's krypton_rbp_backports branch.
Thanks a lot for this hint. Indeed I was able to install kodi from the pipplware repo and the hifiberry patch is indeed included. Nevertheless I would be glad if you could finish your blog post and make an announcement somewhere so that I can build my own version. I am always eager to learn new things ...
(2017-03-27, 17:19)KlotX Wrote: Please do, I'm looking forward for that feedback, I'm pretty sure I forgot about something, so all feedback is appreciated
sudo apt-get install default-jdk javahelper ant doxygen graphviz texlive-latex-base texlive-latex-recommended texlive-latex-extra latex-xcolor texlive-fonts-recommended libasm4-java
wget http://archive.raspbian.org/raspbian/pool/main/libb/libbluray/libbluray_0.9.3.orig.tar.bz2
tar jxvf libbluray_0.9.3.orig.tar.bz2
rm libbluray_0.9.3.orig.tar.bz2
cd libbluray-0.9.3
wget https://raw.githubusercontent.com/popcornmix/xbmc/krypton_rbp_backports/tools/depends/target/libbluray/bump_to_Nevcairie_v0.9.2.patch
patch -p1 < bump_to_Nevcairie_v0.9.2.patch
rm bump_to_Nevcairie_v0.9.2.patch
tar -zcf ../libbluray_0.9.3.orig.tar.gz .
wget http://archive.raspbian.org/raspbian/pool/main/libb/libbluray/libbluray_0.9.3-3.debian.tar.xz
tar xf libbluray_0.9.3-3.debian.tar.xz
dpkg-buildpackage -us -uc
make[1]: Leaving directory '/home/pi/dependencies/libbluray-0.9.3'
dpkg-source -b libbluray-0.9.3
dpkg-source: Information: Quellformat »3.0 (quilt)« wird verwendet
dpkg-source: Information: libbluray wird unter Benutzung des existierenden ./libbluray_0.9.3.orig.tar.gz gebaut
dpkg-source: Fehler: Änderung in libbluray_0.9.3-3.debian.tar.xz kann nicht dargestellt werden: Inhalt der Binärdatei hat sich geändert
dpkg-source: Fehler: fügen Sie libbluray_0.9.3-3.debian.tar.xz zu debian/source/include-binaries hinzu, falls Sie das veränderte Programm im Debian-Tarball speichern möchten.
dpkg-source: Fehler: nicht darstellbare Änderungen an den Quellen
dpkg-buildpackage: Fehler: Fehler-Exitstatus von dpkg-source -b libbluray-0.9.3 war 2
(2017-03-28, 12:46)KlotX Wrote: hmm, I'm not sure since it is in german But I think it could be related with the file still being there, can you please try to delete libbluray_0.9.3-3.debian.tar.xz before running dpkg-buildpackage command ?