Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 839648

Summary: net-wireless/broadcom-sta-6.30.223.271-r6 - /.../wl_linux.c: error: implicit declaration of function PDE_DATA
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: Bohdan3yLypchenko, oneone
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
net-wireless:broadcom-sta-6.30.223.271-r6:20220420-061605.log
Working ebuild from arch linux for 6.1 onwards

Description Toralf Förster gentoo-dev 2022-04-20 08:39:43 UTC
./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/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c: In function wl_proc_read’:
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:3313:26: error: implicit declaration of function PDE_DATA’; did you mean NODE_DATA’? [-Werror=implicit-function-declaration]
 3313 |         wl_info_t * wl = PDE_DATA(file_inode(filp));
      |                          ^~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd-j4-20220419-184454

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.1 *
clang/llvm (if any):
/usr/lib/llvm/14
14.0.1
Python 3.9.12
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.60.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
Available Java Virtual Machines:
  [1]   openjdk-bin-11  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit 07ea9a96d7eb29d218d84cdbd112fad4abf03809
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Apr 20 06:09:16 2022 +0000

    2022-04-20 06:09:15 UTC

emerge -qpvO net-wireless/broadcom-sta
[ebuild  N    ] net-wireless/broadcom-sta-6.30.223.271-r6  USE="-dist-kernel"
Comment 1 Toralf Förster gentoo-dev 2022-04-20 08:39:44 UTC
Created attachment 772103 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-20 08:39:45 UTC
Created attachment 772106 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-04-20 08:39:47 UTC
Created attachment 772109 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-04-20 08:39:48 UTC
Created attachment 772112 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-04-20 08:39:49 UTC
Created attachment 772115 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-20 08:39:50 UTC
Created attachment 772118 [details]
net-wireless:broadcom-sta-6.30.223.271-r6:20220420-061605.log
Comment 7 Jonas Stein gentoo-dev 2022-04-21 18:22:20 UTC
*** Bug 839885 has been marked as a duplicate of this bug. ***
Comment 8 Alan Kyder 2023-04-17 21:11:06 UTC
Created attachment 860284 [details]
Working ebuild from arch linux for 6.1 onwards
Comment 9 Larry the Git Cow gentoo-dev 2023-06-24 16:13:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1469bc903cac37bff61b41532127110909d5f57

commit b1469bc903cac37bff61b41532127110909d5f57
Author:     Mike Pagano <mpagano@gentoo.org>
AuthorDate: 2023-06-24 16:09:49 +0000
Commit:     Mike Pagano <mpagano@gentoo.org>
CommitDate: 2023-06-24 16:09:49 +0000

    net-wireless/broadcom-sta: add 6.30.223.271-r7
    
    Bump to EAPI-8
    Migrate to linux-mod-r1
    Include arch patches
    Address pkgcheck errors concerning S in pkg_setup
    Fix compilation errors
    
    Thanks to the following users that provided patches
    ShadowOne333
    Alan Kyder
    
    Closes: https://bugs.gentoo.org/836093
    Closes: https://bugs.gentoo.org/852569
    Closes: https://bugs.gentoo.org/836165
    Closes: https://bugs.gentoo.org/839648
    Closes: https://bugs.gentoo.org/908711
    
    Signed-off-by: Mike Pagano <mpagano@gentoo.org>

 .../broadcom-sta-6.30.223.271-r7.ebuild            | 103 ++++++++++
 .../broadcom-sta/files/001-null-pointer-fix.patch  |  48 +++++
 net-wireless/broadcom-sta/files/002-rdtscl.patch   |  22 +++
 net-wireless/broadcom-sta/files/003-linux47.patch  | 109 +++++++++++
 net-wireless/broadcom-sta/files/004-linux48.patch  |  64 +++++++
 .../files/005-debian-fix-kernel-warnings.patch     | 161 ++++++++++++++++
 net-wireless/broadcom-sta/files/006-linux411.patch |  27 +++
 net-wireless/broadcom-sta/files/007-linux412.patch |  78 ++++++++
 net-wireless/broadcom-sta/files/008-linux415.patch |  46 +++++
 .../files/009-fix_mac_profile_discrepancy.patch    |  14 ++
 net-wireless/broadcom-sta/files/010-linux56.patch  |  55 ++++++
 net-wireless/broadcom-sta/files/011-linux59.patch  | 211 +++++++++++++++++++++
 net-wireless/broadcom-sta/files/012-linux517.patch |  80 ++++++++
 net-wireless/broadcom-sta/files/013-linux518.patch |  71 +++++++
 net-wireless/broadcom-sta/files/014-linux414.patch |  37 ++++
 net-wireless/broadcom-sta/files/015-linux600.patch |  31 +++
 net-wireless/broadcom-sta/files/016-linux601.patch |  90 +++++++++
 .../broadcom-sta/files/broadcom-sta-modules.conf   |  17 ++
 18 files changed, 1264 insertions(+)