I have the latest master from the github repo checked out and was attempting to build an image for my RPi4 (I want to test an addon that is currently set up for a pull request in the repo). Unfortunately, the build fails for the Kodi build target and I can't figure out the issue. Here's the log for the failure:
Code
BUILD kodi (target)
TOOLCHAIN cmake (auto-detect)
Executing (target): cmake -GNinja -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_TOOLCHAIN_FILE=/home/cornelia/Documents/Programming/GIT/LibreELEC.tv/build.LibreELEC-RPi4.arm-9.80-devel/toolchain/etc/cmake-armv8a-libreelec-linux-gnueabihf.conf -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=MinSizeRel -DNATIVEPREFIX=/home/cornelia/Documents/Programming/GIT/LibreELEC.tv/build.LibreELEC-RPi4.arm-9.80-devel/toolchain -DWITH_TEXTUREPACKER=/home/cornelia/Documents/Programming/GIT/LibreELEC.tv/build.LibreELEC-RPi4.arm-9.80-devel/toolchain/bin/TexturePacker -DWITH_JSONSCHEMABUILDER=/home/cornelia/Documents/Programming/GIT/LibreELEC.tv/build.LibreELEC-RPi4.arm-9.80-devel/toolchain/bin/JsonSchemaBuilder -DDEPENDS_PATH=/home/cornelia/Documents/Programming/GIT/LibreELEC.tv/build.LibreELEC-RPi4.arm-9.80-devel/build/kodi-6e15fcb9ff05ed7463d69083b2fa2fd702f3abd0/depends -DPYTHON_EXECUTABLE=/home/cornelia/Documents/Programming/GIT/LibreELEC.tv/build.LibreELEC-RPi4.arm-9.80-devel/toolchain/bin/python3.7 -DPYTHON_INCLUDE_DIRS=/home/cornelia/Documents/Programming/GIT/LibreELEC.tv/build.LibreELEC-RPi4.arm-9.80-devel/toolchain/armv8a-libreelec-linux-gnueabihf/sysroot/usr/include/python3.7 -DGIT_VERSION=6e15fcb9ff05ed7463d69083b2fa2fd702f3abd0 -DFFMPEG_PATH=/home/cornelia/Documents/Programming/GIT/LibreELEC.tv/build.LibreELEC-RPi4.arm-9.80-devel/toolchain/armv8a-libreelec-linux-gnueabihf/sysroot/usr -DENABLE_INTERNAL_FFMPEG=OFF -DENABLE_INTERNAL_CROSSGUID=OFF -DENABLE_UDEV=ON -DENABLE_DBUS=ON -DENABLE_XSLT=ON -DENABLE_CCACHE=ON -DENABLE_LIRCCLIENT=ON -DENABLE_EVENTCLIENTS=ON -DENABLE_LDGOLD=ON -DENABLE_DEBUGFISSION=OFF -DENABLE_APP_AUTONAME=OFF -DENABLE_INTERNAL_FLATBUFFERS=OFF -DUSE_LTO=8 -DWITH_ARCH=arm -DENABLE_NEON=ON -DENABLE_VDPAU=OFF -DENABLE_VAAPI=OFF -DENABLE_CEC=ON -DENABLE_NFS=ON -DENABLE_DVDCSS=ON -DLIBDVDCSS_URL=/home/cornelia/Documents/Programming/GIT/LibreELEC.tv/sources/libdvdcss/libdvdcss-1.4.2-Leia-Beta-5.tar.gz -DLIBDVDNAV_URL=/home/cornelia/Documents/Programming/GIT/LibreELEC.tv/sources/libdvdnav/libdvdnav-9277007.tar.gz -DLIBDVDREAD_URL=/home/cornelia/Documents/Programming/GIT/LibreELEC.tv/sources/libdvdread/libdvdread-bd6b329.tar.gz -DENABLE_AVAHI=ON -DENABLE_UPNP=ON -DENABLE_MARIADBCLIENT=ON -DENABLE_MYSQLCLIENT=OFF -DENABLE_PLIST=ON -DENABLE_AIRTUNES=ON -DENABLE_OPTICAL=ON -DENABLE_BLURAY=ON -DCORE_PLATFORM_NAME=gbm -DGBM_RENDER_SYSTEM=gles /home/cornelia/Documents/Programming/GIT/LibreELEC.tv/build.LibreELEC-RPi4.arm-9.80-devel/build/kodi-6e15fcb9ff05ed7463d69083b2fa2fd702f3abd0
-- Source directory: /home/cornelia/Documents/Programming/GIT/LibreELEC.tv/build.LibreELEC-RPi4.arm-9.80-devel/build/kodi-6e15fcb9ff05ed7463d69083b2fa2fd702f3abd0
-- Build directory: /home/cornelia/Documents/Programming/GIT/LibreELEC.tv/build.LibreELEC-RPi4.arm-9.80-devel/build/kodi-6e15fcb9ff05ed7463d69083b2fa2fd702f3abd0/.armv8a-libreelec-linux-gnueabihf
-- Generator: Single-configuration: MinSizeRel (Ninja)
-- CMake Version: 3.16.4
-- System type: Linux
-- Linker: GNU gold
-- Core system type: linux
-- Platform: gbm
-- CPU: arm, ARCH: arm
-- Cross-Compiling: TRUE
-- Execute build artefacts on host: FALSE
-- Depends based build:
-- Could not find hardware support for SSE (missing: _SSE_TRUE _SSE_OK)
-- Could not find hardware support for SSE2 (missing: _SSE2_TRUE _SSE2_OK)
-- Could not find hardware support for SSE3 (missing: _SSE3_TRUE _SSE3_OK)
-- Could not find hardware support for SSSE3 (missing: _SSSE3_TRUE _SSSE3_OK)
-- Could not find hardware support for SSE4.1 (missing: _SSE41_TRUE _SSE41_OK)
-- Could not find hardware support for SSE4.2 (missing: _SSE42_TRUE _SSE42_OK)
-- Could not find hardware support for AVX (missing: _AVX_TRUE _AVX_OK)
-- Could not find hardware support for AVX2 (missing: _AVX2_TRUE _AVX2_OK)
-- NEON optimization enabled
-- Could NOT find Bluetooth (missing: BLUETOOTH_LIBRARY BLUETOOTH_INCLUDE_DIR)
-- Could NOT find ClangFormat (missing: CLANG_FORMAT_EXECUTABLE)
-- Could NOT find LCMS2 (missing: LCMS2_LIBRARY LCMS2_INCLUDE_DIR)
-- Could NOT find MDNS (missing: MDNS_LIBRARY MDNS_INCLUDE_DIR)
-- Could NOT find Sndio (missing: SNDIO_LIBRARY SNDIO_INCLUDE_DIR)
-- #---- CONFIGURATION ----#
-- Platform: gbm
-- -- PATH config --
-- Prefix: /usr
-- Libdir: /usr/lib
-- Bindir: /usr/bin
-- Includedir: /usr/include
-- Datarootdir: /usr/share
-- Datadir: /usr/share
-- Docdir: /usr/share/doc/kodi
-- ALSA enabled: Yes
-- AVAHI enabled: Yes
-- BLUETOOTH enabled: No
-- BLURAY enabled: Yes
-- CAP enabled: Yes
-- CCACHE enabled: Yes
-- CEC enabled: Yes
-- CLANGFORMAT enabled: No
-- DBUS enabled: Yes
-- LCMS2 enabled: No
-- LIRCCLIENT enabled: Yes
-- MDNS enabled: No
-- MICROHTTPD enabled: Yes
-- NFS enabled: Yes
-- PLIST enabled: Yes
-- PULSEAUDIO enabled: Yes
-- PYTHON enabled: Yes
-- SMBCLIENT enabled: Yes
-- SNDIO enabled: No
-- UDEV enabled: Yes
-- XSLT enabled: Yes
-- VAAPI enabled: No
-- MARIADBCLIENT enabled: Yes
-- Configuring done
-- Generating done
-- Build files have been written to: /home/cornelia/Documents/Programming/GIT/LibreELEC.tv/build.LibreELEC-RPi4.arm-9.80-devel/build/kodi-6e15fcb9ff05ed7463d69083b2fa2fd702f3abd0/.armv8a-libreelec-linux-gnueabihf
Executing (target): ninja
[1/1513] Performing autoreconf step for 'dvdcss'
FAILED: build/libdvd/src/dvdcss-stamp/dvdcss-autoreconf
cd /home/cornelia/Documents/Programming/GIT/LibreELEC.tv/build.LibreELEC-RPi4.arm-9.80-devel/build/kodi-6e15fcb9ff05ed7463d69083b2fa2fd702f3abd0/.armv8a-libreelec-linux-gnueabihf/build/libdvd/src/dvdcss && "PATH=/home/cornelia/Documents/Programming/GIT/LibreELEC.tv/build.LibreELEC-RPi4.arm-9.80-devel/toolchain/bin:/home/cornelia/Documents/Programming/GIT/LibreELEC.tv/build.LibreELEC-RPi4.arm-9.80-devel/toolchain/bin:/home/cornelia/Documents/Programming/GIT/LibreELEC.tv/build.LibreELEC-RPi4.arm-9.80-devel/toolchain/sbin:~/Scripts:/home/cornelia/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/cornelia/.dotnet/tools" autoreconf -vif && /home/cornelia/Documents/Programming/GIT/LibreELEC.tv/build.LibreELEC-RPi4.arm-9.80-devel/toolchain/bin/cmake -E touch /home/cornelia/Documents/Programming/GIT/LibreELEC.tv/build.LibreELEC-RPi4.arm-9.80-devel/build/kodi-6e15fcb9ff05ed7463d69083b2fa2fd702f3abd0/.armv8a-libreelec-linux-gnueabihf/build/libdvd/src/dvdcss-stamp/dvdcss-autoreconf
/bin/sh: 1: PATH=/home/cornelia/Documents/Programming/GIT/LibreELEC.tv/build.LibreELEC-RPi4.arm-9.80-devel/toolchain/bin:/home/cornelia/Documents/Programming/GIT/LibreELEC.tv/build.LibreELEC-RPi4.arm-9.80-devel/toolchain/bin:/home/cornelia/Documents/Programming/GIT/LibreELEC.tv/build.LibreELEC-RPi4.arm-9.80-devel/toolchain/sbin:~/Scripts:/home/cornelia/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/cornelia/.dotnet/tools: not found
[7/1513] Building CXX object build/upnp/CMakeFiles/upnp.dir/Platinum/Source/Core/PltHttpServer.cpp.o
In file included from ../lib/libUPnP/Platinum/Source/Core/PltHttpServerTask.h:46,
from ../lib/libUPnP/Platinum/Source/Core/PltHttpServer.h:46,
from ../lib/libUPnP/Platinum/Source/Core/PltHttpServer.cpp:39:
../lib/libUPnP/Platinum/Source/Core/PltHttpServer.cpp: In member function 'virtual NPT_Result PLT_HttpServer::SetupResponse(NPT_HttpRequest&, const NPT_HttpRequestContext&, NPT_HttpResponse&)':
../lib/libUPnP/Platinum/Source/Core/PltHttp.h:178:123: warning: the compiler can assume that the address of 'request' will never be NULL [-Waddress]
178 | #define PLT_LOG_HTTP_REQUEST(_level,_prefix,_request) PLT_LOG_HTTP_REQUEST_L(_NPT_LocalLogger,(_level),(_prefix),(_request))
| ^
../lib/libUPnP/Platinum/Source/Core/PltHttp.h:156:10: note: in definition of macro 'PLT_LOG_HTTP_REQUEST_L'
156 | if (!_request) break; \
| ^~~~~~~~
../lib/libUPnP/Platinum/Source/Core/PltHttpServer.cpp:163:5: note: in expansion of macro 'PLT_LOG_HTTP_REQUEST'
163 | PLT_LOG_HTTP_REQUEST(NPT_LOG_LEVEL_FINE, prefix, &request);
| ^~~~~~~~~~~~~~~~~~~~
../lib/libUPnP/Platinum/Source/Core/PltHttp.h:156:5: warning: nonnull argument 'request' compared to NULL [-Wnonnull-compare]
156 | if (!_request) break; \
| ^~
[8/1513] Building CXX object build/upnp/CMakeFiles/upnp.dir/Platinum/Source/Core/PltEvent.cpp.o
In file included from ../lib/libUPnP/Platinum/Source/Core/PltHttpClientTask.h:46,
from ../lib/libUPnP/Platinum/Source/Core/PltEvent.h:46,
from ../lib/libUPnP/Platinum/Source/Core/PltEvent.cpp:39:
../lib/libUPnP/Platinum/Source/Core/PltEvent.cpp: In static member function 'static PLT_EventNotification* PLT_EventNotification::Parse(const NPT_HttpRequest&, const NPT_HttpRequestContext&, NPT_HttpResponse&)':
../lib/libUPnP/Platinum/Source/Core/PltHttp.h:178:123: warning: the compiler can assume that the address of 'request' will never be NULL [-Waddress]
178 | #define PLT_LOG_HTTP_REQUEST(_level,_prefix,_request) PLT_LOG_HTTP_REQUEST_L(_NPT_LocalLogger,(_level),(_prefix),(_request))
| ^
../lib/libUPnP/Platinum/Source/Core/PltHttp.h:156:10: note: in definition of macro 'PLT_LOG_HTTP_REQUEST_L'
156 | if (!_request) break; \
| ^~~~~~~~
../lib/libUPnP/Platinum/Source/Core/PltEvent.cpp:58:5: note: in expansion of macro 'PLT_LOG_HTTP_REQUEST'
58 | PLT_LOG_HTTP_REQUEST(NPT_LOG_LEVEL_FINER, "PLT_CtrlPoint::ProcessHttpNotify:", &request);
| ^~~~~~~~~~~~~~~~~~~~
../lib/libUPnP/Platinum/Source/Core/PltHttp.h:156:5: warning: nonnull argument 'request' compared to NULL [-Wnonnull-compare]
156 | if (!_request) break; \
| ^~
ninja: build stopped: subcommand failed.
FAILURE: scripts/build kodi during make_target (default)
*********** FAILED COMMAND ***********
ninja ${NINJA_OPTS} ${PKG_MAKE_OPTS_TARGET}
**************************************
Display More
It looks it's something to do with dvdcss given "FAILED: build/libdvd/src/dvdcss-stamp/dvdcss-autoreconf". Any ideas on what to do to work around this? Am a little lost.