ubuntu_bpf build failure on Hirsute - missing clang

Bug #1936755 reported by Marcelo Cerri
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Undecided
Unassigned

Bug Description

On Hirsute v5.11 the ubuntu_bpf fails to build with:

make[1]: Leaving directory '/home/azure/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf'
make: Leaving directory '/home/azure/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests'
stderr:
/bin/sh: 1: clang: not found
/bin/sh: 1: clang: not found
Warning: Kernel ABI header at 'tools/include/uapi/linux/netlink.h' differs from latest version at 'include/uapi/linux/netlink.h'
Warning: Kernel ABI header at 'tools/include/uapi/linux/if_link.h' differs from latest version at 'include/uapi/linux/if_link.h'
make[1]: clang: No such file or directory
make[1]: *** [Makefile:394: /home/azure/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/bind4_prog.o] Error 127
make: *** [Makefile:165: all] Error 2

Marcelo Cerri (mhcerri)
tags: added: 5.11 azure hirsute sru-20210621 ubuntu-bpf
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

It's now failing with:
  progs/btf__core_reloc_existence___err_wrong_arr_kind.c:3:57: error: variable has incomplete type 'struct core_reloc_existence___err_wrong_arr_kind'
  void f(struct core_reloc_existence___err_wrong_arr_kind x) {}
                                                          ^

See bug 1945141

Changed in ubuntu-kernel-tests:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.