checking for gobject-introspection... no (disabled, use --enable-introspection to enable) checking for QT... yes checking for SYSTEMD_200... yes checking for LIBSYSTEMD... yes configure: error: --with-suspend-resume must be one of upower, systemd, consolekit Error: * In program cave perform install --hooks --managed-output --output-exclusivity with-others =net-misc/networkmanager-1.4.4:0::gentoo --destination installed --replacing =net-misc/networkmanager-1.4.2:0::installed --x-of-y 1 of 1: * When installing 'net-misc/networkmanager-1.4.4:0::gentoo' replacing { 'net-misc/networkmanager-1.4.2:0::installed' }: * When running an ebuild command on 'net-misc/networkmanager-1.4.4:0::gentoo': * Install failed for 'net-misc/networkmanager-1.4.4:0::gentoo' (paludis::ActionFailedError) note. systemd use flag is enabled
Please attache a build log and provide emerge --info.
Created attachment 460224 [details] build.log
I found a workaround to rid that: Depending on what you use (systemd or something else), set the EXTRA_ECONF variable in an env file. I use OpenRC and upower, so I have set to: EXTRA_CONF="--with-suspend-resume=upower" Then set net-misc/networkmanager with that file in your packages.env file or directory.
(In reply to jorgicio from comment #3) > I found a workaround to rid that: > > Depending on what you use (systemd or something else), set the EXTRA_ECONF > variable in an env file. I use OpenRC and upower, so I have set to: > > EXTRA_CONF="--with-suspend-resume=upower" > > Then set net-misc/networkmanager with that file in your packages.env file or > directory. Sorry: I mean EXTRA_ECONF.
Thanks for the report; I just ran into this myself. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a79db02fc8cd32562817094c665000ea3bfec550 commit a79db02fc8cd32562817094c665000ea3bfec550 Author: Mike Gilbert <floppym@gentoo.org> Date: Sun Jan 15 21:39:03 2017 -0500 net-misc/networkmanager: stop passing --with-suspend-resume=no This causes configure to fail when USE=systemd for non-native abis. --with-suspend-resume must be either systemd, upower, or consolekit. Additionally, configure checks for libsystemd using pkg-config if we pass --with-suspend-resume=systemd. There's no real need for this since the daemon communicates with systemd using dbus. The pkg-config check is only there to look for a new-enough version of systemd. Passing --with-suspend-resume=consolekit does not perform any pkg-config check. Therefore, let's use consolekit as the fallback value for the systemd non-native abi case. Bug: https://bugs.gentoo.org/605814 Package-Manager: Portage-2.3.3_p32, Repoman-2.3.1_p25 net-misc/networkmanager/networkmanager-1.4.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)