====== Cleaning ======
../../../scripts/Makefile.include:4: *** O=build_tools/ does not exist.  Stop.
make[1]: *** nsfs: No such file or directory.  Stop.
 ====== Baseline building the tree ======
Warning: Kernel ABI header at 'tools/include/uapi/linux/if_xdp.h' differs from latest version at 'include/uapi/linux/if_xdp.h'
make[1]: *** nsfs: No such file or directory.  Stop.
pidfd_fdinfo_test.c: In function ‘child_fdinfo_nspid_test’:
pidfd_fdinfo_test.c:230:13: error: implicit declaration of function ‘mount’ [-Wimplicit-function-declaration]
  230 |         r = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0);
      |             ^~~~~
pidfd_fdinfo_test.c:230:36: error: ‘MS_REC’ undeclared (first use in this function)
  230 |         r = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0);
      |                                    ^~~~~~
pidfd_fdinfo_test.c:230:36: note: each undeclared identifier is reported only once for each function it appears in
pidfd_fdinfo_test.c:230:45: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’?
  230 |         r = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0);
      |                                             ^~~~~~~~~~
      |                                             MAP_PRIVATE
pidfd_fdinfo_test.c:236:15: error: implicit declaration of function ‘umount2’; did you mean ‘SYS_umount2’? [-Wimplicit-function-declaration]
  236 |         (void)umount2("/proc", MNT_DETACH);
      |               ^~~~~~~
      |               SYS_umount2
pidfd_fdinfo_test.c:236:32: error: ‘MNT_DETACH’ undeclared (first use in this function)
  236 |         (void)umount2("/proc", MNT_DETACH);
      |                                ^~~~~~~~~~
make[1]: *** [../lib.mk:222: /home/nipa/net-next/wt-1/build_tools/kselftest/pidfd/pidfd_fdinfo_test] Error 1
make[1]: *** Waiting for unfinished jobs....
pidfd_setns_test.c: In function ‘current_nsset_setup’:
pidfd_setns_test.c:172:54: error: implicit declaration of function ‘ioctl’ [-Wimplicit-function-declaration]
  172 |                 self->child_pidfd_derived_nsfds[i] = ioctl(self->pidfd, info->pidfd_ioctl, 0);
      |                                                      ^~~~~
make[1]: *** [../lib.mk:221: /home/nipa/net-next/wt-1/build_tools/kselftest/pidfd/pidfd_setns_test] Error 1
pid_max.c: In function ‘pid_max_cb’:
pid_max.c:42:15: error: implicit declaration of function ‘mount’ [-Wimplicit-function-declaration]
   42 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |               ^~~~~
pid_max.c:42:36: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’?
   42 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |                                    ^~~~~~~~~~
      |                                    MAP_PRIVATE
pid_max.c:42:36: note: each undeclared identifier is reported only once for each function it appears in
pid_max.c:42:49: error: ‘MS_REC’ undeclared (first use in this function)
   42 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |                                                 ^~~~~~
pid_max.c:48:9: error: implicit declaration of function ‘umount2’; did you mean ‘SYS_umount2’? [-Wimplicit-function-declaration]
   48 |         umount2("/proc", MNT_DETACH);
      |         ^~~~~~~
      |         SYS_umount2
pid_max.c:48:26: error: ‘MNT_DETACH’ undeclared (first use in this function)
   48 |         umount2("/proc", MNT_DETACH);
      |                          ^~~~~~~~~~
pid_max.c: In function ‘pid_max_nested_inner’:
pid_max.c:88:36: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’?
   88 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |                                    ^~~~~~~~~~
      |                                    MAP_PRIVATE
pid_max.c:88:49: error: ‘MS_REC’ undeclared (first use in this function)
   88 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |                                                 ^~~~~~
pid_max.c:94:26: error: ‘MNT_DETACH’ undeclared (first use in this function)
   94 |         umount2("/proc", MNT_DETACH);
      |                          ^~~~~~~~~~
pid_max.c: In function ‘pid_max_nested_outer’:
pid_max.c:163:36: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’?
  163 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |                                    ^~~~~~~~~~
      |                                    MAP_PRIVATE
