Public bug reported:

After resolving bug #2112357 the build now fails with:

39656   BINARY xdp_hw_metadata
39657   make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf'
39658   make: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests'
39659   stderr:
39660   Warning: Kernel ABI header at 'tools/include/uapi/linux/bpf.h' differs 
from latest version at 'include/uapi/linux/bpf.h'
39661   Warning: Kernel ABI header at 'tools/include/uapi/linux/if_xdp.h' 
differs from latest version at 'include/uapi/linux/if_xdp.h'
39662   warning: the compiler differs from the one used to build the kernel
39663   The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 
13.3.0-6ubuntu2~24.04) 13.3.0
39664   You are using: gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
39665   Skipping BTF generation for 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.ko
 due to unavailability of vmlinux
39666   xdp_hw_metadata.c: In function ‘open_xsk’:
39667   xdp_hw_metadata.c:82:26: error: ‘XDP_UMEM_TX_METADATA_LEN’ undeclared 
(first use in this function)
39668   82 | .flags = XDP_UMEM_TX_METADATA_LEN,
39669   | ^~~~~~~~~~~~~~~~~~~~~~~~
39670   xdp_hw_metadata.c:82:26: note: each undeclared identifier is reported 
only once for each function it appears in
39671   make[1]: *** [Makefile:690: 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/xdp_hw_metadata]
 Error 1
39672   make: *** [Makefile:181: all] Error 2

** Affects: ubuntu-kernel-tests
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Noble)
     Importance: Low
         Status: Triaged

** Also affects: linux (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu Noble)
   Importance: Undecided => Low

** Changed in: linux (Ubuntu Noble)
       Status: New => Triaged

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

Title:
  ubuntu_bpf failed to build on Noble ( error:
  ‘XDP_UMEM_TX_METADATA_LEN’ undeclared )

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to