DEBUG: Executing shell function do_compile
NOTE: cmake --build TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/build --target all --
[1/48] Generating TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/sources/tcmu-runner-1.6.0/tcmuhandler-generated.c, TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/sources/tcmu-runner-1.6.0/tcmuhandler-generated.h
[2/48] Building C object CMakeFiles/tcmu.dir/strlcpy.c.o
[3/48] Building C object CMakeFiles/handler_qcow.dir/qcow.c.o
FAILED: [code=1] CMakeFiles/handler_qcow.dir/qcow.c.o 
TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/recipe-sysroot-native/usr/bin/aarch64-yoe-linux/aarch64-yoe-linux-clang --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/recipe-sysroot -Dhandler_qcow_EXPORTS -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/sources/tcmu-runner-1.6.0/ccan -target aarch64-yoe-linux  -mcpu=cortex-a57+crc   --dyld-prefix=/usr -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/recipe-sysroot  -O2 -g   -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/sources/tcmu-runner-1.6.0=/usr/src/debug/tcmu-runner/1.6.0  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/build=/usr/src/debug/tcmu-runner/1.6.0  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/recipe-sysroot=  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/recipe-sysroot-native=  -pipe -Werror -Wall -Wdeclaration-after-statement -std=c99 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -fPIC -DHAVE_LINUX_FALLOC -MD -MT CMakeFiles/handler_qcow.dir/qcow.c.o -MF CMakeFiles/handler_qcow.dir/qcow.c.o.d -o CMakeFiles/handler_qcow.dir/qcow.c.o -c TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/sources/tcmu-runner-1.6.0/qcow.c
TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/sources/tcmu-runner-1.6.0/qcow.c:731:17: error: variable 'i' used in loop condition not modified in loop body [-Werror,-Wfor-loop-analysis]
  731 |                                 for (j = 0; i < L2_CACHE_SIZE; j++) {
      |                                             ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/sources/tcmu-runner-1.6.0/qcow.c:875:17: error: variable 'i' used in loop condition not modified in loop body [-Werror,-Wfor-loop-analysis]
  875 |                                 for (j = 0; i < RC_CACHE_SIZE; j++) {
      |                                             ^
2 errors generated.
[4/48] Building C object CMakeFiles/handler_file.dir/file_example.c.o
[5/48] Building C object CMakeFiles/tcmu_static.dir/libtcmu_time.c.o
[6/48] Building C object CMakeFiles/tcmu_static.dir/strlcpy.c.o
[7/48] Building C object CMakeFiles/tcmu.dir/libtcmu_time.c.o
[8/48] Building C object CMakeFiles/tcmu-runner.dir/target.c.o
FAILED: [code=1] CMakeFiles/tcmu-runner.dir/target.c.o 
TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/recipe-sysroot-native/usr/bin/aarch64-yoe-linux/aarch64-yoe-linux-clang --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/recipe-sysroot  -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/build -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/recipe-sysroot/usr/include/gio-unix-2.0 -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/recipe-sysroot/usr/include/glib-2.0 -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/recipe-sysroot/usr/lib/glib-2.0/include -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/recipe-sysroot/usr/include/libmount -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/recipe-sysroot/usr/include/blkid -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/sources/tcmu-runner-1.6.0/ccan -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/recipe-sysroot/usr/include/libnl3 -target aarch64-yoe-linux  -mcpu=cortex-a57+crc   --dyld-prefix=/usr -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/recipe-sysroot  -O2 -g   -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/sources/tcmu-runner-1.6.0=/usr/src/debug/tcmu-runner/1.6.0  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/build=/usr/src/debug/tcmu-runner/1.6.0  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/recipe-sysroot=  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/recipe-sysroot-native=  -pipe -Werror -Wall -Wdeclaration-after-statement -std=c99 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -MD -MT CMakeFiles/tcmu-runner.dir/target.c.o -MF CMakeFiles/tcmu-runner.dir/target.c.o.d -o CMakeFiles/tcmu-runner.dir/target.c.o -c TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/sources/tcmu-runner-1.6.0/target.c
TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/sources/tcmu-runner-1.6.0/target.c:166:36: error: variable 'tpg' is uninitialized when used here [-Werror,-Wuninitialized]
  166 |         list_for_each(&tpg_recovery_list, tpg, recovery_entry) {
      |                                           ^~~
TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/sources/tcmu-runner-1.6.0/target.c:164:26: note: initialize the variable 'tpg' to silence this warning
  164 |         struct tgt_port_grp *tpg;
      |                                 ^
      |                                  = NULL
TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/sources/tcmu-runner-1.6.0/target.c:253:33: error: variable 'rdev' is uninitialized when used here [-Werror,-Wuninitialized]
  253 |         list_for_each_safe(&tpg->devs, rdev, tmp_rdev, recovery_entry) {
      |                                        ^~~~
TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/sources/tcmu-runner-1.6.0/target.c:219:27: note: initialize the variable 'rdev' to silence this warning
  219 |         struct tcmur_device *rdev, *tmp_rdev;
      |                                  ^
      |                                   = NULL
TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/sources/tcmu-runner-1.6.0/target.c:304:28: error: variable 'group' is uninitialized when used here [-Werror,-Wuninitialized]
  304 |         list_for_each(&alua_list, group, entry) {
      |                                   ^~~~~
TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/sources/tcmu-runner-1.6.0/target.c:283:24: note: initialize the variable 'group' to silence this warning
  283 |         struct alua_grp *group;
      |                               ^
      |                                = NULL
3 errors generated.
[9/48] Building C object CMakeFiles/handler_file_zbc.dir/scsi.c.o
[10/48] Building C object CMakeFiles/consumer.dir/consumer.c.o
[11/48] Building C object CMakeFiles/tcmu-runner.dir/tcmur_work.c.o
[12/48] Building C object CMakeFiles/handler_file_optical.dir/scsi.c.o
[13/48] Building C object CMakeFiles/handler_file_optical.dir/file_optical.c.o
[14/48] Building C object CMakeFiles/tcmu-runner.dir/tcmur_device.c.o
[15/48] Building C object CMakeFiles/tcmu-runner.dir/scsi.c.o
[16/48] Building C object CMakeFiles/tcmu.dir/libtcmu_config.c.o
[17/48] Building C object CMakeFiles/consumer.dir/scsi.c.o
[18/48] Building C object CMakeFiles/tcmu_static.dir/libtcmu_config.c.o
[19/48] Building C object CMakeFiles/tcmu-synthesizer.dir/scsi.c.o
[20/48] Building C object CMakeFiles/tcmu.dir/libtcmu-register.c.o
[21/48] Building C object CMakeFiles/tcmu_static.dir/configfs.c.o
[22/48] Building C object CMakeFiles/tcmu-synthesizer.dir/tcmu-synthesizer.c.o
[23/48] Building C object CMakeFiles/tcmu_static.dir/libtcmu-register.c.o
[24/48] Building C object CMakeFiles/tcmu.dir/configfs.c.o
[25/48] Building C object CMakeFiles/tcmu-runner.dir/alua.c.o
FAILED: [code=1] CMakeFiles/tcmu-runner.dir/alua.c.o 
TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/recipe-sysroot-native/usr/bin/aarch64-yoe-linux/aarch64-yoe-linux-clang --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/recipe-sysroot  -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/build -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/recipe-sysroot/usr/include/gio-unix-2.0 -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/recipe-sysroot/usr/include/glib-2.0 -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/recipe-sysroot/usr/lib/glib-2.0/include -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/recipe-sysroot/usr/include/libmount -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/recipe-sysroot/usr/include/blkid -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/sources/tcmu-runner-1.6.0/ccan -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/recipe-sysroot/usr/include/libnl3 -target aarch64-yoe-linux  -mcpu=cortex-a57+crc   --dyld-prefix=/usr -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/recipe-sysroot  -O2 -g   -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/sources/tcmu-runner-1.6.0=/usr/src/debug/tcmu-runner/1.6.0  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/build=/usr/src/debug/tcmu-runner/1.6.0  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/recipe-sysroot=  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/recipe-sysroot-native=  -pipe -Werror -Wall -Wdeclaration-after-statement -std=c99 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -MD -MT CMakeFiles/tcmu-runner.dir/alua.c.o -MF CMakeFiles/tcmu-runner.dir/alua.c.o.d -o CMakeFiles/tcmu-runner.dir/alua.c.o -c TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/sources/tcmu-runner-1.6.0/alua.c
TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/sources/tcmu-runner-1.6.0/alua.c:69:40: error: variable 'port' is uninitialized when used here [-Werror,-Wuninitialized]
   69 |         list_for_each_safe(&group->tgt_ports, port, port_next, entry) {
      |                                               ^~~~
TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/sources/tcmu-runner-1.6.0/alua.c:67:23: note: initialize the variable 'port' to silence this warning
   67 |         struct tgt_port *port, *port_next;
      |                              ^
      |                               = NULL
TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/sources/tcmu-runner-1.6.0/alua.c:267:33: error: variable 'group' is uninitialized when used here [-Werror,-Wuninitialized]
  267 |         list_for_each_safe(group_list, group, group_next, entry) {
      |                                        ^~~~~
TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/sources/tcmu-runner-1.6.0/alua.c:265:24: note: initialize the variable 'group' to silence this warning
  265 |         struct alua_grp *group, *group_next;
      |                               ^
      |                                = NULL
TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/sources/tcmu-runner-1.6.0/alua.c:355:28: error: variable 'group' is uninitialized when used here [-Werror,-Wuninitialized]
  355 |         list_for_each(group_list, group, entry) {
      |                                   ^~~~~
TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/sources/tcmu-runner-1.6.0/alua.c:352:24: note: initialize the variable 'group' to silence this warning
  352 |         struct alua_grp *group;
      |                               ^
      |                                = NULL
TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/sources/tcmu-runner-1.6.0/alua.c:423:28: error: variable 'group' is uninitialized when used here [-Werror,-Wuninitialized]
  423 |         list_for_each(group_list, group, entry) {
      |                                   ^~~~~
TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/sources/tcmu-runner-1.6.0/alua.c:403:24: note: initialize the variable 'group' to silence this warning
  403 |         struct alua_grp *group;
      |                               ^
      |                                = NULL
TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/sources/tcmu-runner-1.6.0/alua.c:692:29: error: variable 'tmp_group' is uninitialized when used here [-Werror,-Wuninitialized]
  692 |                 list_for_each(group_list, tmp_group, entry) {
      |                                           ^~~~~~~~~
TOPDIR/build/tmp/work/cortexa57-yoe-linux/tcmu-runner/1.6.0/sources/tcmu-runner-1.6.0/alua.c:658:28: note: initialize the variable 'tmp_group' to silence this warning
  658 |         struct alua_grp *tmp_group;
      |                                   ^
      |                                    = NULL
5 errors generated.
[26/48] Building C object CMakeFiles/tcmu_static.dir/libtcmu_log.c.o
[27/48] Building C object CMakeFiles/tcmu.dir/libtcmu_log.c.o
[28/48] Building C object CMakeFiles/tcmu-runner.dir/tcmur_aio.c.o
[29/48] Building C object CMakeFiles/tcmu.dir/api.c.o
[30/48] Building C object CMakeFiles/tcmu_static.dir/libtcmu.c.o
[31/48] Building C object CMakeFiles/tcmu_static.dir/api.c.o
[32/48] Building C object CMakeFiles/tcmu-runner.dir/tcmur_cmd_handler.c.o
[33/48] Building C object CMakeFiles/tcmu.dir/libtcmu.c.o
[34/48] Building C object CMakeFiles/tcmu-runner.dir/main.c.o
[35/48] Building C object CMakeFiles/handler_file_zbc.dir/file_zbc.c.o
[36/48] Building C object CMakeFiles/tcmu_static.dir/tcmuhandler-generated.c.o
[37/48] Building C object CMakeFiles/tcmu.dir/tcmuhandler-generated.c.o
[38/48] Building C object CMakeFiles/tcmu-runner.dir/tcmuhandler-generated.c.o
ninja: build stopped: subcommand failed.
WARNING: exit code 1 from a shell command.

Error details

Submitted on:
11/09/26 09:56
Error type:
Recipe
Task:
do_compile
Recipe:
tcmu-runner
Recipe version:
1.6.0-r0
Machine:
qemuarm64
Distro:
yoe
Build system:
aarch64-linux
Target system:
aarch64-yoe-linux
Host distro:
universal/debian-13
Branch:
HEAD
Commit:
d42d38c2a5d99745855b3281526b86c357b8e04a
Build:
#250605
Submitter:
info@yoedistro.org
Similar errors:
0
Open a bug