Package: broadcom-sta-dkms
Version: 6.30.223.271-17
Severity: grave
Justification: renders package unusable

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
Installing linux-image-5.17.0-1-amd64
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
Try to install packege above
   * What was the outcome of this action?
Compilation error, file attached.
   * What outcome did you expect instead?
Working driver



-- System Information:
Debian Release: bookworm/sid
  APT prefers oldoldstable
  APT policy: (500, 'oldoldstable'), (500, 'unstable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.16.0-6-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages broadcom-sta-dkms depends on:
ii  dkms  3.0.3-1

Versions of packages broadcom-sta-dkms recommends:
ii  wireless-tools  30~pre9-13.1

broadcom-sta-dkms suggests no packages.

-- debconf-show failed
DKMS make.log for broadcom-sta-6.30.223.271 for kernel 5.17.0-1-amd64 (x86_64)
Wed 27 Apr 20:32:11 CEST 2022
CFG80211 API is prefered for this kernel version
Makefile:89: Neither CFG80211 nor Wireless Extension is enabled in kernel
KBUILD_NOPEDANTIC=1 make -C /lib/modules/5.17.0-1-amd64/build M=`pwd`
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make 
rule.
make[1]: Entering directory '/usr/src/linux-headers-5.17.0-1-amd64'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: gcc-11 (Debian 11.2.0-20) 11.2.0
  You are using:           gcc-11 (Debian 11.3.0-1) 11.3.0
CFG80211 API is prefered for this kernel version
Using CFG80211 API
Kernel architecture is X86_64
  CC [M]  /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/shared/linux_osl.o
  CC [M]  /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.o
In file included from 
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:81:
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_iw.h:73: warning: 
"isprint" redefined
   73 | #define isprint(c) bcm_isprint(c)
      | 
In file included from 
/usr/src/linux-headers-5.17.0-1-common/include/linux/string_helpers.h:6,
                 from 
/usr/src/linux-headers-5.17.0-1-common/include/linux/seq_file.h:7,
                 from 
/usr/src/linux-headers-5.17.0-1-common/include/linux/seq_file_net.h:5,
                 from 
/usr/src/linux-headers-5.17.0-1-common/include/net/net_namespace.h:183,
                 from 
/usr/src/linux-headers-5.17.0-1-common/include/linux/netdevice.h:37,
                 from 
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/include/linuxver.h:69,
                 from 
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:27:
/usr/src/linux-headers-5.17.0-1-common/include/linux/ctype.h:30: note: this is 
the location of the previous definition
   30 | #define isprint(c)      ((__ismask(c)&(_P|_U|_L|_D|_SP)) != 0)
      | 
In file included from 
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/include/osl.h:79,
                 from 
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:28:
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c: In 
function ‘wl_attach’:
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:650:43: 
warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer 
target type [-Wdiscarded-qualifiers]
  650 |         bcopy(&wl->pub->cur_etheraddr, dev->dev_addr, ETHER_ADDR_LEN);
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/include/linux_osl.h:156:49: 
note: in definition of macro ‘bcopy’
  156 |         #define bcopy(src, dst, len)    memcpy((dst), (src), (len))
      |                                                 ^~~
In file included from 
/usr/src/linux-headers-5.17.0-1-common/include/linux/string.h:253,
                 from 
/usr/src/linux-headers-5.17.0-1-common/include/linux/bitmap.h:11,
                 from 
/usr/src/linux-headers-5.17.0-1-common/include/linux/cpumask.h:12,
                 from 
/usr/src/linux-headers-5.17.0-1-common/arch/x86/include/asm/cpumask.h:5,
                 from 
/usr/src/linux-headers-5.17.0-1-common/arch/x86/include/asm/msr.h:11,
                 from 
/usr/src/linux-headers-5.17.0-1-common/arch/x86/include/asm/processor.h:22,
                 from 
/usr/src/linux-headers-5.17.0-1-common/arch/x86/include/asm/timex.h:5,
                 from 
/usr/src/linux-headers-5.17.0-1-common/include/linux/timex.h:65,
                 from 
/usr/src/linux-headers-5.17.0-1-common/include/linux/time32.h:13,
                 from 
/usr/src/linux-headers-5.17.0-1-common/include/linux/time.h:60,
                 from 
/usr/src/linux-headers-5.17.0-1-common/include/linux/stat.h:19,
                 from 
/usr/src/linux-headers-5.17.0-1-common/include/linux/module.h:13,
                 from 
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/include/linuxver.h:40,
                 from 
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:27:
/usr/src/linux-headers-5.17.0-1-common/include/linux/fortify-string.h:212:37: 
note: expected ‘void *’ but argument is of type ‘const unsigned char *’
  212 | __FORTIFY_INLINE void *memcpy(void *p, const void *q, __kernel_size_t 
size)
      |                               ~~~~~~^
In file included from 
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/include/osl.h:79,
                 from 
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:28:
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c: In 
function ‘wl_set_mac_address’:
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:1861:39: 
warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer 
target type [-Wdiscarded-qualifiers]
 1861 |                 bcopy(sa->sa_data, dev->dev_addr, ETHER_ADDR_LEN);
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/include/linux_osl.h:156:49: 
note: in definition of macro ‘bcopy’
  156 |         #define bcopy(src, dst, len)    memcpy((dst), (src), (len))
      |                                                 ^~~
In file included from 
/usr/src/linux-headers-5.17.0-1-common/include/linux/string.h:253,
                 from 
/usr/src/linux-headers-5.17.0-1-common/include/linux/bitmap.h:11,
                 from 
/usr/src/linux-headers-5.17.0-1-common/include/linux/cpumask.h:12,
                 from 
/usr/src/linux-headers-5.17.0-1-common/arch/x86/include/asm/cpumask.h:5,
                 from 
/usr/src/linux-headers-5.17.0-1-common/arch/x86/include/asm/msr.h:11,
                 from 
/usr/src/linux-headers-5.17.0-1-common/arch/x86/include/asm/processor.h:22,
                 from 
/usr/src/linux-headers-5.17.0-1-common/arch/x86/include/asm/timex.h:5,
                 from 
/usr/src/linux-headers-5.17.0-1-common/include/linux/timex.h:65,
                 from 
/usr/src/linux-headers-5.17.0-1-common/include/linux/time32.h:13,
                 from 
/usr/src/linux-headers-5.17.0-1-common/include/linux/time.h:60,
                 from 
/usr/src/linux-headers-5.17.0-1-common/include/linux/stat.h:19,
                 from 
/usr/src/linux-headers-5.17.0-1-common/include/linux/module.h:13,
                 from 
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/include/linuxver.h:40,
                 from 
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:27:
/usr/src/linux-headers-5.17.0-1-common/include/linux/fortify-string.h:212:37: 
note: expected ‘void *’ but argument is of type ‘const unsigned char *’
  212 | __FORTIFY_INLINE void *memcpy(void *p, const void *q, __kernel_size_t 
size)
      |                               ~~~~~~^
In file included from 
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/include/osl.h:79,
                 from 
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:28:
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c: In 
function ‘_wl_add_monitor_if’:
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:3033:37: 
warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer 
target type [-Wdiscarded-qualifiers]
 3033 |         bcopy(wl->dev->dev_addr, dev->dev_addr, ETHER_ADDR_LEN);
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/include/linux_osl.h:156:49: 
note: in definition of macro ‘bcopy’
  156 |         #define bcopy(src, dst, len)    memcpy((dst), (src), (len))
      |                                                 ^~~
In file included from 
/usr/src/linux-headers-5.17.0-1-common/include/linux/string.h:253,
                 from 
/usr/src/linux-headers-5.17.0-1-common/include/linux/bitmap.h:11,
                 from 
/usr/src/linux-headers-5.17.0-1-common/include/linux/cpumask.h:12,
                 from 
/usr/src/linux-headers-5.17.0-1-common/arch/x86/include/asm/cpumask.h:5,
                 from 
/usr/src/linux-headers-5.17.0-1-common/arch/x86/include/asm/msr.h:11,
                 from 
/usr/src/linux-headers-5.17.0-1-common/arch/x86/include/asm/processor.h:22,
                 from 
/usr/src/linux-headers-5.17.0-1-common/arch/x86/include/asm/timex.h:5,
                 from 
/usr/src/linux-headers-5.17.0-1-common/include/linux/timex.h:65,
                 from 
/usr/src/linux-headers-5.17.0-1-common/include/linux/time32.h:13,
                 from 
/usr/src/linux-headers-5.17.0-1-common/include/linux/time.h:60,
                 from 
/usr/src/linux-headers-5.17.0-1-common/include/linux/stat.h:19,
                 from 
/usr/src/linux-headers-5.17.0-1-common/include/linux/module.h:13,
                 from 
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/include/linuxver.h:40,
                 from 
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:27:
/usr/src/linux-headers-5.17.0-1-common/include/linux/fortify-string.h:212:37: 
note: expected ‘void *’ but argument is of type ‘const unsigned char *’
  212 | __FORTIFY_INLINE void *memcpy(void *p, const void *q, __kernel_size_t 
size)
      |                               ~~~~~~^
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c: In 
function ‘wl_proc_read’:
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:3314:26: 
error: implicit declaration of function ‘PDE_DATA’; did you mean ‘NODE_DATA’? 
[-Werror=implicit-function-declaration]
 3314 |         wl_info_t * wl = PDE_DATA(file_inode(filp));
      |                          ^~~~~~~~
      |                          NODE_DATA
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:3314:26: 
warning: initialization of ‘wl_info_t *’ {aka ‘struct wl_info *’} from ‘int’ 
makes pointer from integer without a cast [-Wint-conversion]
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c: In 
function ‘wl_proc_write’:
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:3371:26: 
warning: initialization of ‘wl_info_t *’ {aka ‘struct wl_info *’} from ‘int’ 
makes pointer from integer without a cast [-Wint-conversion]
 3371 |         wl_info_t * wl = PDE_DATA(file_inode(filp));
      |                          ^~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** 
[/usr/src/linux-headers-5.17.0-1-common/scripts/Makefile.build:293: 
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.o] Error 1
make[1]: *** [/usr/src/linux-headers-5.17.0-1-common/Makefile:1855: 
/var/lib/dkms/broadcom-sta/6.30.223.271/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.17.0-1-amd64'
make: *** [Makefile:181: all] Error 2

Reply via email to