To be clear, it's the bpf test that's causing this problem.

gcc -g -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf 
-I../../../../include/generated  -I../../../include 
-Dbpf_prog_load=bpf_prog_test_load -Dbpf_load_program=bpf_test_load_program    
test_tcpnotify_user.c 
/home/ubuntu/ubuntu-eoan/tools/testing/selftests/bpf/test_stub.o 
/home/ubuntu/ubuntu-eoan/tools/testing/selftests/bpf/libbpf.a cgroup_helpers.c 
trace_helpers.c -lcap -lelf -lrt -lpthread -o 
/home/ubuntu/ubuntu-eoan/tools/testing/selftests/bpf/test_tcpnotify_user
test_tcpnotify_user.c: In function ‘main’:
test_tcpnotify_user.c:153:2: warning: ignoring return value of ‘system’, 
declared with attribute warn_unused_result [-Wunused-result]
  153 |  system(test_script);
      |  ^~~~~~~~~~~~~~~~~~~
test_tcpnotify_user.c:158:2: warning: ignoring return value of ‘system’, 
declared with attribute warn_unused_result [-Wunused-result]
  158 |  system(test_script);
      |  ^~~~~~~~~~~~~~~~~~~
test_tcpnotify_user.c:163:2: warning: ignoring return value of ‘system’, 
declared with attribute warn_unused_result [-Wunused-result]
  163 |  system(test_script);
      |  ^~~~~~~~~~~~~~~~~~~
gcc -g -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf 
-I../../../../include/generated  -I../../../include 
-Dbpf_prog_load=bpf_prog_test_load -Dbpf_load_program=bpf_test_load_program    
test_sock_fields.c 
/home/ubuntu/ubuntu-eoan/tools/testing/selftests/bpf/test_stub.o 
/home/ubuntu/ubuntu-eoan/tools/testing/selftests/bpf/libbpf.a cgroup_helpers.c 
-lcap -lelf -lrt -lpthread -o 
/home/ubuntu/ubuntu-eoan/tools/testing/selftests/bpf/test_sock_fields
gcc -g -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf 
-I../../../../include/generated  -I../../../include 
-Dbpf_prog_load=bpf_prog_test_load -Dbpf_load_program=bpf_test_load_program    
test_sysctl.c /home/ubuntu/ubuntu-eoan/tools/testing/selftests/bpf/test_stub.o 
/home/ubuntu/ubuntu-eoan/tools/testing/selftests/bpf/libbpf.a cgroup_helpers.c 
-lcap -lelf -lrt -lpthread -o 
/home/ubuntu/ubuntu-eoan/tools/testing/selftests/bpf/test_sysctl
test_sysctl.c:181:4: error: ‘struct sysctl_test’ has no member named ‘seek’
  181 |   .seek = 4,
      |    ^~~~
test_sysctl.c:181:11: warning: initialization of ‘const char *’ from ‘int’ 
makes pointer from integer without a cast [-Wint-conversion]
  181 |   .seek = 4,
      |           ^
test_sysctl.c:181:11: note: (near initialization for ‘tests[7].newval’)
make[1]: *** [../lib.mk:138: 
/home/ubuntu/ubuntu-eoan/tools/testing/selftests/bpf/test_sysctl] Error 1
make[1]: Leaving directory 
'/home/ubuntu/ubuntu-eoan/tools/testing/selftests/bpf'
make: *** [Makefile:137: all] Error 2

We need some module in bpf, so this was triggered in the beginning of
the net test.

** Summary changed:

- test_sysctl in net from ubuntu_kernel_selftests fails to build on eoan
+ test_sysctl in bpf from ubuntu_kernel_selftests make net test fails to build 
on eoan

-- 
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/1862263

Title:
  test_sysctl in bpf from ubuntu_kernel_selftests make net test fails to
  build on eoan

Status in ubuntu-kernel-tests:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Eoan:
  Incomplete

Bug description:
  test_sysctl.c:181:4: error: ‘struct sysctl_test’ has no member named ‘seek’
      181 |   .seek = 4,
          |    ^~~~

  This affects all arches. Kernel 5.3.0-40.32.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1862263/+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