2022-10-26, 07:22
Hi,
noticed the folks at LibreELEC released 10.0.3 based on Kodi 19.4. Tested it and liked it - planning to move from Kodi 17.4 ... finally.
Now, LibreELEC is wonderful but useless to me, first because I need to patch Kodi - to be able to simulate a "shut down" through the shutdown timer (hacking the power management source code) and then I might need some other services running on that box, which are really hard to implement on LE (I'm also not a Debian user).
Studied a little the build script on LE and here is what I tried:
- OS - Slackware Linux 15 ARM - 32bit - GCC 11.2
- Source code:
Kodi 19.4 both GIT snapshot from 25.10.2022 and the actual 19.4 release tag (March 2022)
- patches applied:
https://github.com/LibreELEC/LibreELEC.t...tches/kodi
- deps I had to satisfy (these were the only ones required extra for Kodi 19.4 (and not for Kodi 18.9))
spdlog (1.10.0)
gtest (1.10.0)
- the way I build Kodi 19.4:
Results:
Any help appreciated!
noticed the folks at LibreELEC released 10.0.3 based on Kodi 19.4. Tested it and liked it - planning to move from Kodi 17.4 ... finally.
Now, LibreELEC is wonderful but useless to me, first because I need to patch Kodi - to be able to simulate a "shut down" through the shutdown timer (hacking the power management source code) and then I might need some other services running on that box, which are really hard to implement on LE (I'm also not a Debian user).
Studied a little the build script on LE and here is what I tried:
- OS - Slackware Linux 15 ARM - 32bit - GCC 11.2
- Source code:
Kodi 19.4 both GIT snapshot from 25.10.2022 and the actual 19.4 release tag (March 2022)
- patches applied:
https://github.com/LibreELEC/LibreELEC.t...tches/kodi
- deps I had to satisfy (these were the only ones required extra for Kodi 19.4 (and not for Kodi 18.9))
spdlog (1.10.0)
gtest (1.10.0)
- the way I build Kodi 19.4:
Code:
export PATH="$PATH:/opt/java/bin"
export C_INCLUDE_PATH=/opt/vc/include:/opt/vc/include/interface/vcos/pthreads
export CPLUS_INCLUDE_PATH=/opt/vc/include:/opt/vc/include/interface/vcos/pthreads
CFLAGS="$CFLAGS -DEGL_NO_X11"
CXXFLAGS="$CXXFLAGS -DEGL_NO_X11"
cmake ../xbmc -DCMAKE_INSTALL_PREFIX=/usr/local \
-DENABLE_INTERNAL_CROSSGUID=ON \
-DENABLE_INTERNAL_FLATBUFFERS=ON \
-DENABLE_INTERNAL_FMT=ON \
-DCORE_SYSTEM_NAME=linux \
-DWITH_CPU=cortex-a7 \
-DCMAKE_C_FLAGS="-march=armv7-a -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard" \
-DCMAKE_CXX_FLAGS="-march=armv7-a -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard" \
-DENABLE_AVAHI=OFF \
-DENABLE_PLIST=OFF \
-DENABLE_AIRTUNES=OFF \
-DENABLE_AIRTUNES=OFF \
-DENABLE_UPNP=OFF \
-DENABLE_NEON=ON \
-DENABLE_VDPAU=OFF \
-DENABLE_VAAPI=OFF \
-DENABLE_INTERNAL_FFMPEG=OFF \
-DCORE_PLATFORM_NAME=gbm \
-DAPP_RENDER_SYSTEM=gles \
-DENABLE_GBM=ON \
-DENABLE_ALSA=ON \
-DENABLE_PULSEAUDIO=ON \
-DENABLE_CEC=OFF \
-DENABLE_OPTICAL=OFF \
-DENABLE_BLURAY=OFF \
-DENABLE_LIRCCLIENT=ON \
-DCMAKE_PREFIX_PATH=/opt/vc
Results:
Code:
In file included from /usr/include/spdlog/spdlog.h:12,
from /KODI-19/xbmc/xbmc/utils/log.h:25,
from /KODI-19/xbmc/xbmc/interfaces/legacy/Exception.h:12,
from /KODI-19/xbmc/xbmc/interfaces/legacy/Addon.h:13,
from /KODI-19/xbmc/xbmc/interfaces/python/PythonInvoker.h:12,
from /KODI-19/xbmc/xbmc/network/httprequesthandler/python/HTTPPythonInvoker.h:11,
from /KODI-19/xbmc/xbmc/network/httprequesthandler/python/HTTPPythonInvoker.cpp:9:
/usr/include/spdlog/common.h:158:30: error: ‘format_string’ in namespace ‘fmt’ does not name a template type
.....
In file included from /usr/include/spdlog/details/registry-inl.h:12,
from /usr/include/spdlog/details/registry.h:114,
from /usr/include/spdlog/spdlog.h:13,
from /KODI-19/xbmc/xbmc/utils/log.h:25,
from /KODI-19/xbmc/xbmc/interfaces/legacy/Exception.h:12,
from /KODI-19/xbmc/xbmc/interfaces/legacy/Addon.h:13,
from /KODI-19/xbmc/xbmc/interfaces/python/PythonInvoker.h:12,
from /KODI-19/xbmc/xbmc/network/httprequesthandler/python/HTTPPythonInvoker.h:11,
from /KODI-19/xbmc/xbmc/network/httprequesthandler/python/HTTPPythonInvoker.cpp:9:
/usr/include/spdlog/logger.h:88:53: error: ‘format_string_t’ has not been declared
....
In file included from /usr/include/spdlog/spdlog.h:12,
from /KODI-19/xbmc/xbmc/utils/log.h:25,
from /KODI-19/xbmc/xbmc/interfaces/legacy/Exception.h:12,
from /KODI-19/xbmc/xbmc/interfaces/legacy/Addon.h:13,
from /KODI-19/xbmc/xbmc/interfaces/python/PythonInvoker.h:12,
from /KODI-19/xbmc/xbmc/network/httprequesthandler/python/HTTPPythonInvoker.h:11,
from /KODI-19/xbmc/xbmc/network/httprequesthandler/python/HTTPPythonInvoker.cpp:9:
/usr/include/spdlog/common.h: In instantiation of ‘struct spdlog::is_convertible_to_any_format_string<const std::__cxx11::basic_string<char>&>’:
/usr/include/spdlog/logger.h:106:96: required by substitution of ‘template<class T, typename std::enable_if<(! spdlog::is_convertible_to_any_format_string<const T&>::value), int>::type <anonymous> > void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, const T&) [with T = std::__cxx11::basic_string<char>; typename std::enable_if<(! spdlog::is_convertible_to_any_format_string<const T&>::value), int>::type <anonymous> = <missing>]’
/usr/include/spdlog/logger.h:102:12: required from ‘void spdlog::logger::log(spdlog::level::level_enum, const T&) [with T = std::__cxx11::basic_string<char>]’
/KODI-19/xbmc/xbmc/utils/log.h:186:25: required from ‘void CLog::FormatAndLogInternal(spdlog::level::level_enum, const Char*, Args&& ...) [with Char = char; Args = {const char*&}]’
/KODI-19/xbmc/xbmc/utils/log.h:83:39: required from ‘static void CLog::Log(spdlog::level::level_enum, const Char*, Args&& ...) [with Char = char; Args = {const char*&}]’
/KODI-19/xbmc/xbmc/utils/log.h:68:8: required from ‘static void CLog::Log(int, const Char*, Args&& ...) [with Char = char; Args = {const char*&}]’
/KODI-19/xbmc/xbmc/utils/log.h:213:14: required from here
/usr/include/spdlog/common.h:187:123: error: incomplete type ‘spdlog::is_convertible_to_basic_format_string<const std::__cxx11::basic_string<char>&, char>’ used in nested name specifier
187 | struct is_convertible_to_any_format_string : std::integral_constant<bool, is_convertible_to_basic_format_string<T, char>::value ||
| ^~~~~
/usr/include/spdlog/common.h:188:130: error: incomplete type ‘spdlog::is_convertible_to_basic_format_string<const std::__cxx11::basic_string<char>&, wchar_t>’ used in nested name specifier
188 | is_convertible_to_basic_format_string<T, wchar_t>::value>
| ^~~~~
gmake[2]: *** [build/network/httprequesthandler/python/CMakeFiles/network_httprequesthandlers_python.dir/build.make:76: build/network/httprequesthandler/python/CMakeFiles/network_httprequesthandlers_python.dir/HTTPPythonInvoker.cpp.o] Error 1
gmake[2]: Leaving directory '/KODI-19/kodi-build'
gmake[1]: *** [CMakeFiles/Makefile2:10201: build/network/httprequesthandler/python/CMakeFiles/network_httprequesthandlers_python.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
Any help appreciated!