rtl8812au module fails to build against kernel 6.1

Bug #2007845 reported by Simon Chopin
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
rtl8812au (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

THe DKMS module rtl8812au fails to build against the kernel 6.1 currently in lunar-proposed, causing issues with some autopkgtests run.

The failure is the following:

/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/os_dep/osdep_service.c: In function ‘rtw_change_ifname’:
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/os_dep/osdep_service.c:2183:28: warning: passing argument 1 of ‘_rtw_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 2183 | _rtw_memcpy(pnetdev->dev_addr, padapter->eeprompriv.mac_addr, ETH_ALEN);
      | ~~~~~~~^~~~~~~~~~
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/os_dep/osdep_service.c:807:24: note: expected ‘void *’ but argument is of type ‘const unsigned char *’
  807 | void _rtw_memcpy(void* dst, const void* src, u32 sz)
      | ~~~~~~^~~
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/os_dep/osdep_service.c: In function ‘rtw_random32’:
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/os_dep/osdep_service.c:2310:16: error: implicit declaration of function ‘prandom_u32’; did you mean ‘prandom_u32_max’? [-Werror=implicit-function-declaration]
 2310 | return prandom_u32();
      | ^~~~~~~~~~~
      | prandom_u32_max

You can find a complete log there:
https://autopkgtest.ubuntu.com/results/autopkgtest-lunar/lunar/amd64/r/rtl8812au/20230217_153303_afab4@/log.gz

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in rtl8812au (Ubuntu):
status: New → Confirmed
Revision history for this message
Renan Rangel (rvrangel) wrote :

seems like it is also failing to build against kernels 6.2 in Lunar

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.