** Also affects: broadcom-sta (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Changed in: broadcom-sta (Ubuntu Noble)
       Status: New => In Progress

** Changed in: broadcom-sta (Ubuntu Noble)
   Importance: Undecided => Low

** Changed in: broadcom-sta (Ubuntu Noble)
     Assignee: (unassigned) => You-Sheng Yang (vicamo)

** Description changed:

+ [SRU Justification]
+ 
+ [ Impact ]
+ 
+ Failed to build against kernel v6.15-rc1.
+ 
+ [ Test Plan ]
+ 
+ 0. Install mainline v6.15-rcX kernels from https://kernel.ubuntu.com/mainline
+ 1. Install broadcom-sta-dkms from noble -proposed pocket
+ 2. The dkms should rebuild itself against the running kernel automatically; 
if not rebuild them manually with:
+ 
+    $ sudo dkms install --force broadcom-sta/6.30.223.271 -k $(uname -r)
+ 
+ 3. Reboot to load the kernel module
+ 4. The wl module should be loaded automatically and wireless lan should be 
usable as before.
+ 
+ [ Where problems could occur ]
+ 
+ This doesn't affect the rest part of the system, and it doesn't
+ introduce functional changes.
+ 
+ [ Other Info ]
+ 
+ This affects series with kernels >= 6.15. Nominate Noble.
+ 
+ ========== original bug report ==========
+ 
  1. EXTRA_*FLAGS has been deprecated for a while and is then removed in
  v6.15-rc1 commit e966ad0edd005 ("kbuild: remove EXTRA_*FLAGS support"),
  which results in following errors:
  
  # CC [M]  src/wl/sys/wl_linux.o
  src/shared/linux_osl.c:23:10: fatal error: typedefs.h: No such file or 
directory
     23 | #include <typedefs.h>
        |          ^~~~~~~~~~~~
  compilation terminated.
  make[4]: *** 
[/usr/src/linux-headers-6.15.0-9002-generic/scripts/Makefile.build:203: 
src/shared/linux_osl.o] Error 1
  
  # LD [M]  wl.o
  CFG80211 API is prefered for this kernel version
  Using CFG80211 API
  Kernel architecture is X86_64
    MODPOST Module.symvers
  ERROR: modpost: "wlc_get" [wl.ko] undefined!
  ERROR: modpost: "wlc_module_register" [wl.ko] undefined!
  ERROR: modpost: "wf_channel2mhz" [wl.ko] undefined!
  ERROR: modpost: "wlc_isr" [wl.ko] undefined!
  ERROR: modpost: "wlc_set" [wl.ko] undefined!
  ERROR: modpost: "bcm_bprintf" [wl.ko] undefined!
  ERROR: modpost: "wlc_dpc" [wl.ko] undefined!
  ERROR: modpost: "wlc_chipmatch" [wl.ko] undefined!
  ERROR: modpost: "wlc_reset" [wl.ko] undefined!
  ERROR: modpost: "wlc_wlcif_stats_get" [wl.ko] undefined!
  
  2. `del_timer{,_sync}` have been redirected to `timer_delete{,_sync}`
  since v6.2-rc1 and they are now removed in v6.15-rc1 commit
  8fa7292fee5c5 ("treewide: Switch/rename to timer_delete[_sync]()"):
  
  # CC [M]  src/wl/sys/wl_linux.o
  src/wl/sys/wl_linux.c: In function ‘wl_del_timer’:
  src/wl/sys/wl_linux.c:2485:22: error: implicit declaration of function 
‘del_timer’; did you mean ‘_wl_timer’? [-Wimplicit-function-declaration]
   2485 |                 if (!del_timer(&t->timer)) {
        |                      ^~~~~~~~~
        |                      _wl_timer
  make[4]: *** 
[/usr/src/linux-headers-6.15.0-9002-generic/scripts/Makefile.build:203: 
src/wl/sys/wl_linux.o] Error 1
  
  3. MODULE_DESCRIPTION is now a mandatory meta info for a module since
  v6.15-rc1 commit 6c6c1fc09de35 ("modpost: require a
  MODULE_DESCRIPTION()"):
  
  # LD [M]  wl.o
  CFG80211 API is prefered for this kernel version
  Using CFG80211 API
  Kernel architecture is X86_64
    MODPOST Module.symvers
  WARNING: modpost: missing MODULE_DESCRIPTION() in wl.o

** Summary changed:

- Failed to build against linux-6.15
+ [SRU] Failed to build against linux-6.15

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to broadcom-sta in Ubuntu.
https://bugs.launchpad.net/bugs/2111898

Title:
  [SRU] Failed to build against linux-6.15

Status in broadcom-sta package in Ubuntu:
  Fix Released
Status in broadcom-sta source package in Noble:
  In Progress

Bug description:
  [SRU Justification]

  [ Impact ]

  Failed to build against kernel v6.15-rc1.

  [ Test Plan ]

  0. Install mainline v6.15-rcX kernels from https://kernel.ubuntu.com/mainline
  1. Install broadcom-sta-dkms from noble -proposed pocket
  2. The dkms should rebuild itself against the running kernel automatically; 
if not rebuild them manually with:

     $ sudo dkms install --force broadcom-sta/6.30.223.271 -k $(uname
  -r)

  3. Reboot to load the kernel module
  4. The wl module should be loaded automatically and wireless lan should be 
usable as before.

  [ Where problems could occur ]

  This doesn't affect the rest part of the system, and it doesn't
  introduce functional changes.

  [ Other Info ]

  This affects series with kernels >= 6.15. Nominate Noble.

  ========== original bug report ==========

  1. EXTRA_*FLAGS has been deprecated for a while and is then removed in
  v6.15-rc1 commit e966ad0edd005 ("kbuild: remove EXTRA_*FLAGS
  support"), which results in following errors:

  # CC [M]  src/wl/sys/wl_linux.o
  src/shared/linux_osl.c:23:10: fatal error: typedefs.h: No such file or 
directory
     23 | #include <typedefs.h>
        |          ^~~~~~~~~~~~
  compilation terminated.
  make[4]: *** 
[/usr/src/linux-headers-6.15.0-9002-generic/scripts/Makefile.build:203: 
src/shared/linux_osl.o] Error 1

  # LD [M]  wl.o
  CFG80211 API is prefered for this kernel version
  Using CFG80211 API
  Kernel architecture is X86_64
    MODPOST Module.symvers
  ERROR: modpost: "wlc_get" [wl.ko] undefined!
  ERROR: modpost: "wlc_module_register" [wl.ko] undefined!
  ERROR: modpost: "wf_channel2mhz" [wl.ko] undefined!
  ERROR: modpost: "wlc_isr" [wl.ko] undefined!
  ERROR: modpost: "wlc_set" [wl.ko] undefined!
  ERROR: modpost: "bcm_bprintf" [wl.ko] undefined!
  ERROR: modpost: "wlc_dpc" [wl.ko] undefined!
  ERROR: modpost: "wlc_chipmatch" [wl.ko] undefined!
  ERROR: modpost: "wlc_reset" [wl.ko] undefined!
  ERROR: modpost: "wlc_wlcif_stats_get" [wl.ko] undefined!

  2. `del_timer{,_sync}` have been redirected to `timer_delete{,_sync}`
  since v6.2-rc1 and they are now removed in v6.15-rc1 commit
  8fa7292fee5c5 ("treewide: Switch/rename to timer_delete[_sync]()"):

  # CC [M]  src/wl/sys/wl_linux.o
  src/wl/sys/wl_linux.c: In function ‘wl_del_timer’:
  src/wl/sys/wl_linux.c:2485:22: error: implicit declaration of function 
‘del_timer’; did you mean ‘_wl_timer’? [-Wimplicit-function-declaration]
   2485 |                 if (!del_timer(&t->timer)) {
        |                      ^~~~~~~~~
        |                      _wl_timer
  make[4]: *** 
[/usr/src/linux-headers-6.15.0-9002-generic/scripts/Makefile.build:203: 
src/wl/sys/wl_linux.o] Error 1

  3. MODULE_DESCRIPTION is now a mandatory meta info for a module since
  v6.15-rc1 commit 6c6c1fc09de35 ("modpost: require a
  MODULE_DESCRIPTION()"):

  # LD [M]  wl.o
  CFG80211 API is prefered for this kernel version
  Using CFG80211 API
  Kernel architecture is X86_64
    MODPOST Module.symvers
  WARNING: modpost: missing MODULE_DESCRIPTION() in wl.o

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/broadcom-sta/+bug/2111898/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to