Hi,
I just built a kernel from the 6.2.2 fc37 src.rpm.  It built fine, but
at the end there was a missing file warning for cpufreq.h.  I build the
header files when building the kernel, so I would think that would be
included in them.

The error:
+ exit 0
    File not found: 
/home/stan/rpmbuild/BUILDROOT/kernel-6.2.2-300.20230305.fc37.x86_64/usr/include/cpufreq.h
    absolute symlink: /lib/modules/6.2.2-300.20230305.fc37.x86_64/build -> 
/usr/src/kernels/6.2.2-300.20230305.fc37.x86_64

The second one is always there, a warning about a workaround as I
understand it.

I find this in the SPEC file:
%if %{with_headers}
%files headers
/usr/include/*
%exclude %{_includedir}/cpufreq.h
%endif

When I search the BUILD tree I find:
./linux-6.2.2-300.20230305.fc37.x86_64/include/linux/cpufreq.h
./linux-6.2.2-300.20230305.fc37.x86_64/include/linux/sched/cpufreq.h

It seems that these are there but the above stanza in the SPEC file is
excluding them.  Is there a reason?  Is it harmless? 

There is another cpufreq.h present, 
./linux-6.2.2-300.20230305.fc37.x86_64/tools/power/cpupower/lib/cpufreq.h
but I am not building tools, so it is probably being ignored.  Do I
have to build tools to pick this up?

Thanks.
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to