pid_max.c:163:49: error: ‘MS_REC’ undeclared (first use in this function)
  163 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |                                                 ^~~~~~
pid_max.c:169:26: error: ‘MNT_DETACH’ undeclared (first use in this function)
  169 |         umount2("/proc", MNT_DETACH);
      |                          ^~~~~~~~~~
pid_max.c: In function ‘pid_max_nested_limit_inner’:
pid_max.c:232:36: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’?
  232 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |                                    ^~~~~~~~~~
      |                                    MAP_PRIVATE
pid_max.c:232:49: error: ‘MS_REC’ undeclared (first use in this function)
  232 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |                                                 ^~~~~~
pid_max.c:238:26: error: ‘MNT_DETACH’ undeclared (first use in this function)
  238 |         umount2("/proc", MNT_DETACH);
      |                          ^~~~~~~~~~
pid_max.c: In function ‘pid_max_nested_limit_outer’:
pid_max.c:289:36: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’?
  289 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |                                    ^~~~~~~~~~
      |                                    MAP_PRIVATE
pid_max.c:289:49: error: ‘MS_REC’ undeclared (first use in this function)
  289 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |                                                 ^~~~~~
pid_max.c:295:26: error: ‘MNT_DETACH’ undeclared (first use in this function)
  295 |         umount2("/proc", MNT_DETACH);
      |                          ^~~~~~~~~~
make[1]: *** [../lib.mk:222: /home/nipa/net-next/wt-1/build_tools/kselftest/pid_namespace/pid_max] Error 1
make[1]: *** Waiting for unfinished jobs....
 ====== Building the tree before the patch ======
make[1]: *** nsfs: No such file or directory.  Stop.
pidfd_fdinfo_test.c: In function ‘child_fdinfo_nspid_test’:
pidfd_fdinfo_test.c:230:13: error: implicit declaration of function ‘mount’ [-Wimplicit-function-declaration]
  230 |         r = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0);
      |             ^~~~~
pidfd_fdinfo_test.c:230:36: error: ‘MS_REC’ undeclared (first use in this function)
  230 |         r = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0);
      |                                    ^~~~~~
pidfd_fdinfo_test.c:230:36: note: each undeclared identifier is reported only once for each function it appears in
pidfd_fdinfo_test.c:230:45: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’?
  230 |         r = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0);
      |                                             ^~~~~~~~~~
      |                                             MAP_PRIVATE
pidfd_fdinfo_test.c:236:15: error: implicit declaration of function ‘umount2’; did you mean ‘SYS_umount2’? [-Wimplicit-function-declaration]
  236 |         (void)umount2("/proc", MNT_DETACH);
      |               ^~~~~~~
      |               SYS_umount2
pidfd_fdinfo_test.c:236:32: error: ‘MNT_DETACH’ undeclared (first use in this function)
  236 |         (void)umount2("/proc", MNT_DETACH);
      |                                ^~~~~~~~~~
make[1]: *** [../lib.mk:222: /home/nipa/net-next/wt-1/build_tools/kselftest/pidfd/pidfd_fdinfo_test] Error 1
make[1]: *** Waiting for unfinished jobs....
pidfd_setns_test.c: In function ‘current_nsset_setup’:
pidfd_setns_test.c:172:54: error: implicit declaration of function ‘ioctl’ [-Wimplicit-function-declaration]
  172 |                 self->child_pidfd_derived_nsfds[i] = ioctl(self->pidfd, info->pidfd_ioctl, 0);
      |                                                      ^~~~~
make[1]: *** [../lib.mk:222: /home/nipa/net-next/wt-1/build_tools/kselftest/pidfd/pidfd_setns_test] Error 1
pid_max.c: In function ‘pid_max_cb’:
pid_max.c:42:15: error: implicit declaration of function ‘mount’ [-Wimplicit-function-declaration]
   42 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |               ^~~~~
pid_max.c:42:36: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’?
   42 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |                                    ^~~~~~~~~~
      |                                    MAP_PRIVATE
pid_max.c:42:36: note: each undeclared identifier is reported only once for each function it appears in
pid_max.c:42:49: error: ‘MS_REC’ undeclared (first use in this function)
   42 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |                                                 ^~~~~~
pid_max.c:48:9: error: implicit declaration of function ‘umount2’; did you mean ‘SYS_umount2’? [-Wimplicit-function-declaration]
   48 |         umount2("/proc", MNT_DETACH);
      |         ^~~~~~~
      |         SYS_umount2
pid_max.c:48:26: error: ‘MNT_DETACH’ undeclared (first use in this function)
   48 |         umount2("/proc", MNT_DETACH);
      |                          ^~~~~~~~~~
pid_max.c: In function ‘pid_max_nested_inner’:
pid_max.c:88:36: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’?
   88 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |                                    ^~~~~~~~~~
      |                                    MAP_PRIVATE
pid_max.c:88:49: error: ‘MS_REC’ undeclared (first use in this function)
   88 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |                                                 ^~~~~~
pid_max.c:94:26: error: ‘MNT_DETACH’ undeclared (first use in this function)
   94 |         umount2("/proc", MNT_DETACH);
      |                          ^~~~~~~~~~
pid_max.c: In function ‘pid_max_nested_outer’:
pid_max.c:163:36: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’?
  163 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |                                    ^~~~~~~~~~
      |                                    MAP_PRIVATE
pid_max.c:163:49: error: ‘MS_REC’ undeclared (first use in this function)
  163 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |                                                 ^~~~~~
pid_max.c:169:26: error: ‘MNT_DETACH’ undeclared (first use in this function)
  169 |         umount2("/proc", MNT_DETACH);
      |                          ^~~~~~~~~~
pid_max.c: In function ‘pid_max_nested_limit_inner’:
pid_max.c:232:36: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’?
  232 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |                                    ^~~~~~~~~~
      |                                    MAP_PRIVATE
pid_max.c:232:49: error: ‘MS_REC’ undeclared (first use in this function)
  232 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |                                                 ^~~~~~
pid_max.c:238:26: error: ‘MNT_DETACH’ undeclared (first use in this function)
  238 |         umount2("/proc", MNT_DETACH);
      |                          ^~~~~~~~~~
pid_max.c: In function ‘pid_max_nested_limit_outer’:
pid_max.c:289:36: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’?
  289 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |                                    ^~~~~~~~~~
      |                                    MAP_PRIVATE
pid_max.c:289:49: error: ‘MS_REC’ undeclared (first use in this function)
  289 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |                                                 ^~~~~~
pid_max.c:295:26: error: ‘MNT_DETACH’ undeclared (first use in this function)
  295 |         umount2("/proc", MNT_DETACH);
      |                          ^~~~~~~~~~
make[1]: *** [../lib.mk:222: /home/nipa/net-next/wt-1/build_tools/kselftest/pid_namespace/pid_max] Error 1
 ====== Checking if tree is clean ======
?? tools/net/ynl/lib/__pycache__/
 ====== Building the tree with the patch ======
make[1]: *** nsfs: No such file or directory.  Stop.
pidfd_fdinfo_test.c: In function ‘child_fdinfo_nspid_test’:
pidfd_fdinfo_test.c:230:13: error: implicit declaration of function ‘mount’ [-Wimplicit-function-declaration]
  230 |         r = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0);
      |             ^~~~~
pidfd_fdinfo_test.c:230:36: error: ‘MS_REC’ undeclared (first use in this function)
  230 |         r = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0);
      |                                    ^~~~~~
pidfd_fdinfo_test.c:230:36: note: each undeclared identifier is reported only once for each function it appears in
pidfd_fdinfo_test.c:230:45: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’?
  230 |         r = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0);
      |                                             ^~~~~~~~~~
      |                                             MAP_PRIVATE
pidfd_fdinfo_test.c:236:15: error: implicit declaration of function ‘umount2’; did you mean ‘SYS_umount2’? [-Wimplicit-function-declaration]
  236 |         (void)umount2("/proc", MNT_DETACH);
      |               ^~~~~~~
      |               SYS_umount2
pidfd_fdinfo_test.c:236:32: error: ‘MNT_DETACH’ undeclared (first use in this function)
  236 |         (void)umount2("/proc", MNT_DETACH);
      |                                ^~~~~~~~~~
