/var/tmp/portage/net-misc/realtek-r8152-2.15.0/work/realtek-r8152-2.15.0/r8152.c:18530:25: error: initialization of ‘int (*)(struct net_device *, struct ethtool_coalesce *, struct kernel_ethtool_coalesce *, struct netlink_ext_ack *)’ from incompatible pointer type ‘int (*)(struct net_device *, struct ethtool_coalesce *)’ [-Werror=incompatible-pointer-types] 18530 | .get_coalesce = rtl8152_get_coalesce, | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/net-misc/realtek-r8152-2.15.0/work/realtek-r8152-2.15.0/r8152.c:18530:25: note: (near initialization for ‘ops.get_coalesce’) /var/tmp/portage/net-misc/realtek-r8152-2.15.0/work/realtek-r8152-2.15.0/r8152.c:18531:25: error: initialization of ‘int (*)(struct net_device *, struct ethtool_coalesce *, struct kernel_ethtool_coalesce *, struct netlink_ext_ack *)’ from incompatible pointer type ‘int (*)(struct net_device *, struct ethtool_coalesce *)’ [-Werror=incompatible-pointer-types] ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma-j4-20211106-142500 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * clang version 13.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.0 Python 3.9.8 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * Available Rust versions: [1] rust-1.56.1 * The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: [1] php7.3 [2] php7.4 [3] php8.0 * HEAD of ::gentoo commit a8bfbbf95604f42e31d3880fc36b115d40d29299 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Tue Nov 9 21:21:43 2021 +0000 2021-11-09 21:21:41 UTC emerge -qpvO net-misc/realtek-r8152 [ebuild N ] net-misc/realtek-r8152-2.15.0 USE="-dist-kernel"
Created attachment 750021 [details] emerge-info.txt
Created attachment 750024 [details] emerge-history.txt
Created attachment 750027 [details] environment
Created attachment 750030 [details] etc.portage.tar.bz2
Created attachment 750033 [details] net-misc:realtek-r8152-2.15.0:20211109-221320.log
Created attachment 750036 [details] temp.tar.bz2
Seems to not work with 5.15 kernel, however in 5.13 it went supposedly upstream, will test and perhaps remove this package from tree.
The mainline driver tested in 5.15.2 works just fine, thought it had to be manually loaded, as udev do not do it for you. Once 5.15 is stabilized (it's LTS) I will last-rite the realtek-r8152 and close this bug.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f7a2ce0e8e234be0604d27e9e6c08412e64d3d3 commit 2f7a2ce0e8e234be0604d27e9e6c08412e64d3d3 Author: Jakov Smolić <jsmolic@gentoo.org> AuthorDate: 2022-04-27 16:09:30 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2022-04-27 16:09:30 +0000 net-misc/realtek-r8152: treeclean Closes: https://bugs.gentoo.org/822831 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> net-misc/realtek-r8152/Manifest | 2 - net-misc/realtek-r8152/metadata.xml | 8 --- net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild | 59 ---------------------- net-misc/realtek-r8152/realtek-r8152-2.15.0.ebuild | 59 ---------------------- profiles/package.mask | 7 --- 5 files changed, 135 deletions(-)