Building kde frameworks using kde-builder fails in wayland-protocols
Alexander Neundorf
neundorf at kde.org
Thu Feb 6 05:47:49 GMT 2025
Hi,
on Ubuntu 24.04 using gcc 14, building frameworks fails:
kde-builder --set-project-option-value frameworks,tag,v6.8.0 --set-project-option-value
oxygen-icons,tag,v6.0.0 frameworks
[4/304] Compiling C object tests/test-build-pedantic-stable_xdg_shell_xdg_shell_xml.p/
meson-generated_.._test-build-pedantic-stable_xdg_shell_xdg_shell_xml.c.o
FAILED: tests/test-build-pedantic-stable_xdg_shell_xdg_shell_xml.p/meson-
generated_.._test-build-pedantic-stable_xdg_shell_xdg_shell_xml.c.o
cc -Itests/test-build-pedantic-stable_xdg_shell_xdg_shell_xml.p -Itests -I../../src/wayland-
protocols/tests -I/opt/kf6/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -
Wall -Winvalid-pch -O0 -g -std=c99 -pedantic -Wall -Werror -MD -MQ tests/test-build-
pedantic-stable_xdg_shell_xdg_shell_xml.p/meson-generated_.._test-build-pedantic-
stable_xdg_shell_xdg_shell_xml.c.o -MF tests/test-build-pedantic-
stable_xdg_shell_xdg_shell_xml.p/meson-generated_.._test-build-pedantic-
stable_xdg_shell_xdg_shell_xml.c.o.d -o tests/test-build-pedantic-
stable_xdg_shell_xdg_shell_xml.p/meson-generated_.._test-build-pedantic-
stable_xdg_shell_xdg_shell_xml.c.o -c tests/test-build-pedantic-
stable_xdg_shell_xdg_shell_xml.c
In file included from /opt/kf6/include/wayland-client.h:39,
from /home/user/kde/build/wayland-protocols/tests/xdg-shell-client.h:8,
from tests/test-build-pedantic-stable_xdg_shell_xdg_shell_xml.c:1:
/opt/kf6/include/wayland-client-core.h:256:42: error:struct timespec declared inside
parameter list will not be visible outside of this definition or declaration [-Werror]
256 | const struct timespec *timeout);
| ^~~~~~~~
/opt/kf6/include/wayland-client-core.h:261:48: error: struct timespec declared inside
parameter list will not be visible outside of this definition or declaration [-Werror]
261 | const struct timespec *timeout);
| ^~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
What am I doing wrong ?
Thanks
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-devel/attachments/20250206/e0d036cf/attachment.htm>
More information about the kde-devel
mailing list