DEBUG: Executing shell function do_compile
[1/6] x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot -Iqad.p -I. -I../sources/qad-0.0+git -I../sources/qad-0.0+git/include -ITOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot/usr/include/cjson -ITOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot/usr/include/libdrm -ITOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot/usr/include/libpng16 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/sources/qad-0.0+git=/usr/src/debug/qad/0.0+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/build=/usr/src/debug/qad/0.0+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot-native= -pipe -O2 -Wall -Werror -MD -MQ qad.p/src_backends_input_evdev_input.c.o -MF qad.p/src_backends_input_evdev_input.c.o.d -o qad.p/src_backends_input_evdev_input.c.o -c ../sources/qad-0.0+git/src/backends/input/evdev_input.c
[2/6] x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot -Iqad.p -I. -I../sources/qad-0.0+git -I../sources/qad-0.0+git/include -ITOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot/usr/include/cjson -ITOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot/usr/include/libdrm -ITOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot/usr/include/libpng16 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/sources/qad-0.0+git=/usr/src/debug/qad/0.0+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/build=/usr/src/debug/qad/0.0+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot-native= -pipe -O2 -Wall -Werror -MD -MQ qad.p/src_backends_input_uinput.c.o -MF qad.p/src_backends_input_uinput.c.o.d -o qad.p/src_backends_input_uinput.c.o -c ../sources/qad-0.0+git/src/backends/input/uinput.c
[3/6] x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot -Iqad.p -I. -I../sources/qad-0.0+git -I../sources/qad-0.0+git/include -ITOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot/usr/include/cjson -ITOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot/usr/include/libdrm -ITOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot/usr/include/libpng16 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/sources/qad-0.0+git=/usr/src/debug/qad/0.0+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/build=/usr/src/debug/qad/0.0+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot-native= -pipe -O2 -Wall -Werror -MD -MQ qad.p/src_backends_screen_kms.c.o -MF qad.p/src_backends_screen_kms.c.o.d -o qad.p/src_backends_screen_kms.c.o -c ../sources/qad-0.0+git/src/backends/screen/kms.c
[4/6] x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot -Iqad.p -I. -I../sources/qad-0.0+git -I../sources/qad-0.0+git/include -ITOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot/usr/include/cjson -ITOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot/usr/include/libdrm -ITOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot/usr/include/libpng16 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/sources/qad-0.0+git=/usr/src/debug/qad/0.0+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/build=/usr/src/debug/qad/0.0+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot-native= -pipe -O2 -Wall -Werror -MD -MQ qad.p/src_backends_input_input_common.c.o -MF qad.p/src_backends_input_input_common.c.o.d -o qad.p/src_backends_input_input_common.c.o -c ../sources/qad-0.0+git/src/backends/input/input_common.c
[5/6] x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot -Iqad.p -I. -I../sources/qad-0.0+git -I../sources/qad-0.0+git/include -ITOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot/usr/include/cjson -ITOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot/usr/include/libdrm -ITOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot/usr/include/libpng16 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/sources/qad-0.0+git=/usr/src/debug/qad/0.0+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/build=/usr/src/debug/qad/0.0+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot-native= -pipe -O2 -Wall -Werror -MD -MQ qad.p/src_server.c.o -MF qad.p/src_server.c.o.d -o qad.p/src_server.c.o -c ../sources/qad-0.0+git/src/server.c
FAILED: [code=1] qad.p/src_server.c.o 
x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot -Iqad.p -I. -I../sources/qad-0.0+git -I../sources/qad-0.0+git/include -ITOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot/usr/include/cjson -ITOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot/usr/include/libdrm -ITOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot/usr/include/libpng16 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/sources/qad-0.0+git=/usr/src/debug/qad/0.0+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/build=/usr/src/debug/qad/0.0+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot-native= -pipe -O2 -Wall -Werror -MD -MQ qad.p/src_server.c.o -MF qad.p/src_server.c.o.d -o qad.p/src_server.c.o -c ../sources/qad-0.0+git/src/server.c
../sources/qad-0.0+git/src/server.c: In function 'qad_screenshot':
../sources/qad-0.0+git/src/server.c:212:22: error: initialization discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  212 |   char *pLastSlash = strrchr(url, '/');
      |                      ^~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: TOPDIR/tmp/work/x86-64-v3-poky-linux/qad/0.0+git/recipe-sysroot-native/usr/bin/ninja -j 16 -l 75.0 -v
WARNING: exit code 1 from a shell command.

Error details

Submitted on:
22/11/25 03:55
Error type:
Recipe
Task:
do_compile
Recipe:
qad
Recipe version:
0.0+git-r0
Machine:
qemux86-64
Distro:
poky
Build system:
x86_64-linux
Target system:
x86_64-poky-linux
Host distro:
debian-12/debian-12
Branch:
yoe/mut
Commit:
6d1f0c2d8223c4b38854cf9a18f762dfba20660a
Build:
#221059
Submitter:
yp-ab-debian12-vk-8
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/81/builds/1109
Similar errors:
1
Open a bug