DKMS fails - (custom) kernel 6.5, Fedora
onlyreportingissues opened this issue · comments
make.log:
DKMS make.log for rtl88x2bu-git for kernel 6.5.0-0.rc0.20230629git3a8a670eeeaa.3.fc38.x86_64 (x86_64)
Do 29. Jun 20:36:45 CEST 2023
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.5.0-0.rc0.20230629git3a8a670eeeaa.3.fc38.x86_64/build M=/var/lib/dkms/rtl88x2bu/git/build modules
make[1]: Verzeichnis „/usr/src/kernels/6.5.0-0.rc0.20230629git3a8a670eeeaa.3.fc38.x86_64“ wird betreten
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_security.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_debug.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_io.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_ioctl_query.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_ioctl_set.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_ieee80211.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_mlme.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_mlme_ext.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_mi.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_wlan_util.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_vht.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_pwrctrl.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_rf.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_chplan.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/monitor/rtw_radiotap.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_recv.o
/var/lib/dkms/rtl88x2bu/git/build/core/rtw_mlme_ext.c: In Funktion »rtw_txpwr_init_regd«:
/var/lib/dkms/rtl88x2bu/git/build/core/rtw_mlme_ext.c:299:20: Warnung: diese Anweisung könnte durchfallen [-Wimplicit-fallthrough=]
299 | if (rfctl->regd_name)
| ^
/var/lib/dkms/rtl88x2bu/git/build/core/rtw_mlme_ext.c:302:9: Anmerkung: hier
302 | default:
| ^~~~~~~
/var/lib/dkms/rtl88x2bu/git/build/core/rtw_mlme_ext.c: In Funktion »mgt_dispatcher«:
/var/lib/dkms/rtl88x2bu/git/build/core/rtw_mlme_ext.c:1670:38: Warnung: diese Anweisung könnte durchfallen [-Wimplicit-fallthrough=]
1670 | ptable->func = &OnAuthClient;
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/var/lib/dkms/rtl88x2bu/git/build/core/rtw_mlme_ext.c:1672:9: Anmerkung: hier
1672 | case WIFI_ASSOCREQ:
| ^~~~
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_sta_mgt.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_ap.o
/var/lib/dkms/rtl88x2bu/git/build/core/rtw_mlme_ext.c: In Funktion »rtw_txpwr_init_regd«:
/var/lib/dkms/rtl88x2bu/git/build/core/rtw_mlme_ext.c:201:21: Warnung: »strcmp« liest 1 oder mehr Bytes aus einer Region der Größe 0 [-Wstringop-overread]
201 | if (strcmp(exc->regd_name, regd_str(TXPWR_LMT_NONE)) == 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In Datei, eingebunden von /var/lib/dkms/rtl88x2bu/git/build/include/drv_types.h:62,
von /var/lib/dkms/rtl88x2bu/git/build/core/rtw_mlme_ext.c:17:
/var/lib/dkms/rtl88x2bu/git/build/include/rtw_rf.h:267:14: Anmerkung: Quellobjekt »regd_name« der Größe 0
267 | char regd_name[0];
| ^~~~~~~~~
/var/lib/dkms/rtl88x2bu/git/build/core/rtw_mlme_ext.c:203:26: Warnung: »strcmp« liest 1 oder mehr Bytes aus einer Region der Größe 0 [-Wstringop-overread]
203 | else if (strcmp(exc->regd_name, regd_str(TXPWR_LMT_WW)) == 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtl88x2bu/git/build/include/rtw_rf.h:267:14: Anmerkung: Quellobjekt »regd_name« der Größe 0
267 | char regd_name[0];
| ^~~~~~~~~
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/wds/rtw_wds.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/mesh/rtw_mesh.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/mesh/rtw_mesh_pathtbl.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/mesh/rtw_mesh_hwmp.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_xmit.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_p2p.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_rson.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_tdls.o
/var/lib/dkms/rtl88x2bu/git/build/core/rtw_sta_mgt.c: In Funktion »rtw_mfree_stainfo«:
/var/lib/dkms/rtl88x2bu/git/build/core/rtw_sta_mgt.c:391:27: Warnung: der Vergleich wird immer als »true« ausgewertet, da die Adresse von »lock« niemals NULL sein wird [-Waddress]
391 | if (&(psta->lock) != NULL)
| ^~
In Datei, eingebunden von /var/lib/dkms/rtl88x2bu/git/build/include/drv_types.h:112,
von /var/lib/dkms/rtl88x2bu/git/build/core/rtw_sta_mgt.c:17:
/var/lib/dkms/rtl88x2bu/git/build/include/sta_info.h:267:17: Anmerkung: »lock« ist hier deklariert
267 | _lock lock;
| ^~~~
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_br_ext.o
In Datei, eingebunden von ./include/linux/kernel.h:30,
von ./arch/x86/include/asm/percpu.h:27,
von ./arch/x86/include/asm/nospec-branch.h:14,
von ./arch/x86/include/asm/paravirt_types.h:27,
von ./arch/x86/include/asm/ptrace.h:97,
von ./arch/x86/include/asm/math_emu.h:5,
von ./arch/x86/include/asm/processor.h:13,
von ./arch/x86/include/asm/timex.h:5,
von ./include/linux/timex.h:67,
von ./include/linux/time32.h:13,
von ./include/linux/time.h:60,
von ./include/linux/stat.h:19,
von ./include/linux/module.h:13,
von /var/lib/dkms/rtl88x2bu/git/build/include/basic_types.h:76,
von /var/lib/dkms/rtl88x2bu/git/build/include/drv_types.h:26,
von /var/lib/dkms/rtl88x2bu/git/build/core/rtw_rf.c:17:
/var/lib/dkms/rtl88x2bu/git/build/core/rtw_rf.c: In Funktion »dump_txpwr_lmt«:
/var/lib/dkms/rtl88x2bu/git/build/core/rtw_rf.c:2003:67: Warnung: »strcmp« liest 1 oder mehr Bytes aus einer Region der Größe 0 [-Wstringop-overread]
2003 | , strcmp(ent->regd_name, rfctl->regd_name) == 0 ? rf_path_char(path) : ' ');
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/printk.h:427:33: Anmerkung: in Definition des Makros »printk_index_wrap«
427 | _p_func(_fmt, ##VA_ARGS);
| ^~~~~~~~~~~
/var/lib/dkms/rtl88x2bu/git/build/include/rtw_debug.h:85:26: Anmerkung: bei Substitution des Makros »printk«
85 | #define _dbgdump printk
| ^~~~~~
/var/lib/dkms/rtl88x2bu/git/build/include/rtw_debug.h:263:25: Anmerkung: bei Substitution des Makros »_RTW_PRINT«
263 | _RTW_PRINT(fmt, ##arg);
| ^~~~~~~~~~
/var/lib/dkms/rtl88x2bu/git/build/core/rtw_rf.c:2002:57: Anmerkung: bei Substitution des Makros »_RTW_PRINT_SEL«
2002 | _RTW_PRINT_SEL(sel, "%3c "
| ^~~~~~~~~~~~~~
In Datei, eingebunden von /var/lib/dkms/rtl88x2bu/git/build/core/rtw_rf.c:18:
/var/lib/dkms/rtl88x2bu/git/build/include/hal_data.h:345:14: Anmerkung: Quellobjekt »regd_name« der Größe 0
345 | char regd_name[0];
| ^~~~~~~~~
In Datei, eingebunden von /var/lib/dkms/rtl88x2bu/git/build/include/drv_types.h:60:
/var/lib/dkms/rtl88x2bu/git/build/core/rtw_rf.c:2003:67: Warnung: »strcmp« liest 1 oder mehr Bytes aus einer Region der Größe 0 [-Wstringop-overread]
2003 | , strcmp(ent->regd_name, rfctl->regd_name) == 0 ? rf_path_char(path) : ' ');
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtl88x2bu/git/build/include/rtw_debug.h:265:46: Anmerkung: in Definition des Makros »_RTW_PRINT_SEL«
265 | _seqdump(sel, fmt, ##arg) /rtw_warn_on(1)/;
| ^~~
/var/lib/dkms/rtl88x2bu/git/build/include/hal_data.h:345:14: Anmerkung: Quellobjekt »regd_name« der Größe 0
345 | char regd_name[0];
| ^~~~~~~~~
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_iol.o
/var/lib/dkms/rtl88x2bu/git/build/core/rtw_rf.c: In Funktion »_rtw_txpwr_lmt_get_by_name«:
/var/lib/dkms/rtl88x2bu/git/build/core/rtw_rf.c:2215:21: Warnung: »strcmp« liest 1 oder mehr Bytes aus einer Region der Größe 0 [-Wstringop-overread]
2215 | if (strcmp(ent->regd_name, regd_name) == 0) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtl88x2bu/git/build/include/hal_data.h:345:14: Anmerkung: Quellobjekt »regd_name« der Größe 0
345 | char regd_name[0];
| ^~~~~~~~~
In Funktion »_rtw_txpwr_lmt_get_by_name«,
eingefügt von »rtw_txpwr_lmt_get_by_name« bei /var/lib/dkms/rtl88x2bu/git/build/core/rtw_rf.c:2232:8:
/var/lib/dkms/rtl88x2bu/git/build/core/rtw_rf.c:2215:21: Warnung: »strcmp« liest 1 oder mehr Bytes aus einer Region der Größe 0 [-Wstringop-overread]
2215 | if (strcmp(ent->regd_name, regd_name) == 0) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtl88x2bu/git/build/include/hal_data.h: In Funktion »rtw_txpwr_lmt_get_by_name«:
/var/lib/dkms/rtl88x2bu/git/build/include/hal_data.h:345:14: Anmerkung: Quellobjekt »regd_name« der Größe 0
345 | char regd_name[0];
| ^~~~~~~~~
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_sreset.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_btcoex_wifionly.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_btcoex.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_beamforming.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_odm.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_rm.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_rm_fsm.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_ft.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_wnm.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_mbo.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_rm_util.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/efuse/rtw_efuse.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_roch.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/crypto/aes-internal.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/crypto/aes-internal-enc.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/crypto/aes-gcm.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/crypto/aes-ccm.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/crypto/aes-omac1.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/crypto/ccmp.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/crypto/gcmp.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/crypto/aes-siv.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/crypto/aes-ctr.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/crypto/sha256-internal.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/crypto/sha256.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/crypto/sha256-prf.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/crypto/rtw_crypto_wrap.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_swcrypto.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/osdep_service.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/os_intfs.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/usb_intf.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/usb_ops_linux.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/ioctl_linux.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/xmit_linux.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/mlme_linux.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/recv_linux.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/ioctl_cfg80211.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/rtw_cfgvendor.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/wifi_regd.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/rtw_android.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/rtw_proc.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/nlrtw.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/rtw_rhashtable.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/ioctl_mp.o
/var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/wifi_regd.c: In Funktion »rtw_regd_init«:
/var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/wifi_regd.c:409:36: Fehler: »REGULATORY_IGNORE_STALE_KICKOFF« nicht deklariert (erste Verwendung in dieser Funktion)
409 | wiphy->regulatory_flags |= REGULATORY_IGNORE_STALE_KICKOFF;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/wifi_regd.c:409:36: Anmerkung: jeder nicht deklarierte Bezeichner wird nur einmal für jede Funktion, in der er vorkommt, gemeldet
make[2]: *** [scripts/Makefile.build:252: /var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/wifi_regd.o] Fehler 1
make[2]: *** Es wird auf noch nicht beendete Prozesse gewartet …
/var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/ioctl_cfg80211.c: In Funktion »rtw_get_chbwoff_from_cfg80211_chan_def«:
/var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/ioctl_cfg80211.c:6832:21: Warnung: diese Anweisung könnte durchfallen [-Wimplicit-fallthrough=]
6832 | *ht = 0;
| ~~~~^~~
/var/lib/dkms/rtl88x2bu/git/build/os_dep/linux/ioctl_cfg80211.c:6834:9: Anmerkung: hier
6834 | case NL80211_CHAN_WIDTH_20:
| ^~~~
make[1]: *** [Makefile:2050: /var/lib/dkms/rtl88x2bu/git/build] Fehler 2
make[1]: Verzeichnis „/usr/src/kernels/6.5.0-0.rc0.20230629git3a8a670eeeaa.3.fc38.x86_64“ wird verlassen
make: *** [Makefile:2470: modules] Fehler 2
6.5 just into merge window, please wait for a while.
This one should fixed 57e50db
It works now, thanks.