From: Prarit Bhargava <prarit@xxxxxxxxxx> kernel.spec: Add glibc-static build requirement CKI and brew builds resulted in two different values for CONFIG_CC_CAN_LINK_STATIC. In CKI CONFIG_CC_CAN_LINK_STATIC=y while in brew CONFIG_CC_CAN_LINK_STATIC was not defined. This occurs because glibc-static is installed on the CKI build containers and was not installed in brew. In order to guarantee consistency across build systems add a build requirement for the glibc-static package. Signed-off-by: Prarit Bhargava <prarit@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 @@ -585,6 +585,8 @@ BuildRequires: net-tools, hostname, bc, elfutils-devel BuildRequires: dwarves BuildRequires: python3-devel BuildRequires: gcc-plugin-devel +# required for CONFIG_CC_CAN_LINK_STATIC=y +BuildRequires: glibc-static %ifnarch %{nobuildarches} noarch BuildRequires: bpftool %endif -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1538 _______________________________________________ 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