* Package: net-wireless/broadcom-sta-6.30.223.271-r6  * Repository: gentoo  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU  * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 5.9.1 * Checking for suitable kernel configuration options...  [ ok ] >>> Unpacking source... >>> Unpacking hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz to /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work >>> Unpacking README-broadcom-sta-6.30.223.271.txt to /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work unpack README-broadcom-sta-6.30.223.271.txt: file format not recognized. Ignoring. >>> Source unpacked in /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work >>> Preparing source in /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work ... * Applying broadcom-sta-6.30.223.141-makefile.patch ... patching file Makefile Hunk #1 succeeded at 147 with fuzz 2 (offset 19 lines).  [ ok ] * Applying broadcom-sta-6.30.223.141-eth-to-wlan.patch ...  [ ok ] * Applying broadcom-sta-6.30.223.141-gcc.patch ...  [ ok ] * Applying broadcom-sta-6.30.223.248-r3-Wno-date-time.patch ... patching file Makefile Hunk #1 succeeded at 145 with fuzz 2 (offset 19 lines).  [ ok ] * Applying broadcom-sta-6.30.223.271-r1-linux-3.18.patch ...  [ ok ] * Applying broadcom-sta-6.30.223.271-r2-linux-4.3-v2.patch ...  [ ok ] * Applying broadcom-sta-6.30.223.271-r4-linux-4.7.patch ...  [ ok ] * Applying broadcom-sta-6.30.223.271-r4-linux-4.8.patch ...  [ ok ] * Applying broadcom-sta-6.30.223.271-r4-linux-4.11.patch ...  [ ok ] * Applying broadcom-sta-6.30.223.271-r4-linux-4.12.patch ...  [ ok ] * Applying broadcom-sta-6.30.223.271-r4-linux-4.15.patch ...  [ ok ] * Applying broadcom-sta-6.30.223.271-r5-linux-5.1.patch ...  [ ok ] * Applying broadcom-sta-6.30.223.271-r5-linux-5.6.patch ...  [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work ... ln: failed to create symbolic link 'Module.symvers': File exists * Preparing wl module make -j1 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' -C /usr/src/linux M=/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work wl.ko make: Entering directory '/usr/src/linux-5.9' CFG80211 API is prefered for this kernel version Using CFG80211 API CC [M] /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.o /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c: In function 'osl_os_get_image_block': /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:1087:28: warning: passing argument 2 of 'kernel_read' makes pointer from integer without a cast []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion]8;;] 1087 | rdlen = kernel_read(fp, fp->f_pos, buf, len); | ~~^~~~~~~ | | | loff_t {aka long long int} In file included from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:679, from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linuxver.h:65, from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:25: ./include/linux/fs.h:2900:43: note: expected 'void *' but argument is of type 'loff_t' {aka 'long long int'} 2900 | extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *); | ^~~~~~ /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:1087:37: warning: passing argument 3 of 'kernel_read' makes integer from pointer without a cast []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion]8;;] 1087 | rdlen = kernel_read(fp, fp->f_pos, buf, len); | ^~~ | | | char * In file included from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:679, from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linuxver.h:65, from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:25: ./include/linux/fs.h:2900:51: note: expected 'size_t' {aka 'long unsigned int'} but argument is of type 'char *' 2900 | extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *); | ^~~~~~ /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:1087:42: warning: passing argument 4 of 'kernel_read' makes pointer from integer without a cast []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion]8;;] 1087 | rdlen = kernel_read(fp, fp->f_pos, buf, len); | ^~~ | | | int In file included from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:679, from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linuxver.h:65, from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:25: ./include/linux/fs.h:2900:59: note: expected 'loff_t *' {aka 'long long int *'} but argument is of type 'int' 2900 | extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *); | ^~~~~~~~ CC [M] /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.o /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c: In function 'wl_pci_probe': /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:786:2: warning: this 'if' clause does not guard... []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation-Wmisleading-indentation]8;;] 786 | if ((val & 0x0000ff00) != 0) | ^~ /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:788:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 788 | bar1_size = pci_resource_len(pdev, 2); | ^~~~~~~~~ /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c: In function 'wl_ioctl': /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:1665:6: error: implicit declaration of function 'segment_eq' []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Werror=implicit-function-declaration]8;;] 1665 | if (segment_eq(get_fs(), KERNEL_DS)) | ^~~~~~~~~~ cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:283: /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.o] Error 1 make: *** [Makefile:1784: /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work] Error 2 make: Leaving directory '/usr/src/linux-5.9' * ERROR: net-wireless/broadcom-sta-6.30.223.271-r6::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-wireless/broadcom-sta-6.30.223.271-r6::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-wireless/broadcom-sta-6.30.223.271-r6::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/temp/environment'. * Working directory: '/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work' * S: '/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work'