On Sun, Dec 5, 2021 at 12:18 PM Mikhail Gavrilov
<mikhail.v.gavrilov(a)gmail.com> wrote:
Hi!
Usually for testing upstream patches I could easily include patch to spec file.
For example:
%if !%{nopatches}
Patch1: patch-%{patchversion}-redhat.patch
+ Patch2: nct6775.diff
%endif
%if !%{nopatches}
ApplyOptionalPatch patch-%{patchversion}-redhat.patch
+ ApplyOptionalPatch nct6775.diff
%endif
But today I ran into an error for the first time:
+ echo 'Depmod failure'
+ cat depmod.out
Depmod failure
depmod: WARNING:
/builddir/build/BUILDROOT/kernel-5.15.6-200.fc35.x86_64/./lib/modules/5.15.6-200.fc35.x86_64+debug/kernel/drivers/hwmon/nct6775.ko
needs unknown symbol wmi_evaluate_method
+ exit 1
This makes sense because you are changing that module and need to add
it to filter-modules.sh.fedora
Just append nct6775 to the singlemods= line.
Justin
I don’t know how to fix it.
Full build log is here:
https://pastebin.com/T3bLWFEd
Here is topic with patch:
https://bugzilla.kernel.org/show_bug.cgi?id=204807
_______________________________________________
kernel mailing list -- kernel(a)lists.fedoraproject.org
To unsubscribe send an email to kernel-leave(a)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 on the list, report it:
https://pagure.io/fedora-infrastructure