From: Herton R. Krzesinski <herton@xxxxxxxxxx> rpmspec: do not BuildRequires bpftool on nobuildarches Kernel builds are failing on i686 due missing or not available bpftool. It does not make sense to require it on arches that we only build headers and don't need bpftool, so make it not required on this case. Signed-off-by: Herton R. Krzesinski <herton@xxxxxxxxxx> diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template index blahblah..blahblah 100755 --- a/redhat/kernel.spec.template +++ b/redhat/kernel.spec.template @@ -545,7 +545,9 @@ BuildRequires: net-tools, hostname, bc, elfutils-devel BuildRequires: dwarves BuildRequires: python3-devel BuildRequires: gcc-plugin-devel +%ifnarch %{nobuildarches} BuildRequires: bpftool +%endif %if %{with_headers} BuildRequires: rsync %endif -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1197 _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure