** Description changed:

  [Impact]
  Ubuntu constantly tell me that there is an error in this package
  
  ProblemType: Package
  DistroRelease: Ubuntu 20.04
  Package: rtl8812au-dkms 4.3.8.12175.20140902+dfsg-0ubuntu12
  Uname: Linux 5.8.0-050800-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.8
  Architecture: amd64
  CasperMD5CheckResult: skip
  DKMSKernelVersion: 5.4.0-51-generic
  Date: Fri Oct 16 20:49:10 2020
  DuplicateSignature: 
dkms:rtl8812au-dkms:4.3.8.12175.20140902+dfsg-0ubuntu12:/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/include/rtw_security.h:238:8:
 error: redefinition of ‘struct sha256_state’
  InstallationDate: Installed on 2020-08-02 (75 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  PackageArchitecture: all
  PackageVersion: 4.3.8.12175.20140902+dfsg-0ubuntu12
  Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 
3.8.2-0ubuntu2
  PythonDetails: N/A
  RelatedPackageVersions:
   dpkg 1.19.7ubuntu3
   apt  2.0.2ubuntu0.1
  SourcePackage: rtl8812au
  Title: rtl8812au-dkms 4.3.8.12175.20140902+dfsg-0ubuntu12: rtl8812au kernel 
module failed to build
  UpgradeStatus: No upgrade log present (probably fresh install)
  
  [Test Case]
  Build rtl8812au-dkms package and load module
  
- [Regression Potential]
+ Verified builds and loads on focal 5.4 and 5.8
  
  
  [Build Errors]
-  CC [M]  
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/os_dep/linux/ioctl_cfg80211.o
+  CC [M]  
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/os_dep/linux/ioctl_cfg80211.o
  
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/os_dep/linux/ioctl_cfg80211.c:6230:3:
 error: ‘struct cfg80211_ops’ has no member named ‘mgmt_frame_register’
-  6230 | #elif  (LINUX_VERSION_CODE>=KERNEL_VERSION(2,6,34) && 
LINUX_VERSION_CODE<=KERNEL_VERSION(2,6,35))
-       g|   ^~~~~~~~~~~~~~~~~~~
+  6230 | #elif  (LINUX_VERSION_CODE>=KERNEL_VERSION(2,6,34) && 
LINUX_VERSION_CODE<=KERNEL_VERSION(2,6,35))
+       g|   ^~~~~~~~~~~~~~~~~~~
  
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/os_dep/linux/ioctl_cfg80211.c:6230:25:
 error: initialization of ‘int (*)(struct wiphy *, struct wireless_dev *, u64)’ 
{aka ‘int (*)(struct wiphy *, struct wireless_dev *, long long unsigned int)’} 
from incompatible pointer type ‘void (*)(struct wiphy *, struct wireless_dev *, 
u16,  bool)’ {aka ‘void (*)(struct wiphy *, struct wireless_dev *, short 
unsigned int,  _Bool)’} [-Werror=incompatible-pointer-types]
-  6230 | #elif  (LINUX_VERSION_CODE>=KERNEL_VERSION(2,6,34) && 
LINUX_VERSION_CODE<=KERNEL_VERSION(2,6,35))
-       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  6230 | #elif  (LINUX_VERSION_CODE>=KERNEL_VERSION(2,6,34) && 
LINUX_VERSION_CODE<=KERNEL_VERSION(2,6,35))
+       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/os_dep/linux/ioctl_cfg80211.c:6230:25:
 note: (near initialization for ‘rtw_cfg80211_ops.mgmt_tx_cancel_wait’)
  cc1: some warnings being treated as errors
  make[2]: *** [scripts/Makefile.build:290: 
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/os_dep/linux/ioctl_cfg80211.o]
 Error 1
  make[1]: *** [Makefile:1780: 
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build] Error 2
  make[1]: Leaving directory '/usr/src/linux-headers-5.8.0-25-generic'
  make: *** [Makefile:1457: modules] Error 2
-                                                                               
         161,1         Bot
+                                                                               
         161,1         Bot
  
- 
- 
-   |
+   |
  In file included from 
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/include/drv_types.h:82,
-                  from 
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/core/rtw_br_ext.c:32:
+                  from 
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/core/rtw_br_ext.c:32:
  
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/include/rtw_security.h:238:8:
 error: redefinition of ‘struct sha256_state’
-   238 | struct sha256_state {
-       |        ^~~~~~~~~~~~
+   238 | struct sha256_state {
+       |        ^~~~~~~~~~~~
  In file included from ./include/linux/filter.h:23,
-                  from ./include/net/sock.h:59,
-                  from ./include/net/inet_sock.h:22,
-                  from ./include/net/ip.h:27,
-                  from 
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/core/rtw_br_ext.c:24:
+                  from ./include/net/sock.h:59,
+                  from ./include/net/inet_sock.h:22,
+                  from ./include/net/ip.h:27,
+                  from 
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/core/rtw_br_ext.c:24:
  ./include/crypto/sha.h:84:8: note: originally defined here
-    84 | struct sha256_state {
-       |        ^~~~~~~~~~~~
+    84 | struct sha256_state {
+       |        ^~~~~~~~~~~~
  make[2]: *** [scripts/Makefile.build:290: 
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/core/rtw_br_ext.o] 
Error 1
  make[1]: *** [Makefile:1780: 
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build] Error 2
  make[1]: Leaving directory '/usr/src/linux-headers-5.8.0-25-generic'
  make: *** [Makefile:1457: modules] Error 2
-                                                                               
         329,1         Bot
+                                                                               
         329,1         Bot

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900180

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rtl8812au/+bug/1900180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to