On 7/20/23 01:12, Aleksa Sarai wrote:
Linux doesn't accept pull requests. If you send me the patch (or a link to your branch on GitHub), I can help you send it to the correct mailing lists or I can just send it upstream for you.
Thanks for your interest in this problem. I'm attaching my patch here, and will also add a response at [Kmod's new usr-lib-modules.patch breaks Vanilla kernel RPM building](https://lists.opensuse.org/archives/list/kernel@lists.opensuse.org/thread/S2...) as per Stefan Seyfried's suggestion for that being the more appropriate list. But it seems that similar patches, along with proposals for better fixes, have been posted at [Bug 1212835 - make modules_install fails with kmod-30-4.1](https://bugzilla.opensuse.org/show_bug.cgi?id=1212835), in addition to an extensive discussion regarding the root cause of the problem at https://lore.kernel.org/linux-modules/20230711153126.28876-1-msuchanek@suse....
I just hit the same issue, it must've broken somewhat recently...
Our definitions of "recent" may differ. ;) I started this thread (admittedly on the wrong list) on 25 Jun, the post on the openSUSE kernel list and the Bugzilla ticket were on 29 Jun, and the linux-modules thread started on 11 Jul. I'm not currently building kernels as my reason for doing so was to test some nouveau module fixes which now seem to be (slowly) making their way into the upstream sources and hopefully from there into openSUSE. But I still hope the "binrpm-pkg" target gets a permanent fix because IMO it's a much better workflow for a newbie like me (the full build is done without root permissions, and the resulting RPM can be safely installed -- and cleanly uninstalled in the case of problems -- via zypper or YaST).