2019-10-14, 00:26
I maintain the kodi-git package for Arch Linux. I switched the old python2 deps over to their respective python3 version, but the build for wayland fails. Link to build log but if I just grep for the for the word error:
Any insights are welcomed.
Code:
hecking for library containing strerror... [ 1%] Generating xbmc.json/addon.xml
DefaultIconError.png
icons/pvr/PVR-HasTimerError.png
icons/pvr/PVR-HasTimerScheduleError.png
checking for strerror... yes
DefaultIconError.png
checking for /usr/bin/cc way to treat warnings as errors... -Werror
CC src/error.lo
498 | FF_ALLOC_OR_GOTO(alac->avctx, alac->predict_error_buffer[ch],
CC libavcodec/error_resilience.o
CC libavutil/error.o
340 | av_log(obj, AV_LOG_ERROR, "Unable to parse option value \"%s\" as video rate\n", val);
INSTALL build/kodi-git/src/kodi-build-wayland/build/ffmpeg/src/ffmpeg/libavutil/error.h
/usr/include/wayland-util.hpp:472:7: error: invalid static_cast from type ‘wayland::xdg_toplevel_state*’ to type ‘const char*’
make[2]: *** [build/windowing/wayland/CMakeFiles/windowing_WAYLAND.dir/build.make:193: build/windowing/wayland/CMakeFiles/windowing_WAYLAND.dir/ShellSurfaceXdgShell.cpp.o] Error 1
/usr/include/wayland-util.hpp:472:7: error: invalid static_cast from type ‘wayland::zxdg_toplevel_v6_state*’ to type ‘const char*’
make[2]: *** [build/windowing/wayland/CMakeFiles/windowing_WAYLAND.dir/build.make:206: build/windowing/wayland/CMakeFiles/windowing_WAYLAND.dir/ShellSurfaceXdgShellUnstableV6.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:10634: build/windowing/wayland/CMakeFiles/windowing_WAYLAND.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Any insights are welcomed.
Code:
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DENABLE_EVENTCLIENTS=ON \
-DENABLE_INTERNAL_FFMPEG=ON \
-DENABLE_INTERNAL_FMT=ON \
-DENABLE_INTERNAL_CROSSGUID=ON \
-DENABLE_INTERNAL_FSTRCMP=ON \
-DENABLE_INTERNAL_FLATBUFFERS=ON \
-Dlibdvdcss_URL="/libdvdcss-1.4.2-Leia-Beta-5.tar.gz" \
-Dlibdvdnav_URL="/libdvdnav-6.0.0-Leia-Alpha-3.tar.gz" \
-Dlibdvdread_URL="/libdvdread-6.0.0-Leia-Alpha-3.tar.gz" \
-DFFMPEG_URL="/ffmpeg-4.0.4-Leia-18.4.tar.gz" \
-DFMT_URL="/fmt-5.1.0.tar.gz" \
-DCROSSGUID_URL="/crossguid-8f399e8bd4.tar.gz" \
-DFSTRCMP_URL="/fstrcmp-0.7.D001.tar.gz" \
-DFLATBUFFERS_URL="/flatbuffers-1.11.0.tar.gz" \
-DCORE_PLATFORM_NAME=wayland \
-DWAYLAND_RENDER_SYSTEM=gl \
../xbmc
make
make preinstall