========== build_tools - FAILED ====== Cleaning ====== ../../../scripts/Makefile.include:4: *** O=build_tools/ does not exist. Stop. ====== Baseline building the tree ====== make[1]: Circular /home/nipa/bpf-next/wt-0/build_tools/kselftest/alsa/global-timer <- /home/nipa/bpf-next/wt-0/build_tools/kselftest/alsa/global-timer dependency dropped. Warning: Kernel ABI header at 'tools/include/uapi/linux/bpf.h' differs from latest version at 'include/uapi/linux/bpf.h' Warning: Kernel ABI header at 'tools/include/uapi/linux/if_xdp.h' differs from latest version at 'include/uapi/linux/if_xdp.h' Warning: Kernel ABI header at 'tools/include/uapi/linux/bpf.h' differs from latest version at 'include/uapi/linux/bpf.h' Warning: Kernel ABI header at 'tools/include/uapi/linux/if_xdp.h' differs from latest version at 'include/uapi/linux/if_xdp.h' ====== Building the tree before the patch ====== make[1]: Circular /home/nipa/bpf-next/wt-0/build_tools/kselftest/alsa/global-timer <- /home/nipa/bpf-next/wt-0/build_tools/kselftest/alsa/global-timer dependency dropped. Warning: Kernel ABI header at 'tools/include/uapi/linux/bpf.h' differs from latest version at 'include/uapi/linux/bpf.h' Warning: Kernel ABI header at 'tools/include/uapi/linux/if_xdp.h' differs from latest version at 'include/uapi/linux/if_xdp.h' Warning: Kernel ABI header at 'tools/include/uapi/linux/bpf.h' differs from latest version at 'include/uapi/linux/bpf.h' Warning: Kernel ABI header at 'tools/include/uapi/linux/if_xdp.h' differs from latest version at 'include/uapi/linux/if_xdp.h' ====== Checking if tree is clean ====== ?? tools/testing/selftests/net/rds/include.sh ====== Building the tree with the patch ====== make[1]: Circular /home/nipa/bpf-next/wt-0/build_tools/kselftest/alsa/global-timer <- /home/nipa/bpf-next/wt-0/build_tools/kselftest/alsa/global-timer dependency dropped. Warning: Kernel ABI header at 'tools/include/uapi/linux/bpf.h' differs from latest version at 'include/uapi/linux/bpf.h' Warning: Kernel ABI header at 'tools/include/uapi/linux/if_xdp.h' differs from latest version at 'include/uapi/linux/if_xdp.h' In file included from hid_bpf.c:5: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h:705:48: error: ‘struct bpf_dynptr_user’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 705 | struct bpf_dynptr_user *dynptr) | ^~~~~~~~~~~~~~~ /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h: In function ‘bpf_dynptr_user_init’: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h:707:15: error: invalid use of undefined type ‘struct bpf_dynptr_user’ 707 | dynptr->data = (__u64)(unsigned long)data; | ^~ /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h:708:15: error: invalid use of undefined type ‘struct bpf_dynptr_user’ 708 | dynptr->size = size; | ^~ /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h:709:15: error: invalid use of undefined type ‘struct bpf_dynptr_user’ 709 | dynptr->rsvd = 0; | ^~ /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h: At top level: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h:712:52: error: ‘struct bpf_dynptr_user’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 712 | static inline void bpf_dynptr_user_set_size(struct bpf_dynptr_user *dynptr, | ^~~~~~~~~~~~~~~ /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h: In function ‘bpf_dynptr_user_set_size’: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h:715:15: error: invalid use of undefined type ‘struct bpf_dynptr_user’ 715 | dynptr->size = new_size; | ^~ /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h: At top level: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h:719:35: error: ‘struct bpf_dynptr_user’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 719 | bpf_dynptr_user_size(const struct bpf_dynptr_user *dynptr) | ^~~~~~~~~~~~~~~ /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h: In function ‘bpf_dynptr_user_size’: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h:721:22: error: invalid use of undefined type ‘const struct bpf_dynptr_user’ 721 | return dynptr->size; | ^~ /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h: At top level: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h:725:35: error: ‘struct bpf_dynptr_user’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 725 | bpf_dynptr_user_data(const struct bpf_dynptr_user *dynptr) | ^~~~~~~~~~~~~~~ /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h: In function ‘bpf_dynptr_user_data’: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h:727:45: error: invalid use of undefined type ‘const struct bpf_dynptr_user’ 727 | return (void *)(unsigned long)dynptr->data; | ^~ cc1: all warnings being treated as errors make[1]: *** [Makefile:234: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/hid_bpf.o] Error 1 make[1]: *** Waiting for unfinished jobs.... Warning: Kernel ABI header at 'tools/include/uapi/linux/bpf.h' differs from latest version at 'include/uapi/linux/bpf.h' Warning: Kernel ABI header at 'tools/include/uapi/linux/if_xdp.h' differs from latest version at 'include/uapi/linux/if_xdp.h' ====== Checking if tree is clean ====== ?? tools/testing/selftests/net/rds/include.sh New errors added --- /tmp/tmp.wA6IjGosjT 2024-10-08 04:13:48.994202686 -0700 +++ /tmp/tmp.DDQobHMJuH 2024-10-08 04:13:57.687132382 -0700 @@ -3,0 +4,41 @@ +In file included from hid_bpf.c:5: +/home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h:705:48: error: ‘struct bpf_dynptr_user’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] + 705 | struct bpf_dynptr_user *dynptr) + | ^~~~~~~~~~~~~~~ +/home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h: In function ‘bpf_dynptr_user_init’: +/home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h:707:15: error: invalid use of undefined type ‘struct bpf_dynptr_user’ + 707 | dynptr->data = (__u64)(unsigned long)data; + | ^~ +/home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h:708:15: error: invalid use of undefined type ‘struct bpf_dynptr_user’ + 708 | dynptr->size = size; + | ^~ +/home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h:709:15: error: invalid use of undefined type ‘struct bpf_dynptr_user’ + 709 | dynptr->rsvd = 0; + | ^~ +/home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h: At top level: +/home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h:712:52: error: ‘struct bpf_dynptr_user’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] + 712 | static inline void bpf_dynptr_user_set_size(struct bpf_dynptr_user *dynptr, + | ^~~~~~~~~~~~~~~ +/home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h: In function ‘bpf_dynptr_user_set_size’: +/home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h:715:15: error: invalid use of undefined type ‘struct bpf_dynptr_user’ + 715 | dynptr->size = new_size; + | ^~ +/home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h: At top level: +/home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h:719:35: error: ‘struct bpf_dynptr_user’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] + 719 | bpf_dynptr_user_size(const struct bpf_dynptr_user *dynptr) + | ^~~~~~~~~~~~~~~ +/home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h: In function ‘bpf_dynptr_user_size’: +/home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h:721:22: error: invalid use of undefined type ‘const struct bpf_dynptr_user’ + 721 | return dynptr->size; + | ^~ +/home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h: At top level: +/home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h:725:35: error: ‘struct bpf_dynptr_user’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] + 725 | bpf_dynptr_user_data(const struct bpf_dynptr_user *dynptr) + | ^~~~~~~~~~~~~~~ +/home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h: In function ‘bpf_dynptr_user_data’: +/home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/include/bpf/bpf.h:727:45: error: invalid use of undefined type ‘const struct bpf_dynptr_user’ + 727 | return (void *)(unsigned long)dynptr->data; + | ^~ +cc1: all warnings being treated as errors +make[1]: *** [Makefile:234: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/hid_bpf.o] Error 1 +make[1]: *** Waiting for unfinished jobs.... Per-file breakdown