rtl8812au-dkms 4.3.8.12175.20140902+dfsg-0ubuntu19: rtl8812au kernel module failed to build

Bug #2018617 reported by edurenye
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
rtl8812au (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

It failed during install:
DKMS make.log for rtl8812au-4.3.8.12175.20140902+dfsg for kernel 6.2.0-20-generic (x86_64)
vie 05 may 2023 18:53:53 CEST
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.2.0-20-generic/build M=/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build modules
make[1]: Entering directory '/usr/src/linux-headers-6.2.0-20-generic'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.2.0-17ubuntu1) 12.2.0
  You are using: gcc-12 (Ubuntu 12.2.0-17ubuntu1) 12.2.0
  CC [M] /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/core/rtw_cmd.o
  CC [M] /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/core/rtw_security.o
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/core/rtw_security.c: In function ‘aes_cipher’:
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/core/rtw_security.c:1598:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
 1598 | for (j = 0; j < 8; j++)
      | ^~~
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/core/rtw_security.c:1601:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
 1601 | payload_index = hdrlen + 8;
      | ^~~~~~~~~~~~~
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/core/rtw_security.c: In function ‘aes_decipher’:
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/core/rtw_security.c:1983:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
 1983 | for (j = 0; j < 8; j++)
      | ^~~
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/core/rtw_security.c:1986:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
 1986 | payload_index = hdrlen + 8;

ProblemType: Package
DistroRelease: Ubuntu 23.04
Package: rtl8812au-dkms 4.3.8.12175.20140902+dfsg-0ubuntu19
ProcVersionSignature: Ubuntu 6.2.0-20.20-generic 6.2.6
Uname: Linux 6.2.0-20-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: unknown
DKMSKernelVersion: 6.2.0-20-generic
Date: Fri May 5 18:54:10 2023
DuplicateSignature: dkms:rtl8812au-dkms:4.3.8.12175.20140902+dfsg-0ubuntu19:/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 ‘get_random_u32’? [-Werror=implicit-function-declaration]
InstallationDate: Installed on 2020-04-16 (1113 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
PackageArchitecture: all
PackageVersion: 4.3.8.12175.20140902+dfsg-0ubuntu19
Python3Details: /usr/bin/python3.11, Python 3.11.2, python3-minimal, 3.11.2-1
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.21.21ubuntu1
 apt 2.6.0
SourcePackage: rtl8812au
Title: rtl8812au-dkms 4.3.8.12175.20140902+dfsg-0ubuntu19: rtl8812au kernel module failed to build
UpgradeStatus: Upgraded to lunar on 2023-05-04 (1 days ago)

Revision history for this message
edurenye (edurenye) wrote :
tags: removed: need-duplicate-check
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
Cole Risch (metal-flow) wrote (last edit ):

failed during normal update preventing kernel build. Attached crash file.

I disabled the Netgear usb wireless device that needed these drivers in "Software and Updates" -> "additional drivers" tab and was able to build my kernel and use apt without issue.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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