Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 896042 - net-misc/networkmanager fails when SKIP_KERNEL_CHECK is set
Summary: net-misc/networkmanager fails when SKIP_KERNEL_CHECK is set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-23 14:55 UTC by Agostino Sarubbo
Modified: 2023-02-24 05:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-02-23 14:55:09 UTC
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!"
 *
Comment 1 Matt Turner gentoo-dev 2023-02-24 05:07:02 UTC
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>