canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #07571
[Bug 2112431] [NEW] ubuntu_bpf failed to build on Oracular (error: implicit declaration of function ‘sys_gettid’)
Public bug reported:
After the fix for bug 2069407 has landed.
Our ubuntu_bpf test on Oracular is still failing with FTBFS error:
Build log with o/linux 6.11.0-28.28:
TEST-OBJ [test_progs] pkt_access.test.o
TEST-OBJ [test_progs] pkt_md_access.test.o
TEST-OBJ [test_progs] preempt_lock.test.o
TEST-OBJ [test_progs] preempted_bpf_ma_op.test.o
TEST-OBJ [test_progs] probe_read_user_str.test.o
TEST-OBJ [test_progs] probe_user.test.o
TEST-OBJ [test_progs] prog_array_init.test.o
TEST-OBJ [test_progs] prog_run_opts.test.o
TEST-OBJ [test_progs] prog_tests_framework.test.o
TEST-OBJ [test_progs] ptr_untrusted.test.o
TEST-OBJ [test_progs] queue_stack_map.test.o
TEST-OBJ [test_progs] raw_tp_null.test.o
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/prog_tests/raw_tp_null.c: In function ‘test_raw_tp_null’:
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/prog_tests/raw_tp_null.c:15:26: error: implicit declaration of function ‘sys_gettid’; did you mean ‘gettid’? [-Wimplicit-function-declaration]
15 | skel->bss->tid = sys_gettid();
| ^~~~~~~~~~
| gettid
make[1]: *** [Makefile:656: /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/raw_tp_null.test.o] Error 1
make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf'
make: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests'
make: *** [Makefile:194: all] Error 2
** Affects: ubuntu-kernel-tests
Importance: Undecided
Status: New
** Tags: 6.11 oracular sru-2025 sru-20250414 ubuntu-bpf
--
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/2112431
Title:
ubuntu_bpf failed to build on Oracular (error: implicit declaration of
function ‘sys_gettid’)
Status in ubuntu-kernel-tests:
New
Bug description:
After the fix for bug 2069407 has landed.
Our ubuntu_bpf test on Oracular is still failing with FTBFS error:
Build log with o/linux 6.11.0-28.28:
TEST-OBJ [test_progs] pkt_access.test.o
TEST-OBJ [test_progs] pkt_md_access.test.o
TEST-OBJ [test_progs] preempt_lock.test.o
TEST-OBJ [test_progs] preempted_bpf_ma_op.test.o
TEST-OBJ [test_progs] probe_read_user_str.test.o
TEST-OBJ [test_progs] probe_user.test.o
TEST-OBJ [test_progs] prog_array_init.test.o
TEST-OBJ [test_progs] prog_run_opts.test.o
TEST-OBJ [test_progs] prog_tests_framework.test.o
TEST-OBJ [test_progs] ptr_untrusted.test.o
TEST-OBJ [test_progs] queue_stack_map.test.o
TEST-OBJ [test_progs] raw_tp_null.test.o
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/prog_tests/raw_tp_null.c: In function ‘test_raw_tp_null’:
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/prog_tests/raw_tp_null.c:15:26: error: implicit declaration of function ‘sys_gettid’; did you mean ‘gettid’? [-Wimplicit-function-declaration]
15 | skel->bss->tid = sys_gettid();
| ^~~~~~~~~~
| gettid
make[1]: *** [Makefile:656: /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/raw_tp_null.test.o] Error 1
make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf'
make: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests'
make: *** [Makefile:194: all] Error 2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2112431/+subscriptions