On Sun Feb 22, 2026 at 5:18 PM CET, Aurelien Jarno wrote:
> Source: wlroots
> Version: 0.19.2-1
> Severity: important
> Tags: ftbfs upstream
> Justification: fails to build from source
> User: [email protected]
> Usertags: glibc-2.43
>
> Dear maintainer(s),
>
> wlroots fails to build from source with glibc 2.43, currently in
> experimental. From the build log:
>
> | [371/398] cc -Ilibwlroots-0.19.so.p -I. -I.. -Iinclude -I../include 
> -Iprotocol -Irender/gles2/shaders -Irender/vulkan/shaders -Ibackend/drm 
> -I/usr/include/libdrm -I/usr/include/pixman-1 -fdiagnostics-color=always 
> -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c23 
> -D_POSIX_C_SOURCE=200809L -DWLR_USE_UNSTABLE -DWLR_PRIVATE= 
> -DWLR_LITTLE_ENDIAN=1 -DWLR_BIG_ENDIAN=0 -Wundef -Wlogical-op 
> -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self 
> -Wstrict-prototypes -Wimplicit-fallthrough=2 -Wendif-labels 
> -Wstrict-aliasing=2 -Woverflow -Wmissing-prototypes -Walloca 
> -Wno-missing-braces -Wno-missing-field-initializers -Wno-unused-parameter 
> -fmacro-prefix-map=../= -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/build/reproducible-path/wlroots-0.19.2=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -mbranch-protection=standard -Wdate-time 
> -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ 
> libwlroots-0.19.so.p/xcursor_xcursor.c.o -MF 
> libwlroots-0.19.so.p/xcursor_xcursor.c.o.d -o 
> libwlroots-0.19.so.p/xcursor_xcursor.c.o -c ../xcursor/xcursor.c
> | FAILED: [code=1] libwlroots-0.19.so.p/xcursor_xcursor.c.o 
> | cc -Ilibwlroots-0.19.so.p -I. -I.. -Iinclude -I../include -Iprotocol 
> -Irender/gles2/shaders -Irender/vulkan/shaders -Ibackend/drm 
> -I/usr/include/libdrm -I/usr/include/pixman-1 -fdiagnostics-color=always 
> -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c23 
> -D_POSIX_C_SOURCE=200809L -DWLR_USE_UNSTABLE -DWLR_PRIVATE= 
> -DWLR_LITTLE_ENDIAN=1 -DWLR_BIG_ENDIAN=0 -Wundef -Wlogical-op 
> -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self 
> -Wstrict-prototypes -Wimplicit-fallthrough=2 -Wendif-labels 
> -Wstrict-aliasing=2 -Woverflow -Wmissing-prototypes -Walloca 
> -Wno-missing-braces -Wno-missing-field-initializers -Wno-unused-parameter 
> -fmacro-prefix-map=../= -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/build/reproducible-path/wlroots-0.19.2=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -mbranch-protection=standard -Wdate-time 
> -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ 
> libwlroots-0.19.so.p/xcursor_xcursor.c.o -MF 
> libwlroots-0.19.so.p/xcursor_xcursor.c.o.d -o 
> libwlroots-0.19.so.p/xcursor_xcursor.c.o -c ../xcursor/xcursor.c
> | ../xcursor/xcursor.c: In function ‘xcursor_next_path’:
> | ../xcursor/xcursor.c:605:23: error: initialization discards ‘const’ 
> qualifier from pointer target type [-Werror=discarded-qualifiers]
> |   605 |         char *colon = strchr(path, ':');
> |       |                       ^~~~~~
> | cc1: all warnings being treated as errors

Can you verify if this is fixed with wlroots 0.20.0-rc1 (or later),
available in experimental? I strongly suspect it is, due to
47486545b196 ("Add "const" to eliminate "error: initialization discards ‘const’ 
qualifier from pointer target type"")

https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/47486545b196

And that commit is part of 0.20.0-rc1

Attachment: signature.asc
Description: PGP signature

Reply via email to