Bug 1226117 - FTBFS: rtl8812au: error: too many arguments to function ‘cfg80211_ch_switch_started_notify’
Summary: FTBFS: rtl8812au: error: too many arguments to function ‘cfg80211_ch_switch_s...
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Kernel:Drivers (show other bugs)
Version: Slowroll
Hardware: 64bit Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Antonio Larrosa
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-08 22:07 UTC by Phillip Soltan
Modified: 2024-06-10 07:21 UTC (History)
4 users (show)

See Also:
Found By: Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
screenshot (595.53 KB, image/png)
2024-06-08 22:07 UTC, Phillip Soltan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Phillip Soltan 2024-06-08 22:07:03 UTC
Created attachment 875387 [details]
screenshot

<html>Dependency resolution failed:<br/><br/>nothing provides &apos;ksym(default:__napi_schedule) = 161cafee&apos; needed by the to be installed rtl8812au-kmp-default-5.13.6+git20240320.8be3a1d_k6.8.9_1-2.3.x86_64</html>
Comment 1 Andreas Stieger 2024-06-09 06:46:35 UTC
Thank you for your report. The package is indeed uninstallable:

$ zypper in --dry-run rtl8812au-kmp-default
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: 1: nothing provides 'ksym(default:_printk) = 122c3a7e' needed by the to be installed rtl8812au-kmp-default-5.13.6+git20240320.8be3a1d_k6.8.9_1-2.3.x86_64
 Solution 1: do not install rtl8812au-kmp-default-5.13.6+git20240320.8be3a1d_k6.8.9_1-2.3.x86_64
 Solution 2: break rtl8812au-kmp-default-5.13.6+git20240320.8be3a1d_k6.8.9_1-2.3.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c/d/?] (c):

To work around the updating issue, remove the package rtl8812au-kmp-default. The Discover usability issue is bug 1225965. Now as for the root cause: If you will allow me I will rephrase your bug report:

The root cause is that openSUSE:Factory/rtl8812au fails to build against the current kernel:

[   28s] /home/abuild/rpmbuild/BUILD/rtl8812au-5.13.6+git20240320.8be3a1d/obj/default/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_ch_switch_notify’:
[   28s] /home/abuild/rpmbuild/BUILD/rtl8812au-5.13.6+git20240320.8be3a1d/obj/default/os_dep/linux/ioctl_cfg80211.c:469:17: error: too many arguments to function ‘cfg80211_ch_switch_started_notify’
[   28s]   469 |                 cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0, 0, false, 0);
[   28s]       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[   28s] In file included from /home/abuild/rpmbuild/BUILD/rtl8812au-5.13.6+git20240320.8be3a1d/obj/default/include/osdep_service_linux.h:98,
[   28s]                  from /home/abuild/rpmbuild/BUILD/rtl8812au-5.13.6+git20240320.8be3a1d/obj/default/include/osdep_service.h:54,
[   28s]                  from /home/abuild/rpmbuild/BUILD/rtl8812au-5.13.6+git20240320.8be3a1d/obj/default/include/drv_types.h:27,
[   28s]                  from /home/abuild/rpmbuild/BUILD/rtl8812au-5.13.6+git20240320.8be3a1d/obj/default/os_dep/linux/ioctl_cfg80211.c:17:
[   28s] /usr/src/linux-6.9.3-1/include/net/cfg80211.h:8811:6: note: declared here
[   28s]  8811 | void cfg80211_ch_switch_started_notify(struct net_device *dev,
[   28s]       |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[   28s] /home/abuild/rpmbuild/BUILD/rtl8812au-5.13.6+git20240320.8be3a1d/obj/default/os_dep/linux/ioctl_cfg80211.c:488:9: error: too many arguments to function ‘cfg80211_ch_switch_notify’
[   28s]   488 |         cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0, 0);
[   28s]       |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[   28s] /usr/src/linux-6.9.3-1/include/net/cfg80211.h:8795:6: note: declared here
[   28s]  8795 | void cfg80211_ch_switch_notify(struct net_device *dev,
[   28s]       |      ^~~~~~~~~~~~~~~~~~~~~~~~~
[   28s] make[3]: *** [/usr/src/linux-6.9.3-1/scripts/Makefile.build:245: /home/abuild/rpmbuild/BUILD/rtl8812au-5.13.6+git20240320.8be3a1d/obj/default/os_dep/linux/ioctl_cfg80211.o] Error 1
[   28s] make[3]: *** Waiting for unfinished jobs....
[   28s] # CC [M]  /home/abuild/rpmbuild/BUILD/rtl8812au-5.13.6+git20240320.8be3a1d/obj/default/os_dep/linux/rtw_cfgvendor.o

Moving category and assigning to maintainer.
Comment 2 Andreas Stieger 2024-06-09 07:05:27 UTC
There is a submission with a fix outstanding for 14 days now:
https://build.opensuse.org/request/show/1176911
Could we please review these in due time?
Comment 3 Andreas Stieger 2024-06-10 07:21:52 UTC
TW: https://build.opensuse.org/request/show/1179605
Fix will be in an upcoming snapshot. Thank you Antonio!