On Sun, Dec 5, 2021 at 12:18 PM Mikhail Gavrilov
<[email protected]> 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 -- [email protected]
> To unsubscribe send an email to [email protected]
> 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/[email protected]
> Do not reply to spam on the list, report it: 
> https://pagure.io/fedora-infrastructure
_______________________________________________
kernel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to