[Bug 1990964] Re: FTBFS on kinetic

Graham Inggs 1990964 at bugs.launchpad.net
Sun Oct 16 07:35:23 UTC 2022


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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to strace in Ubuntu.
https://bugs.launchpad.net/bugs/1990964

Title:
  FTBFS on kinetic

Status in linux package in Ubuntu:
  Fix Released
Status in strace package in Ubuntu:
  Triaged

Bug description:
  As can be seen in [1], strace FTBFS in kinetic: this is caused by the
  kernel headers (linux-libc-dev) which do not define F_GETLK64 and
  other on 64b builds because the kernel contains a bogus commit
  (306f7cc1e906 "uapi: always define F_GETLK64/F_SETLK64/F_SETLKW64 in
  fcntl.h"). This commit actually did the opposite of what it was
  supposed to do, namely defining those macros even on 64b builds. There
  is an attempt here to fix this which was not merged yet:
  https://lore.kernel.org/lkml/CAJF2gTQtnMoeb62-63Ou8y4DBrdYM7iztdtfLuXX9U0LTWUHLA@mail.gmail.com/T/

  [1]: https://launchpadlibrarian.net/625441996/buildlog_ubuntu-kinetic-
  amd64.strace_5.16-0ubuntu4_BUILDING.txt.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1990964/+subscriptions




More information about the foundations-bugs mailing list