I found a pretty similar error on G/RISC-V, cycle sru-20210510, see the
attachment.

** Attachment added: "g-riscv-selfnet-bpf_failure.txt"
   
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1894964/+attachment/5500939/+files/g-riscv-selfnet-bpf_failure.txt

** Tags added: riscv

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1894964

Title:
  Unable to build ubuntu_bpf test on Groovy 5.8 KVM kernel / F-5.8-hwe
  (blocking net test in ubuntu_kernel_selftests to build)

Status in ubuntu-kernel-tests:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Groovy:
  Confirmed

Bug description:
  Issue found on 5.8.0-1001.1 - kvm

  Test build failed with:
  Warning: Kernel ABI header at 'tools/include/uapi/linux/netlink.h' differs 
from latest version at 'include/uapi/linux/netlink.h'
  Warning: Kernel ABI header at 'tools/include/uapi/linux/if_link.h' differs 
from latest version at 'include/uapi/linux/if_link.h'
  In file included from 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/include/linux/build_bug.h:5,
  from 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/include/linux/kernel.h:8,
  from 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/kernel/bpf/disasm.h:10,
  from 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/kernel/bpf/disasm.c:8:
  /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/kernel/bpf/disasm.c: In 
function ‘__func_get_name’:
  
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/include/linux/compiler.h:37:38:
 warning: nested extern declaration of ‘__compiletime_assert_0’ 
[-Wnested-externs]
  37 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
  | ^~~~~~~~~~~~~~~~~~~~~
  
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/include/linux/compiler.h:16:15:
 note: in definition of macro ‘__compiletime_assert’
  16 | extern void prefix ## suffix(void) __compiletime_error(msg); \
  | ^~~~~~
  
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/include/linux/compiler.h:37:2:
 note: in expansion of macro ‘_compiletime_assert’
  37 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
  | ^~~~~~~~~~~~~~~~~~~
  
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/include/linux/build_bug.h:39:37:
 note: in expansion of macro ‘compiletime_assert’
  39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
  | ^~~~~~~~~~~~~~~~~~
  
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/include/linux/build_bug.h:50:2:
 note: in expansion of macro ‘BUILD_BUG_ON_MSG’
  50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
  | ^~~~~~~~~~~~~~~~
  
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/kernel/bpf/disasm.c:20:2: 
note: in expansion of macro ‘BUILD_BUG_ON’
  20 | BUILD_BUG_ON(ARRAY_SIZE(func_id_str) != __BPF_FUNC_MAX_ID);
  | ^~~~~~~~~~~~
  libbpf: failed to open format: No such file or directory
  Error: failed to load BTF from format: No such file or directory
  make[1]: *** [Makefile:190: 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/vmlinux.h]
 Error 2
  make[1]: *** Deleting file 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/vmlinux.h'
  make: *** [Makefile:157: all] Error 2

  Please find attachment for the complete build log.

  As the ubuntu_kernel_selftests needs bpf to be built first, this will
  block the ubuntu_kernel_selftests/net to build as well.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1894964/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to