make[1]: *** [../lib.mk:222: /home/nipa/net-next/wt-1/build_tools/kselftest/pidfd/pidfd_fdinfo_test] Error 1
make[1]: *** Waiting for unfinished jobs....
pidfd_setns_test.c: In function ‘current_nsset_setup’:
pidfd_setns_test.c:172:54: error: implicit declaration of function ‘ioctl’ [-Wimplicit-function-declaration]
  172 |                 self->child_pidfd_derived_nsfds[i] = ioctl(self->pidfd, info->pidfd_ioctl, 0);
      |                                                      ^~~~~
make[1]: *** [../lib.mk:222: /home/nipa/net-next/wt-1/build_tools/kselftest/pidfd/pidfd_setns_test] Error 1
pid_max.c: In function ‘pid_max_cb’:
pid_max.c:42:15: error: implicit declaration of function ‘mount’ [-Wimplicit-function-declaration]
   42 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |               ^~~~~
pid_max.c:42:36: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’?
   42 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |                                    ^~~~~~~~~~
      |                                    MAP_PRIVATE
pid_max.c:42:36: note: each undeclared identifier is reported only once for each function it appears in
pid_max.c:42:49: error: ‘MS_REC’ undeclared (first use in this function)
   42 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |                                                 ^~~~~~
pid_max.c:48:9: error: implicit declaration of function ‘umount2’; did you mean ‘SYS_umount2’? [-Wimplicit-function-declaration]
   48 |         umount2("/proc", MNT_DETACH);
      |         ^~~~~~~
      |         SYS_umount2
pid_max.c:48:26: error: ‘MNT_DETACH’ undeclared (first use in this function)
   48 |         umount2("/proc", MNT_DETACH);
      |                          ^~~~~~~~~~
pid_max.c: In function ‘pid_max_nested_inner’:
pid_max.c:88:36: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’?
   88 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |                                    ^~~~~~~~~~
      |                                    MAP_PRIVATE
pid_max.c:88:49: error: ‘MS_REC’ undeclared (first use in this function)
   88 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |                                                 ^~~~~~
pid_max.c:94:26: error: ‘MNT_DETACH’ undeclared (first use in this function)
   94 |         umount2("/proc", MNT_DETACH);
      |                          ^~~~~~~~~~
pid_max.c: In function ‘pid_max_nested_outer’:
pid_max.c:163:36: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’?
  163 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |                                    ^~~~~~~~~~
      |                                    MAP_PRIVATE
pid_max.c:163:49: error: ‘MS_REC’ undeclared (first use in this function)
  163 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |                                                 ^~~~~~
pid_max.c:169:26: error: ‘MNT_DETACH’ undeclared (first use in this function)
  169 |         umount2("/proc", MNT_DETACH);
      |                          ^~~~~~~~~~
pid_max.c: In function ‘pid_max_nested_limit_inner’:
pid_max.c:232:36: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’?
  232 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |                                    ^~~~~~~~~~
      |                                    MAP_PRIVATE
pid_max.c:232:49: error: ‘MS_REC’ undeclared (first use in this function)
  232 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |                                                 ^~~~~~
pid_max.c:238:26: error: ‘MNT_DETACH’ undeclared (first use in this function)
  238 |         umount2("/proc", MNT_DETACH);
      |                          ^~~~~~~~~~
pid_max.c: In function ‘pid_max_nested_limit_outer’:
pid_max.c:289:36: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’?
  289 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |                                    ^~~~~~~~~~
      |                                    MAP_PRIVATE
pid_max.c:289:49: error: ‘MS_REC’ undeclared (first use in this function)
  289 |         ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
      |                                                 ^~~~~~
pid_max.c:295:26: error: ‘MNT_DETACH’ undeclared (first use in this function)
  295 |         umount2("/proc", MNT_DETACH);
      |                          ^~~~~~~~~~
make[1]: *** [../lib.mk:222: /home/nipa/net-next/wt-1/build_tools/kselftest/pid_namespace/pid_max] Error 1
 ====== Checking if tree is clean ======
?? tools/net/ynl/lib/__pycache__/