FS#64074 - [kodi] compilation breaks in wayland

Attached to Project: Community Packages
Opened by Andreas Baumann (andreas_baumann) - Wednesday, 09 October 2019, 17:52 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 30 October 2019, 17:00 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

/build/kodi/src/xbmc-18.4-Leia/xbmc/windowing/wayland/ShellSurfaceXdgShell.cpp:78:3: required from here
/usr/include/wayland-util.hpp:472:7: error: invalid static_cast from type â to type â
472 | wl_array_for_each_cpp(p, &a)
| ^~~~~~~~~~~~~~~~~~~~~
make[2]: *** [build/windowing/wayland/CMakeFiles/windowing_WAYLAND.dir/build.make:193: build/windowing/wayland/CMakeFiles/windowing_WAYLAND.dir/ShellSurfaceXdgShell.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:11618: build/windowing/wayland/CMakeFiles/windowing_WAYLAND.dir/all] Error 2


Additional info:
* package version(s): 18.4-3

Steps to reproduce:
asp export kodi
cd kodi
staging-x86_64-build
This task depends upon

Closed by  Antonio Rojas (arojas)
Wednesday, 30 October 2019, 17:00 GMT
Reason for closing:  Fixed
Comment by loqs (loqs) - Wednesday, 09 October 2019, 20:15 GMT
If you build with waylandpp 0.2.5-1 does such a build succeed?
Edit:
That made no difference. Looks as though the g++ update has triggered the issue.
Downgrading to packages from 2019/10/04 which include gcc 9.1.0-2 the build succeeds.
Comment by Nils Brause (NilsBrause) - Sunday, 13 October 2019, 09:26 GMT

Loading...