SKIP_KERNEL_CHECK should help to avoid failures during kernel check but in the networkmanager ebuild it does not work. I don't have CONFIG_SYSFS_DEPRECATED_V2 but because of SKIP_KERNEL_CHECK it fails: Please disable SYSFS_DEPRECATED_V2 support in your kernel config and recompile your kernel * or NetworkManager will not work correctly. * See https://bugs.gentoo.org/333639 for more info. * ERROR: net-misc/networkmanager-1.42.2::gentoo failed (pretend phase): * CONFIG_SYSFS_DEPRECATED_V2 support detected! * * Call stack: * ebuild.sh, line 136: Called pkg_pretend * networkmanager-1.42.2.ebuild, line 149: Called sysfs_deprecated_check * networkmanager-1.42.2.ebuild, line 140: Called die * The specific snippet of code: * die "CONFIG_SYSFS_DEPRECATED_V2 support detected!" *
I... just removed this stuff today. commit c5238d47acd7a91a454afd68c328a19791e89e37 Author: Matt Turner <mattst88@gentoo.org> Date: Thu Feb 23 13:01:48 2023 -0500 net-misc/networkmanager: Drop SYSFS_DEPRECATED_V2 check This was really a problem with udev, not networkmanager. See https://bugs.gentoo.org/333639#c4 Bug: https://bugs.gentoo.org/333639 Signed-off-by: Matt Turner <mattst88@gentoo.org>