Comment 3 for bug 1990964

Revision history for this message
Graham Inggs (ginggs) wrote :

Now that the kernel is fixed, we can see a different error:

gcc -DHAVE_CONFIG_H -I./linux/x86_64 -I../../src/linux/x86_64 -I./linux/generic -I../../src/linux/generic -I. -I../../src -DIN_STRACE=1 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wdate-time -Wformat-security -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wtrampolines -Wundef -Wwrite-strings -Werror -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -MT libstrace_a-ioctl.o -MD -MP -MF .deps/libstrace_a-ioctl.Tpo -c -o libstrace_a-ioctl.o `test -f 'ioctl.c' || echo '../../src/'`ioctl.c
In file included from ../../src/list.h:90,
                 from ../../src/defs.h:40,
                 from ../../src/io_uring.c:9:
../../src/io_uring.c: In function ‘print_io_uring_register_rsrc’:
../../src/io_uring.c:394:29: error: ‘struct io_uring_rsrc_register’ has no member named ‘resv’; did you mean ‘resv2’?
  394 | CHECK_TYPE_SIZE(arg.resv, sizeof(uint32_t));
      | ^~~~
../../src/macros.h:141:30: note: in definition of macro ‘CHECK_TYPE_SIZE’
  141 | static_assert(sizeof(type_) == (sz_), \
      | ^~~~~
../../src/macros.h:141:23: error: expression in static assertion is not an integer
  141 | static_assert(sizeof(type_) == (sz_), \
      | ^~~~~~
../../src/io_uring.c:394:9: note: in expansion of macro ‘CHECK_TYPE_SIZE’
  394 | CHECK_TYPE_SIZE(arg.resv, sizeof(uint32_t));
      | ^~~~~~~~~~~~~~~
../../src/io_uring.c:408:17: error: ‘struct io_uring_rsrc_register’ has no member named ‘resv’; did you mean ‘resv2’?
  408 | if (arg.resv) {
      | ^~~~
      | resv2

https://launchpadlibrarian.net/628843686/buildlog_ubuntu-kinetic-amd64.strace_5.16-0ubuntu4_BUILDING.txt.gz