Github messages for voidlinux
 help / color / mirror / Atom feed
From: metent <metent@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: broadcom-wl-dkms produces dmesg warning at boot
Date: Sun, 16 Oct 2022 10:39:31 +0200	[thread overview]
Message-ID: <20221016083931.kIh4shP7BzYTMLmVbwgjD0vP5FKwQ1XyLOlK4stbMic@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39839@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 3796 bytes --]

New comment by metent on void-packages repository

https://github.com/void-linux/void-packages/issues/39839#issuecomment-1279883156

Comment:
~~Doesn't seem to fix. It still dumps the (exactly) same warning.~~ I previously installed the package from the repository mistakenly. The package in the master branch compiles fine but the dkms module fails to build. Log:
```
DKMS make.log for wl-6.30.223.271 for kernel 5.19.15_1 (x86_64)
Sun Oct 16 13:55:08 IST 2022
make: Entering directory '/usr/src/kernel-headers-5.19.15_1'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
  CC [M]  /var/lib/dkms/wl/6.30.223.271/build/src/shared/linux_osl.o
  CC [M]  /var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_linux.o
  CC [M]  /var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_iw.o
  CC [M]  /var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.o
In file included from /var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.c:43:
/var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.c: In function 'wl_set_auth_type':
/var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.h:59:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
   59 |  if (wl_dbg_level & WL_DBG_DBG) {   \
      |     ^
/var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.c:797:3: note: in expansion of macro 'WL_DBG'
  797 |   WL_DBG(("network eap\n"));
      |   ^~~~~~
/var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.c:798:2: note: here
  798 |  default:
      |  ^~~~~~~
In file included from /var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_linux.c:81:
/var/lib/dkms/wl/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 ./include/linux/string_helpers.h:6,
                 from ./include/linux/seq_file.h:7,
                 from ./include/linux/seq_file_net.h:5,
                 from ./include/net/net_namespace.h:183,
                 from ./include/linux/netdevice.h:38,
                 from /var/lib/dkms/wl/6.30.223.271/build/src/include/linuxver.h:69,
                 from /var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_linux.c:27:
./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)
      | 
/var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_linux.c: In function 'wl_pci_probe':
/var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_linux.c:789:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  789 |  if ((val & 0x0000ff00) != 0)
      |  ^~
/var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_linux.c:791:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  791 |   bar1_size = pci_resource_len(pdev, 2);
      |   ^~~~~~~~~
/var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_linux.c: In function 'wl_dump_ver':
/var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_linux.c:2104:3: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
 2104 |   __DATE__, __TIME__, EPI_VERSION_STR);
      |   ^~~~~~~~
/var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_linux.c:2104:13: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
 2104 |   __DATE__, __TIME__, EPI_VERSION_STR);
      |             ^~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:249: /var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_linux.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:1846: /var/lib/dkms/wl/6.30.223.271/build] Error 2
make: Leaving directory '/usr/src/kernel-headers-5.19.15_1'


```

  parent reply	other threads:[~2022-10-16  8:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-09 16:19 [ISSUE] " metent
2022-10-14 11:57 ` sgn
2022-10-16  3:35 ` metent
2022-10-16  8:39 ` metent [this message]
2022-10-16 13:22 ` sgn
2022-10-16 13:29 ` sgn
2022-10-16 16:08 ` metent
2022-10-16 16:08 ` [ISSUE] [CLOSED] " metent

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221016083931.kIh4shP7BzYTMLmVbwgjD0vP5FKwQ1XyLOlK4stbMic@z \
    --to=metent@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).