net-wireless/broadcom-sta-6.30.223.271-r5 fails to compile with >=gentoo-sources-5.6.0 2 patches have offline messages during patching: broadcom-sta-6.30.223.141-makefile.patch broadcom-sta-6.30.223.248-r3-Wno-date-time.patch excerpt: >>> Preparing source in /var/tmp/portage/portage/net-wireless/broadcom-sta-6.30.223.271-r5/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). Excerpt from the build log where it fails: cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:267: /var/tmp/portage/portage/net-wireless/broadcom-sta-6.30.223.271-r5/work/src/shared/linux_osl.o] Error 1 make[1]: *** Waiting for unfinished jobs.... /var/tmp/portage/portage/net-wireless/broadcom-sta-6.30.223.271-r5/work/src/wl/sys/wl_linux.c: In function ‘_wl_add_monitor_if’: /var/tmp/portage/portage/net-wireless/broadcom-sta-6.30.223.271-r5/work/src/wl/sys/wl_linux.c:2982:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 2982 | strncpy(wlif->dev->name, wlif->name, strlen(wlif->name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:267: /var/tmp/portage/portage/net-wireless/broadcom-sta-6.30.223.271-r5/work/src/wl/sys/wl_linux.o] Error 1 make: *** [Makefile:1683: /var/tmp/portage/portage/net-wireless/broadcom-sta-6.30.223.271-r5/work] Error 2 make: Leaving directory '/usr/src/linux-5.6.3-gentoo' * ERROR: net-wireless/broadcom-sta-6.30.223.271-r5::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-wireless/broadcom-sta-6.30.223.271-r5::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-wireless/broadcom-sta-6.30.223.271-r5::gentoo'`. * The complete build log is located at '/var/log/portage/net-wireless:broadcom-sta-6.30.223.271-r5:20200413-132523.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/portage/net-wireless/broadcom-sta-6.30.223.271-r5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/portage/net-wireless/broadcom-sta-6.30.223.271-r5/temp/environment'. * Working directory: '/var/tmp/portage/portage/net-wireless/broadcom-sta-6.30.223.271-r5/work' * S: '/var/tmp/portage/portage/net-wireless/broadcom-sta-6.30.223.271-r5/work' >>> Failed to emerge net-wireless/broadcom-sta-6.30.223.271-r5, Log file: >>> '/var/log/portage/net-wireless:broadcom-sta-6.30.223.271-r5:20200413-132523.log' Reproducible: Always
Created attachment 632656 [details] broadcom-sta build log
Created attachment 632660 [details] emerge --info
(Why) is this package still required with the recent kernel? Is there a newer version from broadcom upstream?
Created attachment 632982 [details, diff] Fix Slightly modified patch made by a user on the debian mailing list.
(In reply to Jonas Stein from comment #3) > (Why) is this package still required with the recent kernel? > Is there a newer version from broadcom upstream? Not all devices are supported by that, some still require this driver. My wifi chip (BCM4352) being among them. At least according to https://wiki.gentoo.org/wiki/Wifi#Wireless_supplicant anyway.
i also use a BCM4352. Thanks for the patch it works perfect and solves the problem.
Should i update the status of the ticket?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3742de12e9abd41eebaa87c724b49dc39f7d4ce5 commit 3742de12e9abd41eebaa87c724b49dc39f7d4ce5 Author: Azamat H. Hackimov <azamat.hackimov@gmail.com> AuthorDate: 2020-06-01 16:09:39 +0000 Commit: Stefan Strogin <steils@gentoo.org> CommitDate: 2020-06-01 22:01:23 +0000 net-wireless/broadcom-sta: linux 5.6 support Add patch that resolves compilation error described in #717320. Closes: https://bugs.gentoo.org/717320 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/16043 Signed-off-by: Stefan Strogin <steils@gentoo.org> .../broadcom-sta-6.30.223.271-r5.ebuild | 3 +- .../broadcom-sta-6.30.223.271-r5-linux-5.6.patch | 88 ++++++++++++++++++++++ 2 files changed, 90 insertions(+), 1 deletion(-)